From ea81b9addacae8fe1f46a12da925838df3b8d49f Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 30 May 2024 20:07:50 +0300 Subject: [PATCH 01/47] Initial implementation --- Cargo.lock | 512 ++++++++++++++++++------------------ Cargo.toml | 240 ++++++++--------- utils/gear-tasks/Cargo.toml | 23 ++ utils/gear-tasks/src/lib.rs | 227 ++++++++++++++++ 4 files changed, 632 insertions(+), 370 deletions(-) create mode 100644 utils/gear-tasks/Cargo.toml create mode 100644 utils/gear-tasks/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index bb5287cc5f4..aac26bb0e65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3680,7 +3680,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", ] @@ -3703,7 +3703,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-support-procedural", @@ -3720,7 +3720,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-runtime-interface", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", "static_assertions", ] @@ -3728,7 +3728,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3776,7 +3776,7 @@ dependencies = [ [[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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3787,7 +3787,7 @@ 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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3798,13 +3798,13 @@ dependencies = [ "sp-core", "sp-npos-elections", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -3815,7 +3815,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-tracing", ] @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "futures", "indicatif", @@ -3867,7 +3867,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3897,7 +3897,7 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-tracing", "sp-weights", "static_assertions", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "Inflector", "cfg-expr", @@ -3919,14 +3919,14 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "syn 2.0.64", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3938,7 +3938,7 @@ 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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "proc-macro2", "quote", @@ -3948,7 +3948,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3968,7 +3968,7 @@ dependencies = [ "sp-metadata-ir", "sp-runtime", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-version", "static_assertions", "trybuild", @@ -3977,7 +3977,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -3990,7 +3990,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "cfg-if", "frame-support", @@ -4001,7 +4001,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-version", "sp-weights", ] @@ -4009,7 +4009,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -4018,13 +4018,13 @@ dependencies = [ "scale-info", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,13 +4033,13 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -4450,7 +4450,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -4598,7 +4598,7 @@ dependencies = [ "gear-lazy-pages-common", "gear-runtime-interface", "log", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -4663,7 +4663,7 @@ dependencies = [ "sp-io", "sp-keyring", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "substrate-test-client", "vara-runtime", ] @@ -4731,7 +4731,7 @@ dependencies = [ "pallet-gear-messenger", "pallet-session", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -4747,7 +4747,7 @@ dependencies = [ "parity-scale-codec", "sp-io", "sp-runtime-interface", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-wasm-interface", "winapi", ] @@ -4770,7 +4770,7 @@ dependencies = [ "log", "parity-scale-codec", "sp-core", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-wasm-interface-common", "wasmi 0.30.0 (git+https://github.com/gear-tech/wasmi?branch=gear-v0.30.0)", "wat", @@ -4782,7 +4782,7 @@ version = "1.4.2" dependencies = [ "parity-scale-codec", "sp-debug-derive", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-wasm-interface-common", ] @@ -4899,6 +4899,18 @@ dependencies = [ "cc", ] +[[package]] +name = "gear-tasks" +version = "1.4.2" +dependencies = [ + "futures-executor", + "log", + "sc-executor", + "sc-executor-common", + "sp-externalities", + "sp-runtime-interface", +] + [[package]] name = "gear-utils" version = "1.4.2" @@ -5019,7 +5031,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "chrono", "frame-election-provider-support", @@ -7896,7 +7908,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -7906,13 +7918,13 @@ dependencies = [ "sp-application-crypto", "sp-authority-discovery", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -7920,13 +7932,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -7944,13 +7956,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "aquamarine", "docify", @@ -7965,14 +7977,14 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-tracing", ] [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -7981,13 +7993,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -7999,13 +8011,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8018,13 +8030,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8035,13 +8047,13 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8057,14 +8069,14 @@ dependencies = [ "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "strum 0.24.1", ] [[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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8072,7 +8084,7 @@ dependencies = [ "parity-scale-codec", "sp-npos-elections", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8169,7 +8181,7 @@ dependencies = [ "sp-externalities", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "test-syscalls", "wabt", ] @@ -8235,7 +8247,7 @@ dependencies = [ "sp-externalities", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8288,7 +8300,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "test-syscalls", "wabt", ] @@ -8318,7 +8330,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8343,7 +8355,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8375,7 +8387,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "wabt", ] @@ -8409,7 +8421,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8436,7 +8448,7 @@ dependencies = [ "sp-api", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8467,7 +8479,7 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8502,7 +8514,7 @@ dependencies = [ "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -8545,13 +8557,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8568,13 +8580,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8584,13 +8596,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8604,13 +8616,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8620,13 +8632,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -8638,25 +8650,25 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-tracing", ] [[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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", "sp-api", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -8667,13 +8679,13 @@ dependencies = [ "serde", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8684,13 +8696,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8699,13 +8711,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8717,13 +8729,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8736,13 +8748,13 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "docify", "frame-benchmarking", @@ -8753,14 +8765,14 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-weights", ] [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -8775,14 +8787,14 @@ dependencies = [ "sp-session", "sp-staking", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-trie", ] [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8799,13 +8811,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "log", "sp-arithmetic", @@ -8814,7 +8826,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "sp-api", @@ -8823,7 +8835,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "docify", "frame-benchmarking", @@ -8833,13 +8845,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "docify", "frame-benchmarking", @@ -8851,7 +8863,7 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", "sp-timestamp", ] @@ -8859,7 +8871,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-support", "frame-system", @@ -8869,13 +8881,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8891,7 +8903,7 @@ dependencies = [ [[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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8903,7 +8915,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "docify", "frame-benchmarking", @@ -8916,13 +8928,13 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8932,13 +8944,13 @@ dependencies = [ "sp-core", "sp-io", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8947,13 +8959,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-benchmarking", "frame-support", @@ -8962,7 +8974,7 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -10435,7 +10447,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10450,7 +10462,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10469,7 +10481,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10480,7 +10492,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10520,7 +10532,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "fnv", "futures", @@ -10547,7 +10559,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "hash-db", "kvdb", @@ -10573,7 +10585,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "futures", @@ -10598,7 +10610,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "fork-tree", @@ -10633,7 +10645,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10655,7 +10667,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10668,7 +10680,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10709,7 +10721,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "finality-grandpa", "futures", @@ -10729,7 +10741,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "futures", @@ -10752,7 +10764,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -10775,7 +10787,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10787,7 +10799,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "anyhow", "cfg-if", @@ -10805,7 +10817,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "ansi_term", "futures", @@ -10821,7 +10833,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.2", @@ -10835,7 +10847,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10863,7 +10875,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10904,7 +10916,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-channel", "cid", @@ -10924,7 +10936,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10941,7 +10953,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "ahash 0.8.11", "futures", @@ -10959,7 +10971,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10980,7 +10992,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10998,7 +11010,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11033,7 +11045,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11051,7 +11063,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11085,7 +11097,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11094,7 +11106,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11126,7 +11138,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11146,7 +11158,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11161,7 +11173,7 @@ 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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11189,7 +11201,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "directories", @@ -11253,7 +11265,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "log", "parity-scale-codec", @@ -11264,7 +11276,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11283,7 +11295,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "futures", "libc", @@ -11296,13 +11308,13 @@ dependencies = [ "serde_json", "sp-core", "sp-io", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "chrono", "futures", @@ -11321,7 +11333,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "ansi_term", "atty", @@ -11350,7 +11362,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11361,7 +11373,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "futures", @@ -11387,7 +11399,7 @@ 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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "futures", @@ -11403,7 +11415,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-channel", "futures", @@ -12130,7 +12142,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "log", "parity-scale-codec", @@ -12141,7 +12153,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "hash-db", "log", @@ -12153,7 +12165,7 @@ dependencies = [ "sp-metadata-ir", "sp-runtime", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-trie", "sp-version", "thiserror", @@ -12162,7 +12174,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12176,58 +12188,58 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "futures", "log", @@ -12245,7 +12257,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "futures", @@ -12260,7 +12272,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "parity-scale-codec", @@ -12270,14 +12282,14 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "parity-scale-codec", @@ -12289,14 +12301,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "finality-grandpa", "log", @@ -12308,25 +12320,25 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-timestamp", ] [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12356,11 +12368,11 @@ dependencies = [ "secrecy", "serde", "sp-allocator", - "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", "ss58-registry", "substrate-bip39", @@ -12389,7 +12401,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "blake2b_simd", "byteorder", @@ -12402,17 +12414,17 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "quote", - "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "syn 2.0.64", ] [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12427,13 +12439,13 @@ dependencies = [ "ark-ed-on-bls12-381-bandersnatch-ext", "ark-scale 0.0.12", "sp-runtime-interface", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "kvdb", "parking_lot 0.12.2", @@ -12442,7 +12454,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "proc-macro2", "quote", @@ -12452,43 +12464,43 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", ] [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "serde_json", "sp-api", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "thiserror", ] [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "bytes", "ed25519-dalek", @@ -12502,7 +12514,7 @@ dependencies = [ "sp-keystore", "sp-runtime-interface", "sp-state-machine", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-tracing", "sp-trie", "tracing", @@ -12512,7 +12524,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "lazy_static", "sp-core", @@ -12523,7 +12535,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -12535,7 +12547,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12544,30 +12556,30 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "scale-info", @@ -12575,13 +12587,13 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "sp-api", "sp-core", @@ -12591,7 +12603,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "backtrace", "lazy_static", @@ -12601,7 +12613,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "rustc-hash", "serde", @@ -12611,7 +12623,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "either", "hash256-std-hasher", @@ -12626,14 +12638,14 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-io", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-weights", ] [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12641,7 +12653,7 @@ dependencies = [ "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", "sp-tracing", "sp-wasm-interface", @@ -12651,7 +12663,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12663,7 +12675,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "scale-info", @@ -12672,13 +12684,13 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12686,13 +12698,13 @@ dependencies = [ "serde", "sp-core", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "hash-db", "log", @@ -12703,7 +12715,7 @@ dependencies = [ "sp-core", "sp-externalities", "sp-panic-handler", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-trie", "thiserror", "tracing", @@ -12713,7 +12725,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12729,7 +12741,7 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-runtime-interface", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "thiserror", "x25519-dalek 2.0.1", ] @@ -12743,41 +12755,41 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", "sp-debug-derive", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "thiserror", ] [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "tracing", "tracing-core", "tracing-subscriber 0.2.25", @@ -12786,7 +12798,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "sp-api", "sp-runtime", @@ -12795,7 +12807,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "parity-scale-codec", @@ -12803,14 +12815,14 @@ dependencies = [ "sp-core", "sp-inherents", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-trie", ] [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12824,7 +12836,7 @@ dependencies = [ "scale-info", "schnellru", "sp-core", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "thiserror", "tracing", "trie-db", @@ -12834,7 +12846,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12843,7 +12855,7 @@ dependencies = [ "serde", "sp-core-hashing-proc-macro", "sp-runtime", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-version-proc-macro", "thiserror", ] @@ -12851,7 +12863,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12862,14 +12874,14 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", "sp-allocator", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-wasm-interface-common", "wasmtime", ] @@ -12877,17 +12889,17 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "parity-scale-codec", "scale-info", @@ -12896,7 +12908,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-debug-derive", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] [[package]] @@ -13075,12 +13087,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13099,7 +13111,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "hyper", "log", @@ -13111,7 +13123,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13124,7 +13136,7 @@ dependencies = [ [[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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13141,7 +13153,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13167,7 +13179,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "ansi_term", "build-helper", @@ -13999,7 +14011,7 @@ 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.3.0#8c76964cc3c2debb09a81f8b85976bb3a43f766b" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" dependencies = [ "async-trait", "clap 4.5.4", @@ -14287,7 +14299,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=gear-v1.3.0)", + "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", "sp-transaction-pool", "sp-version", diff --git a/Cargo.toml b/Cargo.toml index c816ee7b7fa..dce56af7a99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -263,126 +263,126 @@ sandbox-wasmer = { package = "wasmer", version = "2.2", features = ["singlepass" sandbox-wasmer-types = { package = "wasmer-types", version = "2.2" } # Substrate deps -frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -frame-election-provider-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -frame-executive = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -frame-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -frame-support-test = { version = "3.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -frame-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -frame-system-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -frame-remote-externalities = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -frame-try-runtime = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.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.3.0", default-features = false } -generate-bags = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -pallet-authorship = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-babe = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-bags-list = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-child-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-balances = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-conviction-voting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.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.3.0", default-features = false } -pallet-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-identity = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-im-online = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-multisig = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-nomination-pools = { version = "1.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.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.3.0", default-features = false } -pallet-offences = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-preimage = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-proxy = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-ranked-collective = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-referenda = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-scheduler = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.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.3.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.3.0", default-features = false } -pallet-sudo = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-transaction-payment = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.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.3.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.3.0", default-features = false } -pallet-treasury = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-utility = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-vesting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -pallet-whitelist = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.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.3.0" } -sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-block-builder = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-consensus-babe-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-consensus-epochs = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sp-crypto-ec-utils = { version = "0.4.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-debug-derive = { version = "8.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sc-chain-spec = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-client-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-executor = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-executor-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-consensus-grandpa = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-consensus-grandpa-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-keystore = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-network = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-network-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-network-sync = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-network-statement = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-proposer-metrics = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-service = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-rpc-spec-v2 = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-sync-state-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-sysinfo = { version = "6.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-transaction-pool-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sc-tracing = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -sp-allocator = { version = "4.1.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-arithmetic = { version = "16.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-block-builder = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-core = { version = "21.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-externalities = { version = "0.19.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-consensus-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-inherents = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-io = { version = "23.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-keyring = { version = "24.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-keystore = { version = "0.27.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-npos-elections = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-rpc = { version = "6.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-runtime = { version = "24.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-runtime-interface = { version = "17.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-std = { version = "8.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-state-machine = { version = "0.28.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-storage = { version = "13.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.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.3.0", default-features = false } -sp-trie = { version = "22.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-version = { version = "22.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-wasm-interface = { version = "14.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -sp-wasm-interface-common = { version = "7.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0", default-features = false } -substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -substrate-frame-rpc-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -substrate-rpc-client = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -substrate-state-trie-migration-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } -try-runtime-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-v1.3.0" } +frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +frame-election-provider-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-executive = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-support-test = { version = "3.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-system-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-remote-externalities = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +frame-try-runtime = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +frame-system-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +generate-bags = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +pallet-authorship = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-babe = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-bags-list = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-child-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-balances = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-conviction-voting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-election-provider-multi-phase = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-identity = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-im-online = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-multisig = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-nomination-pools = { version = "1.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-nomination-pools-runtime-api = { version = "1.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-offences = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-preimage = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-proxy = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-ranked-collective = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-referenda = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-scheduler = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-staking-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-staking-reward-fn = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-sudo = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-transaction-payment = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-treasury = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-utility = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-vesting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +pallet-whitelist = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-block-builder = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-consensus-babe-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-consensus-epochs = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sp-crypto-ec-utils = { version = "0.4.1", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-debug-derive = { version = "8.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sc-chain-spec = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-client-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-executor = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-executor-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-consensus-grandpa = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-consensus-grandpa-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-keystore = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-network = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-network-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-network-sync = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-network-statement = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-proposer-metrics = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-service = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-rpc-spec-v2 = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-sync-state-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-sysinfo = { version = "6.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-transaction-pool-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sc-tracing = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +sp-allocator = { version = "4.1.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-arithmetic = { version = "16.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-block-builder = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-core = { version = "21.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-externalities = { version = "0.19.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-consensus-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-inherents = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-io = { version = "23.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-keyring = { version = "24.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-keystore = { version = "0.27.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-npos-elections = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-rpc = { version = "6.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-runtime = { version = "24.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-runtime-interface = { version = "17.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-std = { version = "8.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-state-machine = { version = "0.28.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-storage = { version = "13.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-transaction-storage-proof = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-trie = { version = "22.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-version = { version = "22.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-wasm-interface = { version = "14.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +sp-wasm-interface-common = { version = "7.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks", default-features = false } +substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +substrate-frame-rpc-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +substrate-rpc-client = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +substrate-state-trie-migration-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } +try-runtime-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "al/sp-tasks" } # Examples test-syscalls = { path = "examples/syscalls", default-features = false } diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml new file mode 100644 index 00000000000..ad91cf9700e --- /dev/null +++ b/utils/gear-tasks/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "gear-tasks" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +sc-executor.workspace = true +sc-executor-common.workspace = true +sp-runtime-interface.workspace = true +sp-externalities.workspace = true + +futures-executor = "0.3.30" +log.workspace = true + +[features] +default = ["std"] +std = [] diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs new file mode 100644 index 00000000000..edd6317b026 --- /dev/null +++ b/utils/gear-tasks/src/lib.rs @@ -0,0 +1,227 @@ +// This file is part of Gear. +// +// Copyright (C) 2024 Gear Technologies Inc. +// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +use futures_executor::ThreadPool; +use sc_executor::GearVersionedRuntimeExt; +use sc_executor_common::wasm_runtime::InvokeMethod; +use sp_externalities::ExternalitiesExt; +use sp_runtime_interface::runtime_interface; +use std::{ + collections::HashMap, + sync::{ + atomic::{AtomicU64, Ordering}, + mpsc, + }, +}; + +const TASKS_AMOUNT: usize = 4; + +sp_externalities::decl_extension! { + struct TaskSpawnerExt(TaskSpawner); +} + +struct TaskSpawner { + thread_pool: ThreadPool, + handle_counter: AtomicU64, + tasks: HashMap>>, +} + +impl TaskSpawner { + fn new() -> Self { + Self { + thread_pool: ThreadPool::builder() + .pool_size(TASKS_AMOUNT) + .name_prefix("gear-tasks-") + .create() + .expect("Thread pool creation failed"), + handle_counter: AtomicU64::new(0), + tasks: HashMap::new(), + } + } + + fn spawn_inner( + &mut self, + f: impl FnOnce(Vec) -> Vec + Send + 'static, + payload: Vec, + ) -> JoinHandle { + let handle = self.handle_counter.fetch_add(1, Ordering::Relaxed); + let (rx, tx) = mpsc::sync_channel(1); + self.thread_pool.spawn_ok(async move { + if let Err(_e) = rx.send(f(payload)) { + log::debug!("Receiver has been disconnected for {handle}"); + } + }); + self.tasks.insert(handle, tx); + JoinHandle { inner: handle } + } + + fn spawn(&mut self, f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { + self.spawn_inner(f, payload) + } + + fn spawn_via_dispatcher( + &mut self, + dispatcher_ref: u32, + entry: u32, + payload: Vec, + ) -> JoinHandle { + self.spawn_inner( + move |payload| { + sp_externalities::with_externalities(|mut ext| { + let runtime = ext + .extension::() + .expect("`GearVersionedRuntimeExt` is not set") + .clone(); + runtime + .with_instance(ext, |_module, instance, _version, _ext| { + let payload = instance + .call( + InvokeMethod::TableWithWrapper { + dispatcher_ref, + func: entry, + }, + &payload, + ) + .expect("WASM execution failed"); + Ok(payload) + }) + .expect("Instantiation failed") + }) + .expect( + "`TaskSpawner::spawn_via_dispatcher`: called outside of externalities context", + ) + }, + payload, + ) + } + + fn join(&mut self, handle: JoinHandle) -> Vec { + let tx = self + .tasks + .remove(&handle.inner) + .expect("`JoinHandle` is duplicated so task not found"); + tx.recv() + .expect("Sender has been disconnected which means thread was somehow terminated") + } +} + +/// WASM host functions for managing tasks. +#[runtime_interface(wasm_only)] +trait RuntimeTasks { + fn spawn(dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { + sp_externalities::with_externalities(|mut ext| { + let spawner = ext + .extension::() + .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); + let handle = spawner.spawn_via_dispatcher(dispatcher_ref, entry, payload); + handle.inner + }) + .expect("`RuntimeTasks::spawn`: called outside of externalities context") + } + + fn join(handle: u64) -> Vec { + sp_externalities::with_externalities(|mut ext| { + let spawner = ext + .extension::() + .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); + spawner.join(JoinHandle { inner: handle }) + }) + .expect("`RuntimeTasks::join`: called outside of externalities context") + } +} + +pub use inner::{spawn, JoinHandle}; + +#[cfg(feature = "std")] +mod inner { + use super::*; + + #[derive(Debug, Eq, PartialEq)] + pub struct JoinHandle { + pub(super) inner: u64, + } + + impl JoinHandle { + pub fn join(self) -> Vec { + sp_externalities::with_externalities(|mut ext| { + let spawner = ext + .extension::() + .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); + spawner.join(self) + }) + .expect("`spawn`: called outside of externalities context") + } + } + + pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { + sp_externalities::with_externalities(|mut ext| { + let spawner = ext + .extension::() + .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); + spawner.spawn(f, payload) + }) + .expect("`spawn`: called outside of externalities context") + } +} + +#[cfg(not(feature = "std"))] +#[cfg(target_arch = "wasm32")] +mod inner { + use super::*; + + /// Dispatch wrapper for WASM blob. + /// + /// Serves as trampoline to call any rust function with (Vec) -> Vec compiled + /// into the runtime. + /// + /// Function item should be provided with `func_ref`. Argument for the call + /// will be generated from bytes at `payload_ptr` with `payload_len`. + /// + /// NOTE: Since this dynamic dispatch function and the invoked function are compiled with + /// the same compiler, there should be no problem with ABI incompatibility. + extern "C" fn dispatch_wrapper( + func_ref: *const u8, + payload_ptr: *mut u8, + payload_len: u32, + ) -> u64 { + let payload_len = payload_len as usize; + let output = unsafe { + let payload = Vec::from_raw_parts(payload_ptr, payload_len, payload_len); + let ptr: fn(Vec) -> Vec = mem::transmute(func_ref); + (ptr)(payload) + }; + sp_runtime_interface::pack_ptr_and_len(output.as_ptr() as usize as _, output.len() as _) + } + + #[derive(Debug, Eq, PartialEq)] + pub struct JoinHandle { + pub(super) inner: u64, + } + + impl JoinHandle { + pub fn join(self) -> Vec { + runtime_tasks::join(self.inner) + } + } + + pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { + let func_ref = f as *const fn(Vec) -> Vec as *const u8; + let handle = runtime_tasks::spawn(dispatch_wrapper as usize as u32, func_ref, payload); + JoinHandle { inner: handle } + } +} From 67cde59024a9b01f035e1d691e4dba5e3c5c7691 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 30 May 2024 20:47:49 +0300 Subject: [PATCH 02/47] Add smoke test --- Cargo.lock | 1 + utils/gear-tasks/Cargo.toml | 3 +++ utils/gear-tasks/src/lib.rs | 42 +++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index aac26bb0e65..1348de915d9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4908,6 +4908,7 @@ dependencies = [ "sc-executor", "sc-executor-common", "sp-externalities", + "sp-io", "sp-runtime-interface", ] diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index ad91cf9700e..fc09e757b03 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -18,6 +18,9 @@ sp-externalities.workspace = true futures-executor = "0.3.30" log.workspace = true +[dev-dependencies] +sp-io.workspace = true + [features] default = ["std"] std = [] diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index edd6317b026..5723822394a 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -225,3 +225,45 @@ mod inner { JoinHandle { inner: handle } } } + +#[cfg(test)] +mod tests { + use super::*; + + fn new_test_ext() -> sp_io::TestExternalities { + let mut ext = sp_io::TestExternalities::new_empty(); + + let spawner = TaskSpawnerExt(TaskSpawner::new()); + ext.register_extension::(spawner); + + ext + } + + #[test] + fn smoke() { + new_test_ext().execute_with(|| { + const PAYLOAD_SIZE: usize = 32 * 1024 * 1024; + + let payload = vec![0xff; PAYLOAD_SIZE]; + let handles = (0..TASKS_AMOUNT).map(|i| { + let mut payload = payload.clone(); + payload[i * (PAYLOAD_SIZE / TASKS_AMOUNT)] = 0xfe; + spawn( + |mut payload| { + payload.sort(); + payload + }, + payload, + ) + }); + + let mut expected = vec![0xff; PAYLOAD_SIZE]; + expected[0] = 0xfe; + + for handle in handles { + let payload = handle.join(); + assert_eq!(payload, expected); + } + }) + } +} From 4531d2b16db533329c01edf77887fcc87c4daff3 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 30 May 2024 22:22:46 +0300 Subject: [PATCH 03/47] Add WASM smoke test --- Cargo.lock | 2 + Cargo.toml | 1 + node/service/src/client.rs | 2 + node/testing/src/client.rs | 1 + pallets/gear/Cargo.toml | 86 ++++++++++--------- pallets/gear/src/benchmarking/mod.rs | 5 ++ .../gear/src/benchmarking/tests/gear_tasks.rs | 43 ++++++++++ pallets/gear/src/benchmarking/tests/mod.rs | 1 + runtime-interface/Cargo.toml | 24 +++--- runtime-interface/src/lib.rs | 3 + utils/gear-tasks/src/lib.rs | 8 +- 11 files changed, 118 insertions(+), 58 deletions(-) create mode 100644 pallets/gear/src/benchmarking/tests/gear_tasks.rs diff --git a/Cargo.lock b/Cargo.lock index 1348de915d9..9c00b2b38ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4743,6 +4743,7 @@ dependencies = [ "gear-lazy-pages", "gear-lazy-pages-common", "gear-sandbox-host", + "gear-tasks", "log", "parity-scale-codec", "sp-io", @@ -8152,6 +8153,7 @@ dependencies = [ "gear-lazy-pages-interface", "gear-runtime-interface", "gear-sandbox", + "gear-tasks", "gear-wasm-instrument", "gmeta", "gstd", diff --git a/Cargo.toml b/Cargo.toml index dce56af7a99..0175c0a8d04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -231,6 +231,7 @@ gear-utils = { path = "utils/utils" } gear-wasm-builder = { path = "utils/wasm-builder", default-features = false } gear-wasm-gen = { path = "utils/wasm-gen" } gear-wasm-instrument = { path = "utils/wasm-instrument", default-features = false } +gear-tasks = { path = "utils/gear-tasks", default-features = false } junit-common = { path = "utils/junit-common" } actor-system-error = { path = "utils/actor-system-error" } calc-stack-height = { path = "utils/calc-stack-height" } diff --git a/node/service/src/client.rs b/node/service/src/client.rs index 070d4728f07..abe5f6b4288 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -56,6 +56,7 @@ impl sc_executor::NativeExecutionDispatch for VaraExecutorDispatch { frame_benchmarking::benchmarking::HostFunctions, gear_ri::gear_ri::HostFunctions, gear_ri::sandbox::HostFunctions, + gear_ri::runtime_tasks::HostFunctions, sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, ); /// Otherwise we only use the default Substrate host functions. @@ -63,6 +64,7 @@ impl sc_executor::NativeExecutionDispatch for VaraExecutorDispatch { type ExtendHostFunctions = ( gear_ri::gear_ri::HostFunctions, gear_ri::sandbox::HostFunctions, + gear_ri::runtime_tasks::HostFunctions, sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, ); diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index b37daea9135..b7bbafe459c 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -31,6 +31,7 @@ impl sc_executor::NativeExecutionDispatch for LocalExecutorDispatch { frame_benchmarking::benchmarking::HostFunctions, gear_runtime_interface::gear_ri::HostFunctions, gear_runtime_interface::sandbox::HostFunctions, + gear_runtime_interface::runtime_tasks::HostFunctions, sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, ); diff --git a/pallets/gear/Cargo.toml b/pallets/gear/Cargo.toml index 3e789bf5f88..788dc39ec13 100644 --- a/pallets/gear/Cargo.toml +++ b/pallets/gear/Cargo.toml @@ -66,6 +66,7 @@ demo-constructor = { workspace = true, optional = true } demo-waiter = { workspace = true, optional = true } demo-init-wait = { workspace = true, optional = true } demo-signal-entry = { workspace = true, optional = true } +gear-tasks = { workspace = true, optional = true } # Some of tests require `debug` feature enabled [dev-dependencies] @@ -132,47 +133,47 @@ rand.workspace = true [features] default = ['std'] std = [ - "parity-scale-codec/std", - "env_logger", - "log/std", - "common/std", - "frame-benchmarking?/std", - "frame-support/std", - "frame-support-test/std", - "frame-system/std", - "gear-wasm-instrument/std", - "scopeguard/use_std", - "core-processor/std", - "gear-core-backend/std", - "gear-lazy-pages-interface/std", - "scale-info/std", - "sp-io/std", - "sp-std/std", - "sp-core/std", - "sp-runtime/std", - "sp-externalities/std", - "pallet-balances/std", - "pallet-authorship/std", - "pallet-gear-gas/std", - "pallet-gear-messenger/std", - "pallet-gear-scheduler/std", - "pallet-gear-program/std", - "pallet-gear-voucher/std", - "pallet-gear-bank/std", - "pallet-gear-proc-macro/full", - "primitive-types/std", - "serde/std", - "sp-consensus-babe/std", - "test-syscalls?/std", - "demo-read-big-state?/std", - "demo-proxy?/std", - "demo-reserve-gas?/std", - "demo-delayed-sender?/std", - "demo-constructor?/std", - "demo-waiter?/std", - "demo-init-wait?/std", - "demo-signal-entry?/std", - "gear-runtime-interface/std", + "parity-scale-codec/std", + "env_logger", + "log/std", + "common/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-support-test/std", + "frame-system/std", + "gear-wasm-instrument/std", + "scopeguard/use_std", + "core-processor/std", + "gear-core-backend/std", + "gear-lazy-pages-interface/std", + "scale-info/std", + "sp-io/std", + "sp-std/std", + "sp-core/std", + "sp-runtime/std", + "sp-externalities/std", + "pallet-balances/std", + "pallet-authorship/std", + "pallet-gear-gas/std", + "pallet-gear-messenger/std", + "pallet-gear-scheduler/std", + "pallet-gear-program/std", + "pallet-gear-voucher/std", + "pallet-gear-bank/std", + "pallet-gear-proc-macro/full", + "primitive-types/std", + "serde/std", + "sp-consensus-babe/std", + "test-syscalls?/std", + "demo-read-big-state?/std", + "demo-proxy?/std", + "demo-reserve-gas?/std", + "demo-delayed-sender?/std", + "demo-constructor?/std", + "demo-waiter?/std", + "demo-init-wait?/std", + "demo-signal-entry?/std", + "gear-runtime-interface/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -182,6 +183,7 @@ runtime-benchmarks = [ "gear-core-backend/mock", "gear-core-errors/codec", "gear-sandbox", + "gear-tasks", "sp-consensus-slots", "sp-consensus-babe", "rand", @@ -196,7 +198,7 @@ runtime-benchmarks = [ "demo-waiter/wasm-wrapper", "demo-init-wait/wasm-wrapper", "demo-signal-entry/wasm-wrapper", - "core-processor/mock", + "core-processor/mock", ] runtime-benchmarks-checkers = [] try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/gear/src/benchmarking/mod.rs b/pallets/gear/src/benchmarking/mod.rs index 2f707a12e20..fe898e5cb4d 100644 --- a/pallets/gear/src/benchmarking/mod.rs +++ b/pallets/gear/src/benchmarking/mod.rs @@ -345,6 +345,11 @@ benchmarks! { tests::lazy_pages::lazy_pages_gas_exceed::(); }: {} + #[extra] + check_gear_tasks { + tests::gear_tasks::smoke(); + }: {} + // This bench uses `StorageMap` as a storage, due to the fact that // the most of the gear storages represented with this type. db_write_per_kb { diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs new file mode 100644 index 00000000000..4838f620eec --- /dev/null +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -0,0 +1,43 @@ +// This file is part of Gear. +// +// Copyright (C) 2024 Gear Technologies Inc. +// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +use crate::benchmarking::tests::utils; +use gear_tasks::{TaskSpawner, TaskSpawnerExt}; +use sp_externalities::ExternalitiesExt; + +pub fn smoke() { + #[cfg(feature = "std")] + utils::init_logger(); + + sp_externalities::with_externalities(|mut ext| { + ext.register_extension(TaskSpawnerExt(TaskSpawner::new())) + .unwrap(); + }) + .unwrap(); + + let payload = vec![9, 7, 5, 3, 2, 1]; + let handle = gear_tasks::spawn( + |mut payload| { + payload.sort(); + payload + }, + payload, + ); + let sorted = handle.join(); + assert_eq!(sorted, vec![1, 2, 3, 5, 7, 9]) +} diff --git a/pallets/gear/src/benchmarking/tests/mod.rs b/pallets/gear/src/benchmarking/tests/mod.rs index 83d454bf29e..02c122c80f6 100644 --- a/pallets/gear/src/benchmarking/tests/mod.rs +++ b/pallets/gear/src/benchmarking/tests/mod.rs @@ -23,6 +23,7 @@ use super::*; +pub mod gear_tasks; pub mod lazy_pages; pub mod syscalls_integrity; mod utils; diff --git a/runtime-interface/Cargo.toml b/runtime-interface/Cargo.toml index 20ebcae809c..a6cccb3396a 100644 --- a/runtime-interface/Cargo.toml +++ b/runtime-interface/Cargo.toml @@ -13,6 +13,7 @@ gear-core.workspace = true gear-lazy-pages-common.workspace = true gear-lazy-pages = { workspace = true, optional = true } gear-sandbox-host = { workspace = true, optional = true } +gear-tasks.workspace = true sp-io.workspace = true sp-runtime-interface.workspace = true @@ -29,16 +30,15 @@ winapi = { workspace = true, features = ["memoryapi"] } [features] default = ["std"] std = [ - "gear-core/std", - "gear-lazy-pages", - "gear-sandbox-host", - - "sp-io/std", - "sp-std/std", - "sp-runtime-interface/std", - "sp-wasm-interface/std", - - "byteorder/std", - "codec/std", - "log", + "gear-core/std", + "gear-lazy-pages", + "gear-sandbox-host", + "gear-tasks/std", + "sp-io/std", + "sp-std/std", + "sp-runtime-interface/std", + "sp-wasm-interface/std", + "byteorder/std", + "codec/std", + "log", ] diff --git a/runtime-interface/src/lib.rs b/runtime-interface/src/lib.rs index 05ad45b6a29..8c55c2d2ed3 100644 --- a/runtime-interface/src/lib.rs +++ b/runtime-interface/src/lib.rs @@ -45,6 +45,9 @@ mod gear_sandbox; pub use gear_sandbox::init as sandbox_init; pub use gear_sandbox::sandbox; +#[cfg(feature = "std")] +pub use gear_tasks::runtime_tasks; + const _: () = assert!(core::mem::size_of::() >= core::mem::size_of::()); #[derive(Debug, Clone, Encode, Decode)] diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 5723822394a..fd7db423cc5 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -32,17 +32,17 @@ use std::{ const TASKS_AMOUNT: usize = 4; sp_externalities::decl_extension! { - struct TaskSpawnerExt(TaskSpawner); + pub struct TaskSpawnerExt(TaskSpawner); } -struct TaskSpawner { +pub struct TaskSpawner { thread_pool: ThreadPool, handle_counter: AtomicU64, tasks: HashMap>>, } impl TaskSpawner { - fn new() -> Self { + pub fn new() -> Self { Self { thread_pool: ThreadPool::builder() .pool_size(TASKS_AMOUNT) @@ -122,7 +122,7 @@ impl TaskSpawner { /// WASM host functions for managing tasks. #[runtime_interface(wasm_only)] -trait RuntimeTasks { +pub trait RuntimeTasks { fn spawn(dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { sp_externalities::with_externalities(|mut ext| { let spawner = ext From d79a1ed969679c80cf32d98619fb01537a78add6 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Sat, 1 Jun 2024 18:50:44 +0300 Subject: [PATCH 04/47] Fix `no_std` compilation --- .../gear/src/benchmarking/tests/gear_tasks.rs | 9 +- runtime-interface/src/lib.rs | 4 + utils/gear-tasks/Cargo.toml | 16 +- utils/gear-tasks/src/lib.rs | 312 +++++++++--------- 4 files changed, 180 insertions(+), 161 deletions(-) diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs index 4838f620eec..b2b09f037af 100644 --- a/pallets/gear/src/benchmarking/tests/gear_tasks.rs +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -17,18 +17,13 @@ // along with this program. If not, see . use crate::benchmarking::tests::utils; -use gear_tasks::{TaskSpawner, TaskSpawnerExt}; -use sp_externalities::ExternalitiesExt; +use alloc::vec; pub fn smoke() { #[cfg(feature = "std")] utils::init_logger(); - sp_externalities::with_externalities(|mut ext| { - ext.register_extension(TaskSpawnerExt(TaskSpawner::new())) - .unwrap(); - }) - .unwrap(); + gear_runtime_interface::init_tasks(); let payload = vec![9, 7, 5, 3, 2, 1]; let handle = gear_tasks::spawn( diff --git a/runtime-interface/src/lib.rs b/runtime-interface/src/lib.rs index 8c55c2d2ed3..beb8ae5362d 100644 --- a/runtime-interface/src/lib.rs +++ b/runtime-interface/src/lib.rs @@ -50,6 +50,10 @@ pub use gear_tasks::runtime_tasks; const _: () = assert!(core::mem::size_of::() >= core::mem::size_of::()); +pub fn init_tasks() { + gear_tasks::runtime_tasks::init(); +} + #[derive(Debug, Clone, Encode, Decode)] #[codec(crate = codec)] pub struct LazyPagesProgramContext { diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index fc09e757b03..cacd6e7db62 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -7,15 +7,13 @@ license.workspace = true homepage.workspace = true repository.workspace = true -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] -sc-executor.workspace = true -sc-executor-common.workspace = true +sc-executor = { workspace = true, optional = true } +sc-executor-common = { workspace = true, optional = true } sp-runtime-interface.workspace = true sp-externalities.workspace = true -futures-executor = "0.3.30" +futures-executor = { version = "0.3.30", default-features = false, optional = true } log.workspace = true [dev-dependencies] @@ -23,4 +21,10 @@ sp-io.workspace = true [features] default = ["std"] -std = [] +std = [ + "sc-executor", + "sc-executor-common", + "sp-runtime-interface/std", + "sp-externalities/std", + "futures-executor", +] diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index fd7db423cc5..a3de802eb4f 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -16,117 +16,31 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use futures_executor::ThreadPool; -use sc_executor::GearVersionedRuntimeExt; -use sc_executor_common::wasm_runtime::InvokeMethod; -use sp_externalities::ExternalitiesExt; -use sp_runtime_interface::runtime_interface; -use std::{ - collections::HashMap, - sync::{ - atomic::{AtomicU64, Ordering}, - mpsc, - }, -}; - -const TASKS_AMOUNT: usize = 4; - -sp_externalities::decl_extension! { - pub struct TaskSpawnerExt(TaskSpawner); -} - -pub struct TaskSpawner { - thread_pool: ThreadPool, - handle_counter: AtomicU64, - tasks: HashMap>>, -} +#![cfg_attr(not(feature = "std"), no_std)] -impl TaskSpawner { - pub fn new() -> Self { - Self { - thread_pool: ThreadPool::builder() - .pool_size(TASKS_AMOUNT) - .name_prefix("gear-tasks-") - .create() - .expect("Thread pool creation failed"), - handle_counter: AtomicU64::new(0), - tasks: HashMap::new(), - } - } +extern crate alloc; - fn spawn_inner( - &mut self, - f: impl FnOnce(Vec) -> Vec + Send + 'static, - payload: Vec, - ) -> JoinHandle { - let handle = self.handle_counter.fetch_add(1, Ordering::Relaxed); - let (rx, tx) = mpsc::sync_channel(1); - self.thread_pool.spawn_ok(async move { - if let Err(_e) = rx.send(f(payload)) { - log::debug!("Receiver has been disconnected for {handle}"); - } - }); - self.tasks.insert(handle, tx); - JoinHandle { inner: handle } - } - - fn spawn(&mut self, f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { - self.spawn_inner(f, payload) - } - - fn spawn_via_dispatcher( - &mut self, - dispatcher_ref: u32, - entry: u32, - payload: Vec, - ) -> JoinHandle { - self.spawn_inner( - move |payload| { - sp_externalities::with_externalities(|mut ext| { - let runtime = ext - .extension::() - .expect("`GearVersionedRuntimeExt` is not set") - .clone(); - runtime - .with_instance(ext, |_module, instance, _version, _ext| { - let payload = instance - .call( - InvokeMethod::TableWithWrapper { - dispatcher_ref, - func: entry, - }, - &payload, - ) - .expect("WASM execution failed"); - Ok(payload) - }) - .expect("Instantiation failed") - }) - .expect( - "`TaskSpawner::spawn_via_dispatcher`: called outside of externalities context", - ) - }, - payload, - ) - } +pub use inner::{spawn, JoinHandle}; - fn join(&mut self, handle: JoinHandle) -> Vec { - let tx = self - .tasks - .remove(&handle.inner) - .expect("`JoinHandle` is duplicated so task not found"); - tx.recv() - .expect("Sender has been disconnected which means thread was somehow terminated") - } -} +use alloc::vec::Vec; +use sp_externalities::ExternalitiesExt; +use sp_runtime_interface::runtime_interface; /// WASM host functions for managing tasks. -#[runtime_interface(wasm_only)] +#[runtime_interface] pub trait RuntimeTasks { + fn init() { + sp_externalities::with_externalities(|mut ext| { + ext.register_extension(inner::TaskSpawnerExt(inner::TaskSpawner::new())) + .expect("`RuntimeTasks` initialized twice"); + }) + .expect("`RuntimeTasks::spawn`: called outside of externalities context") + } + fn spawn(dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { sp_externalities::with_externalities(|mut ext| { let spawner = ext - .extension::() + .extension::() .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); let handle = spawner.spawn_via_dispatcher(dispatcher_ref, entry, payload); handle.inner @@ -137,7 +51,7 @@ pub trait RuntimeTasks { fn join(handle: u64) -> Vec { sp_externalities::with_externalities(|mut ext| { let spawner = ext - .extension::() + .extension::() .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); spawner.join(JoinHandle { inner: handle }) }) @@ -145,12 +59,112 @@ pub trait RuntimeTasks { } } -pub use inner::{spawn, JoinHandle}; - #[cfg(feature = "std")] mod inner { use super::*; + use futures_executor::ThreadPool; + use sc_executor::GearVersionedRuntimeExt; + use sc_executor_common::wasm_runtime::InvokeMethod; + use std::{ + collections::HashMap, + sync::{ + atomic::{AtomicU64, Ordering}, + mpsc, + }, + }; + + const TASKS_AMOUNT: usize = 4; + + sp_externalities::decl_extension! { + pub struct TaskSpawnerExt(TaskSpawner); + } + + pub struct TaskSpawner { + thread_pool: ThreadPool, + handle_counter: AtomicU64, + tasks: HashMap>>, + } + + impl TaskSpawner { + pub fn new() -> Self { + Self { + thread_pool: ThreadPool::builder() + .pool_size(TASKS_AMOUNT) + .name_prefix("gear-tasks-") + .create() + .expect("Thread pool creation failed"), + handle_counter: AtomicU64::new(0), + tasks: HashMap::new(), + } + } + + fn spawn_inner( + &mut self, + f: impl FnOnce(Vec) -> Vec + Send + 'static, + payload: Vec, + ) -> JoinHandle { + let handle = self.handle_counter.fetch_add(1, Ordering::Relaxed); + let (rx, tx) = mpsc::sync_channel(1); + self.thread_pool.spawn_ok(async move { + if let Err(_e) = rx.send(f(payload)) { + log::debug!("Receiver has been disconnected for {handle}"); + } + }); + self.tasks.insert(handle, tx); + JoinHandle { inner: handle } + } + + fn spawn(&mut self, f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { + self.spawn_inner(f, payload) + } + + pub(crate) fn spawn_via_dispatcher( + &mut self, + dispatcher_ref: u32, + entry: u32, + payload: Vec, + ) -> JoinHandle { + self.spawn_inner( + move |payload| { + sp_externalities::with_externalities(|mut ext| { + let runtime = ext + .extension::() + .expect("`GearVersionedRuntimeExt` is not set") + .clone(); + runtime + .with_instance(ext, |_module, instance, _version, _ext| { + let payload = instance + .call( + InvokeMethod::TableWithWrapper { + dispatcher_ref, + func: entry, + }, + &payload, + ) + .expect("WASM execution failed"); + Ok(payload) + }) + .expect("Instantiation failed") + }) + .expect( + "`TaskSpawner::spawn_via_dispatcher`: called outside of externalities context", + ) + }, + payload, + ) + } + + pub(crate) fn join(&mut self, handle: JoinHandle) -> Vec { + let tx = self + .tasks + .remove(&handle.inner) + .expect("`JoinHandle` is duplicated so task not found"); + tx.recv() + .expect("Sender has been disconnected which means thread was somehow terminated") + } + } + #[derive(Debug, Eq, PartialEq)] pub struct JoinHandle { pub(super) inner: u64, @@ -177,6 +191,48 @@ mod inner { }) .expect("`spawn`: called outside of externalities context") } + + #[cfg(test)] + mod tests { + use super::*; + + fn new_test_ext() -> sp_io::TestExternalities { + let mut ext = sp_io::TestExternalities::new_empty(); + + let spawner = TaskSpawnerExt(TaskSpawner::new()); + ext.register_extension::(spawner); + + ext + } + + #[test] + fn smoke() { + new_test_ext().execute_with(|| { + const PAYLOAD_SIZE: usize = 32 * 1024 * 1024; + + let payload = vec![0xff; PAYLOAD_SIZE]; + let handles = (0..TASKS_AMOUNT).map(|i| { + let mut payload = payload.clone(); + payload[i * (PAYLOAD_SIZE / TASKS_AMOUNT)] = 0xfe; + spawn( + |mut payload| { + payload.sort(); + payload + }, + payload, + ) + }); + + let mut expected = vec![0xff; PAYLOAD_SIZE]; + expected[0] = 0xfe; + + for handle in handles { + let payload = handle.join(); + assert_eq!(payload, expected); + } + }) + } + } } #[cfg(not(feature = "std"))] @@ -184,6 +240,8 @@ mod inner { mod inner { use super::*; + use core::mem; + /// Dispatch wrapper for WASM blob. /// /// Serves as trampoline to call any rust function with (Vec) -> Vec compiled @@ -220,50 +278,8 @@ mod inner { } pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { - let func_ref = f as *const fn(Vec) -> Vec as *const u8; + let func_ref = f as usize as u32; let handle = runtime_tasks::spawn(dispatch_wrapper as usize as u32, func_ref, payload); JoinHandle { inner: handle } } } - -#[cfg(test)] -mod tests { - use super::*; - - fn new_test_ext() -> sp_io::TestExternalities { - let mut ext = sp_io::TestExternalities::new_empty(); - - let spawner = TaskSpawnerExt(TaskSpawner::new()); - ext.register_extension::(spawner); - - ext - } - - #[test] - fn smoke() { - new_test_ext().execute_with(|| { - const PAYLOAD_SIZE: usize = 32 * 1024 * 1024; - - let payload = vec![0xff; PAYLOAD_SIZE]; - let handles = (0..TASKS_AMOUNT).map(|i| { - let mut payload = payload.clone(); - payload[i * (PAYLOAD_SIZE / TASKS_AMOUNT)] = 0xfe; - spawn( - |mut payload| { - payload.sort(); - payload - }, - payload, - ) - }); - - let mut expected = vec![0xff; PAYLOAD_SIZE]; - expected[0] = 0xfe; - - for handle in handles { - let payload = handle.join(); - assert_eq!(payload, expected); - } - }) - } -} From cfaaa8c23acf5894591ae3512d4373bae18208d7 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Mon, 3 Jun 2024 01:11:55 +0300 Subject: [PATCH 05/47] Fix running tasks in WASM --- Cargo.lock | 311 ++++++++++++++++++------------------ utils/gear-tasks/Cargo.toml | 1 + utils/gear-tasks/src/lib.rs | 229 ++++++++++++++++++++++---- 3 files changed, 356 insertions(+), 185 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9c00b2b38ac..a57000e56b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3680,7 +3680,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", ] @@ -3703,7 +3703,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-support-procedural", @@ -3728,7 +3728,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3776,7 +3776,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3787,7 +3787,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3804,7 +3804,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "futures", "indicatif", @@ -3867,7 +3867,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "Inflector", "cfg-expr", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3938,7 +3938,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "proc-macro2", "quote", @@ -3948,7 +3948,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3977,7 +3977,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -3990,7 +3990,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "cfg-if", "frame-support", @@ -4009,7 +4009,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -4024,7 +4024,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,7 +4033,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "parity-scale-codec", @@ -4911,6 +4911,7 @@ dependencies = [ "sp-externalities", "sp-io", "sp-runtime-interface", + "sp-storage", ] [[package]] @@ -5033,7 +5034,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "chrono", "frame-election-provider-support", @@ -7910,7 +7911,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -7926,7 +7927,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -7940,7 +7941,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -7964,7 +7965,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "aquamarine", "docify", @@ -7986,7 +7987,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8001,7 +8002,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8019,7 +8020,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8038,7 +8039,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8055,7 +8056,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8078,7 +8079,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8566,7 +8567,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8589,7 +8590,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8605,7 +8606,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8625,7 +8626,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8641,7 +8642,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -8660,7 +8661,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8671,7 +8672,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -8688,7 +8689,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8705,7 +8706,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8720,7 +8721,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8738,7 +8739,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8757,7 +8758,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "docify", "frame-benchmarking", @@ -8775,7 +8776,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -8797,7 +8798,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8820,7 +8821,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "log", "sp-arithmetic", @@ -8829,7 +8830,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "sp-api", @@ -8838,7 +8839,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "docify", "frame-benchmarking", @@ -8854,7 +8855,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "docify", "frame-benchmarking", @@ -8874,7 +8875,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-support", "frame-system", @@ -8890,7 +8891,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8906,7 +8907,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8918,7 +8919,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "docify", "frame-benchmarking", @@ -8937,7 +8938,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8953,7 +8954,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -8968,7 +8969,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-benchmarking", "frame-support", @@ -10450,7 +10451,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10465,7 +10466,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10484,7 +10485,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10495,7 +10496,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10535,7 +10536,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "fnv", "futures", @@ -10562,7 +10563,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "hash-db", "kvdb", @@ -10588,7 +10589,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "futures", @@ -10613,7 +10614,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "fork-tree", @@ -10648,7 +10649,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10670,7 +10671,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10683,7 +10684,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10724,7 +10725,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "finality-grandpa", "futures", @@ -10744,7 +10745,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "futures", @@ -10767,7 +10768,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -10790,7 +10791,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10802,7 +10803,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "anyhow", "cfg-if", @@ -10820,7 +10821,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "ansi_term", "futures", @@ -10836,7 +10837,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.2", @@ -10850,7 +10851,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10878,7 +10879,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10919,7 +10920,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-channel", "cid", @@ -10939,7 +10940,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10956,7 +10957,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "ahash 0.8.11", "futures", @@ -10974,7 +10975,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10995,7 +10996,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11013,7 +11014,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11048,7 +11049,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11066,7 +11067,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11100,7 +11101,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11109,7 +11110,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11141,7 +11142,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11161,7 +11162,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11176,7 +11177,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11204,7 +11205,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "directories", @@ -11268,7 +11269,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "log", "parity-scale-codec", @@ -11279,7 +11280,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11298,7 +11299,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "futures", "libc", @@ -11317,7 +11318,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "chrono", "futures", @@ -11336,7 +11337,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "ansi_term", "atty", @@ -11365,7 +11366,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11376,7 +11377,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "futures", @@ -11402,7 +11403,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "futures", @@ -11418,7 +11419,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-channel", "futures", @@ -12145,7 +12146,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "log", "parity-scale-codec", @@ -12156,7 +12157,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "hash-db", "log", @@ -12177,7 +12178,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12191,7 +12192,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "scale-info", @@ -12204,7 +12205,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "integer-sqrt", "num-traits", @@ -12218,7 +12219,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "scale-info", @@ -12231,7 +12232,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "sp-api", "sp-inherents", @@ -12242,7 +12243,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "futures", "log", @@ -12260,7 +12261,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "futures", @@ -12275,7 +12276,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "parity-scale-codec", @@ -12292,7 +12293,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "parity-scale-codec", @@ -12311,7 +12312,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "finality-grandpa", "log", @@ -12329,7 +12330,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "scale-info", @@ -12341,7 +12342,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12404,7 +12405,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "blake2b_simd", "byteorder", @@ -12417,7 +12418,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12427,7 +12428,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12448,7 +12449,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "kvdb", "parking_lot 0.12.2", @@ -12457,7 +12458,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "proc-macro2", "quote", @@ -12467,7 +12468,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "environmental", "parity-scale-codec", @@ -12478,7 +12479,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "serde_json", "sp-api", @@ -12489,7 +12490,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12503,7 +12504,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "bytes", "ed25519-dalek", @@ -12527,7 +12528,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "lazy_static", "sp-core", @@ -12538,7 +12539,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -12550,7 +12551,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12559,7 +12560,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -12570,7 +12571,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "scale-info", @@ -12582,7 +12583,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "scale-info", @@ -12596,7 +12597,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "sp-api", "sp-core", @@ -12606,7 +12607,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "backtrace", "lazy_static", @@ -12616,7 +12617,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "rustc-hash", "serde", @@ -12626,7 +12627,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "either", "hash256-std-hasher", @@ -12648,7 +12649,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12666,7 +12667,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12678,7 +12679,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "scale-info", @@ -12693,7 +12694,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12707,7 +12708,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "hash-db", "log", @@ -12728,7 +12729,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12758,12 +12759,12 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12776,7 +12777,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "parity-scale-codec", @@ -12789,7 +12790,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12801,7 +12802,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "sp-api", "sp-runtime", @@ -12810,7 +12811,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "parity-scale-codec", @@ -12825,7 +12826,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12849,7 +12850,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12866,7 +12867,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12877,7 +12878,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12892,7 +12893,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12902,7 +12903,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "parity-scale-codec", "scale-info", @@ -13090,12 +13091,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13114,7 +13115,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "hyper", "log", @@ -13126,7 +13127,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13139,7 +13140,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13156,7 +13157,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13182,7 +13183,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "ansi_term", "build-helper", @@ -14014,7 +14015,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#81ee8b8e9928280993c386c61ee856df7f404f77" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" dependencies = [ "async-trait", "clap 4.5.4", diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index cacd6e7db62..a11d816fa0c 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -12,6 +12,7 @@ sc-executor = { workspace = true, optional = true } sc-executor-common = { workspace = true, optional = true } sp-runtime-interface.workspace = true sp-externalities.workspace = true +sp-storage.workspace = true futures-executor = { version = "0.3.30", default-features = false, optional = true } log.workspace = true diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index a3de802eb4f..6ebed26e173 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -23,6 +23,7 @@ extern crate alloc; pub use inner::{spawn, JoinHandle}; use alloc::vec::Vec; +use sc_executor::GearVersionedRuntimeExt; use sp_externalities::ExternalitiesExt; use sp_runtime_interface::runtime_interface; @@ -31,7 +32,7 @@ use sp_runtime_interface::runtime_interface; pub trait RuntimeTasks { fn init() { sp_externalities::with_externalities(|mut ext| { - ext.register_extension(inner::TaskSpawnerExt(inner::TaskSpawner::new())) + ext.register_extension(inner::TaskSpawnerExt::default()) .expect("`RuntimeTasks` initialized twice"); }) .expect("`RuntimeTasks::spawn`: called outside of externalities context") @@ -39,10 +40,15 @@ pub trait RuntimeTasks { fn spawn(dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { sp_externalities::with_externalities(|mut ext| { + let runtime = ext + .extension::() + .expect("`GearVersionedRuntimeExt` is not set") + .clone(); + let spawner = ext .extension::() .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); - let handle = spawner.spawn_via_dispatcher(dispatcher_ref, entry, payload); + let handle = spawner.spawn_via_dispatcher(runtime, dispatcher_ref, entry, payload); handle.inner }) .expect("`RuntimeTasks::spawn`: called outside of externalities context") @@ -64,19 +70,181 @@ mod inner { use super::*; use futures_executor::ThreadPool; - use sc_executor::GearVersionedRuntimeExt; + use sc_executor::VersionedRuntime; use sc_executor_common::wasm_runtime::InvokeMethod; + use sp_externalities::{Error, Extension, ExtensionStore, Externalities, MultiRemovalResults}; use std::{ + any::{Any, TypeId}, collections::HashMap, sync::{ atomic::{AtomicU64, Ordering}, - mpsc, + mpsc, Arc, }, }; const TASKS_AMOUNT: usize = 4; + struct NoStorageExternalities; + + impl Externalities for NoStorageExternalities { + fn set_offchain_storage(&mut self, _key: &[u8], _value: Option<&[u8]>) { + panic!("`Externalities::set_offchain_storage()` is not supported") + } + + fn storage(&self, _key: &[u8]) -> Option> { + panic!("`Externalities::storage()` is not supported") + } + + fn storage_hash(&self, _key: &[u8]) -> Option> { + panic!("`Externalities::storage_hash()` is not supported") + } + + fn child_storage_hash( + &self, + _child_info: &sp_storage::ChildInfo, + _key: &[u8], + ) -> Option> { + panic!("`Externalities::child_storage_hash()` is not supported") + } + + fn child_storage( + &self, + _child_info: &sp_storage::ChildInfo, + _key: &[u8], + ) -> Option> { + panic!("`Externalities::child_storage()` is not supported") + } + + fn next_storage_key(&self, _key: &[u8]) -> Option> { + panic!("`Externalities::next_storage_key()` is not supported") + } + + fn next_child_storage_key( + &self, + _child_info: &sp_storage::ChildInfo, + _key: &[u8], + ) -> Option> { + panic!("`Externalities::next_child_storage_key()` is not supported") + } + + fn kill_child_storage( + &mut self, + _child_info: &sp_storage::ChildInfo, + _maybe_limit: Option, + _maybe_cursor: Option<&[u8]>, + ) -> MultiRemovalResults { + panic!("`Externalities::kill_child_storage()` is not supported") + } + + fn clear_prefix( + &mut self, + _prefix: &[u8], + _maybe_limit: Option, + _maybe_cursor: Option<&[u8]>, + ) -> MultiRemovalResults { + panic!("`Externalities::clear_prefix()` is not supported") + } + + fn clear_child_prefix( + &mut self, + _child_info: &sp_storage::ChildInfo, + _prefix: &[u8], + _maybe_limit: Option, + _maybe_cursor: Option<&[u8]>, + ) -> MultiRemovalResults { + panic!("`Externalities::clear_child_prefix()` is not supported") + } + + fn place_storage(&mut self, _key: Vec, _value: Option>) { + panic!("`Externalities::place_storage()` is not supported") + } + + fn place_child_storage( + &mut self, + _child_info: &sp_storage::ChildInfo, + _key: Vec, + _value: Option>, + ) { + panic!("`Externalities::place_child_storage()` is not supported") + } + + fn storage_root(&mut self, _state_version: sp_storage::StateVersion) -> Vec { + panic!("`Externalities::storage_root()` is not supported") + } + + fn child_storage_root( + &mut self, + _child_info: &sp_storage::ChildInfo, + _state_version: sp_storage::StateVersion, + ) -> Vec { + panic!("`Externalities::child_storage_root()` is not supported") + } + + fn storage_append(&mut self, _key: Vec, _value: Vec) { + panic!("`Externalities::storage_append()` is not supported") + } + + fn storage_start_transaction(&mut self) { + panic!("`Externalities::storage_start_transaction()` is not supported") + } + + fn storage_rollback_transaction(&mut self) -> Result<(), ()> { + panic!("`Externalities::storage_rollback_transaction()` is not supported") + } + + fn storage_commit_transaction(&mut self) -> Result<(), ()> { + panic!("`Externalities::storage_commit_transaction()` is not supported") + } + + fn wipe(&mut self) { + panic!("`Externalities::wipe()` is not supported") + } + + fn commit(&mut self) { + panic!("`Externalities::commit()` is not supported") + } + + fn read_write_count(&self) -> (u32, u32, u32, u32) { + panic!("`Externalities::read_write_count()` is not supported") + } + + fn reset_read_write_count(&mut self) { + panic!("`Externalities::reset_read_write_count()` is not supported") + } + + fn get_whitelist(&self) -> Vec { + panic!("`Externalities::get_whitelist()` is not supported") + } + + fn set_whitelist(&mut self, _new: Vec) { + panic!("`Externalities::set_whitelist()` is not supported") + } + + fn get_read_and_written_keys(&self) -> Vec<(Vec, u32, u32, bool)> { + panic!("`Externalities::get_read_and_written_keys()` is not supported") + } + } + + impl ExtensionStore for NoStorageExternalities { + fn extension_by_type_id(&mut self, _type_id: TypeId) -> Option<&mut dyn Any> { + panic!("`ExternalitiesStore::extension_by_type_id()` is not supported") + } + + fn register_extension_with_type_id( + &mut self, + _type_id: TypeId, + _extension: Box, + ) -> Result<(), Error> { + panic!("`ExternalitiesStore::register_extension_with_type_id()` is not supported") + } + + fn deregister_extension_by_type_id(&mut self, _type_id: TypeId) -> Result<(), Error> { + panic!("`ExternalitiesStore::deregister_extension_by_type_id()` is not supported") + } + } + sp_externalities::decl_extension! { + #[derive(Default)] pub struct TaskSpawnerExt(TaskSpawner); } @@ -86,8 +254,8 @@ mod inner { tasks: HashMap>>, } - impl TaskSpawner { - pub fn new() -> Self { + impl Default for TaskSpawner { + fn default() -> Self { Self { thread_pool: ThreadPool::builder() .pool_size(TASKS_AMOUNT) @@ -98,7 +266,9 @@ mod inner { tasks: HashMap::new(), } } + } + impl TaskSpawner { fn spawn_inner( &mut self, f: impl FnOnce(Vec) -> Vec + Send + 'static, @@ -121,35 +291,35 @@ mod inner { pub(crate) fn spawn_via_dispatcher( &mut self, + runtime: Arc, dispatcher_ref: u32, entry: u32, payload: Vec, ) -> JoinHandle { self.spawn_inner( move |payload| { - sp_externalities::with_externalities(|mut ext| { - let runtime = ext - .extension::() - .expect("`GearVersionedRuntimeExt` is not set") - .clone(); - runtime - .with_instance(ext, |_module, instance, _version, _ext| { - let payload = instance - .call( - InvokeMethod::TableWithWrapper { - dispatcher_ref, - func: entry, - }, - &payload, - ) - .expect("WASM execution failed"); - Ok(payload) + sp_externalities::set_and_run_with_externalities( + &mut NoStorageExternalities, + || { + sp_externalities::with_externalities(|ext| { + runtime + .with_instance(ext, |_module, instance, _version, _ext| { + let payload = instance + .call( + InvokeMethod::TableWithWrapper { + dispatcher_ref, + func: entry, + }, + &payload, + ) + .expect("WASM execution failed"); + Ok(payload) + }) + .expect("Instantiation failed") }) - .expect("Instantiation failed") - }) - .expect( - "`TaskSpawner::spawn_via_dispatcher`: called outside of externalities context", - ) + .expect("Externalities are set above; qed") + }, + ) }, payload, ) @@ -199,8 +369,7 @@ mod inner { fn new_test_ext() -> sp_io::TestExternalities { let mut ext = sp_io::TestExternalities::new_empty(); - let spawner = TaskSpawnerExt(TaskSpawner::new()); - ext.register_extension::(spawner); + ext.register_extension(TaskSpawnerExt::default()); ext } From f44549e8c39ea461dcb99ab560017442a9802ffb Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Sat, 8 Jun 2024 20:29:06 +0300 Subject: [PATCH 06/47] Use `self` argument instead of manual ext obtaining --- utils/gear-tasks/src/lib.rs | 47 +++++++++++++++---------------------- 1 file changed, 19 insertions(+), 28 deletions(-) diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 6ebed26e173..ba489db7828 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -30,38 +30,29 @@ use sp_runtime_interface::runtime_interface; /// WASM host functions for managing tasks. #[runtime_interface] pub trait RuntimeTasks { - fn init() { - sp_externalities::with_externalities(|mut ext| { - ext.register_extension(inner::TaskSpawnerExt::default()) - .expect("`RuntimeTasks` initialized twice"); - }) - .expect("`RuntimeTasks::spawn`: called outside of externalities context") + fn init(&mut self) { + self.register_extension(inner::TaskSpawnerExt::default()) + .expect("`RuntimeTasks` initialized twice"); } - fn spawn(dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { - sp_externalities::with_externalities(|mut ext| { - let runtime = ext - .extension::() - .expect("`GearVersionedRuntimeExt` is not set") - .clone(); - - let spawner = ext - .extension::() - .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); - let handle = spawner.spawn_via_dispatcher(runtime, dispatcher_ref, entry, payload); - handle.inner - }) - .expect("`RuntimeTasks::spawn`: called outside of externalities context") + fn spawn(&mut self, dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { + let runtime = self + .extension::() + .expect("`GearVersionedRuntimeExt` is not set") + .clone(); + + let spawner = self + .extension::() + .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); + let handle = spawner.spawn_via_dispatcher(runtime, dispatcher_ref, entry, payload); + handle.inner } - fn join(handle: u64) -> Vec { - sp_externalities::with_externalities(|mut ext| { - let spawner = ext - .extension::() - .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); - spawner.join(JoinHandle { inner: handle }) - }) - .expect("`RuntimeTasks::join`: called outside of externalities context") + fn join(&mut self, handle: u64) -> Vec { + let spawner = self + .extension::() + .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); + spawner.join(JoinHandle { inner: handle }) } } From e12f5587368a77d74203a88a703ca7522427e75d Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Sat, 8 Jun 2024 20:30:53 +0300 Subject: [PATCH 07/47] `RuntimeTasks` -> `GearTasks` --- node/service/src/client.rs | 4 ++-- node/testing/src/client.rs | 2 +- runtime-interface/src/lib.rs | 4 ++-- utils/gear-tasks/src/lib.rs | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/node/service/src/client.rs b/node/service/src/client.rs index abe5f6b4288..928b4a0a33f 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -56,7 +56,7 @@ impl sc_executor::NativeExecutionDispatch for VaraExecutorDispatch { frame_benchmarking::benchmarking::HostFunctions, gear_ri::gear_ri::HostFunctions, gear_ri::sandbox::HostFunctions, - gear_ri::runtime_tasks::HostFunctions, + gear_ri::gear_tasks::HostFunctions, sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, ); /// Otherwise we only use the default Substrate host functions. @@ -64,7 +64,7 @@ impl sc_executor::NativeExecutionDispatch for VaraExecutorDispatch { type ExtendHostFunctions = ( gear_ri::gear_ri::HostFunctions, gear_ri::sandbox::HostFunctions, - gear_ri::runtime_tasks::HostFunctions, + gear_ri::gear_tasks::HostFunctions, sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, ); diff --git a/node/testing/src/client.rs b/node/testing/src/client.rs index b7bbafe459c..5c270ff97a8 100644 --- a/node/testing/src/client.rs +++ b/node/testing/src/client.rs @@ -31,7 +31,7 @@ impl sc_executor::NativeExecutionDispatch for LocalExecutorDispatch { frame_benchmarking::benchmarking::HostFunctions, gear_runtime_interface::gear_ri::HostFunctions, gear_runtime_interface::sandbox::HostFunctions, - gear_runtime_interface::runtime_tasks::HostFunctions, + gear_runtime_interface::gear_tasks::HostFunctions, sp_crypto_ec_utils::bls12_381::host_calls::HostFunctions, ); diff --git a/runtime-interface/src/lib.rs b/runtime-interface/src/lib.rs index beb8ae5362d..09ea4891ef3 100644 --- a/runtime-interface/src/lib.rs +++ b/runtime-interface/src/lib.rs @@ -46,12 +46,12 @@ pub use gear_sandbox::init as sandbox_init; pub use gear_sandbox::sandbox; #[cfg(feature = "std")] -pub use gear_tasks::runtime_tasks; +pub use gear_tasks::gear_tasks; const _: () = assert!(core::mem::size_of::() >= core::mem::size_of::()); pub fn init_tasks() { - gear_tasks::runtime_tasks::init(); + ::gear_tasks::gear_tasks::init(); } #[derive(Debug, Clone, Encode, Decode)] diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index ba489db7828..5debda79322 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -29,10 +29,10 @@ use sp_runtime_interface::runtime_interface; /// WASM host functions for managing tasks. #[runtime_interface] -pub trait RuntimeTasks { +pub trait GearTasks { fn init(&mut self) { self.register_extension(inner::TaskSpawnerExt::default()) - .expect("`RuntimeTasks` initialized twice"); + .expect("`GearTasks` initialized twice"); } fn spawn(&mut self, dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { @@ -433,13 +433,13 @@ mod inner { impl JoinHandle { pub fn join(self) -> Vec { - runtime_tasks::join(self.inner) + gear_tasks::join(self.inner) } } pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { let func_ref = f as usize as u32; - let handle = runtime_tasks::spawn(dispatch_wrapper as usize as u32, func_ref, payload); + let handle = gear_tasks::spawn(dispatch_wrapper as usize as u32, func_ref, payload); JoinHandle { inner: handle } } } From 0ad27084ea718134d53db8cf3e6c040ac6ea4dba Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 11 Jun 2024 03:09:15 +0300 Subject: [PATCH 08/47] Execute WASM tasks via client --- Cargo.lock | 16 ++ Cargo.toml | 2 + node/service/Cargo.toml | 2 + node/service/src/client.rs | 2 + node/service/src/lib.rs | 6 + runtime/vara/Cargo.toml | 2 + runtime/vara/src/lib.rs | 6 + utils/gear-tasks/Cargo.toml | 10 + utils/gear-tasks/runtime-api/Cargo.toml | 15 ++ utils/gear-tasks/runtime-api/src/lib.rs | 43 +++++ utils/gear-tasks/src/lib.rs | 245 ++++++++++++++---------- 11 files changed, 247 insertions(+), 102 deletions(-) create mode 100644 utils/gear-tasks/runtime-api/Cargo.toml create mode 100644 utils/gear-tasks/runtime-api/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index a57000e56b4..42778d355cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4819,6 +4819,8 @@ dependencies = [ "gear-runtime-common", "gear-runtime-interface", "gear-runtime-primitives", + "gear-tasks", + "gear-tasks-runtime-api", "hex-literal", "jsonrpsee 0.16.3", "log", @@ -4904,14 +4906,27 @@ dependencies = [ name = "gear-tasks" version = "1.4.2" dependencies = [ + "env_logger", "futures-executor", + "gear-node-testing", + "gear-tasks-runtime-api", "log", + "sc-client-api", "sc-executor", "sc-executor-common", + "sp-api", "sp-externalities", "sp-io", "sp-runtime-interface", "sp-storage", + "substrate-test-client", +] + +[[package]] +name = "gear-tasks-runtime-api" +version = "1.4.2" +dependencies = [ + "sp-api", ] [[package]] @@ -14239,6 +14254,7 @@ dependencies = [ "gear-lazy-pages-common", "gear-runtime-common", "gear-runtime-primitives", + "gear-tasks-runtime-api", "hex-literal", "log", "pallet-authority-discovery", diff --git a/Cargo.toml b/Cargo.toml index 0175c0a8d04..f8d055523f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -94,6 +94,7 @@ members = [ "pallets/*", "runtime/*", "utils/*", + "utils/gear-tasks/runtime-api", "utils/runtime-fuzzer/fuzz" ] @@ -232,6 +233,7 @@ gear-wasm-builder = { path = "utils/wasm-builder", default-features = false } gear-wasm-gen = { path = "utils/wasm-gen" } gear-wasm-instrument = { path = "utils/wasm-instrument", default-features = false } gear-tasks = { path = "utils/gear-tasks", default-features = false } +gear-tasks-runtime-api = { path = "utils/gear-tasks/runtime-api", default-features = false } junit-common = { path = "utils/junit-common" } actor-system-error = { path = "utils/actor-system-error" } calc-stack-height = { path = "utils/calc-stack-height" } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 253641c0712..503e394d962 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -30,6 +30,8 @@ pallet-gear-builtin-rpc-runtime-api = { workspace = true, features = ["std"] } runtime-primitives = { workspace = true, features = ["std"] } gear-runtime-interface = { workspace = true, features = ["std"] } authorship.workspace = true +gear-tasks = { workspace = true, features = ["std"] } +gear-tasks-runtime-api = { workspace = true, features = ["std"] } # Gear Runtimes gear-runtime-common = { workspace = true, features = ["std"] } diff --git a/node/service/src/client.rs b/node/service/src/client.rs index 928b4a0a33f..d151459a88b 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -95,6 +95,7 @@ pub trait RuntimeApiCollection: + pallet_gear_rpc_runtime_api::GearApi + pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi + pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi + + gear_tasks_runtime_api::GearTasksApi { } @@ -112,6 +113,7 @@ impl RuntimeApiCollection for Api where + pallet_gear_rpc_runtime_api::GearApi + pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi + pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi + + gear_tasks_runtime_api::GearTasksApi { } diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 09e366b0ad1..03aa54bec04 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -626,6 +626,12 @@ where ); } + task_manager.spawn_handle().spawn( + "gear-tasks-runner", + "gear-tasks", + gear_tasks::GearTasksRunner::new(client.clone()).run(), + ); + network_starter.start_network(); Ok(NewFullBase { task_manager, diff --git a/runtime/vara/Cargo.toml b/runtime/vara/Cargo.toml index 59982570338..c794ef92659 100644 --- a/runtime/vara/Cargo.toml +++ b/runtime/vara/Cargo.toml @@ -102,6 +102,7 @@ pallet-gear-rpc-runtime-api.workspace = true pallet-gear-staking-rewards-rpc-runtime-api.workspace = true pallet-gear-builtin-rpc-runtime-api.workspace = true runtime-primitives.workspace = true +gear-tasks-runtime-api.workspace = true [dev-dependencies] sp-io.workspace = true @@ -120,6 +121,7 @@ default = ["std"] std = [ "parity-scale-codec/std", "common/std", + "gear-tasks-runtime-api/std", "frame-try-runtime?/std", "frame-system-benchmarking?/std", "frame-benchmarking?/std", diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index c3bac531559..2b4849af2d7 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1495,6 +1495,12 @@ impl_runtime_apis_plus_common! { Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() } } + + impl gear_tasks_runtime_api::GearTasksApi for Runtime { + fn execute_task(func_ref: u64, payload: Vec) -> Vec { + gear_tasks_runtime_api::impl_fn(func_ref, payload) + } + } } #[cfg(any(feature = "std", test))] diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index a11d816fa0c..fe22af3f454 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -10,22 +10,32 @@ repository.workspace = true [dependencies] sc-executor = { workspace = true, optional = true } sc-executor-common = { workspace = true, optional = true } +sc-client-api = { workspace = true, optional = true } sp-runtime-interface.workspace = true sp-externalities.workspace = true sp-storage.workspace = true +sp-api.workspace = true +gear-tasks-runtime-api.workspace = true futures-executor = { version = "0.3.30", default-features = false, optional = true } log.workspace = true [dev-dependencies] sp-io.workspace = true +futures-executor = "0.3.30" +gear-node-testing.workspace = true +substrate-test-client.workspace = true + +env_logger.workspace = true [features] default = ["std"] std = [ "sc-executor", "sc-executor-common", + "sc-client-api", "sp-runtime-interface/std", "sp-externalities/std", + "sp-api/std", "futures-executor", ] diff --git a/utils/gear-tasks/runtime-api/Cargo.toml b/utils/gear-tasks/runtime-api/Cargo.toml new file mode 100644 index 00000000000..f8505495c74 --- /dev/null +++ b/utils/gear-tasks/runtime-api/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "gear-tasks-runtime-api" +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true +homepage.workspace = true +repository.workspace = true + +[dependencies] +sp-api.workspace = true + +[features] +default = ["std"] +std = ["sp-api/std"] diff --git a/utils/gear-tasks/runtime-api/src/lib.rs b/utils/gear-tasks/runtime-api/src/lib.rs new file mode 100644 index 00000000000..3049c9df1fc --- /dev/null +++ b/utils/gear-tasks/runtime-api/src/lib.rs @@ -0,0 +1,43 @@ +// This file is part of Gear. +// +// Copyright (C) 2024 Gear Technologies Inc. +// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +#![cfg_attr(not(feature = "std"), no_std)] + +extern crate alloc; + +use alloc::vec::Vec; + +sp_api::decl_runtime_apis! { + pub trait GearTasksApi { + fn execute_task(func_ref: u64, payload: Vec) -> Vec; + } +} + +pub fn impl_fn(func_ref: u64, payload: Vec) -> Vec { + #[cfg(target_arch = "wasm32")] + { + let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; + f(payload) + } + + #[cfg(feature = "std")] + { + let _ = (func_ref, payload); + unreachable!("`gear-tasks` uses different implementation for native calls") + } +} diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 5debda79322..4fd6f00d74c 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -1,3 +1,7 @@ +/* + * Copyright (c) 2024 + * All rights reserved. + */ // This file is part of Gear. // // Copyright (C) 2024 Gear Technologies Inc. @@ -20,13 +24,16 @@ extern crate alloc; +#[cfg(feature = "std")] +pub use inner::GearTasksRunner; pub use inner::{spawn, JoinHandle}; use alloc::vec::Vec; -use sc_executor::GearVersionedRuntimeExt; use sp_externalities::ExternalitiesExt; use sp_runtime_interface::runtime_interface; +const TASKS_AMOUNT: usize = 4; + /// WASM host functions for managing tasks. #[runtime_interface] pub trait GearTasks { @@ -35,16 +42,11 @@ pub trait GearTasks { .expect("`GearTasks` initialized twice"); } - fn spawn(&mut self, dispatcher_ref: u32, entry: u32, payload: Vec) -> u64 { - let runtime = self - .extension::() - .expect("`GearVersionedRuntimeExt` is not set") - .clone(); - + fn spawn(&mut self, func_ref: u64, payload: Vec) -> u64 { let spawner = self .extension::() .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); - let handle = spawner.spawn_via_dispatcher(runtime, dispatcher_ref, entry, payload); + let handle = spawner.spawn_wasm(func_ref, payload); handle.inner } @@ -61,20 +63,17 @@ mod inner { use super::*; use futures_executor::ThreadPool; - use sc_executor::VersionedRuntime; - use sc_executor_common::wasm_runtime::InvokeMethod; + use gear_tasks_runtime_api::GearTasksApi; + use sc_client_api::UsageProvider; + use sp_api::ProvideRuntimeApi; use sp_externalities::{Error, Extension, ExtensionStore, Externalities, MultiRemovalResults}; use std::{ any::{Any, TypeId}, collections::HashMap, - sync::{ - atomic::{AtomicU64, Ordering}, - mpsc, Arc, - }, + marker::PhantomData, + sync::{mpsc, Arc, OnceLock}, }; - const TASKS_AMOUNT: usize = 4; - struct NoStorageExternalities; impl Externalities for NoStorageExternalities { @@ -234,86 +233,137 @@ mod inner { } } - sp_externalities::decl_extension! { - #[derive(Default)] - pub struct TaskSpawnerExt(TaskSpawner); + static TX: OnceLock> = OnceLock::new(); + + enum TaskEvent { + SpawnWasm { + func_ref: u64, + payload: Vec, + rx: mpsc::SyncSender>, + }, + SpawnNative { + func_ref: fn(Vec) -> Vec, + payload: Vec, + rx: mpsc::SyncSender>, + }, } - pub struct TaskSpawner { + pub struct GearTasksRunner { + runtime_api_provider: Arc, + rx: mpsc::Receiver, thread_pool: ThreadPool, - handle_counter: AtomicU64, - tasks: HashMap>>, + _block: PhantomData, } - impl Default for TaskSpawner { - fn default() -> Self { + impl GearTasksRunner + where + RA: ProvideRuntimeApi + UsageProvider + Send + Sync + 'static, + RA::Api: GearTasksApi, + Block: sp_api::BlockT, + { + pub fn new(client: Arc) -> Self { + let (tx, rx) = mpsc::channel(); + let _tx = TX.get_or_init(move || tx); + + log::error!("TX inited"); + Self { + runtime_api_provider: client, + rx, thread_pool: ThreadPool::builder() .pool_size(TASKS_AMOUNT) .name_prefix("gear-tasks-") .create() .expect("Thread pool creation failed"), - handle_counter: AtomicU64::new(0), - tasks: HashMap::new(), + _block: PhantomData, + } + } + + pub async fn run(self) { + log::error!("RUN started"); + + for event in self.rx { + match event { + TaskEvent::SpawnWasm { + func_ref, + payload, + rx, + } => { + let client = self.runtime_api_provider.clone(); + self.thread_pool.spawn_ok(async move { + let runtime_api = client.runtime_api(); + let block_hash = client.usage_info().chain.best_hash; + match runtime_api.execute_task(block_hash, func_ref, payload) { + Ok(payload) => { + rx.send(payload).unwrap(); + } + Err(e) => { + log::error!("`GearTasksApi::execute_task` failed: {e}"); + } + } + }); + } + TaskEvent::SpawnNative { + func_ref, + payload, + rx, + } => { + self.thread_pool.spawn_ok(async move { + let payload = (func_ref)(payload); + rx.send(payload).unwrap(); + }); + } + } } } } + sp_externalities::decl_extension! { + #[derive(Default)] + pub struct TaskSpawnerExt(TaskSpawner); + } + + #[derive(Default)] + pub struct TaskSpawner { + counter: u64, + tasks: HashMap>>, + } + impl TaskSpawner { fn spawn_inner( &mut self, - f: impl FnOnce(Vec) -> Vec + Send + 'static, - payload: Vec, + build_event: impl FnOnce(mpsc::SyncSender>) -> TaskEvent, ) -> JoinHandle { - let handle = self.handle_counter.fetch_add(1, Ordering::Relaxed); + let handle = self.counter; + self.counter += 1; + let (rx, tx) = mpsc::sync_channel(1); - self.thread_pool.spawn_ok(async move { - if let Err(_e) = rx.send(f(payload)) { - log::debug!("Receiver has been disconnected for {handle}"); - } - }); + + let spawner_tx = TX.get().expect("`GearTasksRunner` is not spawned"); + spawner_tx.send(build_event(rx)).unwrap(); + self.tasks.insert(handle, tx); JoinHandle { inner: handle } } - fn spawn(&mut self, f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { - self.spawn_inner(f, payload) + pub(crate) fn spawn_wasm(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { + self.spawn_inner(move |rx| TaskEvent::SpawnWasm { + func_ref, + payload, + rx, + }) } - pub(crate) fn spawn_via_dispatcher( + pub(crate) fn spawn_native( &mut self, - runtime: Arc, - dispatcher_ref: u32, - entry: u32, + func_ref: fn(Vec) -> Vec, payload: Vec, ) -> JoinHandle { - self.spawn_inner( - move |payload| { - sp_externalities::set_and_run_with_externalities( - &mut NoStorageExternalities, - || { - sp_externalities::with_externalities(|ext| { - runtime - .with_instance(ext, |_module, instance, _version, _ext| { - let payload = instance - .call( - InvokeMethod::TableWithWrapper { - dispatcher_ref, - func: entry, - }, - &payload, - ) - .expect("WASM execution failed"); - Ok(payload) - }) - .expect("Instantiation failed") - }) - .expect("Externalities are set above; qed") - }, - ) - }, + self.spawn_inner(move |rx| TaskEvent::SpawnNative { + func_ref, payload, - ) + rx, + }) } pub(crate) fn join(&mut self, handle: JoinHandle) -> Vec { @@ -348,7 +398,7 @@ mod inner { let spawner = ext .extension::() .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); - spawner.spawn(f, payload) + spawner.spawn_native(f, payload) }) .expect("`spawn`: called outside of externalities context") } @@ -356,17 +406,37 @@ mod inner { #[cfg(test)] mod tests { use super::*; + use crate::inner::TaskSpawnerExt; + use gear_node_testing::client::{ + Client as TestClient, TestClientBuilder, TestClientBuilderExt, + }; + use std::sync::Arc; + + fn init_logger() { + let _ = env_logger::Builder::from_default_env() + .format_module_path(false) + .format_level(true) + .try_init(); + } fn new_test_ext() -> sp_io::TestExternalities { - let mut ext = sp_io::TestExternalities::new_empty(); + let client: Arc = Arc::new(TestClientBuilder::new().build()); + let runner = GearTasksRunner::new(client); - ext.register_extension(TaskSpawnerExt::default()); + std::thread::spawn(|| { + futures_executor::block_on(async move { + runner.run().await; + }); + }); + let mut ext = sp_io::TestExternalities::new_empty(); + ext.register_extension(TaskSpawnerExt::default()); ext } #[test] - fn smoke() { + fn smoke_native() { + init_logger(); new_test_ext().execute_with(|| { const PAYLOAD_SIZE: usize = 32 * 1024 * 1024; @@ -398,37 +468,9 @@ mod inner { #[cfg(not(feature = "std"))] #[cfg(target_arch = "wasm32")] mod inner { - use super::*; - - use core::mem; - - /// Dispatch wrapper for WASM blob. - /// - /// Serves as trampoline to call any rust function with (Vec) -> Vec compiled - /// into the runtime. - /// - /// Function item should be provided with `func_ref`. Argument for the call - /// will be generated from bytes at `payload_ptr` with `payload_len`. - /// - /// NOTE: Since this dynamic dispatch function and the invoked function are compiled with - /// the same compiler, there should be no problem with ABI incompatibility. - extern "C" fn dispatch_wrapper( - func_ref: *const u8, - payload_ptr: *mut u8, - payload_len: u32, - ) -> u64 { - let payload_len = payload_len as usize; - let output = unsafe { - let payload = Vec::from_raw_parts(payload_ptr, payload_len, payload_len); - let ptr: fn(Vec) -> Vec = mem::transmute(func_ref); - (ptr)(payload) - }; - sp_runtime_interface::pack_ptr_and_len(output.as_ptr() as usize as _, output.len() as _) - } - #[derive(Debug, Eq, PartialEq)] pub struct JoinHandle { - pub(super) inner: u64, + pub(crate) inner: u64, } impl JoinHandle { @@ -438,8 +480,7 @@ mod inner { } pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { - let func_ref = f as usize as u32; - let handle = gear_tasks::spawn(dispatch_wrapper as usize as u32, func_ref, payload); - JoinHandle { inner: handle } + let inner = gear_tasks::spawn(f as usize as u64, payload); + JoinHandle { inner } } } From 3bdec62e5733be0f245829dc5e7163cb081c916d Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 11 Jun 2024 04:24:09 +0300 Subject: [PATCH 09/47] Spawn `GearTasksRunner` in pallet benchmarks --- Cargo.lock | 1 + node/cli/Cargo.toml | 1 + node/cli/src/command.rs | 18 +++++++++++++++++- 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 42778d355cd..8d9951865bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4409,6 +4409,7 @@ dependencies = [ "gear-runtime-interface", "gear-runtime-primitives", "gear-service", + "gear-tasks", "log", "mimalloc", "pallet-gear-payment", diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 3de1a1494d6..c294092fd25 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -30,6 +30,7 @@ gear-runtime-interface = { workspace = true, features = ["std"] } service.workspace = true pallet-gear-payment = { workspace = true, features = ["std"] } pallet-gear-staking-rewards = { workspace = true, optional = true, features = ["std"] } +gear-tasks.workspace = true # Gear Runtimes vara-runtime = { workspace = true, optional = true, features = ["std", "dev"] } diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index ff01bcef590..49736844ab2 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -121,7 +121,7 @@ macro_rules! unwrap_client { #[cfg(feature = "vara-native")] service::Client::Vara($client) => $code, #[allow(unreachable_patterns)] - _ => Err("invalid chain spec".into()), + _ => return Err("invalid chain spec".into()), } }; } @@ -228,6 +228,22 @@ pub fn run() -> sc_cli::Result<()> { .into(), ); } + + let (client, _, _, _) = service::new_chain_ops( + &config, + cli.run.rpc_calculations_multiplier, + cli.run.rpc_max_batch_size, + )?; + + unwrap_client!(client, { + let runner = gear_tasks::GearTasksRunner::new(client.clone()); + std::thread::spawn(|| { + futures::executor::block_on(async move { + runner.run().await; + }); + }); + }); + match &config.chain_spec { #[cfg(feature = "vara-native")] spec if spec.is_vara() => cmd From 789141b5f7e723cc9ebc84d18d66bbc92b23cdda Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 12 Jun 2024 03:08:39 +0300 Subject: [PATCH 10/47] Fix WASM compilation --- utils/gear-tasks/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 4fd6f00d74c..f28ae3b26d2 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -468,6 +468,8 @@ mod inner { #[cfg(not(feature = "std"))] #[cfg(target_arch = "wasm32")] mod inner { + use super::*; + #[derive(Debug, Eq, PartialEq)] pub struct JoinHandle { pub(crate) inner: u64, From d36995b0c6db5fac1cb6d94704ea631fec0cfeda Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 12 Jun 2024 07:01:53 +0300 Subject: [PATCH 11/47] Read storage in benchmark test --- pallets/gear/src/benchmarking/mod.rs | 2 +- .../gear/src/benchmarking/tests/gear_tasks.rs | 23 +++++++++++++------ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/pallets/gear/src/benchmarking/mod.rs b/pallets/gear/src/benchmarking/mod.rs index fe898e5cb4d..69724f2c1ad 100644 --- a/pallets/gear/src/benchmarking/mod.rs +++ b/pallets/gear/src/benchmarking/mod.rs @@ -347,7 +347,7 @@ benchmarks! { #[extra] check_gear_tasks { - tests::gear_tasks::smoke(); + tests::gear_tasks::smoke::(); }: {} // This bench uses `StorageMap` as a storage, due to the fact that diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs index b2b09f037af..e48c80aa197 100644 --- a/pallets/gear/src/benchmarking/tests/gear_tasks.rs +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -16,23 +16,32 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use crate::benchmarking::tests::utils; +use crate::{benchmarking::tests::utils, BalanceOf, Config, CurrencyOf}; use alloc::vec; +use frame_support::traits::{Currency, Get}; +use parity_scale_codec::Encode; -pub fn smoke() { +pub fn smoke() { #[cfg(feature = "std")] utils::init_logger(); gear_runtime_interface::init_tasks(); - let payload = vec![9, 7, 5, 3, 2, 1]; + let unsorted = vec![9, 7, 5, 3, 2, 1]; let handle = gear_tasks::spawn( |mut payload| { + let bank_address = ::BankAddress::get(); + let balance = CurrencyOf::::free_balance(&bank_address); + payload.sort(); - payload + (payload, balance).encode() }, - payload, + unsorted, ); - let sorted = handle.join(); - assert_eq!(sorted, vec![1, 2, 3, 5, 7, 9]) + + let payload = handle.join(); + let (sorted, bank_balance): (Vec, BalanceOf) = + parity_scale_codec::Decode::decode(&mut &payload[..]).unwrap(); + assert_eq!(sorted, vec![1, 2, 3, 5, 7, 9]); + assert_eq!(bank_balance, CurrencyOf::::minimum_balance()); } From 36f8a6b30ac87550d05a865619271c800eb96093 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 12 Jun 2024 08:05:21 +0300 Subject: [PATCH 12/47] Initial denial of writes in tasks --- Cargo.lock | 2 + utils/gear-tasks/Cargo.toml | 2 + utils/gear-tasks/runtime-api/Cargo.toml | 3 +- utils/gear-tasks/runtime-api/src/lib.rs | 11 ++- utils/gear-tasks/src/lib.rs | 91 +++++++++++++++---------- 5 files changed, 70 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8d9951865bf..2a898fd646c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4908,6 +4908,7 @@ name = "gear-tasks" version = "1.4.2" dependencies = [ "env_logger", + "frame-support", "futures-executor", "gear-node-testing", "gear-tasks-runtime-api", @@ -4927,6 +4928,7 @@ dependencies = [ name = "gear-tasks-runtime-api" version = "1.4.2" dependencies = [ + "frame-support", "sp-api", ] diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index fe22af3f454..4eae507c7f6 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -16,6 +16,7 @@ sp-externalities.workspace = true sp-storage.workspace = true sp-api.workspace = true gear-tasks-runtime-api.workspace = true +frame-support.workspace = true futures-executor = { version = "0.3.30", default-features = false, optional = true } log.workspace = true @@ -37,5 +38,6 @@ std = [ "sp-runtime-interface/std", "sp-externalities/std", "sp-api/std", + "frame-support/std", "futures-executor", ] diff --git a/utils/gear-tasks/runtime-api/Cargo.toml b/utils/gear-tasks/runtime-api/Cargo.toml index f8505495c74..1e93b7951db 100644 --- a/utils/gear-tasks/runtime-api/Cargo.toml +++ b/utils/gear-tasks/runtime-api/Cargo.toml @@ -9,7 +9,8 @@ repository.workspace = true [dependencies] sp-api.workspace = true +frame-support.workspace = true [features] default = ["std"] -std = ["sp-api/std"] +std = ["sp-api/std", "frame-support/std"] diff --git a/utils/gear-tasks/runtime-api/src/lib.rs b/utils/gear-tasks/runtime-api/src/lib.rs index 3049c9df1fc..41260fb103f 100644 --- a/utils/gear-tasks/runtime-api/src/lib.rs +++ b/utils/gear-tasks/runtime-api/src/lib.rs @@ -32,11 +32,20 @@ pub fn impl_fn(func_ref: u64, payload: Vec) -> Vec { #[cfg(target_arch = "wasm32")] { let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; - f(payload) + + // tasks must only read storage and never write + let output_payload; + frame_support::assert_storage_noop!({ + output_payload = f(payload); + }); + output_payload } #[cfg(feature = "std")] { + // actually, this implementation believes + // `StateMachine::new()` is never called with enabled + // native call execution! let _ = (func_ref, payload); unreachable!("`gear-tasks` uses different implementation for native calls") } diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index f28ae3b26d2..07968d58dfb 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -74,47 +74,43 @@ mod inner { sync::{mpsc, Arc, OnceLock}, }; - struct NoStorageExternalities; + struct ReadOnlyExternalities<'a, E>(&'a mut E); - impl Externalities for NoStorageExternalities { + impl Externalities for ReadOnlyExternalities<'_, E> { fn set_offchain_storage(&mut self, _key: &[u8], _value: Option<&[u8]>) { panic!("`Externalities::set_offchain_storage()` is not supported") } - fn storage(&self, _key: &[u8]) -> Option> { - panic!("`Externalities::storage()` is not supported") + fn storage(&self, key: &[u8]) -> Option> { + self.0.storage(key) } - fn storage_hash(&self, _key: &[u8]) -> Option> { - panic!("`Externalities::storage_hash()` is not supported") + fn storage_hash(&self, key: &[u8]) -> Option> { + self.0.storage_hash(key) } fn child_storage_hash( &self, - _child_info: &sp_storage::ChildInfo, - _key: &[u8], + child_info: &sp_storage::ChildInfo, + key: &[u8], ) -> Option> { - panic!("`Externalities::child_storage_hash()` is not supported") + self.0.child_storage_hash(child_info, key) } - fn child_storage( - &self, - _child_info: &sp_storage::ChildInfo, - _key: &[u8], - ) -> Option> { - panic!("`Externalities::child_storage()` is not supported") + fn child_storage(&self, child_info: &sp_storage::ChildInfo, key: &[u8]) -> Option> { + self.0.child_storage(child_info, key) } - fn next_storage_key(&self, _key: &[u8]) -> Option> { - panic!("`Externalities::next_storage_key()` is not supported") + fn next_storage_key(&self, key: &[u8]) -> Option> { + self.0.next_storage_key(key) } fn next_child_storage_key( &self, - _child_info: &sp_storage::ChildInfo, - _key: &[u8], + child_info: &sp_storage::ChildInfo, + key: &[u8], ) -> Option> { - panic!("`Externalities::next_child_storage_key()` is not supported") + self.0.next_child_storage_key(child_info, key) } fn kill_child_storage( @@ -215,21 +211,21 @@ mod inner { } } - impl ExtensionStore for NoStorageExternalities { - fn extension_by_type_id(&mut self, _type_id: TypeId) -> Option<&mut dyn Any> { - panic!("`ExternalitiesStore::extension_by_type_id()` is not supported") + impl ExtensionStore for ReadOnlyExternalities<'_, E> { + fn extension_by_type_id(&mut self, type_id: TypeId) -> Option<&mut dyn Any> { + self.0.extension_by_type_id(type_id) } fn register_extension_with_type_id( &mut self, - _type_id: TypeId, - _extension: Box, + type_id: TypeId, + extension: Box, ) -> Result<(), Error> { - panic!("`ExternalitiesStore::register_extension_with_type_id()` is not supported") + self.0.register_extension_with_type_id(type_id, extension) } - fn deregister_extension_by_type_id(&mut self, _type_id: TypeId) -> Result<(), Error> { - panic!("`ExternalitiesStore::deregister_extension_by_type_id()` is not supported") + fn deregister_extension_by_type_id(&mut self, type_id: TypeId) -> Result<(), Error> { + self.0.deregister_extension_by_type_id(type_id) } } @@ -309,8 +305,11 @@ mod inner { rx, } => { self.thread_pool.spawn_ok(async move { - let payload = (func_ref)(payload); - rx.send(payload).unwrap(); + let output_payload; + frame_support::assert_storage_noop!({ + output_payload = (func_ref)(payload); + }); + rx.send(output_payload).unwrap(); }); } } @@ -410,7 +409,7 @@ mod inner { use gear_node_testing::client::{ Client as TestClient, TestClientBuilder, TestClientBuilderExt, }; - use std::sync::Arc; + use std::sync::{Arc, Once}; fn init_logger() { let _ = env_logger::Builder::from_default_env() @@ -420,12 +419,15 @@ mod inner { } fn new_test_ext() -> sp_io::TestExternalities { - let client: Arc = Arc::new(TestClientBuilder::new().build()); - let runner = GearTasksRunner::new(client); - - std::thread::spawn(|| { - futures_executor::block_on(async move { - runner.run().await; + static CLIENT: Once = Once::new(); + CLIENT.call_once(|| { + let client: Arc = Arc::new(TestClientBuilder::new().build()); + let runner = GearTasksRunner::new(client); + + std::thread::spawn(|| { + futures_executor::block_on(async move { + runner.run().await; + }); }); }); @@ -462,6 +464,21 @@ mod inner { } }) } + + #[test] + fn read_denied() { + init_logger(); + new_test_ext().execute_with(|| { + spawn( + |_payload| { + sp_io::storage::set(b"SOME_NEW_KEY", b"SOME_NEW_VALUE"); + vec![] + }, + vec![], + ) + .join(); + }); + } } } From 05aa81e4730d27ff3e2edbf28b7472c21a8e26fc Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 14 Jun 2024 19:19:30 +0300 Subject: [PATCH 13/47] Support storage access in native --- Cargo.lock | 310 ++++++++++++------------ utils/gear-tasks/runtime-api/src/lib.rs | 26 +- utils/gear-tasks/src/lib.rs | 191 +++++---------- 3 files changed, 224 insertions(+), 303 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2a898fd646c..d0906fc7779 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3680,7 +3680,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", ] @@ -3703,7 +3703,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-support-procedural", @@ -3728,7 +3728,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3776,7 +3776,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3787,7 +3787,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3804,7 +3804,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "futures", "indicatif", @@ -3867,7 +3867,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "Inflector", "cfg-expr", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3938,7 +3938,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "proc-macro2", "quote", @@ -3948,7 +3948,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3977,7 +3977,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -3990,7 +3990,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "cfg-if", "frame-support", @@ -4009,7 +4009,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4024,7 +4024,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,7 +4033,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "parity-scale-codec", @@ -5052,7 +5052,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "chrono", "frame-election-provider-support", @@ -7929,7 +7929,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -7945,7 +7945,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -7959,7 +7959,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -7983,7 +7983,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "aquamarine", "docify", @@ -8005,7 +8005,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8020,7 +8020,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8038,7 +8038,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8057,7 +8057,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8074,7 +8074,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8097,7 +8097,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8585,7 +8585,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8608,7 +8608,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8624,7 +8624,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8644,7 +8644,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8660,7 +8660,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -8679,7 +8679,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8690,7 +8690,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -8707,7 +8707,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8724,7 +8724,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8739,7 +8739,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8757,7 +8757,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8776,7 +8776,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "docify", "frame-benchmarking", @@ -8794,7 +8794,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -8816,7 +8816,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8839,7 +8839,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "log", "sp-arithmetic", @@ -8848,7 +8848,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "sp-api", @@ -8857,7 +8857,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "docify", "frame-benchmarking", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "docify", "frame-benchmarking", @@ -8893,7 +8893,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-support", "frame-system", @@ -8909,7 +8909,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8925,7 +8925,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8937,7 +8937,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "docify", "frame-benchmarking", @@ -8956,7 +8956,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8972,7 +8972,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8987,7 +8987,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-benchmarking", "frame-support", @@ -10469,7 +10469,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10484,7 +10484,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10503,7 +10503,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10514,7 +10514,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10554,7 +10554,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "fnv", "futures", @@ -10581,7 +10581,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "hash-db", "kvdb", @@ -10607,7 +10607,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "futures", @@ -10632,7 +10632,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "fork-tree", @@ -10667,7 +10667,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10689,7 +10689,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10702,7 +10702,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10743,7 +10743,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "finality-grandpa", "futures", @@ -10763,7 +10763,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "futures", @@ -10786,7 +10786,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -10809,7 +10809,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10821,7 +10821,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "anyhow", "cfg-if", @@ -10839,7 +10839,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "ansi_term", "futures", @@ -10855,7 +10855,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.2", @@ -10869,7 +10869,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10897,7 +10897,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10938,7 +10938,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-channel", "cid", @@ -10958,7 +10958,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10975,7 +10975,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "ahash 0.8.11", "futures", @@ -10993,7 +10993,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11014,7 +11014,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11032,7 +11032,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11067,7 +11067,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11085,7 +11085,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11119,7 +11119,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11128,7 +11128,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11160,7 +11160,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11180,7 +11180,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11195,7 +11195,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11223,7 +11223,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "directories", @@ -11287,7 +11287,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "log", "parity-scale-codec", @@ -11298,7 +11298,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11317,7 +11317,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "futures", "libc", @@ -11336,7 +11336,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "chrono", "futures", @@ -11355,7 +11355,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "ansi_term", "atty", @@ -11384,7 +11384,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11395,7 +11395,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "futures", @@ -11421,7 +11421,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "futures", @@ -11437,7 +11437,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-channel", "futures", @@ -12164,7 +12164,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "log", "parity-scale-codec", @@ -12175,7 +12175,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "hash-db", "log", @@ -12196,7 +12196,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12210,7 +12210,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12223,7 +12223,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "integer-sqrt", "num-traits", @@ -12237,7 +12237,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12250,7 +12250,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "sp-api", "sp-inherents", @@ -12261,7 +12261,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "futures", "log", @@ -12279,7 +12279,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "futures", @@ -12294,7 +12294,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12311,7 +12311,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12330,7 +12330,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "finality-grandpa", "log", @@ -12348,7 +12348,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12360,7 +12360,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12423,7 +12423,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "blake2b_simd", "byteorder", @@ -12436,7 +12436,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12446,7 +12446,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12467,7 +12467,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "kvdb", "parking_lot 0.12.2", @@ -12476,7 +12476,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "proc-macro2", "quote", @@ -12486,7 +12486,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "environmental", "parity-scale-codec", @@ -12497,7 +12497,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "serde_json", "sp-api", @@ -12508,7 +12508,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12522,7 +12522,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "bytes", "ed25519-dalek", @@ -12546,7 +12546,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "lazy_static", "sp-core", @@ -12557,7 +12557,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -12569,7 +12569,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12578,7 +12578,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -12589,7 +12589,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12601,7 +12601,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12615,7 +12615,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "sp-api", "sp-core", @@ -12625,7 +12625,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "backtrace", "lazy_static", @@ -12635,7 +12635,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "rustc-hash", "serde", @@ -12645,7 +12645,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "either", "hash256-std-hasher", @@ -12667,7 +12667,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12685,7 +12685,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12697,7 +12697,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12712,7 +12712,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12726,7 +12726,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "hash-db", "log", @@ -12747,7 +12747,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12777,12 +12777,12 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12795,7 +12795,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12808,7 +12808,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12820,7 +12820,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "sp-api", "sp-runtime", @@ -12829,7 +12829,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12844,7 +12844,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12868,7 +12868,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12885,7 +12885,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12896,7 +12896,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12911,7 +12911,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12921,7 +12921,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "parity-scale-codec", "scale-info", @@ -13109,12 +13109,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13133,7 +13133,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "hyper", "log", @@ -13145,7 +13145,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13158,7 +13158,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13175,7 +13175,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13201,7 +13201,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "ansi_term", "build-helper", @@ -14033,7 +14033,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#f35c7ee0ad217eaf05384a2ae1ed909d41ef0184" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" dependencies = [ "async-trait", "clap 4.5.4", diff --git a/utils/gear-tasks/runtime-api/src/lib.rs b/utils/gear-tasks/runtime-api/src/lib.rs index 41260fb103f..223dd35e9ce 100644 --- a/utils/gear-tasks/runtime-api/src/lib.rs +++ b/utils/gear-tasks/runtime-api/src/lib.rs @@ -30,23 +30,15 @@ sp_api::decl_runtime_apis! { pub fn impl_fn(func_ref: u64, payload: Vec) -> Vec { #[cfg(target_arch = "wasm32")] - { - let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; - - // tasks must only read storage and never write - let output_payload; - frame_support::assert_storage_noop!({ - output_payload = f(payload); - }); - output_payload - } + let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; #[cfg(feature = "std")] - { - // actually, this implementation believes - // `StateMachine::new()` is never called with enabled - // native call execution! - let _ = (func_ref, payload); - unreachable!("`gear-tasks` uses different implementation for native calls") - } + let f = unsafe { core::mem::transmute::) -> Vec>(func_ref) }; + + // tasks must only read storage and never write + let output_payload; + frame_support::assert_storage_noop!({ + output_payload = f(payload); + }); + output_payload } diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 07968d58dfb..a47c3063285 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -26,7 +26,6 @@ extern crate alloc; #[cfg(feature = "std")] pub use inner::GearTasksRunner; -pub use inner::{spawn, JoinHandle}; use alloc::vec::Vec; use sp_externalities::ExternalitiesExt; @@ -58,6 +57,22 @@ pub trait GearTasks { } } +#[derive(Debug, Eq, PartialEq)] +pub struct JoinHandle { + pub(crate) inner: u64, +} + +impl JoinHandle { + pub fn join(self) -> Vec { + gear_tasks::join(self.inner) + } +} + +pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { + let inner = gear_tasks::spawn(f as usize as u64, payload); + JoinHandle { inner } +} + #[cfg(feature = "std")] mod inner { use super::*; @@ -229,24 +244,17 @@ mod inner { } } - static TX: OnceLock> = OnceLock::new(); - - enum TaskEvent { - SpawnWasm { - func_ref: u64, - payload: Vec, - rx: mpsc::SyncSender>, - }, - SpawnNative { - func_ref: fn(Vec) -> Vec, - payload: Vec, - rx: mpsc::SyncSender>, - }, + static RUNNER_TX: OnceLock> = OnceLock::new(); + + struct TaskInfo { + pub func_ref: u64, + pub payload: Vec, + pub rx: mpsc::SyncSender>, } pub struct GearTasksRunner { runtime_api_provider: Arc, - rx: mpsc::Receiver, + rx: mpsc::Receiver, thread_pool: ThreadPool, _block: PhantomData, } @@ -259,7 +267,7 @@ mod inner { { pub fn new(client: Arc) -> Self { let (tx, rx) = mpsc::channel(); - let _tx = TX.get_or_init(move || tx); + let _tx = RUNNER_TX.get_or_init(move || tx); log::error!("TX inited"); @@ -278,41 +286,25 @@ mod inner { pub async fn run(self) { log::error!("RUN started"); - for event in self.rx { - match event { - TaskEvent::SpawnWasm { - func_ref, - payload, - rx, - } => { - let client = self.runtime_api_provider.clone(); - self.thread_pool.spawn_ok(async move { - let runtime_api = client.runtime_api(); - let block_hash = client.usage_info().chain.best_hash; - match runtime_api.execute_task(block_hash, func_ref, payload) { - Ok(payload) => { - rx.send(payload).unwrap(); - } - Err(e) => { - log::error!("`GearTasksApi::execute_task` failed: {e}"); - } - } - }); - } - TaskEvent::SpawnNative { - func_ref, - payload, - rx, - } => { - self.thread_pool.spawn_ok(async move { - let output_payload; - frame_support::assert_storage_noop!({ - output_payload = (func_ref)(payload); - }); - rx.send(output_payload).unwrap(); - }); + for TaskInfo { + func_ref, + payload, + rx, + } in self.rx + { + let client = self.runtime_api_provider.clone(); + self.thread_pool.spawn_ok(async move { + let runtime_api = client.runtime_api(); + let block_hash = client.usage_info().chain.best_hash; + match runtime_api.execute_task(block_hash, func_ref, payload) { + Ok(payload) => { + rx.send(payload).unwrap(); + } + Err(e) => { + log::error!("`GearTasksApi::execute_task` failed: {e}"); + } } - } + }); } } } @@ -329,42 +321,25 @@ mod inner { } impl TaskSpawner { - fn spawn_inner( - &mut self, - build_event: impl FnOnce(mpsc::SyncSender>) -> TaskEvent, - ) -> JoinHandle { + pub(crate) fn spawn_wasm(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { let handle = self.counter; self.counter += 1; let (rx, tx) = mpsc::sync_channel(1); - let spawner_tx = TX.get().expect("`GearTasksRunner` is not spawned"); - spawner_tx.send(build_event(rx)).unwrap(); + let runner_tx = RUNNER_TX.get().expect("`GearTasksRunner` is not spawned"); + runner_tx + .send(TaskInfo { + func_ref, + payload, + rx, + }) + .unwrap(); self.tasks.insert(handle, tx); JoinHandle { inner: handle } } - pub(crate) fn spawn_wasm(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { - self.spawn_inner(move |rx| TaskEvent::SpawnWasm { - func_ref, - payload, - rx, - }) - } - - pub(crate) fn spawn_native( - &mut self, - func_ref: fn(Vec) -> Vec, - payload: Vec, - ) -> JoinHandle { - self.spawn_inner(move |rx| TaskEvent::SpawnNative { - func_ref, - payload, - rx, - }) - } - pub(crate) fn join(&mut self, handle: JoinHandle) -> Vec { let tx = self .tasks @@ -375,40 +350,11 @@ mod inner { } } - #[derive(Debug, Eq, PartialEq)] - pub struct JoinHandle { - pub(super) inner: u64, - } - - impl JoinHandle { - pub fn join(self) -> Vec { - sp_externalities::with_externalities(|mut ext| { - let spawner = ext - .extension::() - .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); - spawner.join(self) - }) - .expect("`spawn`: called outside of externalities context") - } - } - - pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { - sp_externalities::with_externalities(|mut ext| { - let spawner = ext - .extension::() - .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); - spawner.spawn_native(f, payload) - }) - .expect("`spawn`: called outside of externalities context") - } - #[cfg(test)] mod tests { use super::*; use crate::inner::TaskSpawnerExt; - use gear_node_testing::client::{ - Client as TestClient, TestClientBuilder, TestClientBuilderExt, - }; + use gear_node_testing::client::{TestClientBuilder, TestClientBuilderExt}; use std::sync::{Arc, Once}; fn init_logger() { @@ -421,8 +367,13 @@ mod inner { fn new_test_ext() -> sp_io::TestExternalities { static CLIENT: Once = Once::new(); CLIENT.call_once(|| { - let client: Arc = Arc::new(TestClientBuilder::new().build()); - let runner = GearTasksRunner::new(client); + let mut client = TestClientBuilder::new().build(); + // Substrate's `CodeExecutor::call()` has explicit flag to use native execution, + // so it's applicable for `NativeElseWasmExecutor`, too. + // The flag is always set to `false` in our case, so + // we set it to true + client.gear_use_native(); + let runner = GearTasksRunner::new(Arc::new(client)); std::thread::spawn(|| { futures_executor::block_on(async move { @@ -440,7 +391,7 @@ mod inner { fn smoke_native() { init_logger(); new_test_ext().execute_with(|| { - const PAYLOAD_SIZE: usize = 32 * 1024 * 1024; + const PAYLOAD_SIZE: usize = 32 * 1024; let payload = vec![0xff; PAYLOAD_SIZE]; let handles = (0..TASKS_AMOUNT).map(|i| { @@ -481,25 +432,3 @@ mod inner { } } } - -#[cfg(not(feature = "std"))] -#[cfg(target_arch = "wasm32")] -mod inner { - use super::*; - - #[derive(Debug, Eq, PartialEq)] - pub struct JoinHandle { - pub(crate) inner: u64, - } - - impl JoinHandle { - pub fn join(self) -> Vec { - gear_tasks::join(self.inner) - } - } - - pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { - let inner = gear_tasks::spawn(f as usize as u64, payload); - JoinHandle { inner } - } -} From d9c3b53659e3fcbe4ae9f3219c16db0b4461eb33 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 14 Jun 2024 21:23:05 +0300 Subject: [PATCH 14/47] Propagate panic from thread --- Cargo.lock | 1 + .../gear/src/benchmarking/tests/gear_tasks.rs | 2 +- utils/gear-tasks/Cargo.toml | 2 + utils/gear-tasks/runtime-api/src/lib.rs | 1 + utils/gear-tasks/src/lib.rs | 74 ++++++++++++++----- 5 files changed, 61 insertions(+), 19 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d0906fc7779..fa574a2231c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4913,6 +4913,7 @@ dependencies = [ "gear-node-testing", "gear-tasks-runtime-api", "log", + "parity-scale-codec", "sc-client-api", "sc-executor", "sc-executor-common", diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs index e48c80aa197..d26e0683fea 100644 --- a/pallets/gear/src/benchmarking/tests/gear_tasks.rs +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -17,7 +17,7 @@ // along with this program. If not, see . use crate::{benchmarking::tests::utils, BalanceOf, Config, CurrencyOf}; -use alloc::vec; +use alloc::{vec, vec::Vec}; use frame_support::traits::{Currency, Get}; use parity_scale_codec::Encode; diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index 4eae507c7f6..0b1f3b8151e 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -18,6 +18,7 @@ sp-api.workspace = true gear-tasks-runtime-api.workspace = true frame-support.workspace = true +parity-scale-codec.workspace = true futures-executor = { version = "0.3.30", default-features = false, optional = true } log.workspace = true @@ -39,5 +40,6 @@ std = [ "sp-externalities/std", "sp-api/std", "frame-support/std", + "parity-scale-codec/std", "futures-executor", ] diff --git a/utils/gear-tasks/runtime-api/src/lib.rs b/utils/gear-tasks/runtime-api/src/lib.rs index 223dd35e9ce..e96832523a9 100644 --- a/utils/gear-tasks/runtime-api/src/lib.rs +++ b/utils/gear-tasks/runtime-api/src/lib.rs @@ -32,6 +32,7 @@ pub fn impl_fn(func_ref: u64, payload: Vec) -> Vec { #[cfg(target_arch = "wasm32")] let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; + // used only in tests #[cfg(feature = "std")] let f = unsafe { core::mem::transmute::) -> Vec>(func_ref) }; diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index a47c3063285..22250e2c0ac 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -27,7 +27,8 @@ extern crate alloc; #[cfg(feature = "std")] pub use inner::GearTasksRunner; -use alloc::vec::Vec; +use alloc::{string::String, vec::Vec}; +use parity_scale_codec::{Decode, Encode}; use sp_externalities::ExternalitiesExt; use sp_runtime_interface::runtime_interface; @@ -45,11 +46,11 @@ pub trait GearTasks { let spawner = self .extension::() .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); - let handle = spawner.spawn_wasm(func_ref, payload); + let handle = spawner.spawn(func_ref, payload); handle.inner } - fn join(&mut self, handle: u64) -> Vec { + fn join(&mut self, handle: u64) -> JoinResult { let spawner = self .extension::() .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); @@ -57,13 +58,21 @@ pub trait GearTasks { } } +#[derive(Debug, Encode, Decode)] +pub enum JoinError { + RuntimeApi(String), + Panic(String), +} + +pub type JoinResult = Result, JoinError>; + #[derive(Debug, Eq, PartialEq)] pub struct JoinHandle { pub(crate) inner: u64, } impl JoinHandle { - pub fn join(self) -> Vec { + pub fn join(self) -> JoinResult { gear_tasks::join(self.inner) } } @@ -86,6 +95,8 @@ mod inner { any::{Any, TypeId}, collections::HashMap, marker::PhantomData, + panic, + panic::AssertUnwindSafe, sync::{mpsc, Arc, OnceLock}, }; @@ -249,7 +260,7 @@ mod inner { struct TaskInfo { pub func_ref: u64, pub payload: Vec, - pub rx: mpsc::SyncSender>, + pub rx: mpsc::SyncSender, } pub struct GearTasksRunner { @@ -296,14 +307,39 @@ mod inner { self.thread_pool.spawn_ok(async move { let runtime_api = client.runtime_api(); let block_hash = client.usage_info().chain.best_hash; - match runtime_api.execute_task(block_hash, func_ref, payload) { - Ok(payload) => { - rx.send(payload).unwrap(); - } - Err(e) => { - log::error!("`GearTasksApi::execute_task` failed: {e}"); - } - } + // considered unwind-safe because although `RuntimeImpl` structure + // generated by `impl_runtime_apis!()` macro uses `RefCell` inside, + // it's created on each API call as a new empty instance that not associated with + // the client via some dependent primitives like `RefCell`, pointers, etc. + // + // NOTE: consideration is implementation detail of Substrate + let runtime_api = AssertUnwindSafe(runtime_api); + // considered unwind-safe because we imply it's just simple copy-type + // without logic like `RefCell` in it + let block_hash = AssertUnwindSafe(block_hash); + + let f = move || { + let payload = panic::catch_unwind(|| { + runtime_api.execute_task(*block_hash, func_ref, payload) + }) + // we believe runtime API can panic because + // every runtime call (WASM or native) is wrapped + // in `catch_unwind` in Substrate + .map_err(|cause| { + if let Some(err) = cause.downcast_ref::() { + JoinError::Panic(err.clone()) + } else if let Some(err) = cause.downcast_ref::<&'static str>() { + JoinError::Panic(err.to_string()) + } else { + JoinError::Panic("Unknown panic".to_string()) + } + })? + .map_err(|e| JoinError::RuntimeApi(e.to_string()))?; + Ok(payload) + }; + + rx.send(f()) + .expect("`TaskSpawner` dropped before task competition and `join()` on it") }); } } @@ -317,11 +353,11 @@ mod inner { #[derive(Default)] pub struct TaskSpawner { counter: u64, - tasks: HashMap>>, + tasks: HashMap>, } impl TaskSpawner { - pub(crate) fn spawn_wasm(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { + pub(crate) fn spawn(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { let handle = self.counter; self.counter += 1; @@ -340,7 +376,7 @@ mod inner { JoinHandle { inner: handle } } - pub(crate) fn join(&mut self, handle: JoinHandle) -> Vec { + pub(crate) fn join(&mut self, handle: JoinHandle) -> JoinResult { let tx = self .tasks .remove(&handle.inner) @@ -410,13 +446,14 @@ mod inner { expected[0] = 0xfe; for handle in handles { - let payload = handle.join(); + let payload = handle.join().unwrap(); assert_eq!(payload, expected); } }) } #[test] + #[should_panic = r#"RuntimeApi("Execution failed: Runtime panicked: assertion `left == right` failed"#] fn read_denied() { init_logger(); new_test_ext().execute_with(|| { @@ -427,7 +464,8 @@ mod inner { }, vec![], ) - .join(); + .join() + .unwrap(); }); } } From 0665964a428e8adc88a5f38efb360dc3bf1ec5c2 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Mon, 17 Jun 2024 21:44:37 +0300 Subject: [PATCH 15/47] Don't allow external API usage --- Cargo.lock | 315 ++++++------- .../gear/src/benchmarking/tests/gear_tasks.rs | 5 +- runtime/vara/Cargo.toml | 2 + runtime/vara/src/lib.rs | 2 +- utils/gear-tasks/Cargo.toml | 6 +- utils/gear-tasks/runtime-api/Cargo.toml | 3 +- utils/gear-tasks/runtime-api/src/lib.rs | 16 - utils/gear-tasks/src/host.rs | 141 ++++++ utils/gear-tasks/src/lib.rs | 427 ++---------------- utils/gear-tasks/tests/with_client.rs | 188 ++++++++ 10 files changed, 533 insertions(+), 572 deletions(-) create mode 100644 utils/gear-tasks/src/host.rs create mode 100644 utils/gear-tasks/tests/with_client.rs diff --git a/Cargo.lock b/Cargo.lock index fa574a2231c..df0d5989c77 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3680,7 +3680,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", ] @@ -3703,7 +3703,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-support-procedural", @@ -3728,7 +3728,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3776,7 +3776,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3787,7 +3787,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3804,7 +3804,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "futures", "indicatif", @@ -3867,7 +3867,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "Inflector", "cfg-expr", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3938,7 +3938,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "proc-macro2", "quote", @@ -3948,7 +3948,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3977,7 +3977,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -3990,7 +3990,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "cfg-if", "frame-support", @@ -4009,7 +4009,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4024,7 +4024,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,7 +4033,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "parity-scale-codec", @@ -4911,6 +4911,7 @@ dependencies = [ "frame-support", "futures-executor", "gear-node-testing", + "gear-tasks", "gear-tasks-runtime-api", "log", "parity-scale-codec", @@ -4921,6 +4922,7 @@ dependencies = [ "sp-externalities", "sp-io", "sp-runtime-interface", + "sp-state-machine", "sp-storage", "substrate-test-client", ] @@ -4929,7 +4931,6 @@ dependencies = [ name = "gear-tasks-runtime-api" version = "1.4.2" dependencies = [ - "frame-support", "sp-api", ] @@ -5053,7 +5054,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "chrono", "frame-election-provider-support", @@ -7930,7 +7931,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -7946,7 +7947,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -7960,7 +7961,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -7984,7 +7985,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "aquamarine", "docify", @@ -8006,7 +8007,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8021,7 +8022,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8039,7 +8040,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8058,7 +8059,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8075,7 +8076,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8098,7 +8099,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8586,7 +8587,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8609,7 +8610,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8625,7 +8626,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8645,7 +8646,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8661,7 +8662,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -8680,7 +8681,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8691,7 +8692,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -8708,7 +8709,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8725,7 +8726,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8740,7 +8741,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8758,7 +8759,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8777,7 +8778,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "docify", "frame-benchmarking", @@ -8795,7 +8796,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -8817,7 +8818,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8840,7 +8841,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "log", "sp-arithmetic", @@ -8849,7 +8850,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "sp-api", @@ -8858,7 +8859,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "docify", "frame-benchmarking", @@ -8874,7 +8875,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "docify", "frame-benchmarking", @@ -8894,7 +8895,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-support", "frame-system", @@ -8910,7 +8911,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8926,7 +8927,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8938,7 +8939,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "docify", "frame-benchmarking", @@ -8957,7 +8958,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8973,7 +8974,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8988,7 +8989,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-benchmarking", "frame-support", @@ -10470,7 +10471,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10485,7 +10486,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10504,7 +10505,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10515,7 +10516,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10555,7 +10556,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "fnv", "futures", @@ -10582,7 +10583,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "hash-db", "kvdb", @@ -10608,7 +10609,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "futures", @@ -10633,7 +10634,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "fork-tree", @@ -10668,7 +10669,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10690,7 +10691,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10703,7 +10704,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10744,7 +10745,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "finality-grandpa", "futures", @@ -10764,7 +10765,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "futures", @@ -10787,7 +10788,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -10810,7 +10811,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10822,7 +10823,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "anyhow", "cfg-if", @@ -10840,7 +10841,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "ansi_term", "futures", @@ -10856,7 +10857,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.2", @@ -10870,7 +10871,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10898,7 +10899,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10939,7 +10940,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-channel", "cid", @@ -10959,7 +10960,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10976,7 +10977,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "ahash 0.8.11", "futures", @@ -10994,7 +10995,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11015,7 +11016,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11033,7 +11034,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11068,7 +11069,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11086,7 +11087,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11120,7 +11121,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11129,7 +11130,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11161,7 +11162,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11181,7 +11182,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11196,7 +11197,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11224,7 +11225,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "directories", @@ -11288,7 +11289,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "log", "parity-scale-codec", @@ -11299,7 +11300,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11318,7 +11319,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "futures", "libc", @@ -11337,7 +11338,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "chrono", "futures", @@ -11356,7 +11357,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "ansi_term", "atty", @@ -11385,7 +11386,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11396,7 +11397,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "futures", @@ -11422,7 +11423,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "futures", @@ -11438,7 +11439,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-channel", "futures", @@ -12165,7 +12166,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "log", "parity-scale-codec", @@ -12176,7 +12177,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "hash-db", "log", @@ -12197,7 +12198,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12211,7 +12212,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12224,7 +12225,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "integer-sqrt", "num-traits", @@ -12238,7 +12239,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12251,7 +12252,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "sp-api", "sp-inherents", @@ -12262,7 +12263,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "futures", "log", @@ -12280,7 +12281,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "futures", @@ -12295,7 +12296,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12312,7 +12313,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12331,7 +12332,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "finality-grandpa", "log", @@ -12349,7 +12350,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12361,7 +12362,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12424,7 +12425,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "blake2b_simd", "byteorder", @@ -12437,7 +12438,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12447,7 +12448,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12468,7 +12469,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "kvdb", "parking_lot 0.12.2", @@ -12477,7 +12478,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "proc-macro2", "quote", @@ -12487,9 +12488,10 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "environmental", + "log", "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", @@ -12498,7 +12500,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "serde_json", "sp-api", @@ -12509,7 +12511,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12523,7 +12525,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "bytes", "ed25519-dalek", @@ -12547,7 +12549,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "lazy_static", "sp-core", @@ -12558,7 +12560,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -12570,7 +12572,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12579,7 +12581,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -12590,7 +12592,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12602,7 +12604,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12616,7 +12618,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "sp-api", "sp-core", @@ -12626,7 +12628,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "backtrace", "lazy_static", @@ -12636,7 +12638,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "rustc-hash", "serde", @@ -12646,7 +12648,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "either", "hash256-std-hasher", @@ -12668,7 +12670,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12686,7 +12688,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12698,7 +12700,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12713,7 +12715,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12727,7 +12729,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "hash-db", "log", @@ -12748,7 +12750,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12778,12 +12780,12 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12796,7 +12798,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12809,7 +12811,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12821,7 +12823,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "sp-api", "sp-runtime", @@ -12830,7 +12832,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12845,7 +12847,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12869,7 +12871,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12886,7 +12888,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12897,7 +12899,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12912,7 +12914,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12922,7 +12924,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "parity-scale-codec", "scale-info", @@ -13110,12 +13112,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13134,7 +13136,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "hyper", "log", @@ -13146,7 +13148,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13159,7 +13161,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13176,7 +13178,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13202,7 +13204,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "ansi_term", "build-helper", @@ -14034,7 +14036,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#4f1a7acfbfe7472e32ca5da6965ba8b52fc3986d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" dependencies = [ "async-trait", "clap 4.5.4", @@ -14258,6 +14260,7 @@ dependencies = [ "gear-lazy-pages-common", "gear-runtime-common", "gear-runtime-primitives", + "gear-tasks", "gear-tasks-runtime-api", "hex-literal", "log", diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs index d26e0683fea..c03ff71ee45 100644 --- a/pallets/gear/src/benchmarking/tests/gear_tasks.rs +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -20,6 +20,7 @@ use crate::{benchmarking::tests::utils, BalanceOf, Config, CurrencyOf}; use alloc::{vec, vec::Vec}; use frame_support::traits::{Currency, Get}; use parity_scale_codec::Encode; +use sp_runtime::SaturatedConversion; pub fn smoke() { #[cfg(feature = "std")] @@ -39,9 +40,11 @@ pub fn smoke() { unsorted, ); - let payload = handle.join(); + let payload = handle.join().unwrap(); let (sorted, bank_balance): (Vec, BalanceOf) = parity_scale_codec::Decode::decode(&mut &payload[..]).unwrap(); assert_eq!(sorted, vec![1, 2, 3, 5, 7, 9]); assert_eq!(bank_balance, CurrencyOf::::minimum_balance()); + + log::info!("Bank balance: {}", bank_balance.saturated_into::()); } diff --git a/runtime/vara/Cargo.toml b/runtime/vara/Cargo.toml index c794ef92659..96ddfe83efa 100644 --- a/runtime/vara/Cargo.toml +++ b/runtime/vara/Cargo.toml @@ -102,6 +102,7 @@ pallet-gear-rpc-runtime-api.workspace = true pallet-gear-staking-rewards-rpc-runtime-api.workspace = true pallet-gear-builtin-rpc-runtime-api.workspace = true runtime-primitives.workspace = true +gear-tasks.workspace = true gear-tasks-runtime-api.workspace = true [dev-dependencies] @@ -121,6 +122,7 @@ default = ["std"] std = [ "parity-scale-codec/std", "common/std", + "gear-tasks/std", "gear-tasks-runtime-api/std", "frame-try-runtime?/std", "frame-system-benchmarking?/std", diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 2b4849af2d7..186eac6328c 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1498,7 +1498,7 @@ impl_runtime_apis_plus_common! { impl gear_tasks_runtime_api::GearTasksApi for Runtime { fn execute_task(func_ref: u64, payload: Vec) -> Vec { - gear_tasks_runtime_api::impl_fn(func_ref, payload) + gear_tasks::runtime_api_impl(func_ref, payload) } } } diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index 0b1f3b8151e..8957e2da5c2 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -23,7 +23,10 @@ futures-executor = { version = "0.3.30", default-features = false, optional = tr log.workspace = true [dev-dependencies] -sp-io.workspace = true +gear-tasks = { workspace = true, features = ["std"] } + +sp-io = { workspace = true, features = ["std"] } +sp-state-machine = { workspace = true, features = ["std"] } futures-executor = "0.3.30" gear-node-testing.workspace = true substrate-test-client.workspace = true @@ -39,6 +42,7 @@ std = [ "sp-runtime-interface/std", "sp-externalities/std", "sp-api/std", + "gear-tasks-runtime-api/std", "frame-support/std", "parity-scale-codec/std", "futures-executor", diff --git a/utils/gear-tasks/runtime-api/Cargo.toml b/utils/gear-tasks/runtime-api/Cargo.toml index 1e93b7951db..f8505495c74 100644 --- a/utils/gear-tasks/runtime-api/Cargo.toml +++ b/utils/gear-tasks/runtime-api/Cargo.toml @@ -9,8 +9,7 @@ repository.workspace = true [dependencies] sp-api.workspace = true -frame-support.workspace = true [features] default = ["std"] -std = ["sp-api/std", "frame-support/std"] +std = ["sp-api/std"] diff --git a/utils/gear-tasks/runtime-api/src/lib.rs b/utils/gear-tasks/runtime-api/src/lib.rs index e96832523a9..1e6b459190a 100644 --- a/utils/gear-tasks/runtime-api/src/lib.rs +++ b/utils/gear-tasks/runtime-api/src/lib.rs @@ -27,19 +27,3 @@ sp_api::decl_runtime_apis! { fn execute_task(func_ref: u64, payload: Vec) -> Vec; } } - -pub fn impl_fn(func_ref: u64, payload: Vec) -> Vec { - #[cfg(target_arch = "wasm32")] - let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; - - // used only in tests - #[cfg(feature = "std")] - let f = unsafe { core::mem::transmute::) -> Vec>(func_ref) }; - - // tasks must only read storage and never write - let output_payload; - frame_support::assert_storage_noop!({ - output_payload = f(payload); - }); - output_payload -} diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs new file mode 100644 index 00000000000..6ea5fc4719a --- /dev/null +++ b/utils/gear-tasks/src/host.rs @@ -0,0 +1,141 @@ +// This file is part of Gear. +// +// Copyright (C) 2024 Gear Technologies Inc. +// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +use crate::{JoinError, JoinHandle, JoinResult, TASKS_AMOUNT}; +use frame_support::sp_runtime::TransactionOutcome; +use futures_executor::ThreadPool; +use gear_tasks_runtime_api::GearTasksApi; +use sc_client_api::UsageProvider; +use sp_api::{ApiExt, ProvideRuntimeApi}; +use sp_externalities::{Error, Extension, ExtensionStore, Externalities, MultiRemovalResults}; +use std::{ + any::{Any, TypeId}, + collections::HashMap, + marker::PhantomData, + sync::{mpsc, Arc, OnceLock}, +}; + +static RUNNER_TX: OnceLock> = OnceLock::new(); + +struct TaskInfo { + pub func_ref: u64, + pub payload: Vec, + pub rx: mpsc::SyncSender, +} + +sp_externalities::decl_extension! { + pub(crate) struct GearTasksContextExt; +} + +pub struct GearTasksRunner { + runtime_api_provider: Arc, + rx: mpsc::Receiver, + thread_pool: ThreadPool, + _block: PhantomData, +} + +impl GearTasksRunner +where + RA: ProvideRuntimeApi + UsageProvider + Send + Sync + 'static, + RA::Api: GearTasksApi, + Block: sp_api::BlockT, +{ + pub fn new(client: Arc) -> Self { + let (tx, rx) = mpsc::channel(); + let _tx = RUNNER_TX.get_or_init(move || tx); + + log::error!("TX inited"); + + Self { + runtime_api_provider: client, + rx, + thread_pool: ThreadPool::builder() + .pool_size(TASKS_AMOUNT) + .name_prefix("gear-tasks-") + .create() + .expect("Thread pool creation failed"), + _block: PhantomData, + } + } + + pub async fn run(self) { + log::error!("RUN started"); + + for TaskInfo { + func_ref, + payload, + rx, + } in self.rx + { + let client = self.runtime_api_provider.clone(); + self.thread_pool.spawn_ok(async move { + let mut runtime_api = client.runtime_api(); + runtime_api.register_extension(GearTasksContextExt); + let block_hash = client.usage_info().chain.best_hash; + + let res = runtime_api + .execute_task(block_hash, func_ref, payload) + .map_err(|e| JoinError::RuntimeApi(e.to_string())); + + rx.send(res) + .expect("`TaskSpawner` dropped before task completion and `join()` on it") + }); + } + } +} + +sp_externalities::decl_extension! { + #[derive(Default)] + pub struct TaskSpawnerExt(TaskSpawner); +} + +#[derive(Default)] +pub struct TaskSpawner { + counter: u64, + tasks: HashMap>, +} + +impl TaskSpawner { + pub(crate) fn spawn(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { + let handle = self.counter; + self.counter += 1; + + let (rx, tx) = mpsc::sync_channel(1); + + let runner_tx = RUNNER_TX.get().expect("`GearTasksRunner` is not spawned"); + runner_tx + .send(TaskInfo { + func_ref, + payload, + rx, + }) + .unwrap(); + + self.tasks.insert(handle, tx); + JoinHandle { inner: handle } + } + + pub(crate) fn join(&mut self, handle: JoinHandle) -> JoinResult { + let tx = self + .tasks + .remove(&handle.inner) + .expect("`JoinHandle` is duplicated so task not found"); + tx.recv() + .expect("Sender has been disconnected which means thread was somehow terminated") + } +} diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 22250e2c0ac..68b167423ff 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -25,26 +25,34 @@ extern crate alloc; #[cfg(feature = "std")] -pub use inner::GearTasksRunner; +mod host; + +#[cfg(feature = "std")] +pub use host::{GearTasksRunner, TaskSpawnerExt}; use alloc::{string::String, vec::Vec}; use parity_scale_codec::{Decode, Encode}; use sp_externalities::ExternalitiesExt; use sp_runtime_interface::runtime_interface; -const TASKS_AMOUNT: usize = 4; +pub const TASKS_AMOUNT: usize = 4; /// WASM host functions for managing tasks. #[runtime_interface] pub trait GearTasks { fn init(&mut self) { - self.register_extension(inner::TaskSpawnerExt::default()) + self.register_extension(host::TaskSpawnerExt::default()) .expect("`GearTasks` initialized twice"); } + fn check_context(&mut self) { + self.extension::() + .expect("`GearTasksApi::execute_task()` called without context"); + } + fn spawn(&mut self, func_ref: u64, payload: Vec) -> u64 { let spawner = self - .extension::() + .extension::() .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); let handle = spawner.spawn(func_ref, payload); handle.inner @@ -52,16 +60,34 @@ pub trait GearTasks { fn join(&mut self, handle: u64) -> JoinResult { let spawner = self - .extension::() + .extension::() .expect("Cannot join without dynamic runtime dispatcher (TaskSpawnerExt)"); spawner.join(JoinHandle { inner: handle }) } } +pub fn runtime_api_impl(func_ref: u64, payload: Vec) -> Vec { + // safety check that nobody calls the API outside + gear_tasks::check_context(); + + #[cfg(target_arch = "wasm32")] + let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; + + // used only in tests + #[cfg(feature = "std")] + let f = unsafe { core::mem::transmute::) -> Vec>(func_ref) }; + + // tasks must only read storage and never write + let output_payload; + //frame_support::assert_storage_noop!({ + output_payload = f(payload); + //}); + output_payload +} + #[derive(Debug, Encode, Decode)] pub enum JoinError { RuntimeApi(String), - Panic(String), } pub type JoinResult = Result, JoinError>; @@ -81,392 +107,3 @@ pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { let inner = gear_tasks::spawn(f as usize as u64, payload); JoinHandle { inner } } - -#[cfg(feature = "std")] -mod inner { - use super::*; - - use futures_executor::ThreadPool; - use gear_tasks_runtime_api::GearTasksApi; - use sc_client_api::UsageProvider; - use sp_api::ProvideRuntimeApi; - use sp_externalities::{Error, Extension, ExtensionStore, Externalities, MultiRemovalResults}; - use std::{ - any::{Any, TypeId}, - collections::HashMap, - marker::PhantomData, - panic, - panic::AssertUnwindSafe, - sync::{mpsc, Arc, OnceLock}, - }; - - struct ReadOnlyExternalities<'a, E>(&'a mut E); - - impl Externalities for ReadOnlyExternalities<'_, E> { - fn set_offchain_storage(&mut self, _key: &[u8], _value: Option<&[u8]>) { - panic!("`Externalities::set_offchain_storage()` is not supported") - } - - fn storage(&self, key: &[u8]) -> Option> { - self.0.storage(key) - } - - fn storage_hash(&self, key: &[u8]) -> Option> { - self.0.storage_hash(key) - } - - fn child_storage_hash( - &self, - child_info: &sp_storage::ChildInfo, - key: &[u8], - ) -> Option> { - self.0.child_storage_hash(child_info, key) - } - - fn child_storage(&self, child_info: &sp_storage::ChildInfo, key: &[u8]) -> Option> { - self.0.child_storage(child_info, key) - } - - fn next_storage_key(&self, key: &[u8]) -> Option> { - self.0.next_storage_key(key) - } - - fn next_child_storage_key( - &self, - child_info: &sp_storage::ChildInfo, - key: &[u8], - ) -> Option> { - self.0.next_child_storage_key(child_info, key) - } - - fn kill_child_storage( - &mut self, - _child_info: &sp_storage::ChildInfo, - _maybe_limit: Option, - _maybe_cursor: Option<&[u8]>, - ) -> MultiRemovalResults { - panic!("`Externalities::kill_child_storage()` is not supported") - } - - fn clear_prefix( - &mut self, - _prefix: &[u8], - _maybe_limit: Option, - _maybe_cursor: Option<&[u8]>, - ) -> MultiRemovalResults { - panic!("`Externalities::clear_prefix()` is not supported") - } - - fn clear_child_prefix( - &mut self, - _child_info: &sp_storage::ChildInfo, - _prefix: &[u8], - _maybe_limit: Option, - _maybe_cursor: Option<&[u8]>, - ) -> MultiRemovalResults { - panic!("`Externalities::clear_child_prefix()` is not supported") - } - - fn place_storage(&mut self, _key: Vec, _value: Option>) { - panic!("`Externalities::place_storage()` is not supported") - } - - fn place_child_storage( - &mut self, - _child_info: &sp_storage::ChildInfo, - _key: Vec, - _value: Option>, - ) { - panic!("`Externalities::place_child_storage()` is not supported") - } - - fn storage_root(&mut self, _state_version: sp_storage::StateVersion) -> Vec { - panic!("`Externalities::storage_root()` is not supported") - } - - fn child_storage_root( - &mut self, - _child_info: &sp_storage::ChildInfo, - _state_version: sp_storage::StateVersion, - ) -> Vec { - panic!("`Externalities::child_storage_root()` is not supported") - } - - fn storage_append(&mut self, _key: Vec, _value: Vec) { - panic!("`Externalities::storage_append()` is not supported") - } - - fn storage_start_transaction(&mut self) { - panic!("`Externalities::storage_start_transaction()` is not supported") - } - - fn storage_rollback_transaction(&mut self) -> Result<(), ()> { - panic!("`Externalities::storage_rollback_transaction()` is not supported") - } - - fn storage_commit_transaction(&mut self) -> Result<(), ()> { - panic!("`Externalities::storage_commit_transaction()` is not supported") - } - - fn wipe(&mut self) { - panic!("`Externalities::wipe()` is not supported") - } - - fn commit(&mut self) { - panic!("`Externalities::commit()` is not supported") - } - - fn read_write_count(&self) -> (u32, u32, u32, u32) { - panic!("`Externalities::read_write_count()` is not supported") - } - - fn reset_read_write_count(&mut self) { - panic!("`Externalities::reset_read_write_count()` is not supported") - } - - fn get_whitelist(&self) -> Vec { - panic!("`Externalities::get_whitelist()` is not supported") - } - - fn set_whitelist(&mut self, _new: Vec) { - panic!("`Externalities::set_whitelist()` is not supported") - } - - fn get_read_and_written_keys(&self) -> Vec<(Vec, u32, u32, bool)> { - panic!("`Externalities::get_read_and_written_keys()` is not supported") - } - } - - impl ExtensionStore for ReadOnlyExternalities<'_, E> { - fn extension_by_type_id(&mut self, type_id: TypeId) -> Option<&mut dyn Any> { - self.0.extension_by_type_id(type_id) - } - - fn register_extension_with_type_id( - &mut self, - type_id: TypeId, - extension: Box, - ) -> Result<(), Error> { - self.0.register_extension_with_type_id(type_id, extension) - } - - fn deregister_extension_by_type_id(&mut self, type_id: TypeId) -> Result<(), Error> { - self.0.deregister_extension_by_type_id(type_id) - } - } - - static RUNNER_TX: OnceLock> = OnceLock::new(); - - struct TaskInfo { - pub func_ref: u64, - pub payload: Vec, - pub rx: mpsc::SyncSender, - } - - pub struct GearTasksRunner { - runtime_api_provider: Arc, - rx: mpsc::Receiver, - thread_pool: ThreadPool, - _block: PhantomData, - } - - impl GearTasksRunner - where - RA: ProvideRuntimeApi + UsageProvider + Send + Sync + 'static, - RA::Api: GearTasksApi, - Block: sp_api::BlockT, - { - pub fn new(client: Arc) -> Self { - let (tx, rx) = mpsc::channel(); - let _tx = RUNNER_TX.get_or_init(move || tx); - - log::error!("TX inited"); - - Self { - runtime_api_provider: client, - rx, - thread_pool: ThreadPool::builder() - .pool_size(TASKS_AMOUNT) - .name_prefix("gear-tasks-") - .create() - .expect("Thread pool creation failed"), - _block: PhantomData, - } - } - - pub async fn run(self) { - log::error!("RUN started"); - - for TaskInfo { - func_ref, - payload, - rx, - } in self.rx - { - let client = self.runtime_api_provider.clone(); - self.thread_pool.spawn_ok(async move { - let runtime_api = client.runtime_api(); - let block_hash = client.usage_info().chain.best_hash; - // considered unwind-safe because although `RuntimeImpl` structure - // generated by `impl_runtime_apis!()` macro uses `RefCell` inside, - // it's created on each API call as a new empty instance that not associated with - // the client via some dependent primitives like `RefCell`, pointers, etc. - // - // NOTE: consideration is implementation detail of Substrate - let runtime_api = AssertUnwindSafe(runtime_api); - // considered unwind-safe because we imply it's just simple copy-type - // without logic like `RefCell` in it - let block_hash = AssertUnwindSafe(block_hash); - - let f = move || { - let payload = panic::catch_unwind(|| { - runtime_api.execute_task(*block_hash, func_ref, payload) - }) - // we believe runtime API can panic because - // every runtime call (WASM or native) is wrapped - // in `catch_unwind` in Substrate - .map_err(|cause| { - if let Some(err) = cause.downcast_ref::() { - JoinError::Panic(err.clone()) - } else if let Some(err) = cause.downcast_ref::<&'static str>() { - JoinError::Panic(err.to_string()) - } else { - JoinError::Panic("Unknown panic".to_string()) - } - })? - .map_err(|e| JoinError::RuntimeApi(e.to_string()))?; - Ok(payload) - }; - - rx.send(f()) - .expect("`TaskSpawner` dropped before task competition and `join()` on it") - }); - } - } - } - - sp_externalities::decl_extension! { - #[derive(Default)] - pub struct TaskSpawnerExt(TaskSpawner); - } - - #[derive(Default)] - pub struct TaskSpawner { - counter: u64, - tasks: HashMap>, - } - - impl TaskSpawner { - pub(crate) fn spawn(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { - let handle = self.counter; - self.counter += 1; - - let (rx, tx) = mpsc::sync_channel(1); - - let runner_tx = RUNNER_TX.get().expect("`GearTasksRunner` is not spawned"); - runner_tx - .send(TaskInfo { - func_ref, - payload, - rx, - }) - .unwrap(); - - self.tasks.insert(handle, tx); - JoinHandle { inner: handle } - } - - pub(crate) fn join(&mut self, handle: JoinHandle) -> JoinResult { - let tx = self - .tasks - .remove(&handle.inner) - .expect("`JoinHandle` is duplicated so task not found"); - tx.recv() - .expect("Sender has been disconnected which means thread was somehow terminated") - } - } - - #[cfg(test)] - mod tests { - use super::*; - use crate::inner::TaskSpawnerExt; - use gear_node_testing::client::{TestClientBuilder, TestClientBuilderExt}; - use std::sync::{Arc, Once}; - - fn init_logger() { - let _ = env_logger::Builder::from_default_env() - .format_module_path(false) - .format_level(true) - .try_init(); - } - - fn new_test_ext() -> sp_io::TestExternalities { - static CLIENT: Once = Once::new(); - CLIENT.call_once(|| { - let mut client = TestClientBuilder::new().build(); - // Substrate's `CodeExecutor::call()` has explicit flag to use native execution, - // so it's applicable for `NativeElseWasmExecutor`, too. - // The flag is always set to `false` in our case, so - // we set it to true - client.gear_use_native(); - let runner = GearTasksRunner::new(Arc::new(client)); - - std::thread::spawn(|| { - futures_executor::block_on(async move { - runner.run().await; - }); - }); - }); - - let mut ext = sp_io::TestExternalities::new_empty(); - ext.register_extension(TaskSpawnerExt::default()); - ext - } - - #[test] - fn smoke_native() { - init_logger(); - new_test_ext().execute_with(|| { - const PAYLOAD_SIZE: usize = 32 * 1024; - - let payload = vec![0xff; PAYLOAD_SIZE]; - let handles = (0..TASKS_AMOUNT).map(|i| { - let mut payload = payload.clone(); - payload[i * (PAYLOAD_SIZE / TASKS_AMOUNT)] = 0xfe; - spawn( - |mut payload| { - payload.sort(); - payload - }, - payload, - ) - }); - - let mut expected = vec![0xff; PAYLOAD_SIZE]; - expected[0] = 0xfe; - - for handle in handles { - let payload = handle.join().unwrap(); - assert_eq!(payload, expected); - } - }) - } - - #[test] - #[should_panic = r#"RuntimeApi("Execution failed: Runtime panicked: assertion `left == right` failed"#] - fn read_denied() { - init_logger(); - new_test_ext().execute_with(|| { - spawn( - |_payload| { - sp_io::storage::set(b"SOME_NEW_KEY", b"SOME_NEW_VALUE"); - vec![] - }, - vec![], - ) - .join() - .unwrap(); - }); - } - } -} diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs new file mode 100644 index 00000000000..97ed4839648 --- /dev/null +++ b/utils/gear-tasks/tests/with_client.rs @@ -0,0 +1,188 @@ +// This file is part of Gear. +// +// Copyright (C) 2024 Gear Technologies Inc. +// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +use gear_node_testing::client::{ + Backend as TestBackend, Client as TestClient, TestClientBuilder, TestClientBuilderExt, +}; +use gear_tasks::{GearTasksRunner, TaskSpawnerExt, TASKS_AMOUNT}; +use sc_client_api::{Backend, UsageProvider}; +use sp_externalities::{Extension, Extensions, ExternalitiesExt}; +use sp_state_machine::{Ext, OverlayedChanges}; +use sp_storage::StateVersion; +use std::sync::{Arc, OnceLock}; + +static BACKEND: OnceLock> = OnceLock::new(); +static CLIENT: OnceLock> = OnceLock::new(); + +#[derive(Default)] +struct BackendExternalities { + extensions: Extensions, +} + +impl BackendExternalities { + fn register_extension(&mut self, ext: T) { + self.extensions.register(ext); + } + + fn execute_with(&mut self, f: impl FnOnce() -> R) -> R { + let client = CLIENT.get().unwrap(); + let block_hash = client.usage_info().chain.best_hash; + + let mut overlay = OverlayedChanges::default(); + let state = BACKEND.get().unwrap().state_at(block_hash).unwrap(); + let mut ext = Ext::new(&mut overlay, &state, Some(&mut self.extensions)); + sp_externalities::set_and_run_with_externalities(&mut ext, f) + } +} + +pub fn init_logger() { + let _ = env_logger::Builder::from_default_env() + .format(|f, record| { + use std::io::Write; + + let current_thread = std::thread::current(); + writeln!( + f, + "[{} {}] |{}| {}", + record.level(), + record.module_path().unwrap_or_default(), + current_thread + .name() + .map(str::to_string) + .unwrap_or_else(|| { format!("{:?}", current_thread.id()) }), + record.args(), + ) + }) + .try_init(); +} + +pub fn new_test_ext() -> BackendExternalities { + CLIENT.get_or_init(|| { + let backend = BACKEND.get_or_init(|| Arc::new(TestBackend::new_test(u32::MAX, u64::MAX))); + let builder = TestClientBuilder::with_backend(backend.clone()); + let mut client = builder.build(); + // Substrate's `CodeExecutor::call()` has explicit flag to use native execution, + // so it's applicable for `NativeElseWasmExecutor`, too. + // The flag is always set to `false` in our case, so + // we set it to true + client.gear_use_native(); + let client = Arc::new(client); + + let runner = GearTasksRunner::new(client.clone()); + + std::thread::spawn(|| { + futures_executor::block_on(async move { + runner.run().await; + }); + }); + + client + }); + + sp_io::TestExternalities::default(); + + let mut ext = BackendExternalities::default(); + ext.register_extension(TaskSpawnerExt::default()); + ext +} + +#[test] +fn smoke_native() { + init_logger(); + new_test_ext().execute_with(|| { + const PAYLOAD_SIZE: usize = 32 * 1024; + + let payload = vec![0xff; PAYLOAD_SIZE]; + let handles = (0..TASKS_AMOUNT).map(|i| { + let mut payload = payload.clone(); + payload[i * (PAYLOAD_SIZE / TASKS_AMOUNT)] = 0xfe; + gear_tasks::spawn( + |mut payload| { + payload.sort(); + payload + }, + payload, + ) + }); + + let mut expected = vec![0xff; PAYLOAD_SIZE]; + expected[0] = 0xfe; + + for handle in handles { + let payload = handle.join().unwrap(); + assert_eq!(payload, expected); + } + }) +} + +#[test] +//#[should_panic = r#"RuntimeApi("Execution failed: Runtime panicked: assertion `left == right` failed"#] +fn read_denied() { + init_logger(); + new_test_ext().execute_with(|| { + const GLOBAL_AVAILABLE_KEY: &[u8] = b"GLOBAL_AVAILABLE_KEY"; + const GLOBAL_AVAILABLE_VALUE: &[u8] = b"GLOBAL_AVAILABLE_VALUE"; + + sp_io::storage::set(GLOBAL_AVAILABLE_KEY, GLOBAL_AVAILABLE_VALUE); + assert_eq!( + sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), + Some(GLOBAL_AVAILABLE_VALUE) + ); + + assert_eq!( + sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), + Some(GLOBAL_AVAILABLE_VALUE) + ); + + gear_tasks::spawn( + |_payload| { + assert_eq!( + sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), + Some(GLOBAL_AVAILABLE_VALUE) + ); + + sp_io::storage::set(b"SOME_NEW_KEY", b"SOME_NEW_VALUE"); + vec![] + }, + vec![], + ) + .join() + .unwrap(); + + gear_tasks::spawn( + |_payload| { + assert_eq!( + sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), + Some(GLOBAL_AVAILABLE_VALUE) + ); + + assert_eq!(sp_io::storage::get(b"SOME_NEW_KEY"), None); + vec![] + }, + vec![], + ) + .join() + .unwrap(); + + assert_eq!( + sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), + Some(GLOBAL_AVAILABLE_VALUE) + ); + assert_eq!(sp_io::storage::get(b"SOME_NEW_KEY"), None); + }); +} From 226ff644c247fafff3a16057acf7c81fc38387cc Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Mon, 17 Jun 2024 22:11:04 +0300 Subject: [PATCH 16/47] Remove unused imports --- utils/gear-tasks/src/host.rs | 3 --- utils/gear-tasks/tests/with_client.rs | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index 6ea5fc4719a..ac2240e2f5a 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -17,14 +17,11 @@ // along with this program. If not, see . use crate::{JoinError, JoinHandle, JoinResult, TASKS_AMOUNT}; -use frame_support::sp_runtime::TransactionOutcome; use futures_executor::ThreadPool; use gear_tasks_runtime_api::GearTasksApi; use sc_client_api::UsageProvider; use sp_api::{ApiExt, ProvideRuntimeApi}; -use sp_externalities::{Error, Extension, ExtensionStore, Externalities, MultiRemovalResults}; use std::{ - any::{Any, TypeId}, collections::HashMap, marker::PhantomData, sync::{mpsc, Arc, OnceLock}, diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index 97ed4839648..9563a0d7bb0 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -21,9 +21,8 @@ use gear_node_testing::client::{ }; use gear_tasks::{GearTasksRunner, TaskSpawnerExt, TASKS_AMOUNT}; use sc_client_api::{Backend, UsageProvider}; -use sp_externalities::{Extension, Extensions, ExternalitiesExt}; +use sp_externalities::{Extension, Extensions}; use sp_state_machine::{Ext, OverlayedChanges}; -use sp_storage::StateVersion; use std::sync::{Arc, OnceLock}; static BACKEND: OnceLock> = OnceLock::new(); @@ -71,7 +70,7 @@ pub fn init_logger() { .try_init(); } -pub fn new_test_ext() -> BackendExternalities { +fn new_test_ext() -> BackendExternalities { CLIENT.get_or_init(|| { let backend = BACKEND.get_or_init(|| Arc::new(TestBackend::new_test(u32::MAX, u64::MAX))); let builder = TestClientBuilder::with_backend(backend.clone()); From 286216d259b7cb1ab7f25b75512c463babac757f Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Mon, 17 Jun 2024 22:11:11 +0300 Subject: [PATCH 17/47] Update Substrate --- Cargo.lock | 311 ++++++++++++++++++++++++++--------------------------- 1 file changed, 155 insertions(+), 156 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index df0d5989c77..744a91faa2b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3680,7 +3680,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", ] @@ -3703,7 +3703,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-support-procedural", @@ -3728,7 +3728,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3776,7 +3776,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3787,7 +3787,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3804,7 +3804,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "futures", "indicatif", @@ -3867,7 +3867,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "Inflector", "cfg-expr", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3938,7 +3938,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "proc-macro2", "quote", @@ -3948,7 +3948,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3977,7 +3977,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -3990,7 +3990,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "cfg-if", "frame-support", @@ -4009,7 +4009,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4024,7 +4024,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,7 +4033,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "parity-scale-codec", @@ -5054,7 +5054,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "chrono", "frame-election-provider-support", @@ -7931,7 +7931,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -7947,7 +7947,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -7961,7 +7961,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -7985,7 +7985,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "aquamarine", "docify", @@ -8007,7 +8007,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8022,7 +8022,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8040,7 +8040,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8059,7 +8059,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8076,7 +8076,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8099,7 +8099,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8587,7 +8587,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8626,7 +8626,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8646,7 +8646,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8662,7 +8662,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -8681,7 +8681,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -8709,7 +8709,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8726,7 +8726,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8741,7 +8741,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8759,7 +8759,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8778,7 +8778,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "docify", "frame-benchmarking", @@ -8796,7 +8796,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -8818,7 +8818,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8841,7 +8841,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "log", "sp-arithmetic", @@ -8850,7 +8850,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "sp-api", @@ -8859,7 +8859,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "docify", "frame-benchmarking", @@ -8875,7 +8875,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "docify", "frame-benchmarking", @@ -8895,7 +8895,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-support", "frame-system", @@ -8911,7 +8911,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8927,7 +8927,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8939,7 +8939,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "docify", "frame-benchmarking", @@ -8958,7 +8958,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8974,7 +8974,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8989,7 +8989,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-benchmarking", "frame-support", @@ -10471,7 +10471,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10486,7 +10486,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10505,7 +10505,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10516,7 +10516,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10556,7 +10556,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "fnv", "futures", @@ -10583,7 +10583,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "hash-db", "kvdb", @@ -10609,7 +10609,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "futures", @@ -10634,7 +10634,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "fork-tree", @@ -10669,7 +10669,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10691,7 +10691,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10704,7 +10704,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10745,7 +10745,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "finality-grandpa", "futures", @@ -10765,7 +10765,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "futures", @@ -10788,7 +10788,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -10811,7 +10811,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10823,7 +10823,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "anyhow", "cfg-if", @@ -10841,7 +10841,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "ansi_term", "futures", @@ -10857,7 +10857,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.2", @@ -10871,7 +10871,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10899,7 +10899,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10940,7 +10940,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-channel", "cid", @@ -10960,7 +10960,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10977,7 +10977,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "ahash 0.8.11", "futures", @@ -10995,7 +10995,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11016,7 +11016,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11034,7 +11034,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11069,7 +11069,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11087,7 +11087,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11121,7 +11121,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11130,7 +11130,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11162,7 +11162,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11182,7 +11182,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11197,7 +11197,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11225,7 +11225,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "directories", @@ -11289,7 +11289,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "log", "parity-scale-codec", @@ -11300,7 +11300,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11319,7 +11319,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "futures", "libc", @@ -11338,7 +11338,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "chrono", "futures", @@ -11357,7 +11357,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "ansi_term", "atty", @@ -11386,7 +11386,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11397,7 +11397,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "futures", @@ -11423,7 +11423,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "futures", @@ -11439,7 +11439,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-channel", "futures", @@ -12166,7 +12166,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "log", "parity-scale-codec", @@ -12177,7 +12177,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "hash-db", "log", @@ -12198,7 +12198,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12212,7 +12212,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12225,7 +12225,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "integer-sqrt", "num-traits", @@ -12239,7 +12239,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12252,7 +12252,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "sp-api", "sp-inherents", @@ -12263,7 +12263,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "futures", "log", @@ -12281,7 +12281,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "futures", @@ -12296,7 +12296,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12313,7 +12313,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12332,7 +12332,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "finality-grandpa", "log", @@ -12350,7 +12350,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12362,7 +12362,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12425,7 +12425,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "blake2b_simd", "byteorder", @@ -12438,7 +12438,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12448,7 +12448,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12469,7 +12469,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "kvdb", "parking_lot 0.12.2", @@ -12478,7 +12478,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "proc-macro2", "quote", @@ -12488,10 +12488,9 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "environmental", - "log", "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", "sp-storage", @@ -12500,7 +12499,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "serde_json", "sp-api", @@ -12511,7 +12510,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12525,7 +12524,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "bytes", "ed25519-dalek", @@ -12549,7 +12548,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "lazy_static", "sp-core", @@ -12560,7 +12559,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -12572,7 +12571,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12581,7 +12580,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -12592,7 +12591,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12604,7 +12603,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12618,7 +12617,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "sp-api", "sp-core", @@ -12628,7 +12627,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "backtrace", "lazy_static", @@ -12638,7 +12637,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "rustc-hash", "serde", @@ -12648,7 +12647,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "either", "hash256-std-hasher", @@ -12670,7 +12669,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12688,7 +12687,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12700,7 +12699,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "scale-info", @@ -12715,7 +12714,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12729,7 +12728,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "hash-db", "log", @@ -12750,7 +12749,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12780,12 +12779,12 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12798,7 +12797,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12811,7 +12810,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12823,7 +12822,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "sp-api", "sp-runtime", @@ -12832,7 +12831,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "parity-scale-codec", @@ -12847,7 +12846,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12871,7 +12870,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12888,7 +12887,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12899,7 +12898,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12914,7 +12913,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12924,7 +12923,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "parity-scale-codec", "scale-info", @@ -13112,12 +13111,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13136,7 +13135,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "hyper", "log", @@ -13148,7 +13147,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13161,7 +13160,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13178,7 +13177,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13204,7 +13203,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "ansi_term", "build-helper", @@ -14036,7 +14035,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#72093595cd3b737b6db32e974b7b1269e3a4116d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" dependencies = [ "async-trait", "clap 4.5.4", From 9359d1ec6d568fe22731950dbfe898dd69db3d1c Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 02:59:48 +0300 Subject: [PATCH 18/47] Copy current overlay to thread --- Cargo.lock | 311 +++++++++++++------------- node/service/src/client.rs | 2 + runtime/vara/src/lib.rs | 11 + utils/gear-tasks/Cargo.toml | 8 +- utils/gear-tasks/src/host.rs | 31 ++- utils/gear-tasks/src/lib.rs | 15 +- utils/gear-tasks/tests/with_client.rs | 64 ++---- 7 files changed, 232 insertions(+), 210 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 744a91faa2b..c759cf37111 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3680,7 +3680,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", ] @@ -3703,7 +3703,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-support-procedural", @@ -3728,7 +3728,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3776,7 +3776,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3787,7 +3787,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3804,7 +3804,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "futures", "indicatif", @@ -3867,7 +3867,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "Inflector", "cfg-expr", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3938,7 +3938,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "proc-macro2", "quote", @@ -3948,7 +3948,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3977,7 +3977,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -3990,7 +3990,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "cfg-if", "frame-support", @@ -4009,7 +4009,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4024,7 +4024,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,7 +4033,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "parity-scale-codec", @@ -4911,6 +4911,7 @@ dependencies = [ "frame-support", "futures-executor", "gear-node-testing", + "gear-runtime-primitives", "gear-tasks", "gear-tasks-runtime-api", "log", @@ -5054,7 +5055,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "chrono", "frame-election-provider-support", @@ -7931,7 +7932,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -7947,7 +7948,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -7961,7 +7962,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -7985,7 +7986,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "aquamarine", "docify", @@ -8007,7 +8008,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8022,7 +8023,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8040,7 +8041,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8059,7 +8060,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8076,7 +8077,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8099,7 +8100,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8587,7 +8588,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8610,7 +8611,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8626,7 +8627,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8646,7 +8647,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8662,7 +8663,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -8681,7 +8682,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8692,7 +8693,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -8709,7 +8710,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8726,7 +8727,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8741,7 +8742,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8759,7 +8760,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8778,7 +8779,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "docify", "frame-benchmarking", @@ -8796,7 +8797,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -8818,7 +8819,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8841,7 +8842,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "log", "sp-arithmetic", @@ -8850,7 +8851,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "sp-api", @@ -8859,7 +8860,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "docify", "frame-benchmarking", @@ -8875,7 +8876,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "docify", "frame-benchmarking", @@ -8895,7 +8896,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-support", "frame-system", @@ -8911,7 +8912,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8927,7 +8928,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8939,7 +8940,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "docify", "frame-benchmarking", @@ -8958,7 +8959,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8974,7 +8975,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -8989,7 +8990,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-benchmarking", "frame-support", @@ -10471,7 +10472,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10486,7 +10487,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10505,7 +10506,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10516,7 +10517,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10556,7 +10557,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "fnv", "futures", @@ -10583,7 +10584,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "hash-db", "kvdb", @@ -10609,7 +10610,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "futures", @@ -10634,7 +10635,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "fork-tree", @@ -10669,7 +10670,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10691,7 +10692,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10704,7 +10705,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10745,7 +10746,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "finality-grandpa", "futures", @@ -10765,7 +10766,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "futures", @@ -10788,7 +10789,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -10811,7 +10812,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10823,7 +10824,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "anyhow", "cfg-if", @@ -10841,7 +10842,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "ansi_term", "futures", @@ -10857,7 +10858,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.2", @@ -10871,7 +10872,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10899,7 +10900,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10940,7 +10941,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-channel", "cid", @@ -10960,7 +10961,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10977,7 +10978,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "ahash 0.8.11", "futures", @@ -10995,7 +10996,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11016,7 +11017,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11034,7 +11035,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11069,7 +11070,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11087,7 +11088,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11121,7 +11122,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11130,7 +11131,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11162,7 +11163,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11182,7 +11183,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11197,7 +11198,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11225,7 +11226,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "directories", @@ -11289,7 +11290,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "log", "parity-scale-codec", @@ -11300,7 +11301,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11319,7 +11320,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "futures", "libc", @@ -11338,7 +11339,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "chrono", "futures", @@ -11357,7 +11358,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "ansi_term", "atty", @@ -11386,7 +11387,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11397,7 +11398,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "futures", @@ -11423,7 +11424,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "futures", @@ -11439,7 +11440,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-channel", "futures", @@ -12166,7 +12167,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "log", "parity-scale-codec", @@ -12177,7 +12178,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "hash-db", "log", @@ -12198,7 +12199,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12212,7 +12213,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "scale-info", @@ -12225,7 +12226,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "integer-sqrt", "num-traits", @@ -12239,7 +12240,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "scale-info", @@ -12252,7 +12253,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "sp-api", "sp-inherents", @@ -12263,7 +12264,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "futures", "log", @@ -12281,7 +12282,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "futures", @@ -12296,7 +12297,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "parity-scale-codec", @@ -12313,7 +12314,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "parity-scale-codec", @@ -12332,7 +12333,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "finality-grandpa", "log", @@ -12350,7 +12351,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "scale-info", @@ -12362,7 +12363,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12425,7 +12426,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "blake2b_simd", "byteorder", @@ -12438,7 +12439,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12448,7 +12449,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12469,7 +12470,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "kvdb", "parking_lot 0.12.2", @@ -12478,7 +12479,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "proc-macro2", "quote", @@ -12488,7 +12489,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "environmental", "parity-scale-codec", @@ -12499,7 +12500,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "serde_json", "sp-api", @@ -12510,7 +12511,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12524,7 +12525,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "bytes", "ed25519-dalek", @@ -12548,7 +12549,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "lazy_static", "sp-core", @@ -12559,7 +12560,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -12571,7 +12572,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12580,7 +12581,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -12591,7 +12592,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "scale-info", @@ -12603,7 +12604,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "scale-info", @@ -12617,7 +12618,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "sp-api", "sp-core", @@ -12627,7 +12628,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "backtrace", "lazy_static", @@ -12637,7 +12638,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "rustc-hash", "serde", @@ -12647,7 +12648,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "either", "hash256-std-hasher", @@ -12669,7 +12670,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12687,7 +12688,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12699,7 +12700,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "scale-info", @@ -12714,7 +12715,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12728,7 +12729,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "hash-db", "log", @@ -12749,7 +12750,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12779,12 +12780,12 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12797,7 +12798,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "parity-scale-codec", @@ -12810,7 +12811,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12822,7 +12823,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "sp-api", "sp-runtime", @@ -12831,7 +12832,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "parity-scale-codec", @@ -12846,7 +12847,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12870,7 +12871,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12887,7 +12888,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12898,7 +12899,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12913,7 +12914,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12923,7 +12924,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "parity-scale-codec", "scale-info", @@ -13111,12 +13112,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13135,7 +13136,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "hyper", "log", @@ -13147,7 +13148,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13160,7 +13161,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13177,7 +13178,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13203,7 +13204,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "ansi_term", "build-helper", @@ -14035,7 +14036,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#c03b0d66983285e4329f378e2af305e707ed4f8d" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" dependencies = [ "async-trait", "clap 4.5.4", diff --git a/node/service/src/client.rs b/node/service/src/client.rs index d151459a88b..1af299d10b0 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -96,6 +96,7 @@ pub trait RuntimeApiCollection: + pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi + pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi + gear_tasks_runtime_api::GearTasksApi + + gear_tasks::RuntimeSetOverlayedChanges { } @@ -114,6 +115,7 @@ impl RuntimeApiCollection for Api where + pallet_gear_staking_rewards_rpc_runtime_api::GearStakingRewardsApi + pallet_gear_builtin_rpc_runtime_api::GearBuiltinApi + gear_tasks_runtime_api::GearTasksApi + + gear_tasks::RuntimeSetOverlayedChanges { } diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 186eac6328c..b9d881fab44 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1503,6 +1503,17 @@ impl_runtime_apis_plus_common! { } } +#[cfg(any(feature = "std", test))] +impl gear_tasks::RuntimeSetOverlayedChanges for RuntimeApiImpl +where + B: BlockT, + C: CallApiAt, +{ + fn set_overlayed_changes(&mut self, changes: OverlayedChanges>) { + let _changes = self.changes.replace(changes); + } +} + #[cfg(any(feature = "std", test))] impl Clone for RuntimeApiImpl where diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index 8957e2da5c2..15f5a80b646 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -11,11 +11,15 @@ repository.workspace = true sc-executor = { workspace = true, optional = true } sc-executor-common = { workspace = true, optional = true } sc-client-api = { workspace = true, optional = true } +sp-state-machine = { workspace = true, optional = true, features = ["std"] } +runtime-primitives = { workspace = true, optional = true, features = ["std"] } + +gear-tasks-runtime-api.workspace = true + sp-runtime-interface.workspace = true sp-externalities.workspace = true sp-storage.workspace = true sp-api.workspace = true -gear-tasks-runtime-api.workspace = true frame-support.workspace = true parity-scale-codec.workspace = true @@ -39,6 +43,8 @@ std = [ "sc-executor", "sc-executor-common", "sc-client-api", + "sp-state-machine", + "runtime-primitives", "sp-runtime-interface/std", "sp-externalities/std", "sp-api/std", diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index ac2240e2f5a..cc7e7082d4f 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -17,11 +17,14 @@ // along with this program. If not, see . use crate::{JoinError, JoinHandle, JoinResult, TASKS_AMOUNT}; +use frame_support::sp_runtime::traits::HashingFor; use futures_executor::ThreadPool; use gear_tasks_runtime_api::GearTasksApi; use sc_client_api::UsageProvider; -use sp_api::{ApiExt, ProvideRuntimeApi}; +use sp_api::{ApiExt, BlockT, ProvideRuntimeApi}; +use sp_state_machine::OverlayedChanges; use std::{ + any::Any, collections::HashMap, marker::PhantomData, sync::{mpsc, Arc, OnceLock}, @@ -29,7 +32,12 @@ use std::{ static RUNNER_TX: OnceLock> = OnceLock::new(); +pub trait RuntimeSetOverlayedChanges { + fn set_overlayed_changes(&mut self, changes: OverlayedChanges>); +} + struct TaskInfo { + pub overlayed_changes: Box, pub func_ref: u64, pub payload: Vec, pub rx: mpsc::SyncSender, @@ -39,7 +47,7 @@ sp_externalities::decl_extension! { pub(crate) struct GearTasksContextExt; } -pub struct GearTasksRunner { +pub struct GearTasksRunner { runtime_api_provider: Arc, rx: mpsc::Receiver, thread_pool: ThreadPool, @@ -49,8 +57,8 @@ pub struct GearTasksRunner { impl GearTasksRunner where RA: ProvideRuntimeApi + UsageProvider + Send + Sync + 'static, - RA::Api: GearTasksApi, - Block: sp_api::BlockT, + RA::Api: GearTasksApi + RuntimeSetOverlayedChanges, + Block: BlockT, { pub fn new(client: Arc) -> Self { let (tx, rx) = mpsc::channel(); @@ -74,6 +82,7 @@ where log::error!("RUN started"); for TaskInfo { + overlayed_changes, func_ref, payload, rx, @@ -83,6 +92,12 @@ where self.thread_pool.spawn_ok(async move { let mut runtime_api = client.runtime_api(); runtime_api.register_extension(GearTasksContextExt); + + let overlayed_changes = overlayed_changes + .downcast::>>() + .expect("`Externalities::gear_overlayed_changes()` implementation is invalid"); + runtime_api.set_overlayed_changes(*overlayed_changes); + let block_hash = client.usage_info().chain.best_hash; let res = runtime_api @@ -108,7 +123,12 @@ pub struct TaskSpawner { } impl TaskSpawner { - pub(crate) fn spawn(&mut self, func_ref: u64, payload: Vec) -> JoinHandle { + pub(crate) fn spawn( + &mut self, + overlayed_changes: Box, + func_ref: u64, + payload: Vec, + ) -> JoinHandle { let handle = self.counter; self.counter += 1; @@ -117,6 +137,7 @@ impl TaskSpawner { let runner_tx = RUNNER_TX.get().expect("`GearTasksRunner` is not spawned"); runner_tx .send(TaskInfo { + overlayed_changes, func_ref, payload, rx, diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 68b167423ff..e420bed887e 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -28,7 +28,7 @@ extern crate alloc; mod host; #[cfg(feature = "std")] -pub use host::{GearTasksRunner, TaskSpawnerExt}; +pub use host::{GearTasksRunner, RuntimeSetOverlayedChanges, TaskSpawnerExt}; use alloc::{string::String, vec::Vec}; use parity_scale_codec::{Decode, Encode}; @@ -51,10 +51,14 @@ pub trait GearTasks { } fn spawn(&mut self, func_ref: u64, payload: Vec) -> u64 { + let changes = self + .gear_overlayed_changes() + .expect("`GearTasks::spawn` called outside `sp_state_machine::StateMachine`"); + let spawner = self .extension::() .expect("Cannot spawn without dynamic runtime dispatcher (TaskSpawnerExt)"); - let handle = spawner.spawn(func_ref, payload); + let handle = spawner.spawn(changes, func_ref, payload); handle.inner } @@ -77,12 +81,7 @@ pub fn runtime_api_impl(func_ref: u64, payload: Vec) -> Vec { #[cfg(feature = "std")] let f = unsafe { core::mem::transmute::) -> Vec>(func_ref) }; - // tasks must only read storage and never write - let output_payload; - //frame_support::assert_storage_noop!({ - output_payload = f(payload); - //}); - output_payload + f(payload) } #[derive(Debug, Encode, Decode)] diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index 9563a0d7bb0..8a5dd52508a 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -55,17 +55,15 @@ pub fn init_logger() { use std::io::Write; let current_thread = std::thread::current(); - writeln!( - f, - "[{} {}] |{}| {}", - record.level(), - record.module_path().unwrap_or_default(), - current_thread - .name() - .map(str::to_string) - .unwrap_or_else(|| { format!("{:?}", current_thread.id()) }), - record.args(), - ) + + let level = f.default_styled_level(record.level()); + let module = record.module_path().unwrap_or_default(); + let thread_name = current_thread + .name() + .map(str::to_string) + .unwrap_or_else(|| format!("{:?}", current_thread.id())); + + writeln!(f, "[{level:<5} ({thread_name}) {module}] {}", record.args(),) }) .try_init(); } @@ -93,8 +91,6 @@ fn new_test_ext() -> BackendExternalities { client }); - sp_io::TestExternalities::default(); - let mut ext = BackendExternalities::default(); ext.register_extension(TaskSpawnerExt::default()); ext @@ -130,32 +126,24 @@ fn smoke_native() { } #[test] -//#[should_panic = r#"RuntimeApi("Execution failed: Runtime panicked: assertion `left == right` failed"#] -fn read_denied() { +fn write_has_no_effect() { init_logger(); new_test_ext().execute_with(|| { - const GLOBAL_AVAILABLE_KEY: &[u8] = b"GLOBAL_AVAILABLE_KEY"; - const GLOBAL_AVAILABLE_VALUE: &[u8] = b"GLOBAL_AVAILABLE_VALUE"; + const MAIN_KEY: &[u8] = b"MAIN_KEY"; + const MAIN_VALUE: &[u8] = b"MAIN_VALUE"; - sp_io::storage::set(GLOBAL_AVAILABLE_KEY, GLOBAL_AVAILABLE_VALUE); - assert_eq!( - sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), - Some(GLOBAL_AVAILABLE_VALUE) - ); + const THREAD_KEY: &[u8] = b"THREAD_KEY"; + const THREAD_VALUE: &[u8] = b"THREAD_VALUE"; - assert_eq!( - sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), - Some(GLOBAL_AVAILABLE_VALUE) - ); + sp_io::storage::set(MAIN_KEY, MAIN_VALUE); + assert_eq!(sp_io::storage::get(MAIN_KEY).as_deref(), Some(MAIN_VALUE)); gear_tasks::spawn( |_payload| { - assert_eq!( - sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), - Some(GLOBAL_AVAILABLE_VALUE) - ); + assert_eq!(sp_io::storage::get(MAIN_KEY).as_deref(), Some(MAIN_VALUE)); + + sp_io::storage::set(THREAD_KEY, THREAD_VALUE); - sp_io::storage::set(b"SOME_NEW_KEY", b"SOME_NEW_VALUE"); vec![] }, vec![], @@ -165,12 +153,9 @@ fn read_denied() { gear_tasks::spawn( |_payload| { - assert_eq!( - sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), - Some(GLOBAL_AVAILABLE_VALUE) - ); + assert_eq!(sp_io::storage::get(MAIN_KEY).as_deref(), Some(MAIN_VALUE)); - assert_eq!(sp_io::storage::get(b"SOME_NEW_KEY"), None); + assert_eq!(sp_io::storage::get(THREAD_KEY), None); vec![] }, vec![], @@ -178,10 +163,7 @@ fn read_denied() { .join() .unwrap(); - assert_eq!( - sp_io::storage::get(GLOBAL_AVAILABLE_KEY).as_deref(), - Some(GLOBAL_AVAILABLE_VALUE) - ); - assert_eq!(sp_io::storage::get(b"SOME_NEW_KEY"), None); + assert_eq!(sp_io::storage::get(MAIN_KEY).as_deref(), Some(MAIN_VALUE)); + assert_eq!(sp_io::storage::get(THREAD_KEY), None); }); } From 89179c419eff785f0eca6523d03d399de5d68206 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 03:06:43 +0300 Subject: [PATCH 19/47] Panic in runtime API implementation in non-test env --- utils/gear-tasks/src/lib.rs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index e420bed887e..05738725863 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -77,10 +77,19 @@ pub fn runtime_api_impl(func_ref: u64, payload: Vec) -> Vec { #[cfg(target_arch = "wasm32")] let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; - // used only in tests - #[cfg(feature = "std")] + #[cfg(all(feature = "std", test))] let f = unsafe { core::mem::transmute::) -> Vec>(func_ref) }; + #[cfg(all(feature = "std", not(test)))] + let f: fn(Vec) -> Vec = { + let _ = func_ref; + |_payload| { + panic!( + "`gear-tasks` runtime API implementation have not to be used for native in production" + ) + } + }; + f(payload) } From 6511f87ccc5aa0cfe69ac4af173292f75da352cc Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 03:12:13 +0300 Subject: [PATCH 20/47] Docs for `GearTasksContextExt` --- utils/gear-tasks/src/host.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index cc7e7082d4f..18d3fb8559d 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -44,6 +44,8 @@ struct TaskInfo { } sp_externalities::decl_extension! { + /// Set only by `GearTasksRunner` and checked by `gear_tasks::check_context()` host call, + /// so no one can call API outside. pub(crate) struct GearTasksContextExt; } @@ -64,8 +66,6 @@ where let (tx, rx) = mpsc::channel(); let _tx = RUNNER_TX.get_or_init(move || tx); - log::error!("TX inited"); - Self { runtime_api_provider: client, rx, @@ -79,8 +79,6 @@ where } pub async fn run(self) { - log::error!("RUN started"); - for TaskInfo { overlayed_changes, func_ref, From 62bdeecae72aa3c2151b7e54a4614b5c9b5a7874 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 03:14:28 +0300 Subject: [PATCH 21/47] Update Substrate --- Cargo.lock | 310 ++++++++++++++++++++++++++--------------------------- 1 file changed, 155 insertions(+), 155 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c759cf37111..4849c4f22bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3680,7 +3680,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", ] @@ -3703,7 +3703,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-support-procedural", @@ -3728,7 +3728,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3776,7 +3776,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3787,7 +3787,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3804,7 +3804,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -3846,7 +3846,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "futures", "indicatif", @@ -3867,7 +3867,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3907,7 +3907,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "Inflector", "cfg-expr", @@ -3926,7 +3926,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3938,7 +3938,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "proc-macro2", "quote", @@ -3948,7 +3948,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3977,7 +3977,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -3990,7 +3990,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "cfg-if", "frame-support", @@ -4009,7 +4009,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4024,7 +4024,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "sp-api", @@ -4033,7 +4033,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "parity-scale-codec", @@ -5055,7 +5055,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "chrono", "frame-election-provider-support", @@ -7932,7 +7932,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -7948,7 +7948,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -7962,7 +7962,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -7986,7 +7986,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "aquamarine", "docify", @@ -8008,7 +8008,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8023,7 +8023,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8041,7 +8041,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8060,7 +8060,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8077,7 +8077,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8100,7 +8100,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8588,7 +8588,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8611,7 +8611,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8627,7 +8627,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8647,7 +8647,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8663,7 +8663,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -8682,7 +8682,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -8710,7 +8710,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8727,7 +8727,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8742,7 +8742,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8760,7 +8760,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8779,7 +8779,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "docify", "frame-benchmarking", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -8819,7 +8819,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8842,7 +8842,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "log", "sp-arithmetic", @@ -8851,7 +8851,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "sp-api", @@ -8860,7 +8860,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "docify", "frame-benchmarking", @@ -8876,7 +8876,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "docify", "frame-benchmarking", @@ -8896,7 +8896,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-support", "frame-system", @@ -8912,7 +8912,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8928,7 +8928,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8940,7 +8940,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "docify", "frame-benchmarking", @@ -8959,7 +8959,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8975,7 +8975,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8990,7 +8990,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-benchmarking", "frame-support", @@ -10472,7 +10472,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10487,7 +10487,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10506,7 +10506,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10517,7 +10517,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10557,7 +10557,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "fnv", "futures", @@ -10584,7 +10584,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "hash-db", "kvdb", @@ -10610,7 +10610,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "futures", @@ -10635,7 +10635,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "fork-tree", @@ -10670,7 +10670,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10692,7 +10692,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10705,7 +10705,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10746,7 +10746,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "finality-grandpa", "futures", @@ -10766,7 +10766,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "futures", @@ -10789,7 +10789,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -10812,7 +10812,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10824,7 +10824,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "anyhow", "cfg-if", @@ -10842,7 +10842,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "ansi_term", "futures", @@ -10858,7 +10858,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.2", @@ -10872,7 +10872,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10900,7 +10900,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10941,7 +10941,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-channel", "cid", @@ -10961,7 +10961,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10978,7 +10978,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "ahash 0.8.11", "futures", @@ -10996,7 +10996,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11017,7 +11017,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11035,7 +11035,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11070,7 +11070,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11088,7 +11088,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11122,7 +11122,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11131,7 +11131,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11163,7 +11163,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11183,7 +11183,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11198,7 +11198,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11226,7 +11226,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "directories", @@ -11290,7 +11290,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "log", "parity-scale-codec", @@ -11301,7 +11301,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11320,7 +11320,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "futures", "libc", @@ -11339,7 +11339,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "chrono", "futures", @@ -11358,7 +11358,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "ansi_term", "atty", @@ -11387,7 +11387,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11398,7 +11398,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "futures", @@ -11424,7 +11424,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "futures", @@ -11440,7 +11440,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-channel", "futures", @@ -12167,7 +12167,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "log", "parity-scale-codec", @@ -12178,7 +12178,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "hash-db", "log", @@ -12199,7 +12199,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12213,7 +12213,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "scale-info", @@ -12226,7 +12226,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "integer-sqrt", "num-traits", @@ -12240,7 +12240,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "scale-info", @@ -12253,7 +12253,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "sp-api", "sp-inherents", @@ -12264,7 +12264,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "futures", "log", @@ -12282,7 +12282,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "futures", @@ -12297,7 +12297,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "parity-scale-codec", @@ -12314,7 +12314,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "parity-scale-codec", @@ -12333,7 +12333,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "finality-grandpa", "log", @@ -12351,7 +12351,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "scale-info", @@ -12363,7 +12363,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12426,7 +12426,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "blake2b_simd", "byteorder", @@ -12439,7 +12439,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12449,7 +12449,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12470,7 +12470,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "kvdb", "parking_lot 0.12.2", @@ -12479,7 +12479,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "proc-macro2", "quote", @@ -12489,7 +12489,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "environmental", "parity-scale-codec", @@ -12500,7 +12500,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "serde_json", "sp-api", @@ -12511,7 +12511,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12525,7 +12525,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "bytes", "ed25519-dalek", @@ -12549,7 +12549,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "lazy_static", "sp-core", @@ -12560,7 +12560,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "parking_lot 0.12.2", @@ -12572,7 +12572,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12581,7 +12581,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -12592,7 +12592,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "scale-info", @@ -12604,7 +12604,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "scale-info", @@ -12618,7 +12618,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "sp-api", "sp-core", @@ -12628,7 +12628,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "backtrace", "lazy_static", @@ -12638,7 +12638,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "rustc-hash", "serde", @@ -12648,7 +12648,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "either", "hash256-std-hasher", @@ -12670,7 +12670,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12688,7 +12688,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12700,7 +12700,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "scale-info", @@ -12715,7 +12715,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12729,7 +12729,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "hash-db", "log", @@ -12750,7 +12750,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12780,12 +12780,12 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12798,7 +12798,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "parity-scale-codec", @@ -12811,7 +12811,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12823,7 +12823,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "sp-api", "sp-runtime", @@ -12832,7 +12832,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "parity-scale-codec", @@ -12847,7 +12847,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12871,7 +12871,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12888,7 +12888,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12899,7 +12899,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12914,7 +12914,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12924,7 +12924,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", "scale-info", @@ -13112,12 +13112,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13136,7 +13136,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "hyper", "log", @@ -13148,7 +13148,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13161,7 +13161,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13178,7 +13178,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13204,7 +13204,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "ansi_term", "build-helper", @@ -14036,7 +14036,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#beeee23ba617fe6b290361f543b41ba66d3ddfad" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "async-trait", "clap 4.5.4", From 77a95ba53a95233c79cd87e4fff4830161fa76d0 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 03:24:17 +0300 Subject: [PATCH 22/47] Clean up deps --- Cargo.lock | 6 ------ utils/gear-tasks/Cargo.toml | 29 ++++++++++------------------- utils/gear-tasks/src/host.rs | 3 +-- 3 files changed, 11 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4849c4f22bc..2f115d6f481 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4908,24 +4908,18 @@ name = "gear-tasks" version = "1.4.2" dependencies = [ "env_logger", - "frame-support", "futures-executor", "gear-node-testing", - "gear-runtime-primitives", "gear-tasks", "gear-tasks-runtime-api", "log", "parity-scale-codec", "sc-client-api", - "sc-executor", - "sc-executor-common", "sp-api", "sp-externalities", "sp-io", "sp-runtime-interface", "sp-state-machine", - "sp-storage", - "substrate-test-client", ] [[package]] diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index 15f5a80b646..34c5f8fb155 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -8,22 +8,19 @@ homepage.workspace = true repository.workspace = true [dependencies] -sc-executor = { workspace = true, optional = true } -sc-executor-common = { workspace = true, optional = true } -sc-client-api = { workspace = true, optional = true } -sp-state-machine = { workspace = true, optional = true, features = ["std"] } -runtime-primitives = { workspace = true, optional = true, features = ["std"] } - gear-tasks-runtime-api.workspace = true +# substrate sp-runtime-interface.workspace = true sp-externalities.workspace = true -sp-storage.workspace = true sp-api.workspace = true -frame-support.workspace = true +# std only +sc-client-api = { workspace = true, optional = true } +sp-state-machine = { workspace = true, optional = true, features = ["std"] } +futures-executor = { version = "0.3.30", optional = true, features = ["thread-pool"] } +# utility parity-scale-codec.workspace = true -futures-executor = { version = "0.3.30", default-features = false, optional = true } log.workspace = true [dev-dependencies] @@ -31,25 +28,19 @@ gear-tasks = { workspace = true, features = ["std"] } sp-io = { workspace = true, features = ["std"] } sp-state-machine = { workspace = true, features = ["std"] } -futures-executor = "0.3.30" gear-node-testing.workspace = true -substrate-test-client.workspace = true env_logger.workspace = true [features] default = ["std"] std = [ - "sc-executor", - "sc-executor-common", - "sc-client-api", - "sp-state-machine", - "runtime-primitives", + "gear-tasks-runtime-api/std", "sp-runtime-interface/std", "sp-externalities/std", "sp-api/std", - "gear-tasks-runtime-api/std", - "frame-support/std", - "parity-scale-codec/std", + "sc-client-api", + "sp-state-machine", "futures-executor", + "parity-scale-codec/std", ] diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index 18d3fb8559d..e131a7b562a 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -17,11 +17,10 @@ // along with this program. If not, see . use crate::{JoinError, JoinHandle, JoinResult, TASKS_AMOUNT}; -use frame_support::sp_runtime::traits::HashingFor; use futures_executor::ThreadPool; use gear_tasks_runtime_api::GearTasksApi; use sc_client_api::UsageProvider; -use sp_api::{ApiExt, BlockT, ProvideRuntimeApi}; +use sp_api::{ApiExt, BlockT, HashingFor, ProvideRuntimeApi}; use sp_state_machine::OverlayedChanges; use std::{ any::Any, From 9a2cf65074a7b1be10ccddbb9d2aa6154850d8c8 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 03:29:26 +0300 Subject: [PATCH 23/47] Fix check for native function conversion --- utils/gear-tasks/Cargo.toml | 3 ++- utils/gear-tasks/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index 34c5f8fb155..3878e0cb8c5 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -24,7 +24,7 @@ parity-scale-codec.workspace = true log.workspace = true [dev-dependencies] -gear-tasks = { workspace = true, features = ["std"] } +gear-tasks = { workspace = true, features = ["std", "testing"] } sp-io = { workspace = true, features = ["std"] } sp-state-machine = { workspace = true, features = ["std"] } @@ -44,3 +44,4 @@ std = [ "futures-executor", "parity-scale-codec/std", ] +testing = [] diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 05738725863..ba11dfef4b2 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -77,10 +77,10 @@ pub fn runtime_api_impl(func_ref: u64, payload: Vec) -> Vec { #[cfg(target_arch = "wasm32")] let f = unsafe { core::mem::transmute::) -> Vec>(func_ref as u32) }; - #[cfg(all(feature = "std", test))] + #[cfg(all(feature = "std", feature = "testing"))] let f = unsafe { core::mem::transmute::) -> Vec>(func_ref) }; - #[cfg(all(feature = "std", not(test)))] + #[cfg(all(feature = "std", not(feature = "testing")))] let f: fn(Vec) -> Vec = { let _ = func_ref; |_payload| { From 87aa4ad0a7b59332f97767baea4c9a67661a7edc Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 03:35:57 +0300 Subject: [PATCH 24/47] Update Cargo.lock --- Cargo.lock | 308 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 173 insertions(+), 135 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2f115d6f481..55169f5d363 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -750,7 +750,7 @@ checksum = "3b43422f69d8ff38f95f1b2bb76517c91589a924d1559a0e935d7c8ce0274c11" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -767,7 +767,7 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -920,7 +920,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -1274,13 +1274,17 @@ name = "cargo-gbuild" version = "1.4.2" dependencies = [ "anyhow", + "cargo_metadata 0.18.1", "cargo_toml", "clap 4.5.4", "colored", + "etc", "gear-wasm-builder", + "glob 0.3.1", "gtest", "serde", - "toml 0.8.13", + "serde_json", + "toml 0.8.14", "tracing", "tracing-subscriber 0.3.18", ] @@ -1329,7 +1333,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a98356df42a2eb1bd8f1793ae4ee4de48e384dd974ce5eac8eee802edb7492be" dependencies = [ "serde", - "toml 0.8.13", + "toml 0.8.14", ] [[package]] @@ -1534,7 +1538,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -1967,7 +1971,7 @@ dependencies = [ "clap 4.5.4", "reqwest", "serde", - "toml_edit 0.22.13", + "toml_edit 0.22.14", ] [[package]] @@ -2160,7 +2164,7 @@ checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -2200,7 +2204,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -2217,7 +2221,7 @@ checksum = "50c49547d73ba8dcfd4ad7325d64c6d5391ff4224d498fc39a6f3f49825a530d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -2265,7 +2269,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.10.0", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -2287,7 +2291,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core 0.20.3", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -2952,7 +2956,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3080,7 +3084,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3127,9 +3131,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.64", + "syn 2.0.66", "termcolor", - "toml 0.8.13", + "toml 0.8.14", "walkdir", ] @@ -3354,7 +3358,7 @@ checksum = "03cdc46ec28bd728e67540c528013c6a10eb69a02eb31078a1bda695438cbfb8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3395,7 +3399,7 @@ checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3416,7 +3420,7 @@ dependencies = [ "darling 0.20.3", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3485,7 +3489,7 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3608,7 +3612,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "scale-info", ] @@ -3781,7 +3785,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3920,7 +3924,7 @@ dependencies = [ "proc-macro2", "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3932,7 +3936,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -3942,7 +3946,7 @@ source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0 dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -4144,7 +4148,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -4243,6 +4247,7 @@ dependencies = [ "gear-core-errors", "gear-runtime-primitives", "gmeta", + "gnode", "gring", "gsdk", "hex", @@ -4256,7 +4261,7 @@ dependencies = [ "serde", "thiserror", "tokio", - "toml 0.8.13", + "toml 0.8.14", "url", "wasmi 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)", "which", @@ -4297,6 +4302,7 @@ dependencies = [ "gear-core-errors", "gear-utils", "gmeta", + "gnode", "gsdk", "gstd", "hex", @@ -4350,7 +4356,7 @@ dependencies = [ "pallet-gear-rpc-runtime-api", "pallet-sudo", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-block-builder", "sc-client-api", "sc-executor", @@ -4459,7 +4465,7 @@ name = "gear-common-codegen" version = "1.4.2" dependencies = [ "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -4482,6 +4488,7 @@ dependencies = [ "numerated", "parity-scale-codec", "paste", + "primitive-types", "proptest", "rand 0.8.5", "scale-info", @@ -4530,7 +4537,6 @@ dependencies = [ "gear-core-backend", "gear-core-errors", "gear-lazy-pages-common", - "gear-lazy-pages-interface", "gear-wasm-instrument", "gsys", "log", @@ -4602,6 +4608,16 @@ dependencies = [ "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", ] +[[package]] +name = "gear-lazy-pages-native-interface" +version = "1.4.2" +dependencies = [ + "gear-core", + "gear-lazy-pages", + "gear-lazy-pages-common", + "gear-wasm-instrument", +] + [[package]] name = "gear-node-loader" version = "1.4.2" @@ -4618,7 +4634,7 @@ dependencies = [ "gear-wasm-gen", "gsdk", "names 0.14.0", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "primitive-types", "rand 0.8.5", "reqwest", @@ -4646,7 +4662,7 @@ dependencies = [ "log", "pallet-gear-rpc-runtime-api", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-block-builder", "sc-client-api", "sc-proposer-metrics", @@ -4739,6 +4755,10 @@ dependencies = [ name = "gear-runtime-interface" version = "1.4.2" dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-scale 0.0.12", "byteorder", "gear-core", "gear-lazy-pages", @@ -4747,6 +4767,7 @@ dependencies = [ "gear-tasks", "log", "parity-scale-codec", + "sha2 0.10.8", "sp-io", "sp-runtime-interface", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -4985,7 +5006,7 @@ dependencies = [ "regex", "rustc_version", "thiserror", - "toml 0.8.13", + "toml 0.8.14", "wabt", "wasm-opt", "wasmi 0.14.0", @@ -5001,7 +5022,9 @@ dependencies = [ "gear-core", "gear-core-backend", "gear-core-processor", - "gear-lazy-pages-interface", + "gear-lazy-pages", + "gear-lazy-pages-common", + "gear-lazy-pages-native-interface", "gear-utils", "gear-wasm-instrument", "gsys", @@ -5041,7 +5064,7 @@ dependencies = [ "quote", "serde", "serde_json", - "syn 2.0.64", + "syn 2.0.66", "tabled", "vara-runtime", ] @@ -5218,7 +5241,17 @@ dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.64", + "syn 2.0.66", +] + +[[package]] +name = "gnode" +version = "1.4.2" +dependencies = [ + "anyhow", + "rand 0.8.5", + "smallvec", + "which", ] [[package]] @@ -5281,14 +5314,14 @@ dependencies = [ "gear-core", "gear-core-errors", "gear-utils", - "gsdk", + "gnode", "gsdk-codegen", "hex", "indexmap 2.2.6", "jsonrpsee 0.16.3", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "scale-decode", "scale-value", @@ -5310,6 +5343,7 @@ dependencies = [ "gear-runtime-interface", "gear-utils", "heck 0.5.0", + "hex", "parity-scale-codec", "proc-macro2", "quote", @@ -5319,7 +5353,7 @@ dependencies = [ "sp-io", "subxt-codegen", "subxt-metadata", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -5328,7 +5362,7 @@ version = "1.4.2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -5357,7 +5391,7 @@ dependencies = [ "gstd", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", "trybuild", ] @@ -5379,11 +5413,13 @@ dependencies = [ "derive_more", "env_logger", "etc", + "gear-common", "gear-core", "gear-core-errors", "gear-core-processor", "gear-lazy-pages", "gear-lazy-pages-common", + "gear-lazy-pages-native-interface", "gear-utils", "gear-wasm-instrument", "gsys", @@ -6088,7 +6124,7 @@ dependencies = [ "globset", "hyper", "jsonrpsee-types 0.16.3", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "rustc-hash", "serde", @@ -6298,7 +6334,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.2", + "parking_lot 0.12.3", ] [[package]] @@ -6309,7 +6345,7 @@ checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "regex", "rocksdb", "smallvec", @@ -6377,9 +6413,9 @@ checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libmimalloc-sys" -version = "0.1.37" +version = "0.1.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81eb4061c0582dedea1cbc7aff2240300dd6982e0239d1c99e65c1dbf4a30ba7" +checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6" dependencies = [ "cc", "libc", @@ -6459,7 +6495,7 @@ dependencies = [ "multihash", "multistream-select", "once_cell", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand 0.8.5", @@ -6479,7 +6515,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "smallvec", "trust-dns-resolver", ] @@ -6641,7 +6677,7 @@ dependencies = [ "libp2p-identity", "libp2p-tls", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "quinn-proto", "rand 0.8.5", "rustls 0.20.8", @@ -6757,7 +6793,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "quicksink", "rw-stream-sink", "soketto", @@ -7023,7 +7059,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -7037,7 +7073,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -7048,7 +7084,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -7059,7 +7095,7 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -7209,9 +7245,9 @@ dependencies = [ [[package]] name = "mimalloc" -version = "0.1.41" +version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f41a2280ded0da56c8cf898babb86e8f10651a34adcfff190ae9a1159c6908d" +checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176" dependencies = [ "libmimalloc-sys", ] @@ -7264,7 +7300,7 @@ dependencies = [ "hashlink", "lioness", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "rand_chacha 0.3.1", "rand_distr", @@ -7763,7 +7799,7 @@ checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -7868,7 +7904,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -8246,6 +8282,7 @@ dependencies = [ "gear-core", "gear-core-errors", "gear-core-processor", + "gear-runtime-interface", "hex-literal", "impl-trait-for-tuples", "log", @@ -8261,6 +8298,7 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", + "sha2 0.10.8", "sp-core", "sp-crypto-ec-utils", "sp-externalities", @@ -8416,7 +8454,7 @@ version = "1.4.2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -9021,7 +9059,7 @@ dependencies = [ "log", "lz4", "memmap2", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "siphasher", "snap", @@ -9084,9 +9122,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.2" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", "parking_lot_core 0.9.8", @@ -9221,7 +9259,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -9262,7 +9300,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -9436,7 +9474,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -9503,14 +9541,14 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] name = "proc-macro2" -version = "1.0.82" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" dependencies = [ "unicode-ident", ] @@ -9525,7 +9563,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "thiserror", ] @@ -9537,7 +9575,7 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "prometheus-client-derive-encode", ] @@ -9549,7 +9587,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -9929,7 +9967,7 @@ checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -10505,7 +10543,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -10557,7 +10595,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -10588,7 +10626,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-state-db", "schnellru", @@ -10612,7 +10650,7 @@ dependencies = [ "libp2p-identity", "log", "mockall", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-utils", "serde", @@ -10639,7 +10677,7 @@ dependencies = [ "num-rational", "num-traits", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-consensus", "sc-consensus-epochs", @@ -10711,7 +10749,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "sc-block-builder", "sc-chain-spec", @@ -10786,7 +10824,7 @@ version = "0.10.0-dev" source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-executor-common", "sc-executor-wasmtime", "schnellru", @@ -10824,7 +10862,7 @@ dependencies = [ "cfg-if", "libc", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rustix 0.36.15", "sc-executor-common", "sp-allocator", @@ -10855,7 +10893,7 @@ version = "4.0.0-dev" source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "array-bytes 6.2.2", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "serde_json", "sp-application-crypto", "sp-core", @@ -10878,7 +10916,7 @@ dependencies = [ "mixnet", "multiaddr", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-network", "sc-transaction-pool-api", @@ -10911,7 +10949,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "partial_sort", "pin-project", "rand 0.8.5", @@ -11096,7 +11134,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "sc-client-api", "sc-network", @@ -11131,7 +11169,7 @@ dependencies = [ "jsonrpsee 0.16.3", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -11201,7 +11239,7 @@ dependencies = [ "jsonrpsee 0.16.3", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-chain-spec", "sc-client-api", "sc-transaction-pool-api", @@ -11230,7 +11268,7 @@ dependencies = [ "jsonrpsee 0.16.3", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project", "rand 0.8.5", "sc-block-builder", @@ -11288,7 +11326,7 @@ source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0 dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sp-core", ] @@ -11339,7 +11377,7 @@ dependencies = [ "futures", "libp2p", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project", "rand 0.8.5", "sc-utils", @@ -11360,7 +11398,7 @@ dependencies = [ "lazy_static", "libc", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "regex", "rustc-hash", "sc-client-api", @@ -11386,7 +11424,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -11400,7 +11438,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sc-client-api", "sc-transaction-pool-api", "sc-utils", @@ -11441,7 +11479,7 @@ dependencies = [ "futures-timer", "lazy_static", "log", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "prometheus", "sp-arithmetic", ] @@ -11781,7 +11819,7 @@ checksum = "6048858004bcff69094cd972ed40a32500f153bd3be9f716b2eed2e8217c4838" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -11803,7 +11841,7 @@ checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -11996,9 +12034,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "smallvec" -version = "1.11.0" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" @@ -12088,7 +12126,7 @@ dependencies = [ "itertools", "log", "lru", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "serde", "serde_json", @@ -12201,7 +12239,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -12263,7 +12301,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "schnellru", "sp-api", "sp-consensus", @@ -12376,7 +12414,7 @@ dependencies = [ "log", "merlin 2.0.1", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "paste", "primitive-types", "rand 0.8.5", @@ -12437,7 +12475,7 @@ source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0 dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -12467,7 +12505,7 @@ version = "4.0.0-dev" source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "kvdb", - "parking_lot 0.12.2", + "parking_lot 0.12.3", ] [[package]] @@ -12477,7 +12515,7 @@ source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0 dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -12557,7 +12595,7 @@ version = "0.27.0" source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "sp-core", "sp-externalities", "thiserror", @@ -12688,7 +12726,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -12728,7 +12766,7 @@ dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "smallvec", "sp-core", @@ -12850,7 +12888,7 @@ dependencies = [ "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "scale-info", "schnellru", @@ -12887,7 +12925,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -13087,7 +13125,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -13279,7 +13317,7 @@ dependencies = [ "quote", "scale-info", "subxt-metadata", - "syn 2.0.64", + "syn 2.0.66", "thiserror", "tokio", ] @@ -13310,7 +13348,7 @@ dependencies = [ "darling 0.20.3", "proc-macro-error", "subxt-codegen", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -13339,9 +13377,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.64" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ad3dee41f36859875573074334c200d1add8e4a87bb37113ebd31d926b7b11f" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -13502,7 +13540,7 @@ checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -13613,16 +13651,16 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", "libc", "mio", "num_cpus", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "pin-project-lite 0.2.13", "signal-hook-registry", "socket2 0.5.5", @@ -13632,13 +13670,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -13722,14 +13760,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.13" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e43f8cc456c9704c851ae29c67e17ef65d2c30017c17a9765b89c382dc8bba" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.13", + "toml_edit 0.22.14", ] [[package]] @@ -13756,9 +13794,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.13" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c127785850e8c20836d49732ae6abfa47616e60bf9d9f57c43c250361a9db96c" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ "indexmap 2.2.6", "serde", @@ -13844,7 +13882,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -14012,7 +14050,7 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "resolv-conf", "smallvec", "thiserror", @@ -14074,7 +14112,7 @@ dependencies = [ "serde_derive", "serde_json", "termcolor", - "toml 0.8.13", + "toml 0.8.14", ] [[package]] @@ -14465,7 +14503,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", "wasm-bindgen-shared", ] @@ -14499,7 +14537,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -15773,7 +15811,7 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.2", + "parking_lot 0.12.3", "rand 0.8.5", "static_assertions", ] @@ -15851,7 +15889,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] @@ -15871,7 +15909,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.64", + "syn 2.0.66", ] [[package]] From af142fe1b58a294af9528995695812d97e006af8 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Tue, 18 Jun 2024 03:44:43 +0300 Subject: [PATCH 25/47] Check `GearTasksRunner` is not initialized twice --- utils/gear-tasks/src/host.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index e131a7b562a..ecd56b4810e 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -63,6 +63,7 @@ where { pub fn new(client: Arc) -> Self { let (tx, rx) = mpsc::channel(); + assert_eq!(RUNNER_TX.get(), None, "`GearTasksRunner` initialized twice"); let _tx = RUNNER_TX.get_or_init(move || tx); Self { From 821cbf698f6a7bea659d5e49199b761effb67139 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 21:20:38 +0300 Subject: [PATCH 26/47] Pass the number of tasks via runtime --- Cargo.lock | 1 + .../gear/src/benchmarking/tests/gear_tasks.rs | 2 +- pallets/gear/src/lib.rs | 4 + runtime-interface/src/lib.rs | 4 +- runtime/vara/src/lib.rs | 6 + utils/gear-tasks/Cargo.toml | 1 + utils/gear-tasks/src/host.rs | 155 ++++++++++++------ utils/gear-tasks/src/lib.rs | 8 +- utils/gear-tasks/tests/with_client.rs | 40 ++--- 9 files changed, 136 insertions(+), 85 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 55169f5d363..7c74a1a18f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4941,6 +4941,7 @@ dependencies = [ "sp-io", "sp-runtime-interface", "sp-state-machine", + "vara-runtime", ] [[package]] diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs index c03ff71ee45..4d313cd4c24 100644 --- a/pallets/gear/src/benchmarking/tests/gear_tasks.rs +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -26,7 +26,7 @@ pub fn smoke() { #[cfg(feature = "std")] utils::init_logger(); - gear_runtime_interface::init_tasks(); + gear_runtime_interface::reinit_tasks(T::ProcessingTasksAmount::get()); let unsorted = vec![9, 7, 5, 3, 2, 1]; let handle = gear_tasks::spawn( diff --git a/pallets/gear/src/lib.rs b/pallets/gear/src/lib.rs index 7fb55381b70..7b42c136309 100644 --- a/pallets/gear/src/lib.rs +++ b/pallets/gear/src/lib.rs @@ -252,6 +252,10 @@ pub mod pallet { /// Message Queue processing routing provider. type QueueRunner: QueueRunner>; + /// Amount of parallel processing tasks. + #[pallet::constant] + type ProcessingTasksAmount: Get; + /// The free of charge period of rent. #[pallet::constant] type ProgramRentFreePeriod: Get>; diff --git a/runtime-interface/src/lib.rs b/runtime-interface/src/lib.rs index fcd420df949..d8be59b1004 100644 --- a/runtime-interface/src/lib.rs +++ b/runtime-interface/src/lib.rs @@ -62,8 +62,8 @@ const _: () = assert!(core::mem::size_of::() >= core::mem::size_of: // Domain Separation Tag for signatures on G2. pub const DST_G2: &[u8] = b"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_"; -pub fn init_tasks() { - ::gear_tasks::gear_tasks::init(); +pub fn reinit_tasks(tasks: u8) { + ::gear_tasks::gear_tasks::reinit(tasks); } #[derive(Debug, Clone, Encode, Decode)] diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index b9d881fab44..c8c2f28f1da 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -1029,6 +1029,11 @@ impl pallet_gear_bank::Config for Runtime { type GasMultiplier = GasMultiplier; } +parameter_types! { + // corresponding to the number of cores in reference validator machine + pub ProcessingTasksAmount: u8 = 4; +} + impl pallet_gear::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; @@ -1047,6 +1052,7 @@ impl pallet_gear::Config for Runtime { type BlockLimiter = GearGas; type Scheduler = GearScheduler; type QueueRunner = Gear; + type ProcessingTasksAmount = ProcessingTasksAmount; type BuiltinDispatcherFactory = GearBuiltin; type ProgramRentFreePeriod = ConstU32<{ MONTHS * RENT_FREE_PERIOD_MONTH_FACTOR }>; type ProgramResumeMinimalRentPeriod = ConstU32<{ WEEKS * RENT_RESUME_WEEK_FACTOR }>; diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index 3878e0cb8c5..471ed194243 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -29,6 +29,7 @@ gear-tasks = { workspace = true, features = ["std", "testing"] } sp-io = { workspace = true, features = ["std"] } sp-state-machine = { workspace = true, features = ["std"] } gear-node-testing.workspace = true +vara-runtime = { workspace = true, features = ["dev"] } env_logger.workspace = true diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index ecd56b4810e..952d89e18d1 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.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::{JoinError, JoinHandle, JoinResult, TASKS_AMOUNT}; +use crate::{JoinError, JoinHandle, JoinResult}; use futures_executor::ThreadPool; use gear_tasks_runtime_api::GearTasksApi; use sc_client_api::UsageProvider; @@ -31,15 +31,30 @@ use std::{ static RUNNER_TX: OnceLock> = OnceLock::new(); -pub trait RuntimeSetOverlayedChanges { - fn set_overlayed_changes(&mut self, changes: OverlayedChanges>); +enum TaskInfo { + ReInit { + tasks: u8, + }, + Spawn { + overlayed_changes: Box, + func_ref: u64, + payload: Vec, + rx: mpsc::SyncSender, + }, } -struct TaskInfo { - pub overlayed_changes: Box, - pub func_ref: u64, - pub payload: Vec, - pub rx: mpsc::SyncSender, +impl TaskInfo { + fn send_to_runner(self) { + RUNNER_TX + .get() + .expect("`GearTasksRunner` is not spawned") + .send(self) + .expect("`GearTasksRunner` has been dropped") + } +} + +pub trait RuntimeSetOverlayedChanges { + fn set_overlayed_changes(&mut self, changes: OverlayedChanges>); } sp_externalities::decl_extension! { @@ -51,7 +66,7 @@ sp_externalities::decl_extension! { pub struct GearTasksRunner { runtime_api_provider: Arc, rx: mpsc::Receiver, - thread_pool: ThreadPool, + thread_pool: Option, _block: PhantomData, } @@ -63,64 +78,92 @@ where { pub fn new(client: Arc) -> Self { let (tx, rx) = mpsc::channel(); - assert_eq!(RUNNER_TX.get(), None, "`GearTasksRunner` initialized twice"); + assert!( + RUNNER_TX.get().is_none(), + "`GearTasksRunner` initialized twice" + ); let _tx = RUNNER_TX.get_or_init(move || tx); Self { runtime_api_provider: client, rx, - thread_pool: ThreadPool::builder() - .pool_size(TASKS_AMOUNT) - .name_prefix("gear-tasks-") - .create() - .expect("Thread pool creation failed"), + thread_pool: None, _block: PhantomData, } } - pub async fn run(self) { - for TaskInfo { - overlayed_changes, - func_ref, - payload, - rx, - } in self.rx - { - let client = self.runtime_api_provider.clone(); - self.thread_pool.spawn_ok(async move { - let mut runtime_api = client.runtime_api(); - runtime_api.register_extension(GearTasksContextExt); - - let overlayed_changes = overlayed_changes - .downcast::>>() - .expect("`Externalities::gear_overlayed_changes()` implementation is invalid"); - runtime_api.set_overlayed_changes(*overlayed_changes); - - let block_hash = client.usage_info().chain.best_hash; - - let res = runtime_api - .execute_task(block_hash, func_ref, payload) - .map_err(|e| JoinError::RuntimeApi(e.to_string())); - - rx.send(res) - .expect("`TaskSpawner` dropped before task completion and `join()` on it") - }); + pub async fn run(mut self) { + for info in self.rx { + match info { + TaskInfo::ReInit { tasks } => { + self.thread_pool = Some( + ThreadPool::builder() + .pool_size(tasks as usize) + .name_prefix("gear-tasks-") + .create() + .expect("Thread pool creation failed"), + ); + } + TaskInfo::Spawn { + overlayed_changes, + func_ref, + payload, + rx, + } => { + let client = self.runtime_api_provider.clone(); + let thread_pool = self + .thread_pool + .as_ref() + .expect("`TaskInfo::ReInit` has never been sent"); + thread_pool.spawn_ok(async move { + let mut runtime_api = client.runtime_api(); + runtime_api.register_extension(GearTasksContextExt); + + let overlayed_changes = overlayed_changes + .downcast::>>() + .expect("`Externalities::gear_overlayed_changes()` implementation is invalid"); + runtime_api.set_overlayed_changes(*overlayed_changes); + + let block_hash = client.usage_info().chain.best_hash; + + let res = runtime_api + .execute_task(block_hash, func_ref, payload) + .map_err(|e| JoinError::RuntimeApi(e.to_string())); + + rx.send(res) + .expect("`TaskSpawner` dropped before task completion and `join()` on it") + }); + } + } } } } sp_externalities::decl_extension! { - #[derive(Default)] - pub struct TaskSpawnerExt(TaskSpawner); + pub(crate) struct TaskSpawnerExt(TaskSpawner); +} + +impl TaskSpawnerExt { + pub(crate) fn new(tasks: u8) -> Self { + Self(TaskSpawner::new(tasks)) + } } -#[derive(Default)] pub struct TaskSpawner { counter: u64, tasks: HashMap>, } impl TaskSpawner { + fn new(tasks: u8) -> Self { + TaskInfo::ReInit { tasks }.send_to_runner(); + + Self { + counter: 0, + tasks: HashMap::new(), + } + } + pub(crate) fn spawn( &mut self, overlayed_changes: Box, @@ -132,15 +175,13 @@ impl TaskSpawner { let (rx, tx) = mpsc::sync_channel(1); - let runner_tx = RUNNER_TX.get().expect("`GearTasksRunner` is not spawned"); - runner_tx - .send(TaskInfo { - overlayed_changes, - func_ref, - payload, - rx, - }) - .unwrap(); + TaskInfo::Spawn { + overlayed_changes, + func_ref, + payload, + rx, + } + .send_to_runner(); self.tasks.insert(handle, tx); JoinHandle { inner: handle } @@ -155,3 +196,9 @@ impl TaskSpawner { .expect("Sender has been disconnected which means thread was somehow terminated") } } + +impl Drop for TaskSpawner { + fn drop(&mut self) { + assert_eq!(self.tasks.len(), 0, "Not every task has been joined"); + } +} diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index ba11dfef4b2..fe59acc729d 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -28,20 +28,18 @@ extern crate alloc; mod host; #[cfg(feature = "std")] -pub use host::{GearTasksRunner, RuntimeSetOverlayedChanges, TaskSpawnerExt}; +pub use host::{GearTasksRunner, RuntimeSetOverlayedChanges}; use alloc::{string::String, vec::Vec}; use parity_scale_codec::{Decode, Encode}; use sp_externalities::ExternalitiesExt; use sp_runtime_interface::runtime_interface; -pub const TASKS_AMOUNT: usize = 4; - /// WASM host functions for managing tasks. #[runtime_interface] pub trait GearTasks { - fn init(&mut self) { - self.register_extension(host::TaskSpawnerExt::default()) + fn reinit(&mut self, tasks: u8) { + self.register_extension(host::TaskSpawnerExt::new(tasks)) .expect("`GearTasks` initialized twice"); } diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index 8a5dd52508a..71114de0192 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -16,36 +16,34 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use gear_node_testing::client::{ - Backend as TestBackend, Client as TestClient, TestClientBuilder, TestClientBuilderExt, -}; -use gear_tasks::{GearTasksRunner, TaskSpawnerExt, TASKS_AMOUNT}; -use sc_client_api::{Backend, UsageProvider}; -use sp_externalities::{Extension, Extensions}; +use gear_node_testing::client::{Client as TestClient, TestClientBuilder, TestClientBuilderExt}; +use gear_tasks::GearTasksRunner; +use sc_client_api::UsageProvider; +use sp_api::HashingFor; +use sp_externalities::Extensions; use sp_state_machine::{Ext, OverlayedChanges}; use std::sync::{Arc, OnceLock}; +use vara_runtime::{Block, ProcessingTasksAmount}; -static BACKEND: OnceLock> = OnceLock::new(); static CLIENT: OnceLock> = OnceLock::new(); #[derive(Default)] struct BackendExternalities { extensions: Extensions, + overlay: OverlayedChanges>, } impl BackendExternalities { - fn register_extension(&mut self, ext: T) { - self.extensions.register(ext); - } - fn execute_with(&mut self, f: impl FnOnce() -> R) -> R { let client = CLIENT.get().unwrap(); let block_hash = client.usage_info().chain.best_hash; + let state = client.state_at(block_hash).unwrap(); - let mut overlay = OverlayedChanges::default(); - let state = BACKEND.get().unwrap().state_at(block_hash).unwrap(); - let mut ext = Ext::new(&mut overlay, &state, Some(&mut self.extensions)); - sp_externalities::set_and_run_with_externalities(&mut ext, f) + let mut ext = Ext::new(&mut self.overlay, &state, Some(&mut self.extensions)); + sp_externalities::set_and_run_with_externalities(&mut ext, || { + gear_tasks::gear_tasks::reinit(ProcessingTasksAmount::get()); + f() + }) } } @@ -70,9 +68,7 @@ pub fn init_logger() { fn new_test_ext() -> BackendExternalities { CLIENT.get_or_init(|| { - let backend = BACKEND.get_or_init(|| Arc::new(TestBackend::new_test(u32::MAX, u64::MAX))); - let builder = TestClientBuilder::with_backend(backend.clone()); - let mut client = builder.build(); + let mut client = TestClientBuilder::new().build(); // Substrate's `CodeExecutor::call()` has explicit flag to use native execution, // so it's applicable for `NativeElseWasmExecutor`, too. // The flag is always set to `false` in our case, so @@ -91,9 +87,7 @@ fn new_test_ext() -> BackendExternalities { client }); - let mut ext = BackendExternalities::default(); - ext.register_extension(TaskSpawnerExt::default()); - ext + BackendExternalities::default() } #[test] @@ -103,9 +97,9 @@ fn smoke_native() { const PAYLOAD_SIZE: usize = 32 * 1024; let payload = vec![0xff; PAYLOAD_SIZE]; - let handles = (0..TASKS_AMOUNT).map(|i| { + let handles = (0..ProcessingTasksAmount::get() as usize).map(|i| { let mut payload = payload.clone(); - payload[i * (PAYLOAD_SIZE / TASKS_AMOUNT)] = 0xfe; + payload[i * (PAYLOAD_SIZE / ProcessingTasksAmount::get() as usize)] = 0xfe; gear_tasks::spawn( |mut payload| { payload.sort(); From 57857f887e664f7b53a50a1c59529bd67ad88f58 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 21:26:33 +0300 Subject: [PATCH 27/47] Add unjoined task detection test --- utils/gear-tasks/src/lib.rs | 1 + utils/gear-tasks/tests/with_client.rs | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index fe59acc729d..559e7cd1117 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -98,6 +98,7 @@ pub enum JoinError { pub type JoinResult = Result, JoinError>; +#[must_use] #[derive(Debug, Eq, PartialEq)] pub struct JoinHandle { pub(crate) inner: u64, diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index 71114de0192..9e9666afd3c 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -22,7 +22,10 @@ use sc_client_api::UsageProvider; use sp_api::HashingFor; use sp_externalities::Extensions; use sp_state_machine::{Ext, OverlayedChanges}; -use std::sync::{Arc, OnceLock}; +use std::{ + sync::{Arc, OnceLock}, + time::Duration, +}; use vara_runtime::{Block, ProcessingTasksAmount}; static CLIENT: OnceLock> = OnceLock::new(); @@ -161,3 +164,18 @@ fn write_has_no_effect() { assert_eq!(sp_io::storage::get(THREAD_KEY), None); }); } + +#[test] +#[should_panic = "Not every task has been joined"] +fn unjoined_task_detected() { + init_logger(); + new_test_ext().execute_with(|| { + let _handle = gear_tasks::spawn( + |_payload| { + std::thread::sleep(Duration::MAX); + vec![] + }, + vec![], + ); + }); +} From a24d76d810087a89b416e624e593d03c7d18b6a2 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 21:28:14 +0300 Subject: [PATCH 28/47] Rename types --- utils/gear-tasks/src/host.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index 952d89e18d1..43efd9813bb 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -29,9 +29,9 @@ use std::{ sync::{mpsc, Arc, OnceLock}, }; -static RUNNER_TX: OnceLock> = OnceLock::new(); +static RUNNER_TX: OnceLock> = OnceLock::new(); -enum TaskInfo { +enum TasksRunnerEvent { ReInit { tasks: u8, }, @@ -43,8 +43,8 @@ enum TaskInfo { }, } -impl TaskInfo { - fn send_to_runner(self) { +impl TasksRunnerEvent { + fn send(self) { RUNNER_TX .get() .expect("`GearTasksRunner` is not spawned") @@ -65,7 +65,7 @@ sp_externalities::decl_extension! { pub struct GearTasksRunner { runtime_api_provider: Arc, - rx: mpsc::Receiver, + rx: mpsc::Receiver, thread_pool: Option, _block: PhantomData, } @@ -95,7 +95,7 @@ where pub async fn run(mut self) { for info in self.rx { match info { - TaskInfo::ReInit { tasks } => { + TasksRunnerEvent::ReInit { tasks } => { self.thread_pool = Some( ThreadPool::builder() .pool_size(tasks as usize) @@ -104,7 +104,7 @@ where .expect("Thread pool creation failed"), ); } - TaskInfo::Spawn { + TasksRunnerEvent::Spawn { overlayed_changes, func_ref, payload, @@ -156,7 +156,7 @@ pub struct TaskSpawner { impl TaskSpawner { fn new(tasks: u8) -> Self { - TaskInfo::ReInit { tasks }.send_to_runner(); + TasksRunnerEvent::ReInit { tasks }.send(); Self { counter: 0, @@ -175,13 +175,13 @@ impl TaskSpawner { let (rx, tx) = mpsc::sync_channel(1); - TaskInfo::Spawn { + TasksRunnerEvent::Spawn { overlayed_changes, func_ref, payload, rx, } - .send_to_runner(); + .send(); self.tasks.insert(handle, tx); JoinHandle { inner: handle } From c06d49050727e45d28035dc1b45f721bee1b764d Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 21:48:35 +0300 Subject: [PATCH 29/47] Exit from runtime mode in overlay --- .../gear/src/benchmarking/tests/gear_tasks.rs | 14 ++++++++++++++ utils/gear-tasks/src/host.rs | 19 ++++++++++++++----- utils/gear-tasks/tests/with_client.rs | 13 +++++++++++++ 3 files changed, 41 insertions(+), 5 deletions(-) diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs index 4d313cd4c24..009f6a720f2 100644 --- a/pallets/gear/src/benchmarking/tests/gear_tasks.rs +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -23,17 +23,29 @@ use parity_scale_codec::Encode; use sp_runtime::SaturatedConversion; pub fn smoke() { + const MAIN_KEY: &[u8] = b"MAIN_KEY"; + const MAIN_VALUE: &[u8] = b"MAIN_VALUE"; + + const THREAD_KEY: &[u8] = b"THREAD_KEY"; + const THREAD_VALUE: &[u8] = b"THREAD_VALUE"; + #[cfg(feature = "std")] utils::init_logger(); gear_runtime_interface::reinit_tasks(T::ProcessingTasksAmount::get()); + sp_io::storage::set(MAIN_KEY, MAIN_VALUE); + let unsorted = vec![9, 7, 5, 3, 2, 1]; let handle = gear_tasks::spawn( |mut payload| { let bank_address = ::BankAddress::get(); let balance = CurrencyOf::::free_balance(&bank_address); + assert_eq!(sp_io::storage::get(MAIN_KEY).as_deref(), Some(MAIN_VALUE)); + + sp_io::storage::set(THREAD_KEY, THREAD_VALUE); + payload.sort(); (payload, balance).encode() }, @@ -46,5 +58,7 @@ pub fn smoke() { assert_eq!(sorted, vec![1, 2, 3, 5, 7, 9]); assert_eq!(bank_balance, CurrencyOf::::minimum_balance()); + assert_eq!(sp_io::storage::get(THREAD_KEY), None); + log::info!("Bank balance: {}", bank_balance.saturated_into::()); } diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index 43efd9813bb..b181787ddee 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -114,14 +114,22 @@ where let thread_pool = self .thread_pool .as_ref() - .expect("`TaskInfo::ReInit` has never been sent"); + .expect("`TasksRunnerEvent::ReInit` has never been sent"); thread_pool.spawn_ok(async move { let mut runtime_api = client.runtime_api(); runtime_api.register_extension(GearTasksContextExt); - let overlayed_changes = overlayed_changes + let mut overlayed_changes = overlayed_changes .downcast::>>() - .expect("`Externalities::gear_overlayed_changes()` implementation is invalid"); + .expect( + "`Externalities::gear_overlayed_changes()` returns invalid type", + ); + // Overlayed changes enter runtime mode in `StateMachine::execute()` + // so we definitely want to exit from it before `execute_task()` tries to + // enter it again. + overlayed_changes.exit_runtime().expect( + "Overlayed changes is never called in `sp_state_machine::StateMachine::execute()`", + ); runtime_api.set_overlayed_changes(*overlayed_changes); let block_hash = client.usage_info().chain.best_hash; @@ -130,8 +138,9 @@ where .execute_task(block_hash, func_ref, payload) .map_err(|e| JoinError::RuntimeApi(e.to_string())); - rx.send(res) - .expect("`TaskSpawner` dropped before task completion and `join()` on it") + rx.send(res).expect( + "`TaskSpawner` dropped before task completion and `join()` on it", + ) }); } } diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index 9e9666afd3c..f148eddefb2 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -36,6 +36,19 @@ struct BackendExternalities { overlay: OverlayedChanges>, } +impl Default for BackendExternalities { + fn default() -> Self { + let mut overlay = OverlayedChanges::default(); + // simulate actual runtime behavior + overlay.enter_runtime().unwrap(); + + Self { + extensions: Default::default(), + overlay, + } + } +} + impl BackendExternalities { fn execute_with(&mut self, f: impl FnOnce() -> R) -> R { let client = CLIENT.get().unwrap(); From 6784a9d8545e70bc874a932663128fa10b93c3b5 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 21:53:07 +0300 Subject: [PATCH 30/47] Fix `pallet_gear::impl_config!` --- pallets/gear-builtin/src/mock.rs | 2 +- pallets/gear-builtin/src/tests/bad_builtin_ids.rs | 2 +- pallets/gear-debug/src/mock.rs | 2 +- pallets/gear-scheduler/src/mock.rs | 2 +- pallets/gear/src/pallet_tests.rs | 1 + utils/gear-tasks/tests/with_client.rs | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pallets/gear-builtin/src/mock.rs b/pallets/gear-builtin/src/mock.rs index fe079721eb3..6e11b08887b 100644 --- a/pallets/gear-builtin/src/mock.rs +++ b/pallets/gear-builtin/src/mock.rs @@ -21,7 +21,7 @@ use common::{GasProvider, GasTree}; use core::cell::RefCell; use frame_support::{ construct_runtime, parameter_types, - traits::{ConstBool, ConstU32, ConstU64, FindAuthor, OnFinalize, OnInitialize}, + traits::{ConstBool, ConstU32, ConstU64, ConstU8, FindAuthor, OnFinalize, OnInitialize}, }; use frame_support_test::TestRandomness; use frame_system::{self as system, pallet_prelude::BlockNumberFor}; diff --git a/pallets/gear-builtin/src/tests/bad_builtin_ids.rs b/pallets/gear-builtin/src/tests/bad_builtin_ids.rs index 7dbf3add208..2de76271098 100644 --- a/pallets/gear-builtin/src/tests/bad_builtin_ids.rs +++ b/pallets/gear-builtin/src/tests/bad_builtin_ids.rs @@ -19,7 +19,7 @@ use crate::{self as pallet_gear_builtin, BuiltinActor, BuiltinActorError}; use frame_support::{ construct_runtime, parameter_types, - traits::{ConstBool, ConstU32, ConstU64, FindAuthor, OnFinalize, OnInitialize}, + traits::{ConstBool, ConstU32, ConstU64, ConstU8, FindAuthor, OnFinalize, OnInitialize}, }; use frame_support_test::TestRandomness; use frame_system::{self as system, pallet_prelude::BlockNumberFor}; diff --git a/pallets/gear-debug/src/mock.rs b/pallets/gear-debug/src/mock.rs index 4bcc6808f77..420a01acf1c 100644 --- a/pallets/gear-debug/src/mock.rs +++ b/pallets/gear-debug/src/mock.rs @@ -22,7 +22,7 @@ use frame_support::{ construct_runtime, dispatch::DispatchClass, parameter_types, - traits::{ConstU32, FindAuthor, Get, OnFinalize, OnInitialize}, + traits::{ConstU32, ConstU8, FindAuthor, Get, OnFinalize, OnInitialize}, weights::Weight, }; use frame_support_test::TestRandomness; diff --git a/pallets/gear-scheduler/src/mock.rs b/pallets/gear-scheduler/src/mock.rs index 609ac8cbcc8..1008aa9a192 100644 --- a/pallets/gear-scheduler/src/mock.rs +++ b/pallets/gear-scheduler/src/mock.rs @@ -23,7 +23,7 @@ use frame_support::{ dispatch::DispatchClass, pallet_prelude::*, parameter_types, - traits::{ConstU32, ConstU64, FindAuthor}, + traits::{ConstU32, ConstU64, ConstU8, FindAuthor}, weights::constants::RocksDbWeight, }; use frame_support_test::TestRandomness; diff --git a/pallets/gear/src/pallet_tests.rs b/pallets/gear/src/pallet_tests.rs index f0a2a14d1c1..b80249467fa 100644 --- a/pallets/gear/src/pallet_tests.rs +++ b/pallets/gear/src/pallet_tests.rs @@ -61,6 +61,7 @@ macro_rules! impl_config_inner { type BlockLimiter = GearGas; type Scheduler = GearScheduler; type QueueRunner = Gear; + type ProcessingTasksAmount = ConstU8<4>; type BuiltinDispatcherFactory = GearConfigBuiltinDispatcherFactory; type ProgramRentFreePeriod = RentFreePeriod; type ProgramResumeMinimalRentPeriod = ResumeMinimalPeriod; diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index f148eddefb2..c0ad454e951 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -39,7 +39,7 @@ struct BackendExternalities { impl Default for BackendExternalities { fn default() -> Self { let mut overlay = OverlayedChanges::default(); - // simulate actual runtime behavior + // emulate actual runtime behavior overlay.enter_runtime().unwrap(); Self { From f63d1385eaf270465009d077e34f6b179d1b417b Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 22:17:20 +0300 Subject: [PATCH 31/47] Fix `make pre-commit` --- common/src/auxiliary/mod.rs | 4 ++-- .../gear/src/benchmarking/tests/gear_tasks.rs | 21 +++++++++++-------- utils/gear-tasks/tests/with_client.rs | 1 - 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/common/src/auxiliary/mod.rs b/common/src/auxiliary/mod.rs index ed0d5ffb3ac..5888119db7e 100644 --- a/common/src/auxiliary/mod.rs +++ b/common/src/auxiliary/mod.rs @@ -16,7 +16,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Auxiliary implementations of the complext data structures, +//! Auxiliary implementations of the complex data structures, //! which manage important for the gear runtime storages. These //! implementations can be used in a non-wasm environment. @@ -27,7 +27,7 @@ use alloc::collections::btree_map::{BTreeMap, Entry}; /// Double key `BTreeMap`. /// -/// Basically is just a map fo the map. +/// Basically is just a map for the map. pub struct DoubleBTreeMap { inner: BTreeMap>, } diff --git a/pallets/gear/src/benchmarking/tests/gear_tasks.rs b/pallets/gear/src/benchmarking/tests/gear_tasks.rs index 009f6a720f2..c7d91bfdb92 100644 --- a/pallets/gear/src/benchmarking/tests/gear_tasks.rs +++ b/pallets/gear/src/benchmarking/tests/gear_tasks.rs @@ -16,22 +16,25 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use crate::{benchmarking::tests::utils, BalanceOf, Config, CurrencyOf}; -use alloc::{vec, vec::Vec}; -use frame_support::traits::{Currency, Get}; -use parity_scale_codec::Encode; -use sp_runtime::SaturatedConversion; +// We have to spawn a client and `GearTasksRunner` for native benchmark execution. +// Also, we anyway run the same set of tests in `gear-tasks` crate itself. +#[cfg(feature = "std")] +pub fn smoke() {} + +#[cfg(target_arch = "wasm32")] +pub fn smoke() { + use crate::{benchmarking::tests::utils, BalanceOf, CurrencyOf}; + use alloc::{vec, vec::Vec}; + use frame_support::traits::{Currency, Get}; + use parity_scale_codec::Encode; + use sp_runtime::SaturatedConversion; -pub fn smoke() { const MAIN_KEY: &[u8] = b"MAIN_KEY"; const MAIN_VALUE: &[u8] = b"MAIN_VALUE"; const THREAD_KEY: &[u8] = b"THREAD_KEY"; const THREAD_VALUE: &[u8] = b"THREAD_VALUE"; - #[cfg(feature = "std")] - utils::init_logger(); - gear_runtime_interface::reinit_tasks(T::ProcessingTasksAmount::get()); sp_io::storage::set(MAIN_KEY, MAIN_VALUE); diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index c0ad454e951..b269ac6f03c 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -30,7 +30,6 @@ use vara_runtime::{Block, ProcessingTasksAmount}; static CLIENT: OnceLock> = OnceLock::new(); -#[derive(Default)] struct BackendExternalities { extensions: Extensions, overlay: OverlayedChanges>, From 78c765942ed9ed53d33a9464dfd7bb4c6e84fde8 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 22:28:00 +0300 Subject: [PATCH 32/47] Add docs --- utils/gear-tasks/src/host.rs | 4 +++- utils/gear-tasks/src/lib.rs | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/utils/gear-tasks/src/host.rs b/utils/gear-tasks/src/host.rs index b181787ddee..24a5a5b5471 100644 --- a/utils/gear-tasks/src/host.rs +++ b/utils/gear-tasks/src/host.rs @@ -58,11 +58,13 @@ pub trait RuntimeSetOverlayedChanges { } sp_externalities::decl_extension! { - /// Set only by `GearTasksRunner` and checked by `gear_tasks::check_context()` host call, + /// Set only by `GearTasksRunner` + /// and checked by [`gear_tasks::check_context()`](crate::gear_tasks::check_context) host call, /// so no one can call API outside. pub(crate) struct GearTasksContextExt; } +/// The tasks' runner we spawn after node client creation. pub struct GearTasksRunner { runtime_api_provider: Arc, rx: mpsc::Receiver, diff --git a/utils/gear-tasks/src/lib.rs b/utils/gear-tasks/src/lib.rs index 559e7cd1117..ad6d1803beb 100644 --- a/utils/gear-tasks/src/lib.rs +++ b/utils/gear-tasks/src/lib.rs @@ -43,6 +43,9 @@ pub trait GearTasks { .expect("`GearTasks` initialized twice"); } + /// Check that nobody calls the API outside. + /// + /// Used in [`runtime_api_impl`]. fn check_context(&mut self) { self.extension::() .expect("`GearTasksApi::execute_task()` called without context"); @@ -68,8 +71,8 @@ pub trait GearTasks { } } +/// Implementation of `GearTasksApi::execute_task()`. pub fn runtime_api_impl(func_ref: u64, payload: Vec) -> Vec { - // safety check that nobody calls the API outside gear_tasks::check_context(); #[cfg(target_arch = "wasm32")] @@ -91,13 +94,16 @@ pub fn runtime_api_impl(func_ref: u64, payload: Vec) -> Vec { f(payload) } +/// Error returned from [`JoinHandle::join()`]. #[derive(Debug, Encode, Decode)] pub enum JoinError { + /// `::execute_task()` error. RuntimeApi(String), } pub type JoinResult = Result, JoinError>; +/// Handle returned from [`spawn()`]. #[must_use] #[derive(Debug, Eq, PartialEq)] pub struct JoinHandle { @@ -105,11 +111,13 @@ pub struct JoinHandle { } impl JoinHandle { + /// Wait for task completion. pub fn join(self) -> JoinResult { gear_tasks::join(self.inner) } } +/// Spawn a new task using static function and payload. pub fn spawn(f: fn(Vec) -> Vec, payload: Vec) -> JoinHandle { let inner = gear_tasks::spawn(f as usize as u64, payload); JoinHandle { inner } From 30fcf105ff229d89e9426471cab617136502920e Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 22:34:58 +0300 Subject: [PATCH 33/47] Run bench in CI --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d40ee037630..65c38afd084 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -128,6 +128,8 @@ jobs: ./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="read_big_state" --heap-pages=4096 --extra # check that signal_stack_limit_exceeded_works benchmarks works ./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="signal_stack_limit_exceeded_works" --heap-pages=4096 --extra + # check that gear-tasks works + ./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="check_gear_tasks" --heap-pages=4096 --extra # check that check/test benchmarks works ./target/${{ matrix.profiles.name }}/gear benchmark pallet --chain=dev --pallet=pallet_gear --repeat=0 --extrinsic="check_all" --heap-pages=4096 --extra From e6f0a78ef6de7c7015ca32b567ad3ee6aa874591 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Wed, 19 Jun 2024 22:40:15 +0300 Subject: [PATCH 34/47] Move `futures-executor` to root Cargo.toml --- Cargo.toml | 1 + utils/gear-tasks/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1170bcee4e8..206e8bdfd51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -127,6 +127,7 @@ environmental = "1.1.3" futures = { version = "0.3", default-features = false } futures-timer = "3.0.3" futures-util = "0.3.30" +futures-executor = "0.3.30" hashbrown = "0.14.5" hex = { version = "0.4.3", default-features = false } hex-literal = "0.4.1" diff --git a/utils/gear-tasks/Cargo.toml b/utils/gear-tasks/Cargo.toml index 471ed194243..beb5f31ce14 100644 --- a/utils/gear-tasks/Cargo.toml +++ b/utils/gear-tasks/Cargo.toml @@ -17,7 +17,7 @@ sp-api.workspace = true # std only sc-client-api = { workspace = true, optional = true } sp-state-machine = { workspace = true, optional = true, features = ["std"] } -futures-executor = { version = "0.3.30", optional = true, features = ["thread-pool"] } +futures-executor = { workspace = true, optional = true, features = ["thread-pool"] } # utility parity-scale-codec.workspace = true From c7a2f8bb18066e8028193b8f4813aa5005c5f0b4 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 20 Jun 2024 18:05:47 +0300 Subject: [PATCH 35/47] Comment out `crates-io` check --- .github/workflows/check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c06562cfd95..92350197b30 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -70,8 +70,9 @@ jobs: cargo +stable check --manifest-path utils/wasm-builder/test-program/Cargo.toml cargo +stable check --manifest-path utils/cargo-gbuild/test-program/Cargo.toml --workspace --target wasm32-unknown-unknown - - name: "Check: crates-io packages" - run: cargo +stable run --release -p crates-io check + # TODO: uncomment after PR is ready to be merged, because versions inside have to be bumped + #- name: "Check: crates-io packages" + # run: cargo +stable run --release -p crates-io check fuzzer: runs-on: [kuberunner, github-runner-01] From b42533ccd35aff1b6c0f6a5e22b7857003da5ce0 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 20 Jun 2024 22:13:28 +0300 Subject: [PATCH 36/47] Add new runtime imports --- utils/wasm-proc/src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/wasm-proc/src/main.rs b/utils/wasm-proc/src/main.rs index 0cb28647689..ec899776a51 100644 --- a/utils/wasm-proc/src/main.rs +++ b/utils/wasm-proc/src/main.rs @@ -24,7 +24,7 @@ use gear_wasm_builder::{ use parity_wasm::elements::External; use std::{collections::HashSet, fs, path::PathBuf}; -const RT_ALLOWED_IMPORTS: [&str; 75] = [ +const RT_ALLOWED_IMPORTS: [&str; 79] = [ // From `Allocator` (substrate/primitives/io/src/lib.rs) "ext_allocator_free_version_1", "ext_allocator_malloc_version_1", @@ -113,6 +113,11 @@ const RT_ALLOWED_IMPORTS: [&str; 75] = [ // From `GearBls12_381` "ext_gear_bls_12_381_aggregate_g1_version_1", "ext_gear_bls_12_381_map_to_g2affine_version_1", + // From `GearTasks` + "ext_gear_tasks_reinit_version_1", + "ext_gear_tasks_check_context_version_1", + "ext_gear_tasks_spawn_version_1", + "ext_gear_tasks_join_version_1", ]; #[derive(Debug, clap::Parser)] From cfc4ad09f09d1945fe10a5932434f5b6402922f4 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 20 Jun 2024 22:31:21 +0300 Subject: [PATCH 37/47] Run `gear-tasks` tests on other platforms --- .github/workflows/build-macos.yml | 5 +++++ .github/workflows/build-win-native.yml | 5 +++++ .github/workflows/build.yml | 7 +++++++ gsdk/tests/rpc.rs | 4 ++-- 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index b1c24545421..5cfda83e3b8 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -69,3 +69,8 @@ jobs: -p gear-lazy-pages -p gear-runtime-interface ${{ matrix.profiles.flags }} + + - name: "Test: Gear tasks" + run: >- + cargo test run -p gear-tasks + ${{ matrix.profiles.flags }} diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 5a47d48b6b4..d6d6db7f41d 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -118,3 +118,8 @@ jobs: -p gear-lazy-pages -p gear-runtime-interface ${{ matrix.profiles.flags }} + + - name: "Test: Gear tasks" + run: >- + cargo test run -p gear-tasks + ${{ matrix.profiles.flags }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65c38afd084..b21a19bfbbe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -261,6 +261,13 @@ jobs: env: CARGO_BUILD_TARGET: x86_64-pc-windows-msvc + - name: "Test: Gear tasks" + run: >- + cargo xwin test -p gear-tasks + ${{ matrix.profiles.flags }} + env: + CARGO_BUILD_TARGET: x86_64-pc-windows-msvc + win-native: needs: [dynamic-profiles, linux] if: ${{ !cancelled() && (github.ref == 'refs/heads/master' || inputs.win-native) }} diff --git a/gsdk/tests/rpc.rs b/gsdk/tests/rpc.rs index 53e2990589b..3efa40c9dfc 100644 --- a/gsdk/tests/rpc.rs +++ b/gsdk/tests/rpc.rs @@ -457,10 +457,10 @@ async fn test_calculate_reply_for_handle_does_not_change_state() -> Result<()> { ); // 5. read state after calculate - let calcualted_state = signer.api().read_state(pid_h256, vec![], None).await?; + let calculated_state = signer.api().read_state(pid_h256, vec![], None).await?; // 6. assert that state hasn't changed - assert_eq!(initial_state, calcualted_state); + assert_eq!(initial_state, calculated_state); // 7. make call signer From 3e8bec8b986ba7f4309f2d53000949df54681ddf Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Thu, 20 Jun 2024 23:28:45 +0300 Subject: [PATCH 38/47] Fix CI commands --- .github/workflows/build-macos.yml | 2 +- .github/workflows/build-win-native.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 5cfda83e3b8..25535319f75 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -72,5 +72,5 @@ jobs: - name: "Test: Gear tasks" run: >- - cargo test run -p gear-tasks + cargo test -p gear-tasks ${{ matrix.profiles.flags }} diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index d6d6db7f41d..34e465a659a 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -121,5 +121,5 @@ jobs: - name: "Test: Gear tasks" run: >- - cargo test run -p gear-tasks + cargo test -p gear-tasks ${{ matrix.profiles.flags }} From f46a54f4e6b49f1f7dc1b48500adef8ee5c0d893 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Fri, 21 Jun 2024 00:34:04 +0300 Subject: [PATCH 39/47] Revert "Run `gear-tasks` tests on other platforms" --- .github/workflows/build-macos.yml | 5 ----- .github/workflows/build-win-native.yml | 5 ----- .github/workflows/build.yml | 7 ------- 3 files changed, 17 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 25535319f75..b1c24545421 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -69,8 +69,3 @@ jobs: -p gear-lazy-pages -p gear-runtime-interface ${{ matrix.profiles.flags }} - - - name: "Test: Gear tasks" - run: >- - cargo test -p gear-tasks - ${{ matrix.profiles.flags }} diff --git a/.github/workflows/build-win-native.yml b/.github/workflows/build-win-native.yml index 34e465a659a..5a47d48b6b4 100644 --- a/.github/workflows/build-win-native.yml +++ b/.github/workflows/build-win-native.yml @@ -118,8 +118,3 @@ jobs: -p gear-lazy-pages -p gear-runtime-interface ${{ matrix.profiles.flags }} - - - name: "Test: Gear tasks" - run: >- - cargo test -p gear-tasks - ${{ matrix.profiles.flags }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b21a19bfbbe..65c38afd084 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -261,13 +261,6 @@ jobs: env: CARGO_BUILD_TARGET: x86_64-pc-windows-msvc - - name: "Test: Gear tasks" - run: >- - cargo xwin test -p gear-tasks - ${{ matrix.profiles.flags }} - env: - CARGO_BUILD_TARGET: x86_64-pc-windows-msvc - win-native: needs: [dynamic-profiles, linux] if: ${{ !cancelled() && (github.ref == 'refs/heads/master' || inputs.win-native) }} From 9a883fe402cbfcd20c7249277c2b325aaef814f6 Mon Sep 17 00:00:00 2001 From: Arsenii Lyashenko Date: Mon, 24 Jun 2024 21:54:43 +0300 Subject: [PATCH 40/47] Update Substrate --- Cargo.lock | 310 +++++++++++++------------- utils/gear-tasks/tests/with_client.rs | 12 +- 2 files changed, 164 insertions(+), 158 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 37d2f279eb0..6ab4dfb25c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3684,7 +3684,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", ] @@ -3707,7 +3707,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-support-procedural", @@ -3732,7 +3732,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3780,7 +3780,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3791,7 +3791,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3808,7 +3808,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -3850,7 +3850,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "futures", "indicatif", @@ -3871,7 +3871,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "aquamarine", "bitflags 1.3.2", @@ -3911,7 +3911,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "Inflector", "cfg-expr", @@ -3930,7 +3930,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3942,7 +3942,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "proc-macro2", "quote", @@ -3952,7 +3952,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-executive", @@ -3981,7 +3981,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -3994,7 +3994,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "cfg-if", "frame-support", @@ -4013,7 +4013,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -4028,7 +4028,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "sp-api", @@ -4037,7 +4037,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "parity-scale-codec", @@ -5073,7 +5073,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "chrono", "frame-election-provider-support", @@ -7964,7 +7964,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -7980,7 +7980,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -7994,7 +7994,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8018,7 +8018,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "aquamarine", "docify", @@ -8040,7 +8040,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8055,7 +8055,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8073,7 +8073,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8092,7 +8092,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8109,7 +8109,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8132,7 +8132,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8622,7 +8622,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -8661,7 +8661,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8681,7 +8681,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8697,7 +8697,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -8716,7 +8716,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8727,7 +8727,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -8744,7 +8744,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8761,7 +8761,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8776,7 +8776,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -8794,7 +8794,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8813,7 +8813,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "docify", "frame-benchmarking", @@ -8831,7 +8831,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -8853,7 +8853,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8876,7 +8876,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "log", "sp-arithmetic", @@ -8885,7 +8885,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "sp-api", @@ -8894,7 +8894,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "docify", "frame-benchmarking", @@ -8910,7 +8910,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "docify", "frame-benchmarking", @@ -8930,7 +8930,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-support", "frame-system", @@ -8946,7 +8946,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8962,7 +8962,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8974,7 +8974,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "docify", "frame-benchmarking", @@ -8993,7 +8993,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -9009,7 +9009,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -9024,7 +9024,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-benchmarking", "frame-support", @@ -10506,7 +10506,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10521,7 +10521,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -10551,7 +10551,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "chrono", @@ -10591,7 +10591,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "fnv", "futures", @@ -10618,7 +10618,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "hash-db", "kvdb", @@ -10644,7 +10644,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "futures", @@ -10669,7 +10669,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "fork-tree", @@ -10704,7 +10704,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10726,7 +10726,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10739,7 +10739,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10780,7 +10780,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "finality-grandpa", "futures", @@ -10800,7 +10800,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "futures", @@ -10823,7 +10823,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -10846,7 +10846,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", @@ -10858,7 +10858,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "anyhow", "cfg-if", @@ -10876,7 +10876,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "ansi_term", "futures", @@ -10892,7 +10892,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.3", @@ -10906,7 +10906,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10934,7 +10934,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -10975,7 +10975,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-channel", "cid", @@ -10995,7 +10995,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -11012,7 +11012,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "ahash 0.8.11", "futures", @@ -11030,7 +11030,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11051,7 +11051,7 @@ dependencies = [ [[package]] name = "sc-network-statement" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11069,7 +11069,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "async-channel", @@ -11104,7 +11104,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11122,7 +11122,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -11156,7 +11156,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11165,7 +11165,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -11197,7 +11197,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11217,7 +11217,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -11232,7 +11232,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11260,7 +11260,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "directories", @@ -11324,7 +11324,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "log", "parity-scale-codec", @@ -11335,7 +11335,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -11354,7 +11354,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "futures", "libc", @@ -11373,7 +11373,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "chrono", "futures", @@ -11392,7 +11392,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "ansi_term", "atty", @@ -11421,7 +11421,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11432,7 +11432,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "futures", @@ -11458,7 +11458,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "futures", @@ -11474,7 +11474,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-channel", "futures", @@ -12201,7 +12201,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "log", "parity-scale-codec", @@ -12212,7 +12212,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "hash-db", "log", @@ -12233,7 +12233,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12247,7 +12247,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "scale-info", @@ -12260,7 +12260,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "16.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "integer-sqrt", "num-traits", @@ -12274,7 +12274,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "scale-info", @@ -12287,7 +12287,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "sp-api", "sp-inherents", @@ -12298,7 +12298,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "futures", "log", @@ -12316,7 +12316,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "futures", @@ -12331,7 +12331,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "parity-scale-codec", @@ -12348,7 +12348,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "parity-scale-codec", @@ -12367,7 +12367,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "finality-grandpa", "log", @@ -12385,7 +12385,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "scale-info", @@ -12397,7 +12397,7 @@ dependencies = [ [[package]] name = "sp-core" version = "21.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -12460,7 +12460,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "blake2b_simd", "byteorder", @@ -12473,7 +12473,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "quote", "sp-core-hashing 9.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12483,7 +12483,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.4.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -12504,7 +12504,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -12513,7 +12513,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "proc-macro2", "quote", @@ -12523,7 +12523,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.19.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "environmental", "parity-scale-codec", @@ -12534,7 +12534,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "serde_json", "sp-api", @@ -12545,7 +12545,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12559,7 +12559,7 @@ dependencies = [ [[package]] name = "sp-io" version = "23.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "bytes", "ed25519-dalek", @@ -12583,7 +12583,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "lazy_static", "sp-core", @@ -12594,7 +12594,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.27.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -12606,7 +12606,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "thiserror", "zstd 0.12.4", @@ -12615,7 +12615,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.1.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", @@ -12626,7 +12626,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.1.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "scale-info", @@ -12638,7 +12638,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "scale-info", @@ -12652,7 +12652,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "sp-api", "sp-core", @@ -12662,7 +12662,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "backtrace", "lazy_static", @@ -12672,7 +12672,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "rustc-hash", "serde", @@ -12682,7 +12682,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "24.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "either", "hash256-std-hasher", @@ -12704,7 +12704,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "17.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12722,7 +12722,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "11.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12734,7 +12734,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "scale-info", @@ -12749,7 +12749,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12763,7 +12763,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.28.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "hash-db", "log", @@ -12784,7 +12784,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "aes-gcm 0.10.3", "curve25519-dalek 4.0.0", @@ -12814,12 +12814,12 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[package]] name = "sp-std" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" [[package]] name = "sp-storage" version = "13.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12832,7 +12832,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "parity-scale-codec", @@ -12845,7 +12845,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "10.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12857,7 +12857,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "sp-api", "sp-runtime", @@ -12866,7 +12866,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "parity-scale-codec", @@ -12881,7 +12881,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12905,7 +12905,7 @@ dependencies = [ [[package]] name = "sp-version" version = "22.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12922,7 +12922,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "8.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12933,7 +12933,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "14.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12948,7 +12948,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "sp-std 8.0.0 (git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks)", @@ -12958,7 +12958,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "20.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "parity-scale-codec", "scale-info", @@ -13146,12 +13146,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13170,7 +13170,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "hyper", "log", @@ -13182,7 +13182,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -13195,7 +13195,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -13212,7 +13212,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -13238,7 +13238,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "ansi_term", "build-helper", @@ -14070,7 +14070,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#0580bf615155ba7d4359e57c0bd0696bb8a0304c" +source = "git+https://github.com/gear-tech/polkadot-sdk.git?branch=al/sp-tasks#8028b07de0a108c12d4af7f01171f9adee654f58" dependencies = [ "async-trait", "clap 4.5.4", diff --git a/utils/gear-tasks/tests/with_client.rs b/utils/gear-tasks/tests/with_client.rs index b269ac6f03c..54890aef91b 100644 --- a/utils/gear-tasks/tests/with_client.rs +++ b/utils/gear-tasks/tests/with_client.rs @@ -16,7 +16,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -use gear_node_testing::client::{Client as TestClient, TestClientBuilder, TestClientBuilderExt}; +use gear_node_testing::client::{ + Client as TestClient, NativeElseWasmExecutor, TestClientBuilder, TestClientBuilderExt, + WasmExecutor, +}; use gear_tasks::GearTasksRunner; use sc_client_api::UsageProvider; use sp_api::HashingFor; @@ -83,12 +86,15 @@ pub fn init_logger() { fn new_test_ext() -> BackendExternalities { CLIENT.get_or_init(|| { - let mut client = TestClientBuilder::new().build(); + let mut executor = + NativeElseWasmExecutor::new_with_wasm_executor(WasmExecutor::builder().build()); // Substrate's `CodeExecutor::call()` has explicit flag to use native execution, // so it's applicable for `NativeElseWasmExecutor`, too. // The flag is always set to `false` in our case, so // we set it to true - client.gear_use_native(); + executor.gear_force_native(); + let client = TestClientBuilder::new().build_with_wasm_executor(Some(executor)); + let client = Arc::new(client); let runner = GearTasksRunner::new(client.clone()); From 30c21cd1aa7ae89a70b797e105e51fd6af22ffbe Mon Sep 17 00:00:00 2001 From: clearloop Date: Sun, 23 Jun 2024 15:47:49 +0800 Subject: [PATCH 41/47] feat(crates-io): try add dependencies of gear-tasks --- utils/crates-io/src/handler.rs | 5 +++-- utils/crates-io/src/lib.rs | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/utils/crates-io/src/handler.rs b/utils/crates-io/src/handler.rs index ae2bc69bb0d..508727e1a2c 100644 --- a/utils/crates-io/src/handler.rs +++ b/utils/crates-io/src/handler.rs @@ -44,6 +44,7 @@ pub fn patch(pkg: &Package) -> Result { match manifest.name.as_str() { "gear-core-processor" => core_processor::patch(doc), + "gear-tasks" => runtime_interface::patch(doc), "gear-runtime-interface" => runtime_interface::patch(doc), "gear-sandbox" => sandbox::patch(doc), "gear-sandbox-host" => sandbox_host::patch(doc), @@ -212,7 +213,7 @@ mod substrate { /// . pub fn patch_workspace(name: &str, table: &mut InlineTable) { match name { - "frame-support" | "frame-system" | "sp-core" => { + "frame-support" | "frame-system" | "sp-core" | "sc-client-api" => { table.insert("version", "22.0.0".into()); } "frame-support-test" => return, @@ -222,7 +223,7 @@ mod substrate { "sc-cli" => { table.insert("version", "0.30.0".into()); } - "sc-client-db" | "sc-service" => { + "sc-client-db" | "sc-service" | "sp-externalities" | "sp-state-machine" => { table.insert("version", "0.29.0".into()); } "sp-api" | "sp-rpc" => { diff --git a/utils/crates-io/src/lib.rs b/utils/crates-io/src/lib.rs index 6c1ae231c22..63e7089c393 100644 --- a/utils/crates-io/src/lib.rs +++ b/utils/crates-io/src/lib.rs @@ -50,12 +50,14 @@ pub const SAFE_DEPENDENCIES: [&str; 15] = [ /// Required packages with local dependencies. /// /// NOTE: DO NOT change the order of this array. -pub const STACKED_DEPENDENCIES: [&str; 13] = [ +pub const STACKED_DEPENDENCIES: [&str; 15] = [ "gcore", "gmeta", "gear-core", "gear-utils", "gear-common", + "gear-tasks-runtime-api", + "gear-tasks", "gear-sandbox-host", "gear-lazy-pages-common", "gear-lazy-pages", From 99892791aaf5c0992902a97c3a1737ecaed4d99d Mon Sep 17 00:00:00 2001 From: clearloop Date: Sun, 23 Jun 2024 16:15:27 +0800 Subject: [PATCH 42/47] ci(crates-io): enable crates-io check --- .github/workflows/check.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 92350197b30..c06562cfd95 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -70,9 +70,8 @@ jobs: cargo +stable check --manifest-path utils/wasm-builder/test-program/Cargo.toml cargo +stable check --manifest-path utils/cargo-gbuild/test-program/Cargo.toml --workspace --target wasm32-unknown-unknown - # TODO: uncomment after PR is ready to be merged, because versions inside have to be bumped - #- name: "Check: crates-io packages" - # run: cargo +stable run --release -p crates-io check + - name: "Check: crates-io packages" + run: cargo +stable run --release -p crates-io check fuzzer: runs-on: [kuberunner, github-runner-01] From 596408ba0d8159268c493403570934d4bed83f2b Mon Sep 17 00:00:00 2001 From: clearloop Date: Sun, 23 Jun 2024 16:21:39 +0800 Subject: [PATCH 43/47] ci(check): trigger checks From 89ad6a0fdf765f06b9533da89580000bc0bbcdc3 Mon Sep 17 00:00:00 2001 From: clearloop Date: Sun, 23 Jun 2024 17:17:28 +0800 Subject: [PATCH 44/47] chore(crates): upgrade frame-support to 23.0.0 --- utils/crates-io/src/handler.rs | 42 ++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/utils/crates-io/src/handler.rs b/utils/crates-io/src/handler.rs index 508727e1a2c..91e818c0ebd 100644 --- a/utils/crates-io/src/handler.rs +++ b/utils/crates-io/src/handler.rs @@ -205,8 +205,8 @@ mod substrate { /// /// Substrate packages on crates-io currently have no version management /// (), - /// the following versions are pinned to frame-support-v22.0.0 on crates-io - /// now, for + /// the following versions are pinned to frame-support-v23.0.0 on crates-io + /// now, for /// the details. /// /// NOTE: The packages inside of this function are located at @@ -214,38 +214,52 @@ mod substrate { pub fn patch_workspace(name: &str, table: &mut InlineTable) { match name { "frame-support" | "frame-system" | "sp-core" | "sc-client-api" => { - table.insert("version", "22.0.0".into()); + table.insert("version", "23.0.0".into()); } + // matching `frame-support-23.0.0` "frame-support-test" => return, + // matching `sp-core-23.0.0` "frame-benchmarking-cli" => { - table.insert("version", "26.0.0".into()); + table.insert("version", "27.0.0".into()); } + // matching `sp-core-23.0.0` "sc-cli" => { - table.insert("version", "0.30.0".into()); + table.insert("version", "0.31.0".into()); } - "sc-client-db" | "sc-service" | "sp-externalities" | "sp-state-machine" => { - table.insert("version", "0.29.0".into()); + // matching `sp-core-23.0.0` + "sp-state-machine" | "sc-client-db" | "sc-service" => { + table.insert("version", "0.30.0".into()); } + // matching `sp-core-23.0.0` "sp-api" | "sp-rpc" => { - table.insert("version", "20.0.0".into()); + table.insert("version", "21.0.0".into()); } + // matching `sp-core-23.0.0` + "sp-externalities" => { + table.insert("version", "0.21.0".into()); + } + // matching `frame-support-23.0.0` "sp-arithmetic" => { - table.insert("version", "17.0.0".into()); + table.insert("version", "18.0.0".into()); } + // matching `sp-core-23.0.0` "sp-debug-derive" | "sp-std" => { - table.insert("version", "9.0.0".into()); + table.insert("version", "10.0.0".into()); } + // matching `sp-core-23.0.0` "sp-io" => { - table.insert("version", "24.0.0".into()); + table.insert("version", "25.0.0".into()); } + // matching `sp-core-23.0.0` "sp-runtime" => { - table.insert("version", "25.0.0".into()); + table.insert("version", "26.0.0".into()); } + // matching `sp-runtime-26.0.0` "sp-version" => { - table.insert("version", "23.0.0".into()); + table.insert("version", "24.0.0".into()); } "sp-weights" => { - table.insert("version", "21.0.0".into()); + table.insert("version", "22.0.0".into()); } "try-runtime-cli" => { table.insert("version", "0.32.0".into()); From 789b0ca11c11a08285cb18620d873ecf16441dbe Mon Sep 17 00:00:00 2001 From: clearloop Date: Sun, 23 Jun 2024 19:24:04 +0800 Subject: [PATCH 45/47] feat(crates-io): upgrade sp-runtime-interface --- utils/crates-io/src/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/crates-io/src/handler.rs b/utils/crates-io/src/handler.rs index 91e818c0ebd..c8f0a370470 100644 --- a/utils/crates-io/src/handler.rs +++ b/utils/crates-io/src/handler.rs @@ -24,7 +24,7 @@ use cargo_metadata::Package; use toml_edit::DocumentMut; /// The working version of sp-wasm-interface. -pub const GP_RUNTIME_INTERFACE_VERSION: &str = "18.0.0"; +pub const GP_RUNTIME_INTERFACE_VERSION: &str = "19.0.0-pre.0"; /// Get the crates-io name of the provided package. pub fn crates_io_name(pkg: &str) -> &str { From 645b70018945aa7c727d33dd3b87c890e244ec31 Mon Sep 17 00:00:00 2001 From: clearloop Date: Sun, 23 Jun 2024 21:17:24 +0800 Subject: [PATCH 46/47] chore(crates-io): upgrade gp-externalities --- utils/crates-io/src/handler.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/utils/crates-io/src/handler.rs b/utils/crates-io/src/handler.rs index c8f0a370470..265e18d3c32 100644 --- a/utils/crates-io/src/handler.rs +++ b/utils/crates-io/src/handler.rs @@ -24,7 +24,10 @@ use cargo_metadata::Package; use toml_edit::DocumentMut; /// The working version of sp-wasm-interface. -pub const GP_RUNTIME_INTERFACE_VERSION: &str = "19.0.0-pre.0"; +pub const GP_RUNTIME_INTERFACE_VERSION: &str = "19.0.0-pre.1"; + +/// The working version of gp-externalities. +pub const GP_EXTERNALITIES_VERSION: &str = "0.21.0-pre.1"; /// Get the crates-io name of the provided package. pub fn crates_io_name(pkg: &str) -> &str { @@ -198,7 +201,7 @@ mod sandbox_host { /// substrate handler. mod substrate { - use super::GP_RUNTIME_INTERFACE_VERSION; + use super::{GP_EXTERNALITIES_VERSION, GP_RUNTIME_INTERFACE_VERSION}; use toml_edit::InlineTable; /// Patch the substrate packages in the manifest of workspace. @@ -236,7 +239,9 @@ mod substrate { } // matching `sp-core-23.0.0` "sp-externalities" => { - table.insert("version", "0.21.0".into()); + // table.insert("version", "0.21.0".into()); + table.insert("version", GP_EXTERNALITIES_VERSION.into()); + table.insert("package", "gp-externalities".into()); } // matching `frame-support-23.0.0` "sp-arithmetic" => { From 2414b6f867def373a03f3498fbb1c4a795bb52bc Mon Sep 17 00:00:00 2001 From: clearloop Date: Sun, 23 Jun 2024 22:15:29 +0800 Subject: [PATCH 47/47] feat(crates-io): upgrade frame-support to 25.0.0 --- utils/crates-io/src/handler.rs | 54 ++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/utils/crates-io/src/handler.rs b/utils/crates-io/src/handler.rs index 265e18d3c32..0ffd3730b91 100644 --- a/utils/crates-io/src/handler.rs +++ b/utils/crates-io/src/handler.rs @@ -24,10 +24,10 @@ use cargo_metadata::Package; use toml_edit::DocumentMut; /// The working version of sp-wasm-interface. -pub const GP_RUNTIME_INTERFACE_VERSION: &str = "19.0.0-pre.1"; +pub const GP_RUNTIME_INTERFACE_VERSION: &str = "22.0.0-pre.1"; /// The working version of gp-externalities. -pub const GP_EXTERNALITIES_VERSION: &str = "0.21.0-pre.1"; +pub const GP_EXTERNALITIES_VERSION: &str = "0.23.0-pre.1"; /// Get the crates-io name of the provided package. pub fn crates_io_name(pkg: &str) -> &str { @@ -217,57 +217,59 @@ mod substrate { pub fn patch_workspace(name: &str, table: &mut InlineTable) { match name { "frame-support" | "frame-system" | "sp-core" | "sc-client-api" => { - table.insert("version", "23.0.0".into()); + table.insert("version", "25.0.0".into()); } - // matching `frame-support-23.0.0` + // matching `frame-support-25.0.0` "frame-support-test" => return, - // matching `sp-core-23.0.0` + // matching `frame-support-25.0.0` "frame-benchmarking-cli" => { - table.insert("version", "27.0.0".into()); + table.insert("version", "29.0.0".into()); } - // matching `sp-core-23.0.0` + // matching `sp-core-25.0.0` "sc-cli" => { - table.insert("version", "0.31.0".into()); + table.insert("version", "0.33.0".into()); } - // matching `sp-core-23.0.0` + // matching `sp-core-25.0.0` "sp-state-machine" | "sc-client-db" | "sc-service" => { - table.insert("version", "0.30.0".into()); + table.insert("version", "0.32.0".into()); } - // matching `sp-core-23.0.0` + // matching `sp-core-25.0.0` "sp-api" | "sp-rpc" => { - table.insert("version", "21.0.0".into()); + table.insert("version", "23.0.0".into()); } - // matching `sp-core-23.0.0` + // matching `sp-core-25.0.0` "sp-externalities" => { - // table.insert("version", "0.21.0".into()); + // table.insert("version", "0.23.0".into()); table.insert("version", GP_EXTERNALITIES_VERSION.into()); table.insert("package", "gp-externalities".into()); } - // matching `frame-support-23.0.0` + // matching `frame-support-25.0.0` "sp-arithmetic" => { - table.insert("version", "18.0.0".into()); + table.insert("version", "20.0.0".into()); } - // matching `sp-core-23.0.0` + // matching `sp-core-25.0.0` "sp-debug-derive" | "sp-std" => { - table.insert("version", "10.0.0".into()); + table.insert("version", "12.0.0".into()); } - // matching `sp-core-23.0.0` + // matching `sp-core-25.0.0` "sp-io" => { - table.insert("version", "25.0.0".into()); + table.insert("version", "27.0.0".into()); } - // matching `sp-core-23.0.0` + // matching `sp-core-25.0.0` "sp-runtime" => { - table.insert("version", "26.0.0".into()); + table.insert("version", "28.0.0".into()); } - // matching `sp-runtime-26.0.0` + // matching `sp-runtime-28.0.0` "sp-version" => { - table.insert("version", "24.0.0".into()); + table.insert("version", "26.0.0".into()); } + // matching `sp-core-25.0.0` "sp-weights" => { - table.insert("version", "22.0.0".into()); + table.insert("version", "24.0.0".into()); } + // matching `sp-core-25.0.0` "try-runtime-cli" => { - table.insert("version", "0.32.0".into()); + table.insert("version", "0.35.0".into()); } // sp-allocator is outdated on crates.io, last // 3.0.0 forever, here we use gp-allocator instead.