From e8a7ea6549f3d862f09690550c4acae355b626c6 Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 10 Jan 2022 22:20:26 +0800 Subject: [PATCH 01/46] use master branch --- Cargo.lock | 1682 ++++++++++------- Cargo.toml | 354 ++-- ecosystem-modules/compound-cash/Cargo.toml | 12 +- ecosystem-modules/compound-cash/src/mock.rs | 1 + ecosystem-modules/ren/renvm-bridge/Cargo.toml | 14 +- .../ren/renvm-bridge/src/mock.rs | 1 + ecosystem-modules/starport/Cargo.toml | 14 +- ecosystem-modules/starport/src/mock.rs | 1 + inspect/Cargo.toml | 12 +- modules/asset-registry/Cargo.toml | 22 +- modules/asset-registry/src/mock.rs | 1 + modules/auction-manager/Cargo.toml | 14 +- modules/auction-manager/src/mock.rs | 1 + modules/cdp-engine/Cargo.toml | 18 +- modules/cdp-engine/src/mock.rs | 1 + modules/cdp-treasury/Cargo.toml | 14 +- modules/cdp-treasury/src/mock.rs | 1 + modules/collator-selection/Cargo.toml | 32 +- modules/currencies/Cargo.toml | 18 +- modules/currencies/src/mock.rs | 1 + modules/dex/Cargo.toml | 18 +- modules/dex/src/mock.rs | 1 + modules/emergency-shutdown/Cargo.toml | 14 +- modules/emergency-shutdown/src/mock.rs | 1 + modules/evm-accounts/Cargo.toml | 14 +- modules/evm-accounts/src/mock.rs | 1 + modules/evm-bridge/Cargo.toml | 16 +- modules/evm-bridge/src/mock.rs | 1 + modules/evm-utiltity/Cargo.toml | 2 +- modules/evm/Cargo.toml | 16 +- modules/evm/rpc/Cargo.toml | 20 +- modules/evm/rpc/runtime_api/Cargo.toml | 8 +- modules/evm/src/lib.rs | 18 +- modules/evm/src/mock.rs | 1 + modules/example/Cargo.toml | 10 +- modules/example/src/mock.rs | 1 + modules/homa-lite/Cargo.toml | 28 +- modules/homa-lite/src/mock.rs | 1 + modules/homa-validator-list/Cargo.toml | 14 +- modules/homa-validator-list/src/mock.rs | 1 + modules/homa/Cargo.toml | 18 +- modules/homa/src/mock.rs | 1 + modules/honzon/Cargo.toml | 16 +- modules/honzon/src/mock.rs | 1 + modules/idle-scheduler/Cargo.toml | 12 +- modules/idle-scheduler/src/mock.rs | 1 + modules/incentives/Cargo.toml | 14 +- modules/incentives/src/mock.rs | 1 + modules/loans/Cargo.toml | 14 +- modules/loans/src/mock.rs | 1 + modules/nft/Cargo.toml | 20 +- modules/nft/src/benchmarking.rs | 1 + modules/nft/src/mock.rs | 1 + modules/nominees-election/Cargo.toml | 14 +- modules/nominees-election/src/mock.rs | 1 + modules/prices/Cargo.toml | 12 +- modules/prices/src/mock.rs | 1 + modules/relaychain/Cargo.toml | 16 +- modules/session-manager/Cargo.toml | 14 +- modules/session-manager/src/mock.rs | 1 + modules/support/Cargo.toml | 12 +- modules/transaction-pause/Cargo.toml | 14 +- modules/transaction-pause/src/mock.rs | 1 + modules/transaction-payment/Cargo.toml | 24 +- modules/transaction-payment/src/lib.rs | 69 +- modules/transaction-payment/src/mock.rs | 1 + node/cli/Cargo.toml | 30 +- node/cli/src/command.rs | 27 +- node/e2e-tests/Cargo.toml | 54 +- node/e2e-tests/test-runner/Cargo.toml | 70 +- node/e2e-tests/test-runner/src/client.rs | 1 + .../test-runner/src/host_functions.rs | 8 + node/e2e-tests/test-runner/src/node.rs | 6 +- node/e2e-tests/test-runner/src/utils.rs | 1 + node/service/Cargo.toml | 102 +- node/service/src/chain_spec/acala.rs | 2 +- node/service/src/chain_spec/karura.rs | 2 +- node/service/src/chain_spec/mandala.rs | 11 +- node/service/src/lib.rs | 131 +- orml | 2 +- primitives/Cargo.toml | 12 +- primitives/src/signature.rs | 22 +- rpc/Cargo.toml | 20 +- runtime/acala/Cargo.toml | 112 +- runtime/acala/src/lib.rs | 13 +- runtime/common/Cargo.toml | 34 +- runtime/common/src/lib.rs | 26 +- runtime/integration-tests/Cargo.toml | 120 +- runtime/karura/Cargo.toml | 112 +- runtime/karura/src/lib.rs | 13 +- runtime/mandala/Cargo.toml | 122 +- runtime/mandala/src/lib.rs | 13 +- 92 files changed, 2045 insertions(+), 1702 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8d5ad8e500..4b0d5da029 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,7 @@ version = "2.1.3" dependencies = [ "acala-cli", "acala-service", - "futures 0.3.18", + "futures 0.3.19", "parity-util-mem", ] @@ -233,11 +233,13 @@ dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", + "cumulus-relay-chain-local", "cumulus-test-relay-sproof-builder", "ecosystem-renvm-bridge", "frame-benchmarking", "frame-system-rpc-runtime-api", - "futures 0.3.18", + "futures 0.3.19", "hex-literal", "jsonrpc-core", "karura-runtime", @@ -322,7 +324,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" dependencies = [ - "generic-array 0.14.4", + "generic-array 0.14.5", ] [[package]] @@ -388,9 +390,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.51" +version = "1.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b26702f315f53b6071259e15dd9d64528213b44d61de1ec926eca7715d62203" +checksum = "84450d0b4a8bd1ba4144ce8ce718fbc5d071358b1e5384bace6536b3d1f2d5b3" [[package]] name = "approx" @@ -568,7 +570,7 @@ dependencies = [ "memchr", "num_cpus", "once_cell", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", "pin-utils", "slab", "wasm-bindgen-futures", @@ -596,9 +598,9 @@ checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" [[package]] name = "async-trait" -version = "0.1.51" +version = "0.1.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e" +checksum = "061a7acccaa286c011ddc30970520b98fa40e00c9d644633fb26b5fc63a265e3" dependencies = [ "proc-macro2", "quote", @@ -615,7 +617,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", ] [[package]] @@ -628,7 +630,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", ] [[package]] @@ -714,14 +716,15 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "beefy-primitives", "fnv", - "futures 0.3.18", + "futures 0.3.19", "log", "parity-scale-codec", "parking_lot 0.11.2", + "sc-chain-spec", "sc-client-api", "sc-keystore", "sc-network", @@ -742,32 +745,36 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "beefy-gadget", "beefy-primitives", - "futures 0.3.18", + "derive_more", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", "jsonrpc-pubsub", "log", "parity-scale-codec", + "parking_lot 0.11.2", "sc-rpc", + "sc-utils", "serde", "sp-core", "sp-runtime", + "thiserror", ] [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -916,7 +923,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ "block-padding 0.2.1", - "generic-array 0.14.4", + "generic-array 0.14.5", +] + +[[package]] +name = "block-buffer" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1d36a02058e76b040de25a4464ba1c80935655595b661505c8b39b664828b95" +dependencies = [ + "generic-array 0.14.5", ] [[package]] @@ -950,9 +966,9 @@ dependencies = [ [[package]] name = "bounded-vec" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afdd1dffefe5fc66262a524b91087c43b16e478b2e3dc49eb11b0e2fd6b6ec90" +checksum = "b47cca82fca99417fe405f09d93bb8fff90bdd03d13c631f18096ee123b4281c" dependencies = [ "thiserror", ] @@ -960,7 +976,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "finality-grandpa", "frame-support", @@ -976,7 +992,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-runtime", "frame-support", @@ -988,7 +1004,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitvec", "bp-runtime", @@ -1004,7 +1020,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-messages", "bp-runtime", @@ -1019,25 +1035,10 @@ dependencies = [ "sp-version", ] -[[package]] -name = "bp-rialto" -version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" -dependencies = [ - "bp-messages", - "bp-runtime", - "frame-support", - "frame-system", - "sp-api", - "sp-core", - "sp-runtime", - "sp-std", -] - [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1054,7 +1055,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "frame-support", "hash-db", @@ -1072,7 +1073,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -1087,7 +1088,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1102,7 +1103,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -1154,9 +1155,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.8.0" +version = "3.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f1e260c3a9040a7c19a12468758f4c16f31a81a1fe087482be9570ec864bb6c" +checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899" [[package]] name = "byte-slice-cast" @@ -1194,9 +1195,9 @@ checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" [[package]] name = "cache-padded" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba" +checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" [[package]] name = "camino" @@ -1320,7 +1321,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" dependencies = [ - "generic-array 0.14.4", + "generic-array 0.14.5", ] [[package]] @@ -1406,9 +1407,9 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] name = "cpp_demangle" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "931ab2a3e6330a07900b8e7ca4e106cdcbb93f2b9a52df55e54ee53d8305b55d" +checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" dependencies = [ "cfg-if 1.0.0", ] @@ -1532,9 +1533,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" +checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa" dependencies = [ "cfg-if 1.0.0", "crossbeam-utils", @@ -1553,9 +1554,9 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.5" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" +checksum = "97242a70df9b89a65d0b6df3c4bf5b9ce03c5b7309019777fbde37e7537f8762" dependencies = [ "cfg-if 1.0.0", "crossbeam-utils", @@ -1566,9 +1567,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" +checksum = "cfcae03edb34f947e64acdb1c33ec169824e20657e9ecb61cef6c8c74dcb8120" dependencies = [ "cfg-if 1.0.0", "lazy_static", @@ -1580,13 +1581,22 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +[[package]] +name = "crypto-common" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683d6b536309245c849479fba3da410962a43ed8e51c26b729208ec0ac2798d0" +dependencies = [ + "generic-array 0.14.5", +] + [[package]] name = "crypto-mac" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ - "generic-array 0.14.4", + "generic-array 0.14.5", "subtle", ] @@ -1596,7 +1606,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" dependencies = [ - "generic-array 0.14.4", + "generic-array 0.14.5", "subtle", ] @@ -1642,7 +1652,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "sc-cli", "sc-service", @@ -1652,12 +1662,13 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", "cumulus-primitives-core", - "futures 0.3.18", + "cumulus-relay-chain-interface", + "futures 0.3.19", "parity-scale-codec", "parking_lot 0.10.2", "polkadot-node-primitives", @@ -1675,14 +1686,13 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", - "polkadot-client", "sc-client-api", "sc-consensus", "sc-consensus-aura", @@ -1705,11 +1715,12 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "async-trait", + "cumulus-relay-chain-interface", "dyn-clone", - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", "polkadot-primitives", "sc-client-api", @@ -1725,14 +1736,14 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "async-trait", "cumulus-client-consensus-common", "cumulus-primitives-core", - "futures 0.3.18", + "cumulus-relay-chain-interface", + "futures 0.3.19", "parking_lot 0.10.2", - "polkadot-client", "sc-client-api", "sc-consensus", "sp-api", @@ -1749,14 +1760,15 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ + "async-trait", + "cumulus-relay-chain-interface", "derive_more", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "parity-scale-codec", - "parking_lot 0.10.2", - "polkadot-client", + "parking_lot 0.11.2", "polkadot-node-primitives", "polkadot-parachain", "polkadot-primitives", @@ -1766,17 +1778,19 @@ dependencies = [ "sp-consensus", "sp-core", "sp-runtime", + "sp-state-machine", "tracing", ] [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", - "futures 0.3.18", - "futures-timer 3.0.2", + "cumulus-relay-chain-interface", + "futures 0.3.19", + "futures-timer", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -1795,17 +1809,17 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", "cumulus-client-pov-recovery", "cumulus-primitives-core", + "cumulus-relay-chain-interface", "parity-scale-codec", "parking_lot 0.10.2", "polkadot-overseer", "polkadot-primitives", - "polkadot-service", "sc-chain-spec", "sc-client-api", "sc-consensus", @@ -1824,7 +1838,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "frame-executive", "frame-support", @@ -1842,7 +1856,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1860,7 +1874,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -1889,7 +1903,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -1900,7 +1914,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1917,7 +1931,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1935,7 +1949,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "frame-support", "impl-trait-for-tuples 0.2.1", @@ -1952,13 +1966,13 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "async-trait", "cumulus-primitives-core", + "cumulus-relay-chain-interface", "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "polkadot-client", "sc-client-api", "scale-info", "sp-api", @@ -1967,6 +1981,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-std", + "sp-storage", "sp-trie", "tracing", ] @@ -1974,7 +1989,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -1985,7 +2000,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1999,10 +2014,56 @@ dependencies = [ "xcm", ] +[[package]] +name = "cumulus-relay-chain-interface" +version = "0.1.0" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "derive_more", + "parking_lot 0.11.2", + "polkadot-overseer", + "sc-client-api", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "sp-state-machine", +] + +[[package]] +name = "cumulus-relay-chain-local" +version = "0.1.0" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +dependencies = [ + "async-trait", + "cumulus-primitives-core", + "cumulus-relay-chain-interface", + "futures 0.3.19", + "futures-timer", + "parking_lot 0.11.2", + "polkadot-client", + "polkadot-service", + "sc-client-api", + "sc-consensus-babe", + "sc-network", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", + "tracing", +] + [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2103,7 +2164,18 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.4", + "generic-array 0.14.5", +] + +[[package]] +name = "digest" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b697d66081d42af4fba142d56918a3cb21dc8eb63372c6b85d14f44fb9c5979b" +dependencies = [ + "block-buffer 0.10.0", + "crypto-common", + "generic-array 0.14.5", ] [[package]] @@ -2319,7 +2391,7 @@ dependencies = [ "ed25519", "rand 0.7.3", "serde", - "sha2 0.9.8", + "sha2 0.9.9", "zeroize", ] @@ -2579,7 +2651,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", ] [[package]] @@ -2596,9 +2668,9 @@ checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fastrand" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b394ed3d285a429378d3b384b9eb1285267e7df4b166df24b7a6939a04dc392e" +checksum = "779d043b6a0b90cc4c0ed7ee380a6504394cee7efd7db050e3774eee387324b2" dependencies = [ "instant", ] @@ -2629,8 +2701,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8ac3ff5224ef91f3c97e03eb1de2db82743427e91aaa5ac635f454f0b164f5a" dependencies = [ "either", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "log", "num-traits", "parity-scale-codec", @@ -2652,9 +2724,9 @@ dependencies = [ [[package]] name = "fixedbitset" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "398ea4fabe40b9b0d885340a2a991a44c8a645624075ad966d21f88688e2b69e" +checksum = "279fb028e20b3c4c320317955b77c5e0c9701f05a1d309905d6fc702cdc5053e" [[package]] name = "flate2" @@ -2678,7 +2750,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", ] @@ -2696,7 +2768,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -2706,6 +2778,7 @@ dependencies = [ "paste", "scale-info", "sp-api", + "sp-application-crypto", "sp-io", "sp-runtime", "sp-runtime-interface", @@ -2716,7 +2789,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "Inflector", "chrono", @@ -2742,7 +2815,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -2756,7 +2829,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -2784,7 +2857,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "bitflags", "frame-metadata", @@ -2813,7 +2886,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2825,7 +2898,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -2837,7 +2910,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro2", "quote", @@ -2847,7 +2920,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "log", @@ -2864,7 +2937,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -2879,7 +2952,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "sp-api", @@ -2888,7 +2961,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "sp-api", @@ -2960,9 +3033,9 @@ checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678" [[package]] name = "futures" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd0210d8c325c245ff06fd95a3b13689a1a276ac8cfa8e8720cb840bfb84b9e" +checksum = "28560757fe2bb34e79f907794bb6b22ae8b0e5c669b638a1132f2592b19035b4" dependencies = [ "futures-channel", "futures-core", @@ -2975,9 +3048,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fc8cd39e3dbf865f7340dce6a2d401d24fd37c6fe6c4f0ee0de8bfca2252d27" +checksum = "ba3dda0b6588335f360afc675d0564c17a77a2bda81ca178a4b6081bd86c7f0b" dependencies = [ "futures-core", "futures-sink", @@ -2985,15 +3058,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "629316e42fe7c2a0b9a65b47d159ceaa5453ab14e8f0a3c5eedbb8cd55b4a445" +checksum = "d0c8ff0461b82559810cdccfde3215c3f373807f5e5232b71479bff7bb2583d7" [[package]] name = "futures-executor" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b808bf53348a36cab739d7e04755909b9fcaaa69b7d7e588b37b6ec62704c97" +checksum = "29d6d2ff5bb10fb95c85b8ce46538a2e5f5e7fdc755623a7d4529ab8a4ed9d2a" dependencies = [ "futures-core", "futures-task", @@ -3003,9 +3076,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e481354db6b5c353246ccf6a728b0c5511d752c08da7260546fc0933869daa11" +checksum = "b1f9d34af5a1aac6fb380f735fe510746c38067c5bf16c7fd250280503c971b2" [[package]] name = "futures-lite" @@ -3018,15 +3091,15 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", "waker-fn", ] [[package]] name = "futures-macro" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a89f17b21645bc4ed773c69af9c9a0effd4a3f1a3876eadd453469f8854e7fdd" +checksum = "6dbd947adfffb0efc70599b3ddcf7b5597bb5fa9e245eb99f62b3a5f7bb8bd3c" dependencies = [ "proc-macro2", "quote", @@ -3046,21 +3119,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "996c6442437b62d21a32cd9906f9c41e7dc1e19a9579843fad948696769305af" +checksum = "e3055baccb68d74ff6480350f8d6eb8fcfa3aa11bdc1a1ae3afdd0514617d508" [[package]] name = "futures-task" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dabf1872aaab32c886832f2276d2f5399887e2bd613698a02359e4ea83f8de12" - -[[package]] -name = "futures-timer" -version = "2.0.2" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1de7508b218029b0f01662ed8f61b1c964b3ae99d6f25462d0f55a595109df6" +checksum = "6ee7c6485c30167ce4dfb83ac568a849fe53274c831081476ee13e0dce1aad72" [[package]] name = "futures-timer" @@ -3070,9 +3137,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d22213122356472061ac0f1ab2cee28d2bac8491410fd68c2af53d1cedb83e" +checksum = "d9b5cf40b47a271f77a8b1bec03ca09044d99d2372c0de244e66430761127164" dependencies = [ "futures 0.1.31", "futures-channel", @@ -3082,7 +3149,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", "pin-utils", "slab", ] @@ -3098,9 +3165,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.4" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817" +checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803" dependencies = [ "typenum", "version_check", @@ -3178,9 +3245,9 @@ dependencies = [ [[package]] name = "gloo-timers" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47204a46aaff920a1ea58b11d03dec6f704287d27561724a4631e450654a891f" +checksum = "6f16c88aa13d2656ef20d1c042086b8767bbe2bdb62526894275a1b062161b2e" dependencies = [ "futures-channel", "futures-core", @@ -3191,9 +3258,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.7" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fd819562fcebdac5afc5c113c3ec36f902840b70fd4fc458799c8ce4607ae55" +checksum = "0c9de88456263e249e241fcd211d3954e2c9b0ef7ccfc235a444eb367cae3689" dependencies = [ "bytes 1.1.0", "fnv", @@ -3210,9 +3277,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.1.5" +version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad84da8f63da982543fc85fcabaee2ad1fdd809d99d64a48887e2e942ddfe46" +checksum = "2483bce82dd3ed52509d0117e4a30a488bd608be250ed7a0185301314239ed31" dependencies = [ "log", "pest", @@ -3309,7 +3376,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" dependencies = [ "digest 0.9.0", - "generic-array 0.14.4", + "generic-array 0.14.5", "hmac 0.8.1", ] @@ -3326,13 +3393,13 @@ dependencies = [ [[package]] name = "http" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1323096b05d41827dadeaee54c9981958c0f94e670bc94ed80037d1a7b8b186b" +checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03" dependencies = [ "bytes 1.1.0", "fnv", - "itoa", + "itoa 1.0.1", ] [[package]] @@ -3343,7 +3410,7 @@ checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" dependencies = [ "bytes 1.1.0", "http", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", ] [[package]] @@ -3375,9 +3442,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.15" +version = "0.14.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436ec0091e4f20e655156a30a0df3770fe2900aa301e548e08446ec794b6953c" +checksum = "b7ec3e62bdc98a2f0393a5048e4c30ef659440ea6e0e572965103e72bd836f55" dependencies = [ "bytes 1.1.0", "futures-channel", @@ -3388,8 +3455,8 @@ dependencies = [ "http-body", "httparse", "httpdate", - "itoa", - "pin-project-lite 0.2.7", + "itoa 0.4.8", + "pin-project-lite 0.2.8", "socket2 0.4.2", "tokio", "tower-service", @@ -3464,7 +3531,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179" dependencies = [ "async-io", - "futures 0.3.18", + "futures 0.3.19", "futures-lite", "if-addrs", "ipnet", @@ -3493,9 +3560,9 @@ dependencies = [ [[package]] name = "impl-serde" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b47ca4d2b6931707a55fce5cf66aff80e2178c8b63bbb4ecb5695cbc870ddf6f" +checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" dependencies = [ "serde", ] @@ -3524,9 +3591,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" +checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223" dependencies = [ "autocfg", "hashbrown", @@ -3544,9 +3611,9 @@ dependencies = [ [[package]] name = "integer-encoding" -version = "1.1.7" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48dc51180a9b377fd75814d0cc02199c20f8e99433d6762f650d39cdbbd3b56f" +checksum = "90c11140ffea82edce8dcd74137ce9324ec24b3cf0175fc9d7e29164da9915b8" [[package]] name = "integer-sqrt" @@ -3557,16 +3624,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "intervalier" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275" -dependencies = [ - "futures 0.3.18", - "futures-timer 2.0.2", -] - [[package]] name = "io-lifetimes" version = "0.3.3" @@ -3612,9 +3669,9 @@ checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9" [[package]] name = "itertools" -version = "0.10.1" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" +checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" dependencies = [ "either", ] @@ -3625,6 +3682,12 @@ version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" +[[package]] +name = "itoa" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" + [[package]] name = "jobserver" version = "0.1.24" @@ -3650,7 +3713,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" dependencies = [ "derive_more", - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-pubsub", "log", @@ -3665,7 +3728,7 @@ version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "futures-executor", "futures-util", "log", @@ -3680,7 +3743,7 @@ version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-client-transports", ] @@ -3702,7 +3765,7 @@ version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "hyper", "jsonrpc-core", "jsonrpc-server-utils", @@ -3718,7 +3781,7 @@ version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-server-utils", "log", @@ -3733,7 +3796,7 @@ version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "lazy_static", "log", @@ -3749,7 +3812,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4" dependencies = [ "bytes 1.1.0", - "futures 0.3.18", + "futures 0.3.19", "globset", "jsonrpc-core", "lazy_static", @@ -3766,7 +3829,7 @@ version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-server-utils", "log", @@ -3839,11 +3902,11 @@ dependencies = [ "arrayvec 0.7.2", "async-trait", "fnv", - "futures 0.3.18", + "futures 0.3.19", "http", "jsonrpsee-types", "log", - "pin-project 1.0.8", + "pin-project 1.0.10", "rustls-native-certs", "serde", "serde_json", @@ -3981,7 +4044,7 @@ dependencies = [ [[package]] name = "kusama-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "beefy-primitives", "bitvec", @@ -3994,6 +4057,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal", + "kusama-runtime-constants", "log", "pallet-authority-discovery", "pallet-authorship", @@ -4016,6 +4080,7 @@ dependencies = [ "pallet-nicks", "pallet-offences", "pallet-offences-benchmarking", + "pallet-preimage", "pallet-proxy", "pallet-recovery", "pallet-scheduler", @@ -4064,6 +4129,18 @@ dependencies = [ "xcm-executor", ] +[[package]] +name = "kusama-runtime-constants" +version = "0.9.13" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +dependencies = [ + "frame-support", + "polkadot-primitives", + "polkadot-runtime-common", + "smallvec", + "sp-runtime", +] + [[package]] name = "kv-log-macro" version = "1.0.7" @@ -4126,9 +4203,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.108" +version = "0.2.112" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8521a1b57e76b1ec69af7599e75e38e7b7fad6610f037db8c79b127201b5d119" +checksum = "1b03d17f364a3a042d5e5d46b053bbbf82c92c9430c592dd4c064dc6ee997125" [[package]] name = "libloading" @@ -4164,7 +4241,7 @@ checksum = "3bec54343492ba5940a6c555e512c6721139835d28c59bc22febece72dfd0d9d" dependencies = [ "atomic", "bytes 1.1.0", - "futures 0.3.18", + "futures 0.3.19", "lazy_static", "libp2p-core", "libp2p-deflate", @@ -4192,7 +4269,7 @@ dependencies = [ "libp2p-yamux", "multiaddr", "parking_lot 0.11.2", - "pin-project 1.0.8", + "pin-project 1.0.10", "smallvec", "wasm-timer", ] @@ -4208,8 +4285,8 @@ dependencies = [ "ed25519-dalek", "either", "fnv", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "lazy_static", "libsecp256k1 0.7.0", "log", @@ -4217,13 +4294,13 @@ dependencies = [ "multihash 0.14.0", "multistream-select", "parking_lot 0.11.2", - "pin-project 1.0.8", + "pin-project 1.0.10", "prost", "prost-build", "rand 0.8.4", "ring", "rw-stream-sink", - "sha2 0.9.8", + "sha2 0.9.9", "smallvec", "thiserror", "unsigned-varint 0.7.1", @@ -4238,7 +4315,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51a800adb195f33de63f4b17b63fe64cfc23bf2c6a0d3d0d5321328664e65197" dependencies = [ "flate2", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", ] @@ -4249,7 +4326,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb8f89d15cb6e3c5bc22afff7513b11bab7856f2872d3cfba86f7f63a06bc498" dependencies = [ "async-std-resolver", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "log", "smallvec", @@ -4264,7 +4341,7 @@ checksum = "aab3d7210901ea51b7bae2b581aa34521797af8c4ec738c980bda4a06434067f" dependencies = [ "cuckoofilter", "fnv", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "libp2p-swarm", "log", @@ -4285,7 +4362,7 @@ dependencies = [ "byteorder", "bytes 1.1.0", "fnv", - "futures 0.3.18", + "futures 0.3.19", "hex_fmt", "libp2p-core", "libp2p-swarm", @@ -4294,7 +4371,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "regex", - "sha2 0.9.8", + "sha2 0.9.9", "smallvec", "unsigned-varint 0.7.1", "wasm-timer", @@ -4306,7 +4383,7 @@ version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cca1275574183f288ff8b72d535d5ffa5ea9292ef7829af8b47dcb197c7b0dcd" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "libp2p-swarm", "log", @@ -4328,14 +4405,14 @@ dependencies = [ "bytes 1.1.0", "either", "fnv", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "libp2p-swarm", "log", "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.8", + "sha2 0.9.9", "smallvec", "uint", "unsigned-varint 0.7.1", @@ -4352,7 +4429,7 @@ dependencies = [ "async-io", "data-encoding", "dns-parser", - "futures 0.3.18", + "futures 0.3.19", "if-watch", "lazy_static", "libp2p-core", @@ -4386,7 +4463,7 @@ checksum = "7f2cd64ef597f40e14bfce0497f50ecb63dd6d201c61796daeb4227078834fbf" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.1.0", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "log", "nohash-hasher", @@ -4404,14 +4481,14 @@ checksum = "a8772c7a99088221bb7ca9c5c0574bf55046a7ab4c319f3619b275f28c8fb87a" dependencies = [ "bytes 1.1.0", "curve25519-dalek 3.2.0", - "futures 0.3.18", + "futures 0.3.19", "lazy_static", "libp2p-core", "log", "prost", "prost-build", "rand 0.8.4", - "sha2 0.9.8", + "sha2 0.9.9", "snow", "static_assertions", "x25519-dalek", @@ -4424,7 +4501,7 @@ version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80ef7b0ec5cf06530d9eb6cf59ae49d46a2c45663bde31c25a12f682664adbcf" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "libp2p-swarm", "log", @@ -4441,7 +4518,7 @@ checksum = "5fba1a6ff33e4a274c89a3b1d78b9f34f32af13265cc5c46c16938262d4e945a" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.1.0", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "log", "prost", @@ -4456,9 +4533,9 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "log", - "pin-project 1.0.8", + "pin-project 1.0.10", "rand 0.7.3", "salsa20", "sha3 0.9.1", @@ -4472,12 +4549,12 @@ checksum = "2852b61c90fa8ce3c8fcc2aba76e6cefc20d648f9df29157d6b3a916278ef3e3" dependencies = [ "asynchronous-codec 0.6.0", "bytes 1.1.0", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "libp2p-core", "libp2p-swarm", "log", - "pin-project 1.0.8", + "pin-project 1.0.10", "prost", "prost-build", "rand 0.7.3", @@ -4495,14 +4572,14 @@ checksum = "14a6d2b9e7677eff61dc3d2854876aaf3976d84a01ef6664b610c77a0c9407c5" dependencies = [ "asynchronous-codec 0.6.0", "bimap", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "libp2p-swarm", "log", "prost", "prost-build", "rand 0.8.4", - "sha2 0.9.8", + "sha2 0.9.9", "thiserror", "unsigned-varint 0.7.1", "void", @@ -4517,11 +4594,11 @@ checksum = "a877a4ced6d46bf84677e1974e8cf61fb434af73b2e96fb48d6cb6223a4634d8" dependencies = [ "async-trait", "bytes 1.1.0", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "libp2p-swarm", "log", - "lru 0.7.0", + "lru 0.7.2", "rand 0.7.3", "smallvec", "unsigned-varint 0.7.1", @@ -4535,7 +4612,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f5184a508f223bc100a12665517773fb8730e9f36fc09eefb670bf01b107ae9" dependencies = [ "either", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "log", "rand 0.7.3", @@ -4561,8 +4638,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7399c5b6361ef525d41c11fcf51635724f832baf5819b30d3d873eabb4fbae4b" dependencies = [ "async-io", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "if-watch", "ipnet", "libc", @@ -4578,7 +4655,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8b7563e46218165dfd60f64b96f7ce84590d75f53ecbdc74a7dd01450dc5973" dependencies = [ "async-std", - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "log", ] @@ -4589,7 +4666,7 @@ version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1008a302b73c5020251f9708c653f5ed08368e530e247cc9cd2f109ff30042cf" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "js-sys", "libp2p-core", "parity-send-wrapper", @@ -4604,7 +4681,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22e12df82d1ed64969371a9e65ea92b91064658604cc2576c2757f18ead9a1cf" dependencies = [ "either", - "futures 0.3.18", + "futures 0.3.19", "futures-rustls", "libp2p-core", "log", @@ -4621,7 +4698,7 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e7362abb8867d7187e7e93df17f460d554c997fc5c8ac57dc1259057f6889af" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "libp2p-core", "parking_lot 0.11.2", "thiserror", @@ -4655,7 +4732,7 @@ dependencies = [ "libsecp256k1-gen-genmult 0.2.1", "rand 0.7.3", "serde", - "sha2 0.9.8", + "sha2 0.9.9", "typenum", ] @@ -4674,7 +4751,7 @@ dependencies = [ "libsecp256k1-gen-genmult 0.3.0", "rand 0.8.4", "serde", - "sha2 0.9.8", + "sha2 0.9.9", "typenum", ] @@ -4817,9 +4894,9 @@ dependencies = [ [[package]] name = "lru" -version = "0.7.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c748cfe47cb8da225c37595b3108bea1c198c84aaae8ea0ba76d01dda9fc803" +checksum = "274353858935c992b13c0ca408752e2121da852d07dec7ce5f108c77dfa14d1f" dependencies = [ "hashbrown", ] @@ -5037,18 +5114,18 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4647a11b578fead29cdbb34d4adef8dd3dc35b876c9c6d5240d83f205abfe96e" +checksum = "9e8b95e4fb3de48d767d3537f161168d3a7b0d4c5dfbe26431ea3acf98432675" dependencies = [ "libc", ] [[package]] name = "memoffset" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" +checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" dependencies = [ "autocfg", ] @@ -5064,6 +5141,17 @@ dependencies = [ "parity-util-mem", ] +[[package]] +name = "memory-db" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d505169b746dacf02f7d14d8c80b34edfd8212159c63d23c977739a0d960c626" +dependencies = [ + "hash-db", + "hashbrown", + "parity-util-mem", +] + [[package]] name = "memory-lru" version = "0.1.0" @@ -5094,23 +5182,23 @@ dependencies = [ [[package]] name = "metered-channel" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "derive_more", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "thiserror", "tracing", ] [[package]] name = "mick-jaeger" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaa77fad8461bb1e0d01be11299e24c6e544007715ed442bfec29f165dc487ae" +checksum = "fd2c2cc134e57461f0898b0e921f0a7819b5e3f3a4335b9aa390ce81a5f36fb9" dependencies = [ - "futures 0.3.18", - "rand 0.7.3", + "futures 0.3.19", + "rand 0.8.4", "thrift", ] @@ -5907,9 +5995,9 @@ dependencies = [ "blake2s_simd", "blake3", "digest 0.9.0", - "generic-array 0.14.4", + "generic-array 0.14.5", "multihash-derive", - "sha2 0.9.8", + "sha2 0.9.9", "sha3 0.9.1", "unsigned-varint 0.5.1", ] @@ -5921,9 +6009,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "752a61cd890ff691b4411423d23816d5866dd5621e4d1c5687a53b94b5a979d8" dependencies = [ "digest 0.9.0", - "generic-array 0.14.4", + "generic-array 0.14.5", "multihash-derive", - "sha2 0.9.8", + "sha2 0.9.9", "unsigned-varint 0.7.1", ] @@ -5954,9 +6042,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56a336acba8bc87c8876f6425407dbbe6c417bf478b22015f8fb0994ef3bc0ab" dependencies = [ "bytes 1.1.0", - "futures 0.3.18", + "futures 0.3.19", "log", - "pin-project 1.0.8", + "pin-project 1.0.10", "smallvec", "unsigned-varint 0.7.1", ] @@ -6013,7 +6101,7 @@ dependencies = [ [[package]] name = "node-executor" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "node-primitives", @@ -6024,13 +6112,14 @@ dependencies = [ "sp-core", "sp-keystore", "sp-state-machine", + "sp-tracing", "sp-trie", ] [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-system", "parity-scale-codec", @@ -6043,7 +6132,7 @@ dependencies = [ [[package]] name = "node-runtime" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6062,6 +6151,7 @@ dependencies = [ "pallet-bags-list", "pallet-balances", "pallet-bounties", + "pallet-child-bounties", "pallet-collective", "pallet-contracts", "pallet-contracts-primitives", @@ -6079,6 +6169,7 @@ dependencies = [ "pallet-mmr", "pallet-multisig", "pallet-offences", + "pallet-preimage", "pallet-proxy", "pallet-randomness-collective-flip", "pallet-recovery", @@ -6217,9 +6308,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" +checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" dependencies = [ "hermit-abi", "libc", @@ -6227,19 +6318,18 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9bd055fb730c4f8f4f57d45d35cd6b3f0980535b056dc7ff119cee6a66ed6f" +checksum = "720d3ea1055e4e4574c0c0b0f8c3fd4f24c4cdaf465948206dea090b57b526ad" dependencies = [ - "derivative", "num_enum_derive", ] [[package]] name = "num_enum_derive" -version = "0.5.4" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "486ea01961c4a818096de679a8b740b26d9033146ac5291b1c98557658f8cdd9" +checksum = "0d992b768490d7fe0d8586d9b5745f6c49f557da6d81dc982b1d167ad4edbb21" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -6276,9 +6366,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" +checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" [[package]] name = "opaque-debug" @@ -6299,7 +6389,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7337d80c23c2d8b1349563981bc4fb531220733743ba8115454a67b181173f0d" dependencies = [ "dtoa", - "itoa", + "itoa 0.4.8", "open-metrics-client-derive-text-encode", "owning_ref", ] @@ -6700,7 +6790,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -6716,7 +6806,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -6730,7 +6820,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -6746,7 +6836,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -6762,7 +6852,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -6777,7 +6867,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -6801,7 +6891,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6821,7 +6911,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -6836,7 +6926,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "beefy-primitives", "frame-support", @@ -6852,7 +6942,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -6877,7 +6967,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -6895,7 +6985,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -6912,7 +7002,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bp-header-chain", "bp-runtime", @@ -6934,12 +7024,11 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitvec", "bp-message-dispatch", "bp-messages", - "bp-rialto", "bp-runtime", "frame-support", "frame-system", @@ -6953,10 +7042,28 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-child-bounties" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +dependencies = [ + "frame-support", + "frame-system", + "log", + "pallet-bounties", + "pallet-treasury", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -6973,7 +7080,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "bitflags", "frame-benchmarking", @@ -7000,13 +7107,14 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "bitflags", "parity-scale-codec", "scale-info", "serde", "sp-core", + "sp-rpc", "sp-runtime", "sp-std", ] @@ -7014,7 +7122,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro2", "quote", @@ -7024,7 +7132,7 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "pallet-contracts-primitives", "parity-scale-codec", @@ -7037,7 +7145,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7053,7 +7161,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7070,14 +7178,14 @@ dependencies = [ "sp-runtime", "sp-std", "static_assertions", - "strum", - "strum_macros", + "strum 0.22.0", + "strum_macros 0.23.1", ] [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7095,7 +7203,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7110,7 +7218,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7133,7 +7241,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7149,7 +7257,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7169,7 +7277,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7186,7 +7294,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7199,7 +7307,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7216,7 +7324,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -7234,7 +7342,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7250,7 +7358,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7267,7 +7375,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7282,7 +7390,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7296,7 +7404,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7313,7 +7421,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7333,10 +7441,26 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-preimage" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7351,7 +7475,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7365,7 +7489,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7379,7 +7503,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7395,7 +7519,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7416,7 +7540,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7432,7 +7556,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7446,7 +7570,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7469,7 +7593,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -7480,7 +7604,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "log", "sp-arithmetic", @@ -7489,7 +7613,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7503,7 +7627,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7521,7 +7645,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7540,7 +7664,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7557,7 +7681,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7574,7 +7698,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7585,7 +7709,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-support", "frame-system", @@ -7597,13 +7721,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13)", + "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=master)", ] [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7620,11 +7744,12 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-runtime", @@ -7634,7 +7759,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7650,7 +7775,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7665,7 +7790,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "frame-support", "frame-system", @@ -7683,7 +7808,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.8" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7700,7 +7825,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=0be8e8fc214641e306e4f913dd64ff1913e46e95#0be8e8fc214641e306e4f913dd64ff1913e46e95" +source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -7767,7 +7892,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "libc", "log", "rand 0.7.3", @@ -7991,27 +8116,27 @@ dependencies = [ [[package]] name = "pin-project" -version = "0.4.28" +version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "918192b5c59119d51e0cd221f4d49dde9112824ba717369e903c97d076083d0f" +checksum = "9615c18d31137579e9ff063499264ddc1278e7b1982757ebc111028c4d1dc909" dependencies = [ - "pin-project-internal 0.4.28", + "pin-project-internal 0.4.29", ] [[package]] name = "pin-project" -version = "1.0.8" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08" +checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e" dependencies = [ - "pin-project-internal 1.0.8", + "pin-project-internal 1.0.10", ] [[package]] name = "pin-project-internal" -version = "0.4.28" +version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e" +checksum = "044964427019eed9d49d9d5bbce6047ef18f37100ea400912a9fa4a3523ab12a" dependencies = [ "proc-macro2", "quote", @@ -8020,9 +8145,9 @@ dependencies = [ [[package]] name = "pin-project-internal" -version = "1.0.8" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" +checksum = "744b6f092ba29c3650faf274db506afd39944f48420f6c86b17cfe0ee1cb36bb" dependencies = [ "proc-macro2", "quote", @@ -8037,9 +8162,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443" +checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c" [[package]] name = "pin-utils" @@ -8049,9 +8174,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.22" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12295df4f294471248581bc09bef3c38a5e46f1e36d6a37353621a0c6c357e1f" +checksum = "58893f751c9b0412871a09abd62ecd2a00298c6c83befa223ef98c52aef40cbe" [[package]] name = "platforms" @@ -8068,9 +8193,9 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "polkadot-approval-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8082,9 +8207,9 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -8095,11 +8220,11 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "derive_more", - "futures 0.3.18", - "lru 0.7.0", + "futures 0.3.19", + "lru 0.7.2", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8117,10 +8242,10 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", - "lru 0.7.0", + "futures 0.3.19", + "lru 0.7.2", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8137,15 +8262,18 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "frame-benchmarking-cli", - "futures 0.3.18", + "futures 0.3.19", "log", "polkadot-node-core-pvf", + "polkadot-node-metrics", + "polkadot-performance-test", "polkadot-service", "sc-cli", "sc-service", + "sc-tracing", "sp-core", "sp-trie", "structopt", @@ -8157,7 +8285,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -8188,12 +8316,12 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "always-assert", "derive_more", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8209,7 +8337,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -8222,11 +8350,11 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "derive_more", - "futures 0.3.18", - "lru 0.7.0", + "futures 0.3.19", + "lru 0.7.2", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8244,7 +8372,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8258,10 +8386,10 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", @@ -8278,10 +8406,10 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-trait", - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", "parking_lot 0.11.2", "polkadot-node-network-protocol", @@ -8297,9 +8425,9 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -8315,14 +8443,14 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitvec", "derive_more", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "kvdb", - "lru 0.7.0", + "lru 0.7.2", "merlin", "parity-scale-codec", "polkadot-node-jaeger", @@ -8343,11 +8471,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitvec", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "kvdb", "parity-scale-codec", "polkadot-erasure-coding", @@ -8363,10 +8491,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitvec", - "futures 0.3.18", + "futures 0.3.19", "polkadot-erasure-coding", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8381,9 +8509,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -8396,10 +8524,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-trait", - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", "polkadot-node-core-pvf", "polkadot-node-primitives", @@ -8414,9 +8542,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", @@ -8429,10 +8557,10 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "kvdb", "parity-scale-codec", "polkadot-node-primitives", @@ -8446,12 +8574,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "bitvec", - "derive_more", - "futures 0.3.18", + "futures 0.3.19", "kvdb", + "lru 0.7.2", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -8462,27 +8589,14 @@ dependencies = [ "tracing", ] -[[package]] -name = "polkadot-node-core-dispute-participation" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" -dependencies = [ - "futures 0.3.18", - "polkadot-node-primitives", - "polkadot-node-subsystem", - "polkadot-primitives", - "thiserror", - "tracing", -] - [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-trait", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "polkadot-node-subsystem", "polkadot-primitives", "sp-blockchain", @@ -8495,14 +8609,16 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitvec", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", + "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "rand 0.8.4", "thiserror", "tracing", ] @@ -8510,17 +8626,16 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "always-assert", "assert_matches", "async-process", "async-std", - "futures 0.3.18", - "futures-timer 3.0.2", - "libc", + "futures 0.3.19", + "futures-timer", "parity-scale-codec", - "pin-project 1.0.8", + "pin-project 1.0.10", "polkadot-core-primitives", "polkadot-node-subsystem-util", "polkadot-parachain", @@ -8538,12 +8653,28 @@ dependencies = [ "tracing", ] +[[package]] +name = "polkadot-node-core-pvf-checker" +version = "0.9.13" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +dependencies = [ + "futures 0.3.19", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "sp-keystore", + "thiserror", + "tracing", +] + [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "memory-lru", "parity-util-mem", "polkadot-node-subsystem", @@ -8559,7 +8690,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-std", "lazy_static", @@ -8577,39 +8708,47 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", - "futures-timer 3.0.2", + "bs58", + "futures 0.3.19", + "futures-timer", + "log", "metered-channel", + "parity-scale-codec", + "polkadot-primitives", + "sc-cli", + "sc-service", + "sc-tracing", "substrate-prometheus-endpoint", + "tracing", ] [[package]] name = "polkadot-node-network-protocol" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-trait", "derive_more", - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", "sc-authority-discovery", "sc-network", - "strum", + "strum 0.23.0", "thiserror", ] [[package]] name = "polkadot-node-primitives" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bounded-vec", - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", "polkadot-parachain", "polkadot-primitives", @@ -8628,7 +8767,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -8638,10 +8777,10 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "derive_more", - "futures 0.3.18", + "futures 0.3.19", "polkadot-node-jaeger", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -8657,19 +8796,20 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-trait", "derive_more", - "futures 0.3.18", + "futures 0.3.19", "itertools", - "lru 0.7.0", + "lru 0.7.2", "metered-channel", "parity-scale-codec", - "pin-project 1.0.8", + "pin-project 1.0.10", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", + "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", @@ -8684,11 +8824,11 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ - "futures 0.3.18", - "futures-timer 3.0.2", - "lru 0.7.0", + "futures 0.3.19", + "futures-timer", + "lru 0.7.2", "parity-util-mem", "parking_lot 0.11.2", "polkadot-node-metrics", @@ -8705,13 +8845,13 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-trait", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "metered-channel", - "pin-project 1.0.8", + "pin-project 1.0.10", "polkadot-node-network-protocol", "polkadot-node-primitives", "polkadot-overseer-gen-proc-macro", @@ -8722,7 +8862,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8733,7 +8873,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "derive_more", "frame-support", @@ -8747,10 +8887,25 @@ dependencies = [ "sp-std", ] +[[package]] +name = "polkadot-performance-test" +version = "0.9.13" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +dependencies = [ + "env_logger 0.9.0", + "kusama-runtime", + "log", + "polkadot-erasure-coding", + "polkadot-node-core-pvf", + "polkadot-node-primitives", + "quote", + "thiserror", +] + [[package]] name = "polkadot-primitives" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitvec", "frame-system", @@ -8780,7 +8935,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -8811,7 +8966,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "beefy-primitives", "bitvec", @@ -8845,6 +9000,7 @@ dependencies = [ "pallet-nicks", "pallet-offences", "pallet-offences-benchmarking", + "pallet-preimage", "pallet-proxy", "pallet-scheduler", "pallet-session", @@ -8862,6 +9018,7 @@ dependencies = [ "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-common", + "polkadot-runtime-constants", "polkadot-runtime-parachains", "rustc-hex", "scale-info", @@ -8893,7 +9050,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "beefy-primitives", "bitvec", @@ -8937,10 +9094,34 @@ dependencies = [ "xcm", ] +[[package]] +name = "polkadot-runtime-constants" +version = "0.9.13" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +dependencies = [ + "frame-support", + "polkadot-primitives", + "polkadot-runtime-common", + "smallvec", + "sp-runtime", +] + +[[package]] +name = "polkadot-runtime-metrics" +version = "0.9.13" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +dependencies = [ + "bs58", + "parity-scale-codec", + "polkadot-primitives", + "sp-std", + "sp-tracing", +] + [[package]] name = "polkadot-runtime-parachains" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "bitflags", "bitvec", @@ -8959,6 +9140,7 @@ dependencies = [ "pallet-vesting", "parity-scale-codec", "polkadot-primitives", + "polkadot-runtime-metrics", "rand 0.8.4", "rand_chacha 0.3.1", "rustc-hex", @@ -8980,18 +9162,18 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "async-trait", "beefy-gadget", "beefy-primitives", "frame-system-rpc-runtime-api", - "futures 0.3.18", + "futures 0.3.19", "hex-literal", "kusama-runtime", "kvdb", "kvdb-rocksdb", - "lru 0.7.0", + "lru 0.7.2", "pallet-babe", "pallet-im-online", "pallet-mmr-primitives", @@ -9015,9 +9197,9 @@ dependencies = [ "polkadot-node-core-chain-api", "polkadot-node-core-chain-selection", "polkadot-node-core-dispute-coordinator", - "polkadot-node-core-dispute-participation", "polkadot-node-core-parachains-inherent", "polkadot-node-core-provisioner", + "polkadot-node-core-pvf-checker", "polkadot-node-core-runtime-api", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -9028,9 +9210,11 @@ dependencies = [ "polkadot-primitives", "polkadot-rpc", "polkadot-runtime", + "polkadot-runtime-constants", "polkadot-runtime-parachains", "polkadot-statement-distribution", "rococo-runtime", + "rococo-runtime-constants", "sc-authority-discovery", "sc-basic-authorship", "sc-block-builder", @@ -9079,11 +9263,11 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "arrayvec 0.5.2", "derive_more", - "futures 0.3.18", + "futures 0.3.19", "indexmap", "parity-scale-codec", "polkadot-node-network-protocol", @@ -9100,7 +9284,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9145,9 +9329,9 @@ dependencies = [ [[package]] name = "ppv-lite86" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed0cfbc8191465bed66e1718596ee0b0b35d5ee1f41c5df2189d0fe8bde535ba" +checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] name = "primitive-types" @@ -9208,9 +9392,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.32" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43" +checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029" dependencies = [ "unicode-xid", ] @@ -9327,9 +9511,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.10" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" +checksum = "47aa80447ce4daf1717500037052af176af5d38cc3e571d9ec1c7353fc10c87d" dependencies = [ "proc-macro2", ] @@ -9582,7 +9766,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -9617,9 +9801,9 @@ dependencies = [ [[package]] name = "retain_mut" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "448296241d034b96c11173591deaa1302f2c17b56092106c1f92c1bc0183a8c9" +checksum = "11000e6ba5020e53e7cc26f73b91ae7d5496b4977851479edb66b694c0675c21" [[package]] name = "ring" @@ -9681,7 +9865,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "beefy-primitives", "bp-messages", @@ -9728,6 +9912,7 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", + "rococo-runtime-constants", "scale-info", "serde", "serde_derive", @@ -9752,6 +9937,18 @@ dependencies = [ "xcm-executor", ] +[[package]] +name = "rococo-runtime-constants" +version = "0.9.13" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +dependencies = [ + "frame-support", + "polkadot-primitives", + "polkadot-runtime-common", + "smallvec", + "sp-runtime", +] + [[package]] name = "rpassword" version = "5.0.1" @@ -9772,7 +9969,7 @@ dependencies = [ "cc", "errno", "io-lifetimes", - "itoa", + "itoa 0.4.8", "libc", "linux-raw-sys", "once_cell", @@ -10018,22 +10215,28 @@ dependencies = [ "security-framework", ] +[[package]] +name = "rustversion" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" + [[package]] name = "rw-stream-sink" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020" dependencies = [ - "futures 0.3.18", - "pin-project 0.4.28", + "futures 0.3.19", + "pin-project 0.4.29", "static_assertions", ] [[package]] name = "ryu" -version = "1.0.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c9613b5a66ab9ba26415184cfc41156594925a9cf3a2057e57f31ff145f6568" +checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f" [[package]] name = "safe-mix" @@ -10065,7 +10268,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "log", "sp-core", @@ -10076,12 +10279,12 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "derive_more", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "ip_network", "libp2p", "log", @@ -10103,10 +10306,10 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "log", "parity-scale-codec", "sc-block-builder", @@ -10126,7 +10329,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10142,10 +10345,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "impl-trait-for-tuples 0.2.1", - "memmap2 0.5.0", + "memmap2 0.5.1", "parity-scale-codec", "sc-chain-spec-derive", "sc-network", @@ -10159,7 +10362,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -10170,11 +10373,11 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "chrono", "fdlimit", - "futures 0.3.18", + "futures 0.3.19", "hex", "libp2p", "log", @@ -10208,10 +10411,10 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "fnv", - "futures 0.3.18", + "futures 0.3.19", "hash-db", "log", "parity-scale-codec", @@ -10236,7 +10439,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "hash-db", "kvdb", @@ -10261,11 +10464,11 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "libp2p", "log", "parking_lot 0.11.2", @@ -10285,11 +10488,11 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "derive_more", - "futures 0.3.18", + "futures 0.3.19", "log", "parity-scale-codec", "sc-block-builder", @@ -10314,12 +10517,12 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "derive_more", "fork-tree", - "futures 0.3.18", + "futures 0.3.19", "log", "merlin", "num-bigint", @@ -10357,10 +10560,10 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "derive_more", - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -10381,7 +10584,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10394,12 +10597,12 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "assert_matches", "async-trait", "derive_more", - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -10428,17 +10631,16 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "log", "parity-scale-codec", "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-api", "sp-arithmetic", "sp-blockchain", "sp-consensus", @@ -10454,7 +10656,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "sc-client-api", "sp-authorship", @@ -10465,11 +10667,12 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "lazy_static", "libsecp256k1 0.7.0", "log", + "lru 0.6.6", "parity-scale-codec", "parking_lot 0.11.2", "sc-executor-common", @@ -10492,7 +10695,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "derive_more", "environmental", @@ -10510,7 +10713,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "log", "parity-scale-codec", @@ -10526,7 +10729,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "cfg-if 1.0.0", "libc", @@ -10544,20 +10747,21 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "derive_more", "dyn-clone", "finality-grandpa", "fork-tree", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "log", "parity-scale-codec", "parking_lot 0.11.2", "rand 0.8.4", "sc-block-builder", + "sc-chain-spec", "sc-client-api", "sc-consensus", "sc-keystore", @@ -10581,11 +10785,11 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "derive_more", "finality-grandpa", - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -10605,11 +10809,11 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "ansi_term", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "log", "parity-util-mem", "sc-client-api", @@ -10622,7 +10826,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "derive_more", @@ -10637,7 +10841,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-std", "async-trait", @@ -10649,18 +10853,18 @@ dependencies = [ "either", "fnv", "fork-tree", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "hex", "ip_network", "libp2p", "linked-hash-map", "linked_hash_set", "log", - "lru 0.7.0", + "lru 0.7.2", "parity-scale-codec", "parking_lot 0.11.2", - "pin-project 1.0.8", + "pin-project 1.0.10", "prost", "prost-build", "rand 0.7.3", @@ -10688,13 +10892,13 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "libp2p", "log", - "lru 0.7.0", + "lru 0.7.2", "sc-network", "sp-runtime", "substrate-prometheus-endpoint", @@ -10704,12 +10908,12 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-std", "async-trait", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "libp2p", "log", "parking_lot 0.11.2", @@ -10732,12 +10936,12 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "bytes 1.1.0", "fnv", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "hex", "hyper", "hyper-rustls", @@ -10760,9 +10964,9 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "libp2p", "log", "sc-utils", @@ -10773,7 +10977,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10782,9 +10986,9 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "hash-db", "jsonrpc-core", "jsonrpc-pubsub", @@ -10813,9 +11017,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -10838,9 +11042,9 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-http-server", "jsonrpc-ipc-server", @@ -10855,13 +11059,13 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "directories", "exit-future", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "hash-db", "jsonrpc-core", "jsonrpc-pubsub", @@ -10869,7 +11073,7 @@ dependencies = [ "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.2", - "pin-project 1.0.8", + "pin-project 1.0.10", "rand 0.7.3", "sc-block-builder", "sc-chain-spec", @@ -10905,7 +11109,7 @@ dependencies = [ "sp-storage", "sp-tracing", "sp-transaction-pool", - "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465)", + "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8)", "sp-trie", "sp-version", "substrate-prometheus-endpoint", @@ -10919,7 +11123,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "log", "parity-scale-codec", @@ -10933,7 +11137,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -10955,14 +11159,14 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "chrono", - "futures 0.3.18", + "futures 0.3.19", "libp2p", "log", "parking_lot 0.11.2", - "pin-project 1.0.8", + "pin-project 1.0.10", "rand 0.7.3", "serde", "serde_json", @@ -10973,7 +11177,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "ansi_term", "atty", @@ -11004,7 +11208,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -11015,10 +11219,10 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", - "intervalier", + "futures 0.3.19", + "futures-timer", "linked-hash-map", "log", "parity-scale-codec", @@ -11042,10 +11246,10 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "derive_more", - "futures 0.3.18", + "futures 0.3.19", "log", "serde", "sp-blockchain", @@ -11056,11 +11260,12 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "lazy_static", + "parking_lot 0.11.2", "prometheus", ] @@ -11225,18 +11430,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.130" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913" +checksum = "97565067517b60e2d1ea8b268e59ce036de907ac523ad83a0475da04e818989a" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.130" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" +checksum = "ed201699328568d8d08208fdd080e3ff594e6c422e438b6705905da01005d537" dependencies = [ "proc-macro2", "quote", @@ -11245,11 +11450,11 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.72" +version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0ffa0837f2dfa6fb90868c2b5468cad482e175f7dad97e7421951e663f2b527" +checksum = "ee2bb9cd061c5865d345bb02ca49fcef1391741b672b54a0bf7b679badec3142" dependencies = [ - "itoa", + "itoa 1.0.1", "ryu", "serde", ] @@ -11293,9 +11498,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b69f9a4c9740d74c5baa3fd2e547f9525fa8088a8a958e0ca2409a514e33f5fa" +checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", @@ -11304,6 +11509,17 @@ dependencies = [ "opaque-debug 0.3.0", ] +[[package]] +name = "sha2" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures 0.2.1", + "digest 0.10.1", +] + [[package]] name = "sha3" version = "0.8.2" @@ -11346,9 +11562,9 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "signal-hook" -version = "0.3.10" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c98891d737e271a2954825ef19e46bd16bdb98e2746f2eec4f7a4ef7946efd1" +checksum = "647c97df271007dcea485bb74ffdb57f2e683f1306c854f468a0c244badabf2d" dependencies = [ "libc", "signal-hook-registry", @@ -11365,9 +11581,9 @@ dependencies = [ [[package]] name = "signature" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02658e48d89f2bec991f9a78e69cfa4c316f8d6a6c4ec12fae1aeb263d486788" +checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" [[package]] name = "simba" @@ -11390,7 +11606,7 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "enumn", "parity-scale-codec", @@ -11433,7 +11649,7 @@ dependencies = [ "rand_core 0.6.3", "ring", "rustc_version 0.3.3", - "sha2 0.9.8", + "sha2 0.9.9", "subtle", "x25519-dalek", ] @@ -11468,7 +11684,7 @@ dependencies = [ "base64 0.13.0", "bytes 1.1.0", "flate2", - "futures 0.3.18", + "futures 0.3.19", "httparse", "log", "rand 0.8.4", @@ -11478,7 +11694,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "hash-db", "log", @@ -11495,7 +11711,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", @@ -11506,8 +11722,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -11519,8 +11735,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "integer-sqrt", "num-traits", @@ -11535,7 +11751,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -11548,7 +11764,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "parity-scale-codec", @@ -11560,7 +11776,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "sp-api", @@ -11572,11 +11788,11 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "log", - "lru 0.7.0", + "lru 0.7.2", "parity-scale-codec", "parking_lot 0.11.2", "sp-api", @@ -11590,11 +11806,11 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", - "futures 0.3.18", - "futures-timer 3.0.2", + "futures 0.3.19", + "futures-timer", "log", "parity-scale-codec", "sp-core", @@ -11609,7 +11825,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "parity-scale-codec", @@ -11627,7 +11843,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "merlin", @@ -11650,7 +11866,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -11662,7 +11878,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -11673,8 +11889,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.1.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "base58", "bitflags", @@ -11682,7 +11898,7 @@ dependencies = [ "byteorder", "dyn-clonable", "ed25519-dalek", - "futures 0.3.18", + "futures 0.3.19", "hash-db", "hash256-std-hasher", "hex", @@ -11702,7 +11918,7 @@ dependencies = [ "schnorrkel", "secrecy", "serde", - "sha2 0.9.8", + "sha2 0.10.1", "sp-core-hashing", "sp-debug-derive", "sp-externalities", @@ -11721,12 +11937,12 @@ dependencies = [ [[package]] name = "sp-core-hashing" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "blake2-rfc", "byteorder", - "sha2 0.9.8", + "sha2 0.10.1", "sp-std", "tiny-keccak", "twox-hash", @@ -11735,7 +11951,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro2", "quote", @@ -11746,7 +11962,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "kvdb", "parking_lot 0.11.2", @@ -11754,8 +11970,8 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro2", "quote", @@ -11764,8 +11980,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "0.10.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "environmental", "parity-scale-codec", @@ -11776,7 +11992,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "finality-grandpa", "log", @@ -11794,7 +12010,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "impl-trait-for-tuples 0.2.1", @@ -11807,10 +12023,10 @@ dependencies = [ [[package]] name = "sp-io" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "hash-db", "libsecp256k1 0.7.0", "log", @@ -11832,22 +12048,22 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "lazy_static", "sp-core", "sp-runtime", - "strum", + "strum 0.22.0", ] [[package]] name = "sp-keystore" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "0.10.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "derive_more", - "futures 0.3.18", + "futures 0.3.19", "merlin", "parity-scale-codec", "parking_lot 0.11.2", @@ -11860,7 +12076,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "zstd", ] @@ -11868,7 +12084,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -11883,7 +12099,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -11894,7 +12110,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "sp-api", "sp-core", @@ -11903,8 +12119,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "backtrace", "lazy_static", @@ -11914,7 +12130,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "rustc-hash", "serde", @@ -11923,8 +12139,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "either", "hash256-std-hasher", @@ -11945,8 +12161,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.1.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "impl-trait-for-tuples 0.2.1", "parity-scale-codec", @@ -11962,8 +12178,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -11975,7 +12191,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "log", "parity-scale-codec", @@ -11989,7 +12205,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "serde", "serde_json", @@ -11998,7 +12214,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -12012,7 +12228,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -12022,8 +12238,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "0.10.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "hash-db", "log", @@ -12045,13 +12261,13 @@ dependencies = [ [[package]] name = "sp-std" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" [[package]] name = "sp-storage" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12064,7 +12280,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "log", "sp-core", @@ -12077,10 +12293,10 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", - "futures-timer 3.0.2", + "futures-timer", "log", "parity-scale-codec", "sp-api", @@ -12092,8 +12308,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "sp-std", @@ -12105,7 +12321,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "sp-api", "sp-runtime", @@ -12114,7 +12330,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.13#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "scale-info", @@ -12126,7 +12342,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", "log", @@ -12141,11 +12357,11 @@ dependencies = [ [[package]] name = "sp-trie" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.0.0" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "hash-db", - "memory-db", + "memory-db 0.28.0", "parity-scale-codec", "scale-info", "sp-core", @@ -12157,13 +12373,14 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm 0.42.2", "scale-info", "serde", + "sp-core-hashing-proc-macro", "sp-runtime", "sp-std", "sp-version-proc-macro", @@ -12173,7 +12390,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12183,13 +12400,15 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +version = "4.1.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "impl-trait-for-tuples 0.2.1", + "log", "parity-scale-codec", "sp-std", "wasmi", + "wasmtime", ] [[package]] @@ -12200,9 +12419,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "ss58-registry" -version = "1.8.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78abb01d308934b82e34e9cf1f45846d31539246501745b129539176f4f3368d" +checksum = "c83f0afe7e571565ef9aae7b0e4fb30fcaec4ebb9aea2f00489b772782aa03a4" dependencies = [ "Inflector", "proc-macro2", @@ -12298,7 +12517,16 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7ac893c7d471c8a21f31cfe213ec4f6d9afeed25537c772e08ef3f005f8729e" dependencies = [ - "strum_macros", + "strum_macros 0.22.0", +] + +[[package]] +name = "strum" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cae14b91c7d11c9a851d3fbc80a963198998c2a64eec840477fa92d8ce9b70bb" +dependencies = [ + "strum_macros 0.23.1", ] [[package]] @@ -12313,6 +12541,19 @@ dependencies = [ "syn", ] +[[package]] +name = "strum_macros" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5bb0dc7ee9c15cea6199cde9a127fa16a4c5819af85395457ad72d68edc85a38" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn", +] + [[package]] name = "substrate-bip39" version = "0.4.4" @@ -12322,14 +12563,14 @@ dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", "schnorrkel", - "sha2 0.9.8", + "sha2 0.9.9", "zeroize", ] [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "platforms 2.0.0", ] @@ -12337,10 +12578,10 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "frame-system-rpc-runtime-api", - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "jsonrpc-core-client", "jsonrpc-derive", @@ -12359,7 +12600,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-std", "derive_more", @@ -12373,10 +12614,10 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "async-trait", - "futures 0.3.18", + "futures 0.3.19", "hex", "parity-scale-codec", "sc-client-api", @@ -12399,14 +12640,14 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "cfg-if 1.0.0", "frame-support", "frame-system", "frame-system-rpc-runtime-api", "log", - "memory-db", + "memory-db 0.27.0", "pallet-babe", "pallet-timestamp", "parity-scale-codec", @@ -12441,9 +12682,9 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "parity-scale-codec", "sc-block-builder", "sc-client-api", @@ -12460,7 +12701,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "ansi_term", "build-helper", @@ -12480,9 +12721,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "syn" -version = "1.0.82" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8daf5dd0bb60cbd4137b1b587d2fc0ae729bc07cf01cd70b36a1ed5ade3b9d59" +checksum = "a684ac3dcd8913827e18cd09a68384ee66c1de24157e3c556c9ab16d85695fb7" dependencies = [ "proc-macro2", "quote", @@ -12515,13 +12756,13 @@ checksum = "d9bffcddbc2458fa3e6058414599e3c838a022abae82e5c67b4f7f80298d5bff" [[package]] name = "tempfile" -version = "3.2.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" +checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" dependencies = [ "cfg-if 1.0.0", + "fastrand", "libc", - "rand 0.8.4", "redox_syscall 0.2.10", "remove_dir_all", "winapi 0.3.9", @@ -12545,7 +12786,7 @@ dependencies = [ "acala-service", "env_logger 0.7.1", "frame-system", - "futures 0.3.18", + "futures 0.3.19", "jsonrpc-core", "log", "mandala-runtime", @@ -12635,9 +12876,9 @@ dependencies = [ [[package]] name = "thrift" -version = "0.13.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6d965454947cc7266d22716ebfd07b18d84ebaf35eec558586bbb2a8cb6b5b" +checksum = "b82ca8f46f95b3ce96081fe3dd89160fdea970c254bb72925255d1b62aae692e" dependencies = [ "byteorder", "integer-encoding", @@ -12701,7 +12942,7 @@ dependencies = [ "pbkdf2 0.4.0", "rand 0.7.3", "rustc-hash", - "sha2 0.9.8", + "sha2 0.9.9", "thiserror", "unicode-normalization", "wasm-bindgen", @@ -12734,18 +12975,17 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.14.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70e992e41e0d2fb9f755b37446f20900f64446ef54874f40a60c78f021ac6144" +checksum = "fbbf1c778ec206785635ce8ad57fe52b3009ae9e0c9f574a728f3049d3e55838" dependencies = [ - "autocfg", "bytes 1.1.0", "libc", "memchr", "mio 0.7.14", "num_cpus", "once_cell", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", "signal-hook-registry", "tokio-macros", "winapi 0.3.9", @@ -12753,9 +12993,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9efc1aba077437943f7515666aa2b882dfabfbfdf89c819ea75a8d6e9eaba5e" +checksum = "b557f72f448c511a979e2564e55d74e6c4432fc96ff4f6241bc6bded342643b7" dependencies = [ "proc-macro2", "quote", @@ -12780,7 +13020,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50145484efff8818b5ccd256697f36863f587da82cf8b409c53adf1e840798e3" dependencies = [ "futures-core", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", "tokio", ] @@ -12795,7 +13035,7 @@ dependencies = [ "futures-io", "futures-sink", "log", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", "tokio", ] @@ -12821,7 +13061,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" dependencies = [ "cfg-if 1.0.0", - "pin-project-lite 0.2.7", + "pin-project-lite 0.2.8", "tracing-attributes", "tracing-core", ] @@ -12852,7 +13092,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" dependencies = [ - "pin-project 1.0.8", + "pin-project 1.0.10", "tracing", ] @@ -12902,9 +13142,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.22.6" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eac131e334e81b6b3be07399482042838adcd7957aa0010231d0813e39e02fa" +checksum = "e3ddae50680c12ef75bfbf58416ca6622fa43d879553f6cb2ed1a817346e1ffe" dependencies = [ "hash-db", "hashbrown", @@ -12915,9 +13155,9 @@ dependencies = [ [[package]] name = "trie-root" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "652931506d2c1244d7217a70b99f56718a7b4161b37f04e7cd868072a99f68cd" +checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" dependencies = [ "hash-db", ] @@ -12984,7 +13224,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=fcc54a72973d03afe7bf9e3ef2736050b3f33465#fcc54a72973d03afe7bf9e3ef2736050b3f33465" +source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" dependencies = [ "jsonrpsee", "log", @@ -13003,6 +13243,7 @@ dependencies = [ "sp-state-machine", "sp-version", "structopt", + "zstd", ] [[package]] @@ -13013,9 +13254,9 @@ checksum = "5e66dcbec4290c69dd03c57e76c2469ea5c7ce109c6dd4351c13055cf71ea055" [[package]] name = "twox-hash" -version = "1.6.1" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f559b464de2e2bdabcac6a210d12e9b5a5973c251e102c44c585c71d51bd78e" +checksum = "4ee73e6e4924fe940354b8d4d98cad5231175d615cd855b758adc658c0aac6a0" dependencies = [ "cfg-if 1.0.0", "rand 0.8.4", @@ -13024,9 +13265,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.14.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b63708a265f51345575b27fe43f9500ad611579e764c79edbc2037b1121959ec" +checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] name = "ucd-trie" @@ -13094,7 +13335,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" dependencies = [ - "generic-array 0.14.4", + "generic-array 0.14.5", "subtle", ] @@ -13181,9 +13422,9 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "void" @@ -13313,7 +13554,7 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "js-sys", "parking_lot 0.11.2", "pin-utils", @@ -13399,7 +13640,7 @@ dependencies = [ "log", "rsix", "serde", - "sha2 0.9.8", + "sha2 0.9.9", "toml", "winapi 0.3.9", "zstd", @@ -13570,7 +13811,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "beefy-primitives", "bitvec", @@ -13603,6 +13844,7 @@ dependencies = [ "pallet-nicks", "pallet-offences", "pallet-offences-benchmarking", + "pallet-preimage", "pallet-proxy", "pallet-recovery", "pallet-scheduler", @@ -13646,11 +13888,24 @@ dependencies = [ "sp-transaction-pool", "sp-version", "substrate-wasm-builder", + "westend-runtime-constants", "xcm", "xcm-builder", "xcm-executor", ] +[[package]] +name = "westend-runtime-constants" +version = "0.9.13" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +dependencies = [ + "frame-support", + "polkadot-primitives", + "polkadot-runtime-common", + "smallvec", + "sp-runtime", +] + [[package]] name = "which" version = "4.2.2" @@ -13750,7 +14005,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "derivative", "impl-trait-for-tuples 0.2.1", @@ -13763,7 +14018,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "frame-support", "frame-system", @@ -13807,7 +14062,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "frame-benchmarking", "frame-support", @@ -13825,8 +14080,9 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ + "Inflector", "proc-macro2", "quote", "syn", @@ -13835,7 +14091,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=7d8f00b90cd6d87780123b3e08ca120cfb0c6e50#7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" +source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" dependencies = [ "frame-support", "parity-scale-codec", @@ -13855,7 +14111,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7d9028f208dd5e63c614be69f115c1b53cacc1111437d4c765185856666c107" dependencies = [ - "futures 0.3.18", + "futures 0.3.19", "log", "nohash-hasher", "parking_lot 0.11.2", @@ -13886,18 +14142,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.9.0+zstd.1.5.0" +version = "0.9.2+zstd.1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07749a5dc2cb6b36661290245e350f15ec3bbb304e493db54a1d354480522ccd" +checksum = "2390ea1bf6c038c39674f22d95f0564725fc06034a47129179810b2fc58caa54" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "4.1.1+zstd.1.5.0" +version = "4.1.3+zstd.1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c91c90f2c593b003603e5e0493c837088df4469da25aafff8bce42ba48caf079" +checksum = "e99d81b99fb3c2c2c794e3fe56c305c63d5173a16a46b5850b07c935ffc7db79" dependencies = [ "libc", "zstd-sys", @@ -13905,9 +14161,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "1.6.1+zstd.1.5.0" +version = "1.6.2+zstd.1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "615120c7a2431d16cf1cf979e7fc31ba7a5b5e5707b29c8a99e5dbf8a8392a33" +checksum = "2daf2f248d9ea44454bfcb2516534e8b8ad2fc91bf818a1885495fc42bc8ac9f" dependencies = [ "cc", "libc", diff --git a/Cargo.toml b/Cargo.toml index 0a018a2850..9fc2e83653 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -116,183 +116,185 @@ yamux = { opt-level = 3 } zeroize = { opt-level = 3 } [patch."https://github.com/paritytech/substrate"] -frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-executive = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-support = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-system = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-session = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-society = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-cli = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-executor = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-informant = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-network = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-network-test = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-service = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sc-utils = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-api = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-core = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-io = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-session = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-staking = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-std = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-storage = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-trie = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-version = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -substrate-test-runtime = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -substrate-test-runtime-client = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } -try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "fcc54a72973d03afe7bf9e3ef2736050b3f33465" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-executive = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-support = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-system = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-session = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-society = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-cli = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-executor = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-informant = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-network = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-network-test = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-service = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sc-utils = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-core = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-io = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-session = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-staking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-std = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-storage = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-trie = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-version = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +substrate-test-runtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +substrate-test-runtime-client = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } [patch."https://github.com/paritytech/polkadot"] -kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -xcm = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } -xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "7d8f00b90cd6d87780123b3e08ca120cfb0c6e50" } +kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +xcm = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } [patch."https://github.com/paritytech/cumulus"] -cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } -parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "0be8e8fc214641e306e4f913dd64ff1913e46e95" } +cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } diff --git a/ecosystem-modules/compound-cash/Cargo.toml b/ecosystem-modules/compound-cash/Cargo.toml index b4c7801311..c0118b229f 100644 --- a/ecosystem-modules/compound-cash/Cargo.toml +++ b/ecosystem-modules/compound-cash/Cargo.toml @@ -8,16 +8,16 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } module-support = { path = "../../modules/support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/ecosystem-modules/compound-cash/src/mock.rs b/ecosystem-modules/compound-cash/src/mock.rs index 7678cbd7ef..30036186d9 100644 --- a/ecosystem-modules/compound-cash/src/mock.rs +++ b/ecosystem-modules/compound-cash/src/mock.rs @@ -53,6 +53,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } impl CompoundCash::Config for Runtime { diff --git a/ecosystem-modules/ren/renvm-bridge/Cargo.toml b/ecosystem-modules/ren/renvm-bridge/Cargo.toml index 4f5b24e8dd..c50fcfab78 100644 --- a/ecosystem-modules/ren/renvm-bridge/Cargo.toml +++ b/ecosystem-modules/ren/renvm-bridge/Cargo.toml @@ -8,12 +8,12 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } support = { package = "module-support", path = "../../../modules/support", default-features = false } orml-traits = { path = "../../../orml/traits", default-features = false } primitives = { package = "acala-primitives", path = "../../../primitives", default-features = false } @@ -22,7 +22,7 @@ primitives = { package = "acala-primitives", path = "../../../primitives", defau hex-literal = "0.3.1" orml-currencies = { path = "../../../orml/currencies" } orml-tokens = { path = "../../../orml/tokens" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/ecosystem-modules/ren/renvm-bridge/src/mock.rs b/ecosystem-modules/ren/renvm-bridge/src/mock.rs index 4dae41d271..dd98473e65 100644 --- a/ecosystem-modules/ren/renvm-bridge/src/mock.rs +++ b/ecosystem-modules/ren/renvm-bridge/src/mock.rs @@ -69,6 +69,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/ecosystem-modules/starport/Cargo.toml b/ecosystem-modules/starport/Cargo.toml index 1d6f9156f9..74f6c296fa 100644 --- a/ecosystem-modules/starport/Cargo.toml +++ b/ecosystem-modules/starport/Cargo.toml @@ -7,18 +7,18 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } module-support = { path = "../../modules/support", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens"} diff --git a/ecosystem-modules/starport/src/mock.rs b/ecosystem-modules/starport/src/mock.rs index 2c6a473291..8361e00d7b 100644 --- a/ecosystem-modules/starport/src/mock.rs +++ b/ecosystem-modules/starport/src/mock.rs @@ -76,6 +76,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/inspect/Cargo.toml b/inspect/Cargo.toml index 45c2da2009..40d82b7b94 100644 --- a/inspect/Cargo.toml +++ b/inspect/Cargo.toml @@ -8,10 +8,10 @@ edition = "2021" codec = { package = "parity-scale-codec", version = "2.3.1" } derive_more = "0.99" log = "0.4.8" -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } structopt = "0.3.25" diff --git a/modules/asset-registry/Cargo.toml b/modules/asset-registry/Cargo.toml index 247b6af3b8..6efd0d54cf 100644 --- a/modules/asset-registry/Cargo.toml +++ b/modules/asset-registry/Cargo.toml @@ -9,23 +9,23 @@ log = { version = "0.4.14", default-features = false } serde = { version = "1.0.124", optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } module-support = { path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } module-evm = { path = "../evm" } module-evm-bridge = { path = "../evm-bridge" } diff --git a/modules/asset-registry/src/mock.rs b/modules/asset-registry/src/mock.rs index f835351ec5..01f09ec5bf 100644 --- a/modules/asset-registry/src/mock.rs +++ b/modules/asset-registry/src/mock.rs @@ -62,6 +62,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/modules/auction-manager/Cargo.toml b/modules/auction-manager/Cargo.toml index 81f0307be0..4a519d4928 100644 --- a/modules/auction-manager/Cargo.toml +++ b/modules/auction-manager/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-auction = { path = "../../orml/auction" } cdp-treasury = { package = "module-cdp-treasury", path = "../cdp-treasury" } module-dex = { path = "../dex" } diff --git a/modules/auction-manager/src/mock.rs b/modules/auction-manager/src/mock.rs index 0208bb8568..6e7f64c045 100644 --- a/modules/auction-manager/src/mock.rs +++ b/modules/auction-manager/src/mock.rs @@ -81,6 +81,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/cdp-engine/Cargo.toml b/modules/cdp-engine/Cargo.toml index 1d99d548fe..aedd136d69 100644 --- a/modules/cdp-engine/Cargo.toml +++ b/modules/cdp-engine/Cargo.toml @@ -8,23 +8,23 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } support = { package = "module-support", path = "../support", default-features = false } loans = { package = "module-loans", path = "../loans", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } rand_chacha = { version = "0.2", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } dex = { package = "module-dex", path = "../dex"} cdp-treasury = { package = "module-cdp-treasury", path = "../cdp-treasury" } diff --git a/modules/cdp-engine/src/mock.rs b/modules/cdp-engine/src/mock.rs index f38283d4cc..d0307e8f59 100644 --- a/modules/cdp-engine/src/mock.rs +++ b/modules/cdp-engine/src/mock.rs @@ -82,6 +82,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/cdp-treasury/Cargo.toml b/modules/cdp-treasury/Cargo.toml index 6011ce5f0c..5af458efbe 100644 --- a/modules/cdp-treasury/Cargo.toml +++ b/modules/cdp-treasury/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } orml-auction = { path = "../../orml/auction" } module-dex = { path = "../dex" } diff --git a/modules/cdp-treasury/src/mock.rs b/modules/cdp-treasury/src/mock.rs index cea3859344..f097f044d9 100644 --- a/modules/cdp-treasury/src/mock.rs +++ b/modules/cdp-treasury/src/mock.rs @@ -77,6 +77,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/collator-selection/Cargo.toml b/modules/collator-selection/Cargo.toml index 43c8725e23..ed6c95ba70 100644 --- a/modules/collator-selection/Cargo.toml +++ b/modules/collator-selection/Cargo.toml @@ -13,26 +13,26 @@ codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = scale-info = { version = "1.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ['std'] diff --git a/modules/currencies/Cargo.toml b/modules/currencies/Cargo.toml index 36ead1f3dc..df19fdaf7b 100644 --- a/modules/currencies/Cargo.toml +++ b/modules/currencies/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } @@ -23,9 +23,9 @@ primitives = { package = "acala-primitives", path = "../../primitives", default- support = { package = "module-support", path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } tokens = { package = "orml-tokens", path = "../../orml/tokens" } module-evm = { path = "../evm" } module-evm-bridge = { path = "../evm-bridge" } diff --git a/modules/currencies/src/mock.rs b/modules/currencies/src/mock.rs index abfe994830..5b39a46093 100644 --- a/modules/currencies/src/mock.rs +++ b/modules/currencies/src/mock.rs @@ -74,6 +74,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } type Balance = u128; diff --git a/modules/dex/Cargo.toml b/modules/dex/Cargo.toml index 38ee50b7b2..390adf61e7 100644 --- a/modules/dex/Cargo.toml +++ b/modules/dex/Cargo.toml @@ -8,21 +8,21 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] orml-tokens = { path = "../../orml/tokens" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/modules/dex/src/mock.rs b/modules/dex/src/mock.rs index 4f811b27ad..663d1e69b4 100644 --- a/modules/dex/src/mock.rs +++ b/modules/dex/src/mock.rs @@ -79,6 +79,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/emergency-shutdown/Cargo.toml b/modules/emergency-shutdown/Cargo.toml index d372b076b0..ede5e442ca 100644 --- a/modules/emergency-shutdown/Cargo.toml +++ b/modules/emergency-shutdown/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } support = { package = "module-support", path = "../support", default-features = false } loans = { package = "module-loans", path = "../loans", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances= { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } orml-traits = { path = "../../orml/traits" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/emergency-shutdown/src/mock.rs b/modules/emergency-shutdown/src/mock.rs index 4008a5b767..c442310424 100644 --- a/modules/emergency-shutdown/src/mock.rs +++ b/modules/emergency-shutdown/src/mock.rs @@ -80,6 +80,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/evm-accounts/Cargo.toml b/modules/evm-accounts/Cargo.toml index 843237acbc..0a9c1dea35 100644 --- a/modules/evm-accounts/Cargo.toml +++ b/modules/evm-accounts/Cargo.toml @@ -10,12 +10,12 @@ codec = { package = "parity-scale-codec", version = "2.3.1", default-features = libsecp256k1 = { version = "0.6", default-features = false, features = ["hmac", "static-context"], optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } @@ -23,7 +23,7 @@ primitives = { package = "acala-primitives", path = "../../primitives", default- module-support = { path = "../support", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/evm-accounts/src/mock.rs b/modules/evm-accounts/src/mock.rs index 67d142d7b0..cab90c3fd6 100644 --- a/modules/evm-accounts/src/mock.rs +++ b/modules/evm-accounts/src/mock.rs @@ -69,6 +69,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/modules/evm-bridge/Cargo.toml b/modules/evm-bridge/Cargo.toml index 19db2f4d23..a62af86330 100644 --- a/modules/evm-bridge/Cargo.toml +++ b/modules/evm-bridge/Cargo.toml @@ -11,12 +11,12 @@ targets = ["x86_64-unknown-linux-gnu"] serde = { version = "1.0.124", optional = true, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitive-types = { version = "0.10.1", default-features = false, features = ["rlp", "byteorder"] } impl-trait-for-tuples = "0.2.1" ethereum-types = { version = "0.12.0", default-features = false } @@ -27,8 +27,8 @@ module-evm-utiltity-macro = { path = "../evm-utiltity/macro" } num_enum = { version = "0.5.1", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/modules/evm-bridge/src/mock.rs b/modules/evm-bridge/src/mock.rs index 6f6276b37b..d448f5abfb 100644 --- a/modules/evm-bridge/src/mock.rs +++ b/modules/evm-bridge/src/mock.rs @@ -65,6 +65,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/modules/evm-utiltity/Cargo.toml b/modules/evm-utiltity/Cargo.toml index c63bc8fb67..6678a45946 100644 --- a/modules/evm-utiltity/Cargo.toml +++ b/modules/evm-utiltity/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] sha3 = { version = "0.9.1", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } evm = { git = "https://github.com/rust-blockchain/evm", rev = "966cf3abe4143451e408c3f586d51c6513d9a48e", default-features = false, features = ["with-codec"] } evm-gasometer = { git = "https://github.com/rust-blockchain/evm", rev = "966cf3abe4143451e408c3f586d51c6513d9a48e", default-features = false } diff --git a/modules/evm/Cargo.toml b/modules/evm/Cargo.toml index 313522bcab..aab2038d73 100644 --- a/modules/evm/Cargo.toml +++ b/modules/evm/Cargo.toml @@ -16,14 +16,14 @@ sha3 = { version = "0.9.1", default-features = false } tiny-keccak = { version = "2.0", features = ["fips202"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } module-support = { path = "../support", default-features = false } @@ -32,7 +32,7 @@ primitives = { package = "acala-primitives", path = "../../primitives", default- [dev-dependencies] env_logger = "0.9.0" -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } module-idle-scheduler = { path = "../idle-scheduler" } diff --git a/modules/evm/rpc/Cargo.toml b/modules/evm/rpc/Cargo.toml index ee5b3e1349..cf11ea44a5 100644 --- a/modules/evm/rpc/Cargo.toml +++ b/modules/evm/rpc/Cargo.toml @@ -11,16 +11,16 @@ ethereum-types = "0.12.0" rustc-hex = "2.1.0" serde = { version = "1.0.124", features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } module-evm-rpc-runtime-api = { path = "runtime_api" } module-evm = { path = ".." } diff --git a/modules/evm/rpc/runtime_api/Cargo.toml b/modules/evm/rpc/runtime_api/Cargo.toml index 85bfbe7238..9837f08c20 100644 --- a/modules/evm/rpc/runtime_api/Cargo.toml +++ b/modules/evm/rpc/runtime_api/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } ethereum-types = { version = "0.12", default-features = false } primitives = { package = "acala-primitives", path = "../../../../primitives", default-features = false } diff --git a/modules/evm/src/lib.rs b/modules/evm/src/lib.rs index 26eaf0e888..46e76748ff 100644 --- a/modules/evm/src/lib.rs +++ b/modules/evm/src/lib.rs @@ -40,14 +40,14 @@ use frame_support::{ pallet_prelude::*, parameter_types, traits::{ - BalanceStatus, Currency, EnsureOrigin, ExistenceRequirement, FindAuthor, Get, NamedReservableCurrency, - OnKilledAccount, + BalanceStatus, Currency, EnsureOneOf, EnsureOrigin, ExistenceRequirement, FindAuthor, Get, + NamedReservableCurrency, OnKilledAccount, }, transactional, weights::{Pays, PostDispatchInfo, Weight}, BoundedVec, RuntimeDebug, }; -use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, EnsureOneOf, EnsureRoot, EnsureSigned}; +use frame_system::{ensure_root, ensure_signed, pallet_prelude::*, EnsureRoot, EnsureSigned}; use hex_literal::hex; pub use module_evm_utiltity::{ ethereum::{Log, TransactionAction}, @@ -1088,8 +1088,11 @@ impl Pallet { let digest = >::digest(); let pre_runtime_digests = digest.logs.iter().filter_map(|d| d.as_pre_runtime()); - let author = T::FindAuthor::find_author(pre_runtime_digests).unwrap_or_default(); - T::AddressMapping::get_default_evm_address(&author) + if let Some(author) = T::FindAuthor::find_author(pre_runtime_digests) { + T::AddressMapping::get_default_evm_address(&author) + } else { + H160::default() + } } /// Get code hash at given address. @@ -1263,8 +1266,7 @@ impl Pallet { } fn ensure_root_or_signed(o: T::Origin) -> Result, BadOrigin> { - EnsureOneOf::, EnsureSigned>::try_origin(o) - .map_or(Err(BadOrigin), Ok) + EnsureOneOf::, EnsureSigned>::try_origin(o).map_or(Err(BadOrigin), Ok) } fn can_call_contract(address: &H160, caller: &H160) -> bool { @@ -1568,7 +1570,7 @@ impl SignedExtension for SetEvmOrigin { } fn post_dispatch( - _pre: Self::Pre, + _pre: Option, _info: &DispatchInfoOf, _post_info: &PostDispatchInfoOf, _len: usize, diff --git a/modules/evm/src/mock.rs b/modules/evm/src/mock.rs index f0d787f168..4b17cbe595 100644 --- a/modules/evm/src/mock.rs +++ b/modules/evm/src/mock.rs @@ -71,6 +71,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/modules/example/Cargo.toml b/modules/example/Cargo.toml index 3842c02dda..ef9fe16331 100644 --- a/modules/example/Cargo.toml +++ b/modules/example/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" serde = { version = "1.0.124", optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/modules/example/src/mock.rs b/modules/example/src/mock.rs index 6e15ca25c1..8585509d2c 100644 --- a/modules/example/src/mock.rs +++ b/modules/example/src/mock.rs @@ -52,6 +52,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } impl example::Config for Runtime { diff --git a/modules/homa-lite/Cargo.toml b/modules/homa-lite/Cargo.toml index dd1726ba5d..d9216f1576 100644 --- a/modules/homa-lite/Cargo.toml +++ b/modules/homa-lite/Cargo.toml @@ -7,27 +7,27 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } module-support = { path = "../../modules/support", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } module-relaychain = { path = "../relaychain", features = ["kusama"] } [features] diff --git a/modules/homa-lite/src/mock.rs b/modules/homa-lite/src/mock.rs index 63e0557df6..9be7dea4dd 100644 --- a/modules/homa-lite/src/mock.rs +++ b/modules/homa-lite/src/mock.rs @@ -198,6 +198,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/homa-validator-list/Cargo.toml b/modules/homa-validator-list/Cargo.toml index 3fb480dd4d..efc44148a5 100644 --- a/modules/homa-validator-list/Cargo.toml +++ b/modules/homa-validator-list/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.111", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } support = { package = "module-support", path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-tokens = { path = "../../orml/tokens" } orml-currencies = { path = "../../orml/currencies" } diff --git a/modules/homa-validator-list/src/mock.rs b/modules/homa-validator-list/src/mock.rs index 3cfd086603..92aa0d0f02 100644 --- a/modules/homa-validator-list/src/mock.rs +++ b/modules/homa-validator-list/src/mock.rs @@ -77,6 +77,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/homa/Cargo.toml b/modules/homa/Cargo.toml index 9e3fd80dad..5579dd2922 100644 --- a/modules/homa/Cargo.toml +++ b/modules/homa/Cargo.toml @@ -7,20 +7,20 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } module-support = { path = "../../modules/support", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/homa/src/mock.rs b/modules/homa/src/mock.rs index ab71634412..d36d4edb9f 100644 --- a/modules/homa/src/mock.rs +++ b/modules/homa/src/mock.rs @@ -100,6 +100,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/honzon/Cargo.toml b/modules/honzon/Cargo.toml index 8f9d1faacd..9a85b146f4 100644 --- a/modules/honzon/Cargo.toml +++ b/modules/honzon/Cargo.toml @@ -8,20 +8,20 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } cdp-engine = { package = "module-cdp-engine", path = "../cdp-engine", default-features = false } loans = { package = "module-loans", path = "../loans", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } orml-traits = { path = "../../orml/traits" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/honzon/src/mock.rs b/modules/honzon/src/mock.rs index ef1837e792..e3f910c346 100644 --- a/modules/honzon/src/mock.rs +++ b/modules/honzon/src/mock.rs @@ -82,6 +82,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/idle-scheduler/Cargo.toml b/modules/idle-scheduler/Cargo.toml index 8137adf42f..76af0ecb71 100644 --- a/modules/idle-scheduler/Cargo.toml +++ b/modules/idle-scheduler/Cargo.toml @@ -8,16 +8,16 @@ edition = "2021" serde = { version = "1.0.124", optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } acala-primitives = { path = "../../primitives", default-features = false } module-support = { path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/modules/idle-scheduler/src/mock.rs b/modules/idle-scheduler/src/mock.rs index a6cb918e4c..71b3e13cec 100644 --- a/modules/idle-scheduler/src/mock.rs +++ b/modules/idle-scheduler/src/mock.rs @@ -60,6 +60,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types!( diff --git a/modules/incentives/Cargo.toml b/modules/incentives/Cargo.toml index 2cbfbce098..7926ce449c 100644 --- a/modules/incentives/Cargo.toml +++ b/modules/incentives/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-rewards = { path = "../../orml/rewards", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-tokens = { path = "../../orml/tokens" } orml-rewards = { path = "../../orml/rewards" } diff --git a/modules/incentives/src/mock.rs b/modules/incentives/src/mock.rs index 90b68002f6..ea2fc2b9b1 100644 --- a/modules/incentives/src/mock.rs +++ b/modules/incentives/src/mock.rs @@ -89,6 +89,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/loans/Cargo.toml b/modules/loans/Cargo.toml index 648c6a8796..32777891ce 100644 --- a/modules/loans/Cargo.toml +++ b/modules/loans/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } support = { package = "module-support", path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } cdp-treasury = { package = "module-cdp-treasury", path = "../cdp-treasury" } diff --git a/modules/loans/src/mock.rs b/modules/loans/src/mock.rs index 92ab52c204..86c560dade 100644 --- a/modules/loans/src/mock.rs +++ b/modules/loans/src/mock.rs @@ -81,6 +81,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/nft/Cargo.toml b/modules/nft/Cargo.toml index c1752c7f05..94c77b1681 100644 --- a/modules/nft/Cargo.toml +++ b/modules/nft/Cargo.toml @@ -10,22 +10,22 @@ codec = { package = "parity-scale-codec", version = "2.3.1", default-features = scale-info = { version = "1.0", default-features = false, features = ["derive"] } enumflags2 = { version = "0.6.3" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-nft = { path = "../../orml/nft", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-tokens = { path = "../../orml/tokens" } module-currencies = { path = "../../modules/currencies" } diff --git a/modules/nft/src/benchmarking.rs b/modules/nft/src/benchmarking.rs index 0f366c5218..40fedc7e70 100644 --- a/modules/nft/src/benchmarking.rs +++ b/modules/nft/src/benchmarking.rs @@ -200,6 +200,7 @@ mod mock { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { pub const ExistentialDeposit: u64 = 1; diff --git a/modules/nft/src/mock.rs b/modules/nft/src/mock.rs index 093aa5132a..e1138ad411 100644 --- a/modules/nft/src/mock.rs +++ b/modules/nft/src/mock.rs @@ -67,6 +67,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { pub const ExistentialDeposit: u64 = 1; diff --git a/modules/nominees-election/Cargo.toml b/modules/nominees-election/Cargo.toml index 3daee6ce00..e20305792a 100644 --- a/modules/nominees-election/Cargo.toml +++ b/modules/nominees-election/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/nominees-election/src/mock.rs b/modules/nominees-election/src/mock.rs index 7af1396ace..7c335d786c 100644 --- a/modules/nominees-election/src/mock.rs +++ b/modules/nominees-election/src/mock.rs @@ -68,6 +68,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/modules/prices/Cargo.toml b/modules/prices/Cargo.toml index 68e613cdff..dcd5647b10 100644 --- a/modules/prices/Cargo.toml +++ b/modules/prices/Cargo.toml @@ -8,17 +8,17 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } orml-traits = { package = "orml-traits", path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-tokens = { path = "../../orml/tokens" } [features] diff --git a/modules/prices/src/mock.rs b/modules/prices/src/mock.rs index b3c59aa6d3..53cb489862 100644 --- a/modules/prices/src/mock.rs +++ b/modules/prices/src/mock.rs @@ -81,6 +81,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } thread_local! { diff --git a/modules/relaychain/Cargo.toml b/modules/relaychain/Cargo.toml index e68c22a7f8..834f3f1ccd 100644 --- a/modules/relaychain/Cargo.toml +++ b/modules/relaychain/Cargo.toml @@ -7,18 +7,18 @@ edition = "2021" [dependencies] serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } module-support = { path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/modules/session-manager/Cargo.toml b/modules/session-manager/Cargo.toml index 8f946ca306..c1d0d4039c 100644 --- a/modules/session-manager/Cargo.toml +++ b/modules/session-manager/Cargo.toml @@ -9,15 +9,15 @@ log = { version = "0.4.14", default-features = false } serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std= { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/modules/session-manager/src/mock.rs b/modules/session-manager/src/mock.rs index 3c0f5e4118..d4680589bc 100644 --- a/modules/session-manager/src/mock.rs +++ b/modules/session-manager/src/mock.rs @@ -52,6 +52,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } sp_runtime::impl_opaque_keys! { diff --git a/modules/support/Cargo.toml b/modules/support/Cargo.toml index 7d08d0d212..8f747221cd 100644 --- a/modules/support/Cargo.toml +++ b/modules/support/Cargo.toml @@ -7,13 +7,13 @@ edition = "2021" [dependencies] impl-trait-for-tuples = "0.1.3" codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } [features] default = ["std"] diff --git a/modules/transaction-pause/Cargo.toml b/modules/transaction-pause/Cargo.toml index 1aa4ef281e..f966cef555 100644 --- a/modules/transaction-pause/Cargo.toml +++ b/modules/transaction-pause/Cargo.toml @@ -7,15 +7,15 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-tokens = { path = "../../orml/tokens" } orml-traits = { path = "../../orml/traits" } primitives = { package = "acala-primitives", path = "../../primitives" } diff --git a/modules/transaction-pause/src/mock.rs b/modules/transaction-pause/src/mock.rs index 42049ce5a7..dce3c44823 100644 --- a/modules/transaction-pause/src/mock.rs +++ b/modules/transaction-pause/src/mock.rs @@ -67,6 +67,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/modules/transaction-payment/Cargo.toml b/modules/transaction-payment/Cargo.toml index 2e3c3f7f15..32002e21f1 100644 --- a/modules/transaction-payment/Cargo.toml +++ b/modules/transaction-payment/Cargo.toml @@ -8,24 +8,24 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io= { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } support = { package = "module-support", path = "../support", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-tokens = { path = "../../orml/tokens" } module-currencies = { path = "../../modules/currencies" } module-dex = { path = "../dex" } diff --git a/modules/transaction-payment/src/lib.rs b/modules/transaction-payment/src/lib.rs index 99a9470149..2af5a7916f 100644 --- a/modules/transaction-payment/src/lib.rs +++ b/modules/transaction-payment/src/lib.rs @@ -1163,46 +1163,47 @@ where } fn post_dispatch( - pre: Self::Pre, + pre: Option, info: &DispatchInfoOf, post_info: &PostDispatchInfoOf, len: usize, _result: &DispatchResult, ) -> Result<(), TransactionValidityError> { - let (tip, who, imbalance, fee) = pre; - if let Some(payed) = imbalance { - let actual_fee = Pallet::::compute_actual_fee(len as u32, info, post_info, tip); - let refund_fee = fee.saturating_sub(actual_fee); - let mut refund = refund_fee; - let mut actual_tip = tip; - - if !tip.is_zero() && !info.weight.is_zero() { - // tip_pre_weight * unspent_weight - let refund_tip = tip - .checked_div(info.weight.saturated_into::>()) - .expect("checked is non-zero; qed") - .saturating_mul(post_info.calc_unspent(info).saturated_into::>()); - refund = refund_fee.saturating_add(refund_tip); - actual_tip = tip.saturating_sub(refund_tip); - } - let actual_payment = match ::Currency::deposit_into_existing(&who, refund) { - Ok(refund_imbalance) => { - // The refund cannot be larger than the up front payed max weight. - // `PostDispatchInfo::calc_unspent` guards against such a case. - match payed.offset(refund_imbalance) { - SameOrOther::Same(actual_payment) => actual_payment, - SameOrOther::None => Default::default(), - _ => return Err(InvalidTransaction::Payment.into()), - } + if let Some((tip, who, imbalance, fee)) = pre { + if let Some(payed) = imbalance { + let actual_fee = Pallet::::compute_actual_fee(len as u32, info, post_info, tip); + let refund_fee = fee.saturating_sub(actual_fee); + let mut refund = refund_fee; + let mut actual_tip = tip; + + if !tip.is_zero() && !info.weight.is_zero() { + // tip_pre_weight * unspent_weight + let refund_tip = tip + .checked_div(info.weight.saturated_into::>()) + .expect("checked is non-zero; qed") + .saturating_mul(post_info.calc_unspent(info).saturated_into::>()); + refund = refund_fee.saturating_add(refund_tip); + actual_tip = tip.saturating_sub(refund_tip); } - // We do not recreate the account using the refund. The up front payment - // is gone in that case. - Err(_) => payed, - }; - let (tip, fee) = actual_payment.split(actual_tip); - - // distribute fee - ::OnTransactionPayment::on_unbalanceds(Some(fee).into_iter().chain(Some(tip))); + let actual_payment = match ::Currency::deposit_into_existing(&who, refund) { + Ok(refund_imbalance) => { + // The refund cannot be larger than the up front payed max weight. + // `PostDispatchInfo::calc_unspent` guards against such a case. + match payed.offset(refund_imbalance) { + SameOrOther::Same(actual_payment) => actual_payment, + SameOrOther::None => Default::default(), + _ => return Err(InvalidTransaction::Payment.into()), + } + } + // We do not recreate the account using the refund. The up front payment + // is gone in that case. + Err(_) => payed, + }; + let (tip, fee) = actual_payment.split(actual_tip); + + // distribute fee + ::OnTransactionPayment::on_unbalanceds(Some(fee).into_iter().chain(Some(tip))); + } } Ok(()) } diff --git a/modules/transaction-payment/src/mock.rs b/modules/transaction-payment/src/mock.rs index ff95f31a31..b3f3582170 100644 --- a/modules/transaction-payment/src/mock.rs +++ b/modules/transaction-payment/src/mock.rs @@ -95,6 +95,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 33eeafe1c6..99eea84c6d 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -9,22 +9,22 @@ log = "0.4.8" structopt = "0.3.25" codec = { package = "parity-scale-codec", version = "2.3.1" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", optional = true } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", optional = true } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", optional = true } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", optional = true } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", optional = true } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } inspect = { package = "acala-inspect", path = "../../inspect" } service = { package = "acala-service", path = "../service", default-features = false, optional = true } diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index 1eebe2fbd9..43cba330c5 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -378,9 +378,11 @@ pub fn run() -> sc_cli::Result<()> { let _ = builder.init(); let chain_spec = cli.load_spec(¶ms.chain.clone().unwrap_or_default())?; + let state_version = Cli::native_runtime_version(&chain_spec).state_version(); let output_buf = with_runtime_or_err!(chain_spec, { { - let block: Block = generate_genesis_block(&chain_spec).map_err(|e| format!("{:?}", e))?; + let block: Block = + generate_genesis_block(&chain_spec, state_version).map_err(|e| format!("{:?}", e))?; let raw_header = block.header().encode(); let buf = if params.raw { raw_header @@ -545,11 +547,24 @@ impl CliConfiguration for RelayChainCli { self.base.base.rpc_ws(default_listen_port) } - fn prometheus_config(&self, default_listen_port: u16) -> Result> { - self.base.base.prometheus_config(default_listen_port) - } - - fn init(&self) -> Result<()> { + fn prometheus_config( + &self, + default_listen_port: u16, + chain_spec: &Box, + ) -> Result> { + self.base.base.prometheus_config(default_listen_port, chain_spec) + } + + fn init( + &self, + _support_url: &String, + _impl_version: &String, + _logger_hook: F, + _config: &sc_service::Configuration, + ) -> Result<()> + where + F: FnOnce(&mut sc_cli::LoggerBuilder, &sc_service::Configuration), + { unreachable!("PolkadotCli is never initialized; qed"); } diff --git a/node/e2e-tests/Cargo.toml b/node/e2e-tests/Cargo.toml index e9451d5223..ab7530661b 100644 --- a/node/e2e-tests/Cargo.toml +++ b/node/e2e-tests/Cargo.toml @@ -7,35 +7,35 @@ edition = "2021" [dependencies] log = "0.4.14" hex-literal = "0.3.1" -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-network-test = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-informant = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network-test = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-informant = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } test-runner = { path = "./test-runner" } diff --git a/node/e2e-tests/test-runner/Cargo.toml b/node/e2e-tests/test-runner/Cargo.toml index 6a42bb45c4..259d593410 100644 --- a/node/e2e-tests/test-runner/Cargo.toml +++ b/node/e2e-tests/test-runner/Cargo.toml @@ -6,50 +6,50 @@ edition = "2021" [dependencies] # client deps -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-informant = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-informant = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } # primitive deps -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } # pallets -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } env_logger = "0.7.1" log = "0.4.8" futures = { package = "futures", version = "0.3", features = ["compat"] } -tokio = { version = "1.10", features = ["signal"] } +tokio = { version = "1.15", features = ["signal"] } # Calling RPC jsonrpc-core = "18.0.0" diff --git a/node/e2e-tests/test-runner/src/client.rs b/node/e2e-tests/test-runner/src/client.rs index 5c2adc94e6..38cf831309 100644 --- a/node/e2e-tests/test-runner/src/client.rs +++ b/node/e2e-tests/test-runner/src/client.rs @@ -82,6 +82,7 @@ where config.wasm_method, config.default_heap_pages, config.max_runtime_instances, + config.runtime_cache_size, ); let (client, backend, keystore, mut task_manager) = diff --git a/node/e2e-tests/test-runner/src/host_functions.rs b/node/e2e-tests/test-runner/src/host_functions.rs index 5105e4b3cd..beb33fa012 100644 --- a/node/e2e-tests/test-runner/src/host_functions.rs +++ b/node/e2e-tests/test-runner/src/host_functions.rs @@ -18,6 +18,7 @@ #![allow(clippy::all)] +use sc_executor::sp_wasm_interface::HostFunctionRegistry; #[macro_export] macro_rules! override_host_functions { ($($fn_name:expr, $name:ident,)*) => {{ @@ -73,4 +74,11 @@ impl sp_wasm_interface::HostFunctions for SignatureVerificationOverride { Sr25519VerifyV2, ) } + + fn register_static(registry: &mut T) -> Result<(), T::Error> + where + T: HostFunctionRegistry, + { + todo!() + } } diff --git a/node/e2e-tests/test-runner/src/node.rs b/node/e2e-tests/test-runner/src/node.rs index a8c214ca7a..d7f623229a 100644 --- a/node/e2e-tests/test-runner/src/node.rs +++ b/node/e2e-tests/test-runner/src/node.rs @@ -186,7 +186,11 @@ where { let signed_data = if let Some(signer) = signer { let extra = self.with_state(|| T::signed_extras(signer.clone())); - Some((signer.into(), MultiSignature::Sr25519(Default::default()), extra)) + Some(( + signer.into(), + MultiSignature::Sr25519(sp_core::sr25519::Signature::from_raw([0u8; 64])), + extra, + )) } else { None }; diff --git a/node/e2e-tests/test-runner/src/utils.rs b/node/e2e-tests/test-runner/src/utils.rs index f0cebb2a5f..f5dc1befce 100644 --- a/node/e2e-tests/test-runner/src/utils.rs +++ b/node/e2e-tests/test-runner/src/utils.rs @@ -121,5 +121,6 @@ pub fn default_config(tokio_handle: Handle, mut chain_spec: Box) keep_blocks: KeepBlocks::All, state_pruning: Default::default(), transaction_storage: TransactionStorageMode::BlockBody, + runtime_cache_size: 2, } } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 4d6b60ab5d..ba8781ca3d 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -14,59 +14,61 @@ codec = { package = "parity-scale-codec", version = "2.3.1" } jsonrpc-core = "18.0.0" -node-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13"} -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +node-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master"} +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "master" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } ecosystem-renvm-bridge = { path = "../../ecosystem-modules/ren/renvm-bridge" } module-collator-selection = { path = "../../modules/collator-selection" } diff --git a/node/service/src/chain_spec/acala.rs b/node/service/src/chain_spec/acala.rs index d40a540ddd..bc5b564b57 100644 --- a/node/service/src/chain_spec/acala.rs +++ b/node/service/src/chain_spec/acala.rs @@ -233,7 +233,7 @@ fn acala_genesis( balances: BalancesConfig { balances: initial_allocation, }, - sudo: SudoConfig { key: root_key }, + sudo: SudoConfig { key: Some(root_key) }, general_council: Default::default(), general_council_membership: GeneralCouncilMembershipConfig { members: general_councils, diff --git a/node/service/src/chain_spec/karura.rs b/node/service/src/chain_spec/karura.rs index f49d0e7648..4014bda9f3 100644 --- a/node/service/src/chain_spec/karura.rs +++ b/node/service/src/chain_spec/karura.rs @@ -111,7 +111,7 @@ fn karura_genesis( balances: BalancesConfig { balances: initial_allocation, }, - sudo: SudoConfig { key: root_key }, + sudo: SudoConfig { key: Some(root_key) }, general_council: Default::default(), general_council_membership: GeneralCouncilMembershipConfig { members: general_councils, diff --git a/node/service/src/chain_spec/mandala.rs b/node/service/src/chain_spec/mandala.rs index 38ec54555f..1be7f7066b 100644 --- a/node/service/src/chain_spec/mandala.rs +++ b/node/service/src/chain_spec/mandala.rs @@ -95,6 +95,7 @@ fn dev_testnet_config_from_chain_id(chain_id: &str) -> Result vec![], None, None, + None, Some(properties), Extensions { relay_chain: "rococo-local".into(), @@ -150,6 +151,7 @@ pub fn local_testnet_config() -> Result { vec![], None, None, + None, Some(properties), Extensions { relay_chain: "rococo-local".into(), @@ -231,6 +233,7 @@ pub fn latest_mandala_testnet_config() -> Result { ], TelemetryEndpoints::new(vec![(TELEMETRY_URL.into(), 0)]).ok(), Some("mandala-dev-tc7"), + None, Some(properties), Extensions { relay_chain: "dev".into(), @@ -301,7 +304,9 @@ fn testnet_genesis( }, indices: IndicesConfig { indices: vec![] }, balances: BalancesConfig { balances }, - sudo: SudoConfig { key: root_key.clone() }, + sudo: SudoConfig { + key: Some(root_key.clone()), + }, general_council: Default::default(), general_council_membership: GeneralCouncilMembershipConfig { members: vec![root_key.clone()], @@ -491,7 +496,9 @@ fn mandala_genesis( }, indices: IndicesConfig { indices: vec![] }, balances: BalancesConfig { balances }, - sudo: SudoConfig { key: root_key.clone() }, + sudo: SudoConfig { + key: Some(root_key.clone()), + }, general_council: Default::default(), general_council_membership: GeneralCouncilMembershipConfig { members: vec![root_key.clone()], diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 28b90ddcd0..356d7e6301 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -21,13 +21,15 @@ //! Acala service. Specialized wrapper over substrate service. -use cumulus_client_consensus_aura::{build_aura_consensus, BuildAuraConsensusParams, SlotProportion}; +use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use cumulus_client_consensus_common::ParachainConsensus; -use cumulus_client_network::build_block_announce_validator; +use cumulus_client_network::BlockAnnounceValidator; use cumulus_client_service::{ prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, }; use cumulus_primitives_core::ParaId; +use cumulus_relay_chain_interface::RelayChainInterface; +use cumulus_relay_chain_local::build_relay_chain_interface; use acala_primitives::{Block, Hash}; use cumulus_primitives_parachain_inherent::MockValidationDataInherentDataProvider; @@ -45,7 +47,7 @@ use sp_runtime::traits::BlakeTwo256; use sp_trie::PrefixedMemoryDB; use substrate_prometheus_endpoint::Registry; -use std::sync::Arc; +use std::{sync::Arc, time::Duration}; pub use client::*; @@ -65,6 +67,9 @@ pub fn default_mock_parachain_inherent_data_provider() -> MockValidationDataInhe current_para_block: 0, relay_offset: 1000, relay_blocks_per_para_block: 2, + xcm_config: Default::default(), + raw_downward_messages: vec![], + raw_horizontal_messages: vec![], } } @@ -211,6 +216,7 @@ where config.wasm_method, config.default_heap_pages, config.max_runtime_instances, + config.runtime_cache_size, ); let (client, backend, keystore_container, task_manager) = @@ -342,7 +348,7 @@ where Option<&Registry>, Option, &TaskManager, - &polkadot_service::NewFull, + Arc, Arc>>, Arc>, SyncCryptoStorePtr, @@ -358,28 +364,23 @@ where let params = new_partial(¶chain_config, false, false)?; let (mut telemetry, telemetry_worker_handle) = params.other; - let relay_chain_full_node = - cumulus_client_service::build_polkadot_full_node(polkadot_config, telemetry_worker_handle).map_err( + let client = params.client.clone(); + let backend = params.backend.clone(); + let mut task_manager = params.task_manager; + + let (relay_chain_interface, collator_key) = + build_relay_chain_interface(polkadot_config, telemetry_worker_handle, &mut task_manager).map_err( |e| match e { polkadot_service::Error::Sub(x) => x, s => format!("{}", s).into(), }, )?; - - let client = params.client.clone(); - let backend = params.backend.clone(); - let block_announce_validator = build_block_announce_validator( - relay_chain_full_node.client.clone(), - id, - Box::new(relay_chain_full_node.network.clone()), - relay_chain_full_node.backend.clone(), - ); + let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), id); let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); let prometheus_registry = parachain_config.prometheus_registry().cloned(); let transaction_pool = params.transaction_pool.clone(); - let mut task_manager = params.task_manager; let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue); let (network, system_rpc_tx, start_network) = sc_service::build_network(sc_service::BuildNetworkParams { config: ¶chain_config, @@ -387,7 +388,7 @@ where transaction_pool: transaction_pool.clone(), spawn_handle: task_manager.spawn_handle(), import_queue: import_queue.clone(), - block_announce_validator_builder: Some(Box::new(|_| block_announce_validator)), + block_announce_validator_builder: Some(Box::new(|_| Box::new(block_announce_validator))), warp_sync: None, })?; @@ -439,7 +440,7 @@ where prometheus_registry.as_ref(), telemetry.as_ref().map(|t| t.handle()), &task_manager, - &relay_chain_full_node, + relay_chain_interface.clone(), transaction_pool, network, params.keystore_container.sync_keystore(), @@ -454,10 +455,12 @@ where announce_block, client: client.clone(), task_manager: &mut task_manager, - relay_chain_full_node, + relay_chain_interface, spawner, parachain_consensus, import_queue, + collator_key, + slot_duration: Duration::from_secs(6), }; start_collator(params).await?; @@ -467,7 +470,7 @@ where announce_block, task_manager: &mut task_manager, para_id: id, - relay_chain_full_node, + relay_chain_interface, }; start_full_node(params)?; @@ -499,7 +502,7 @@ where prometheus_registry, telemetry, task_manager, - relay_chain_node, + relay_chain_interface, transaction_pool, sync_oracle, keystore, @@ -514,50 +517,50 @@ where telemetry.clone(), ); - let relay_chain_backend = relay_chain_node.backend.clone(); - let relay_chain_client = relay_chain_node.client.clone(); - Ok(build_aura_consensus::( - BuildAuraConsensusParams { - proposer_factory, - create_inherent_data_providers: move |_, (relay_parent, validation_data)| { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at_with_client( - relay_parent, - &relay_chain_client, - &*relay_chain_backend, - &validation_data, - id, - ); - async move { - let time = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - *time, - slot_duration.slot_duration(), - ); - - let parachain_inherent = parachain_inherent.ok_or_else(|| { - Box::::from("Failed to create parachain inherent") - })?; - Ok((time, slot, parachain_inherent)) - } - }, - block_import: client.clone(), - relay_chain_client: relay_chain_node.client.clone(), - relay_chain_backend: relay_chain_node.backend.clone(), - para_client: client, - backoff_authoring_blocks: Option::<()>::None, - sync_oracle, - keystore, - force_authoring, - slot_duration, - // We got around 500ms for proposing - block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), - // And a maximum of 750ms if slots are skipped - max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), - telemetry, + Ok(AuraConsensus::build::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + _, + >(BuildAuraConsensusParams { + proposer_factory, + create_inherent_data_providers: move |_, (relay_parent, validation_data)| { + let parachain_inherent = cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface, + &validation_data, + id, + ); + async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *time, + slot_duration.slot_duration(), + ); + + let parachain_inherent = parachain_inherent.ok_or_else(|| { + Box::::from("Failed to create parachain inherent") + })?; + Ok((time, slot, parachain_inherent)) + } }, - )) + block_import: client.clone(), + para_client: client, + backoff_authoring_blocks: Option::<()>::None, + sync_oracle, + keystore, + force_authoring, + slot_duration, + // We got around 500ms for proposing + block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), + // And a maximum of 750ms if slots are skipped + max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), + telemetry, + })) }, ) .await diff --git a/orml b/orml index 8d07637284..530916622c 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 8d076372849a4dced5468f0f14db96b7145160ee +Subproject commit 530916622cad2972ba2e5bd09833b78305148282 diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 73f1109400..8f960c85d2 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -12,13 +12,13 @@ num_enum = { version = "0.5.1", default-features = false } parity-util-mem = { version = "0.10.0", default-features = false, features = ["primitive-types"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } module-evm-utiltity = { path = "../modules/evm-utiltity", default-features = false } module-evm-utiltity-macro = { path = "../modules/evm-utiltity/macro" } diff --git a/primitives/src/signature.rs b/primitives/src/signature.rs index ca00bdc699..bd1eae64fe 100644 --- a/primitives/src/signature.rs +++ b/primitives/src/signature.rs @@ -23,7 +23,7 @@ use sp_runtime::{ AccountId32, MultiSigner, RuntimeDebug, }; -use sp_core::{crypto::Public, ecdsa, ed25519, sr25519}; +use sp_core::{crypto::ByteArray, ecdsa, ed25519, sr25519}; use sp_std::prelude::*; @@ -94,18 +94,24 @@ impl TryFrom for ecdsa::Signature { } } -impl Default for AcalaMultiSignature { - fn default() -> Self { - Self::Ed25519(Default::default()) - } -} +// impl Default for AcalaMultiSignature { +// fn default() -> Self { +// Self::Ed25519(Default::default()) +// } +// } impl Verify for AcalaMultiSignature { type Signer = MultiSigner; fn verify>(&self, mut msg: L, signer: &AccountId32) -> bool { match (self, signer) { - (Self::Ed25519(ref sig), who) => sig.verify(msg, &ed25519::Public::from_slice(who.as_ref())), - (Self::Sr25519(ref sig), who) => sig.verify(msg, &sr25519::Public::from_slice(who.as_ref())), + (Self::Ed25519(ref sig), who) => match ed25519::Public::from_slice(who.as_ref()) { + Ok(signer) => sig.verify(msg, &signer), + Err(()) => false, + }, + (Self::Sr25519(ref sig), who) => match sr25519::Public::from_slice(who.as_ref()) { + Ok(signer) => sig.verify(msg, &signer), + Err(()) => false, + }, (Self::Ecdsa(ref sig), who) => { let m = sp_io::hashing::blake2_256(msg.get()); match sp_io::crypto::secp256k1_ecdsa_recover_compressed(sig.as_ref(), &m) { diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 7065d40df5..f1eea11fe1 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -8,16 +8,16 @@ edition = "2021" jsonrpc-core = "18.0.0" codec = { package = "parity-scale-codec", version = "2.3.1" } primitives = { package = "acala-primitives", path = "../primitives" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } orml-oracle-rpc = { path = "../orml/oracle/rpc" } runtime-common = { path = "../runtime/common" } diff --git a/runtime/acala/Cargo.toml b/runtime/acala/Cargo.toml index 4ad32bccdb..0330feea40 100644 --- a/runtime/acala/Cargo.toml +++ b/runtime/acala/Cargo.toml @@ -12,62 +12,62 @@ scale-info = { version = "1.0", default-features = false, features = ["derive"] serde = { version = "1.0.124", optional = true } hex-literal = { version = "0.3.1" } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features =false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["historical"] } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } orml-auction = { path = "../../orml/auction", default-features = false } orml-authority = { path = "../../orml/authority", default-features = false } @@ -114,13 +114,13 @@ module-evm-rpc-runtime-api = { path = "../../modules/evm/rpc/runtime_api", defa # benchmarking deps libsecp256k1 = { version = "0.6", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index ac642c964b..a1eaa15bfb 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -131,6 +131,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, + state_version: 1, }; /// The version infromation used to identify this runtime when compiled @@ -260,6 +261,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { @@ -613,6 +615,7 @@ impl pallet_bounties::Config for Runtime { type DataDepositPerByte = DataDepositPerByte; type MaximumReasonLength = MaximumReasonLength; type WeightInfo = (); + type ChildBountyManager = (); } impl pallet_tips::Config for Runtime { @@ -899,6 +902,8 @@ impl orml_vesting::Config for Runtime { parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 10; + // Retry a scheduled item every 10 blocks (1 minute) until the preimage exists. + pub const NoPreimagePostponement: Option = Some(10); } impl pallet_scheduler::Config for Runtime { @@ -911,6 +916,8 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; + type PreimageProvider = (); + type NoPreimagePostponement = NoPreimagePostponement; } parameter_types! { @@ -1544,6 +1551,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; + type ExecuteOverweightOrigin = EnsureRoot; } impl cumulus_pallet_dmp_queue::Config for Runtime { @@ -1618,6 +1626,7 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< LocationToAccountId, CurrencyId, CurrencyIdConvert, + (), >; //TODO: use token registry currency type encoding @@ -2122,8 +2131,8 @@ impl_runtime_apis! { } impl cumulus_primitives_core::CollectCollationInfo for Runtime { - fn collect_collation_info() -> cumulus_primitives_core::CollationInfo { - ParachainSystem::collect_collation_info() + fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { + ParachainSystem::collect_collation_info(header) } } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index dc9d682271..b76c95ff25 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -12,16 +12,16 @@ codec = { package = "parity-scale-codec", version = "2.3.1", default-features = ethabi = { version = "15.0.0", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } orml-oracle = { path = "../../orml/oracle", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } @@ -37,19 +37,19 @@ module-transaction-payment = { path = "../../modules/transaction-payment", defau module-nft = { path = "../../modules/nft", default-features = false } module-dex = { path = "../../modules/dex", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } [dev-dependencies] serde_json = "1.0.68" hex-literal = "0.3.1" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master" } acala-service = { path = "../../node/service", features = ["with-mandala-runtime"] } orml-tokens = { path = "../../orml/tokens" } diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index d9f4753aa2..c380c37d51 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -24,14 +24,14 @@ use codec::{Decode, Encode, MaxEncodedLen}; use frame_support::traits::Get; use frame_support::{ parameter_types, - traits::Contains, + traits::{Contains, EnsureOneOf}, weights::{ constants::{BlockExecutionWeight, ExtrinsicBaseWeight, WEIGHT_PER_MILLIS, WEIGHT_PER_NANOS}, DispatchClass, Weight, }, RuntimeDebug, }; -use frame_system::{limits, EnsureOneOf, EnsureRoot}; +use frame_system::{limits, EnsureRoot}; pub use module_support::{ExchangeRate, PrecompileCallerFilter, Price, Rate, Ratio}; use primitives::{evm::is_system_contract, Balance, BlockNumber, CurrencyId}; use scale_info::TypeInfo; @@ -204,127 +204,107 @@ pub type OperatorMembershipInstanceAcala = pallet_membership::Instance5; // General Council pub type EnsureRootOrAllGeneralCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _1, AccountId, GeneralCouncilInstance>, >; pub type EnsureRootOrHalfGeneralCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _2, AccountId, GeneralCouncilInstance>, >; pub type EnsureRootOrOneThirdsGeneralCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _3, AccountId, GeneralCouncilInstance>, >; pub type EnsureRootOrTwoThirdsGeneralCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, GeneralCouncilInstance>, >; pub type EnsureRootOrThreeFourthsGeneralCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_3, _4, AccountId, GeneralCouncilInstance>, >; pub type EnsureRootOrOneGeneralCouncil = - EnsureOneOf, pallet_collective::EnsureMember>; + EnsureOneOf, pallet_collective::EnsureMember>; // Financial Council pub type EnsureRootOrAllFinancialCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _1, AccountId, FinancialCouncilInstance>, >; pub type EnsureRootOrHalfFinancialCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _2, AccountId, FinancialCouncilInstance>, >; pub type EnsureRootOrOneThirdsFinancialCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _3, AccountId, FinancialCouncilInstance>, >; pub type EnsureRootOrTwoThirdsFinancialCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, FinancialCouncilInstance>, >; pub type EnsureRootOrThreeFourthsFinancialCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_3, _4, AccountId, FinancialCouncilInstance>, >; // Homa Council pub type EnsureRootOrAllHomaCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _1, AccountId, HomaCouncilInstance>, >; pub type EnsureRootOrHalfHomaCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _2, AccountId, HomaCouncilInstance>, >; pub type EnsureRootOrOneThirdsHomaCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _3, AccountId, HomaCouncilInstance>, >; pub type EnsureRootOrTwoThirdsHomaCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, HomaCouncilInstance>, >; pub type EnsureRootOrThreeFourthsHomaCouncil = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_3, _4, AccountId, HomaCouncilInstance>, >; // Technical Committee Council pub type EnsureRootOrAllTechnicalCommittee = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _1, AccountId, TechnicalCommitteeInstance>, >; pub type EnsureRootOrHalfTechnicalCommittee = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _2, AccountId, TechnicalCommitteeInstance>, >; pub type EnsureRootOrOneThirdsTechnicalCommittee = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_1, _3, AccountId, TechnicalCommitteeInstance>, >; pub type EnsureRootOrTwoThirdsTechnicalCommittee = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_2, _3, AccountId, TechnicalCommitteeInstance>, >; pub type EnsureRootOrThreeFourthsTechnicalCommittee = EnsureOneOf< - AccountId, EnsureRoot, pallet_collective::EnsureProportionAtLeast<_3, _4, AccountId, TechnicalCommitteeInstance>, >; diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 6bdb6d0127..744e0c6470 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -13,62 +13,62 @@ hex = { version = "0.4" } hex-literal = { version = "0.3.1" } libsecp256k1 = { version = "0.6" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13"} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13"} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features =false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", features = ["historical"] } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master"} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master"} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["historical"] } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master" } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master" } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master" } orml-auction = { path = "../../orml/auction" } orml-authority = { path = "../../orml/authority" } @@ -123,15 +123,15 @@ ecosystem-compound-cash = { path = "../../ecosystem-modules/compound-cash" } [dev-dependencies] env_logger = "0.9.0" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "master" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } -kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "master" } +kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "master" } xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "4d3bb9dd4fa2cd554a9970ffff816d9346269eaa" } diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index 25849288ea..0d7cdb43b0 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -12,62 +12,62 @@ scale-info = { version = "1.0", default-features = false, features = ["derive"] serde = { version = "1.0.124", optional = true } hex-literal = { version = "0.3.1" } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features =false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["historical"] } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } orml-auction = { path = "../../orml/auction", default-features = false } orml-authority = { path = "../../orml/authority", default-features = false } @@ -115,13 +115,13 @@ module-evm-rpc-runtime-api = { path = "../../modules/evm/rpc/runtime_api", defa # benchmarking deps libsecp256k1 = { version = "0.6", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] default = ["std"] diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index a67b817525..7834069068 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -132,6 +132,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, + state_version: 1, }; /// The version infromation used to identify this runtime when compiled @@ -270,6 +271,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { @@ -623,6 +625,7 @@ impl pallet_bounties::Config for Runtime { type DataDepositPerByte = DataDepositPerByte; type MaximumReasonLength = MaximumReasonLength; type WeightInfo = (); + type ChildBountyManager = (); } impl pallet_tips::Config for Runtime { @@ -910,6 +913,8 @@ impl orml_vesting::Config for Runtime { parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 10; + // Retry a scheduled item every 10 blocks (1 minute) until the preimage exists. + pub const NoPreimagePostponement: Option = Some(10); } impl pallet_scheduler::Config for Runtime { @@ -922,6 +927,8 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; + type PreimageProvider = (); + type NoPreimagePostponement = NoPreimagePostponement; } parameter_types! { @@ -1617,6 +1624,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; + type ExecuteOverweightOrigin = EnsureRoot; } impl cumulus_pallet_dmp_queue::Config for Runtime { @@ -1693,6 +1701,7 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< LocationToAccountId, CurrencyId, CurrencyIdConvert, + (), >; //TODO: use token registry currency type encoding @@ -2241,8 +2250,8 @@ impl_runtime_apis! { } impl cumulus_primitives_core::CollectCollationInfo for Runtime { - fn collect_collation_info() -> cumulus_primitives_core::CollationInfo { - ParachainSystem::collect_collation_info() + fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { + ParachainSystem::collect_collation_info(header) } } diff --git a/runtime/mandala/Cargo.toml b/runtime/mandala/Cargo.toml index 26c10d8245..38664ffecf 100644 --- a/runtime/mandala/Cargo.toml +++ b/runtime/mandala/Cargo.toml @@ -14,67 +14,67 @@ hex = { version = "0.4", default-features = false, optional = true } hex-literal = { version = "0.3.1" } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features =false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, features = ["historical"] } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["historical"] } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } libsecp256k1 = { version = "0.6", default-features = false, optional = true } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.13", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } orml-auction = { path = "../../orml/auction", default-features = false } orml-authority = { path = "../../orml/authority", default-features = false } @@ -128,16 +128,16 @@ ecosystem-starport = { path = "../../ecosystem-modules/starport", default-featur ecosystem-compound-cash = { path = "../../ecosystem-modules/compound-cash", default-features = false } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } [dev-dependencies] hex = "0.4.0" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.13" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "master" } acala-service = { path = "../../node/service", features = ["with-mandala-runtime"] } diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index a37eea1b87..ad1a509821 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -143,6 +143,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, + state_version: 1, }; /// The version infromation used to identify this runtime when compiled @@ -244,6 +245,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { @@ -597,6 +599,7 @@ impl pallet_bounties::Config for Runtime { type DataDepositPerByte = DataDepositPerByte; type MaximumReasonLength = MaximumReasonLength; type WeightInfo = (); + type ChildBountyManager = (); } impl pallet_tips::Config for Runtime { @@ -915,6 +918,8 @@ impl orml_vesting::Config for Runtime { parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 50; + // Retry a scheduled item every 10 blocks (1 minute) until the preimage exists. + pub const NoPreimagePostponement: Option = Some(10); } impl pallet_scheduler::Config for Runtime { @@ -927,6 +932,8 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; + type PreimageProvider = (); + type NoPreimagePostponement = NoPreimagePostponement; } parameter_types! { @@ -1704,6 +1711,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type XcmExecutor = XcmExecutor; type ChannelInfo = ParachainSystem; type VersionWrapper = (); + type ExecuteOverweightOrigin = EnsureRoot; } impl cumulus_pallet_dmp_queue::Config for Runtime { @@ -1720,6 +1728,7 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< LocationToAccountId, CurrencyId, CurrencyIdConvert, + (), >; //TODO: use token registry currency type encoding @@ -2359,8 +2368,8 @@ impl_runtime_apis! { } impl cumulus_primitives_core::CollectCollationInfo for Runtime { - fn collect_collation_info() -> cumulus_primitives_core::CollationInfo { - ParachainSystem::collect_collation_info() + fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { + ParachainSystem::collect_collation_info(header) } } From 336a88afeacd23a52da7f367cf83e52f16f77f2c Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 11 Jan 2022 22:18:05 +0800 Subject: [PATCH 02/46] transfer from self and sibling test --- Cargo.lock | 2 +- .../test-runner/src/host_functions.rs | 2 +- node/service/src/chain_spec/acala.rs | 2 + node/service/src/chain_spec/karura.rs | 1 + orml | 2 +- runtime/integration-tests/Cargo.toml | 4 +- runtime/integration-tests/src/authority.rs | 70 +++++++-------- .../relaychain/kusama_cross_chain_transfer.rs | 90 +++++++++++++++++++ .../src/relaychain/kusama_test_net.rs | 9 +- runtime/karura/src/lib.rs | 56 +++++++++--- 10 files changed, 182 insertions(+), 56 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4b0d5da029..1eda1cfcb1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14038,7 +14038,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/shaunxw/xcm-simulator?rev=4d3bb9dd4fa2cd554a9970ffff816d9346269eaa#4d3bb9dd4fa2cd554a9970ffff816d9346269eaa" +source = "git+https://github.com/zqhxuyuan/xcm-simulator?branch=v0.9.15_master#2004a1d6d7150c1d518b8dd20ab43613a6ca5f1f" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", diff --git a/node/e2e-tests/test-runner/src/host_functions.rs b/node/e2e-tests/test-runner/src/host_functions.rs index beb33fa012..18ba3f69a5 100644 --- a/node/e2e-tests/test-runner/src/host_functions.rs +++ b/node/e2e-tests/test-runner/src/host_functions.rs @@ -75,7 +75,7 @@ impl sp_wasm_interface::HostFunctions for SignatureVerificationOverride { ) } - fn register_static(registry: &mut T) -> Result<(), T::Error> + fn register_static(_registry: &mut T) -> Result<(), T::Error> where T: HostFunctionRegistry, { diff --git a/node/service/src/chain_spec/acala.rs b/node/service/src/chain_spec/acala.rs index bc5b564b57..cf01a64f2b 100644 --- a/node/service/src/chain_spec/acala.rs +++ b/node/service/src/chain_spec/acala.rs @@ -170,6 +170,7 @@ pub fn latest_acala_config() -> Result { ], TelemetryEndpoints::new(vec![(TELEMETRY_URL.into(), 0)]).ok(), Some("acala"), + None, Some(acala_properties()), Extensions { relay_chain: "polkadot".into(), @@ -208,6 +209,7 @@ pub fn acala_dev_config() -> Result { vec![], None, None, + None, Some(acala_properties()), Extensions { relay_chain: "rococo-local".into(), diff --git a/node/service/src/chain_spec/karura.rs b/node/service/src/chain_spec/karura.rs index 4014bda9f3..2f1e3343dd 100644 --- a/node/service/src/chain_spec/karura.rs +++ b/node/service/src/chain_spec/karura.rs @@ -86,6 +86,7 @@ pub fn karura_dev_config() -> Result { vec![], None, None, + None, Some(karura_properties()), Extensions { relay_chain: "rococo-local".into(), diff --git a/orml b/orml index 530916622c..f785e0bf9a 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 530916622cad2972ba2e5bd09833b78305148282 +Subproject commit f785e0bf9adba821a2932bef3bd3bad36d55f851 diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 744e0c6470..71ce1d83cc 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -133,12 +133,12 @@ polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "master" } kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "master" } -xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "4d3bb9dd4fa2cd554a9970ffff816d9346269eaa" } +xcm-emulator = { git = "https://github.com/zqhxuyuan/xcm-simulator", branch = "v0.9.15_master" } acala-service = { path = "../../node/service", features = ["with-all-runtime"] } [features] -default = ["std"] +default = ["std", "with-karura-runtime"] no_std = [] with-mandala-runtime = [ "acala-service/with-mandala-runtime", diff --git a/runtime/integration-tests/src/authority.rs b/runtime/integration-tests/src/authority.rs index bc3761a922..de6f944f82 100644 --- a/runtime/integration-tests/src/authority.rs +++ b/runtime/integration-tests/src/authority.rs @@ -125,23 +125,23 @@ fn test_authority_module() { // delay < SevenDays #[cfg(feature = "with-mandala-runtime")] - System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched( - (OneDay::get() + 1, 1), - Some([AUTHORITY_ORIGIN_ID, 32, 28, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()), - Err(DispatchError::BadOrigin), - ))); + System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched { + task: (OneDay::get() + 1, 1), + id: Some([AUTHORITY_ORIGIN_ID, 32, 28, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()), + result: Err(DispatchError::BadOrigin), + })); #[cfg(feature = "with-karura-runtime")] - System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched( - (OneDay::get() + 1, 1), - Some([AUTHORITY_ORIGIN_ID, 32, 28, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()), - Err(DispatchError::BadOrigin), - ))); + System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched { + task: (OneDay::get() + 1, 1), + id: Some([AUTHORITY_ORIGIN_ID, 32, 28, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()), + result: Err(DispatchError::BadOrigin), + })); #[cfg(feature = "with-acala-runtime")] - System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched( - (OneDay::get() + 1, 1), - Some([AUTHORITY_ORIGIN_ID, 32, 28, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()), - Err(DispatchError::BadOrigin), - ))); + System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched { + task: (OneDay::get() + 1, 1), + id: Some([AUTHORITY_ORIGIN_ID, 32, 28, 0, 0, 0, 0, 1, 0, 0, 0].to_vec()), + result: Err(DispatchError::BadOrigin), + })); let seven_days_later = one_day_later + SevenDays::get() + 1; @@ -157,25 +157,25 @@ fn test_authority_module() { run_to_block(seven_days_later); #[cfg(feature = "with-mandala-runtime")] - System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched( - (seven_days_later, 0), - Some([AUTHORITY_ORIGIN_ID, 225, 196, 0, 0, 0, 0, 2, 0, 0, 0].to_vec()), - Ok(()), - ))); + System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched { + task: (seven_days_later, 0), + id: Some([AUTHORITY_ORIGIN_ID, 225, 196, 0, 0, 0, 0, 2, 0, 0, 0].to_vec()), + result: Ok(()), + })); #[cfg(feature = "with-karura-runtime")] - System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched( - (seven_days_later, 0), - Some([AUTHORITY_ORIGIN_ID, 225, 196, 0, 0, 0, 0, 2, 0, 0, 0].to_vec()), - Ok(()), - ))); + System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched { + task: (seven_days_later, 0), + id: Some([AUTHORITY_ORIGIN_ID, 225, 196, 0, 0, 0, 0, 2, 0, 0, 0].to_vec()), + result: Ok(()), + })); #[cfg(feature = "with-acala-runtime")] - System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched( - (seven_days_later, 0), - Some([AUTHORITY_ORIGIN_ID, 225, 196, 0, 0, 0, 0, 2, 0, 0, 0].to_vec()), - Ok(()), - ))); + System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched { + task: (seven_days_later, 0), + id: Some([AUTHORITY_ORIGIN_ID, 225, 196, 0, 0, 0, 0, 2, 0, 0, 0].to_vec()), + result: Ok(()), + })); // with_delayed_origin = false assert_ok!(Authority::schedule_dispatch( @@ -191,11 +191,11 @@ fn test_authority_module() { })); run_to_block(seven_days_later + 1); - System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched( - (seven_days_later + 1, 0), - Some([0, 0, 3, 0, 0, 0].to_vec()), - Ok(()), - ))); + System::assert_last_event(Event::Scheduler(pallet_scheduler::Event::::Dispatched { + task: (seven_days_later + 1, 0), + id: Some([0, 0, 3, 0, 0, 0].to_vec()), + result: Ok(()), + })); assert_ok!(Authority::schedule_dispatch( Origin::root(), diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index 4110f80912..b162e88fd0 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -83,8 +83,98 @@ fn transfer_to_relay_chain() { }); } +#[test] +fn transfer_from_self() { + env_logger::init(); + TestNet::reset(); + + fn karura_reserve_account() -> AccountId { + use sp_runtime::traits::AccountIdConversion; + polkadot_parachain::primitives::Sibling::from(2001).into_account() + } + + Karura::execute_with(|| { + let _ = Balances::deposit_creating(&AccountId::from(ALICE), 100_000_000_000_000); + + assert_ok!(XTokens::transfer( + Origin::signed(ALICE.into()), + KAR, + 10_000_000_000_000, + Box::new( + MultiLocation::new( + 1, + X2( + Parachain(2001), + Junction::AccountId32 { + network: NetworkId::Any, + id: BOB.into(), + } + ) + ) + .into() + ), + 1_000_000_000_000, + )); + + assert_eq!(90_000_000_000_000, Balances::free_balance(&AccountId::from(ALICE))); + assert_eq!(10_000_000_000_000, Balances::free_balance(&karura_reserve_account())); + }); + + Sibling::execute_with(|| { + assert_eq!(0, Tokens::free_balance(KAR, &AccountId::from(BOB))); + assert_eq!(9_993_600_000_000, Balances::free_balance(&AccountId::from(BOB))); + }); +} + +#[test] +fn transfer_from_sibling() { + env_logger::init(); + TestNet::reset(); + + fn karura_reserve_account() -> AccountId { + use sp_runtime::traits::AccountIdConversion; + polkadot_parachain::primitives::Sibling::from(2001).into_account() + } + + Karura::execute_with(|| { + let _ = Balances::deposit_creating(&karura_reserve_account(), 100_000_000_000_000); + }); + Sibling::execute_with(|| { + let _ = Balances::deposit_creating(&AccountId::from(BOB), 100_000_000_000_000); + + assert_ok!(XTokens::transfer( + Origin::signed(BOB.into()), + KAR, + 10_000_000_000_000, + Box::new( + MultiLocation::new( + 1, + X2( + Parachain(2000), + Junction::AccountId32 { + network: NetworkId::Any, + id: ALICE.into(), + } + ) + ) + .into() + ), + 1_000_000_000, + )); + + assert_eq!(90_000_000_000_000, Balances::free_balance(&AccountId::from(BOB))); + }); + + Karura::execute_with(|| { + // assert_eq!(Tokens::free_balance(BNC, &AccountId::from(ALICE)), 94_989_760_000_000); + assert_eq!(9_993_600_000_000, Balances::free_balance(&AccountId::from(ALICE))); + assert_eq!(90_000_000_000_000, Balances::free_balance(&karura_reserve_account())); + }); +} + #[test] fn transfer_to_sibling() { + env_logger::init(); TestNet::reset(); fn karura_reserve_account() -> AccountId { diff --git a/runtime/integration-tests/src/relaychain/kusama_test_net.rs b/runtime/integration-tests/src/relaychain/kusama_test_net.rs index 3ff38e63c9..da7af4c0be 100644 --- a/runtime/integration-tests/src/relaychain/kusama_test_net.rs +++ b/runtime/integration-tests/src/relaychain/kusama_test_net.rs @@ -40,6 +40,8 @@ decl_test_parachain! { pub struct Karura { Runtime = Runtime, Origin = Origin, + XcmpMessageHandler = karura_runtime::XcmpQueue, + DmpMessageHandler = karura_runtime::DmpQueue, new_ext = para_ext(2000), } } @@ -48,6 +50,8 @@ decl_test_parachain! { pub struct Sibling { Runtime = Runtime, Origin = Origin, + XcmpMessageHandler = karura_runtime::XcmpQueue, + DmpMessageHandler = karura_runtime::DmpQueue, new_ext = para_ext(2001), } } @@ -64,8 +68,9 @@ decl_test_network! { fn default_parachains_host_configuration() -> HostConfiguration { HostConfiguration { - validation_upgrade_frequency: 1u32, - validation_upgrade_delay: 1, + minimum_validation_upgrade_delay: 5, + validation_upgrade_cooldown: 5u32, + validation_upgrade_delay: 5, code_retention_period: 1200, max_code_size: MAX_CODE_SIZE, max_pov_size: MAX_POV_SIZE, diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 7834069068..5bd082de62 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1482,9 +1482,15 @@ parameter_types! { ksm_per_second() * 400 ); pub KarPerSecond: (AssetId, u128) = ( + // MultiLocation::new( + // 1, + // // X2(Parachain(u32::from(ParachainInfo::get())), GeneralKey(KAR.encode())), + // X2(Parachain(2000), GeneralKey(KAR.encode())), + // ).into(), MultiLocation::new( - 1, - X2(Parachain(u32::from(ParachainInfo::get())), GeneralKey(KAR.encode())), + 0, + // X2(Parachain(u32::from(ParachainInfo::get())), GeneralKey(KAR.encode())), + X1(GeneralKey(KAR.encode())), ).into(), kar_per_second() ); @@ -1542,17 +1548,17 @@ parameter_types! { } pub type Trader = ( - TransactionFeePoolTrader, - FixedRateOfFungible, - FixedRateOfFungible, + // TransactionFeePoolTrader, + // FixedRateOfFungible, + // FixedRateOfFungible, FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfForeignAsset, + /* FixedRateOfFungible, + * FixedRateOfFungible, + * FixedRateOfFungible, + * FixedRateOfFungible, + * FixedRateOfFungible, + * FixedRateOfFungible, + * FixedRateOfForeignAsset, */ ); pub struct XcmConfig; @@ -1706,7 +1712,8 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< //TODO: use token registry currency type encoding fn native_currency_location(id: CurrencyId) -> MultiLocation { - MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) + // MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) + MultiLocation::new(1, X2(Parachain(2000), GeneralKey(id.encode()))) } pub struct CurrencyIdConvert; @@ -1780,7 +1787,8 @@ impl Convert> for CurrencyIdConvert { (parachains::kintsugi::ID, parachains::kintsugi::KINT_KEY) => Some(Token(KINT)), (parachains::kintsugi::ID, parachains::kintsugi::KBTC_KEY) => Some(Token(KBTC)), - (id, key) if id == u32::from(ParachainInfo::get()) => { + // (id, key) if id == u32::from(ParachainInfo::get()) => { + (id, key) if id == 2000 => { // Karura if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { // check `currency_id` is cross-chain asset @@ -1800,6 +1808,26 @@ impl Convert> for CurrencyIdConvert { parents: 1, interior: X1(Parachain(parachains::phala::ID)), } => Some(Token(PHA)), + MultiLocation { + parents: 0, + interior: X1(GeneralKey(key)), + } => { + match &key[..] { + key => { + if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { + // check `currency_id` is cross-chain asset + match currency_id { + Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), + _ => None, + } + } else { + // invalid general key + None + } + } + _ => None, + } + } _ => None, } } From e3e7a49f0049b5675a29e3a82285634d6054fcc9 Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 11 Jan 2022 22:48:02 +0800 Subject: [PATCH 03/46] transfer_to_sibling and test_asset_registry_module err --- .../relaychain/kusama_cross_chain_transfer.rs | 90 ------------------- runtime/karura/src/lib.rs | 55 +++++------- 2 files changed, 20 insertions(+), 125 deletions(-) diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index b162e88fd0..4110f80912 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -83,98 +83,8 @@ fn transfer_to_relay_chain() { }); } -#[test] -fn transfer_from_self() { - env_logger::init(); - TestNet::reset(); - - fn karura_reserve_account() -> AccountId { - use sp_runtime::traits::AccountIdConversion; - polkadot_parachain::primitives::Sibling::from(2001).into_account() - } - - Karura::execute_with(|| { - let _ = Balances::deposit_creating(&AccountId::from(ALICE), 100_000_000_000_000); - - assert_ok!(XTokens::transfer( - Origin::signed(ALICE.into()), - KAR, - 10_000_000_000_000, - Box::new( - MultiLocation::new( - 1, - X2( - Parachain(2001), - Junction::AccountId32 { - network: NetworkId::Any, - id: BOB.into(), - } - ) - ) - .into() - ), - 1_000_000_000_000, - )); - - assert_eq!(90_000_000_000_000, Balances::free_balance(&AccountId::from(ALICE))); - assert_eq!(10_000_000_000_000, Balances::free_balance(&karura_reserve_account())); - }); - - Sibling::execute_with(|| { - assert_eq!(0, Tokens::free_balance(KAR, &AccountId::from(BOB))); - assert_eq!(9_993_600_000_000, Balances::free_balance(&AccountId::from(BOB))); - }); -} - -#[test] -fn transfer_from_sibling() { - env_logger::init(); - TestNet::reset(); - - fn karura_reserve_account() -> AccountId { - use sp_runtime::traits::AccountIdConversion; - polkadot_parachain::primitives::Sibling::from(2001).into_account() - } - - Karura::execute_with(|| { - let _ = Balances::deposit_creating(&karura_reserve_account(), 100_000_000_000_000); - }); - Sibling::execute_with(|| { - let _ = Balances::deposit_creating(&AccountId::from(BOB), 100_000_000_000_000); - - assert_ok!(XTokens::transfer( - Origin::signed(BOB.into()), - KAR, - 10_000_000_000_000, - Box::new( - MultiLocation::new( - 1, - X2( - Parachain(2000), - Junction::AccountId32 { - network: NetworkId::Any, - id: ALICE.into(), - } - ) - ) - .into() - ), - 1_000_000_000, - )); - - assert_eq!(90_000_000_000_000, Balances::free_balance(&AccountId::from(BOB))); - }); - - Karura::execute_with(|| { - // assert_eq!(Tokens::free_balance(BNC, &AccountId::from(ALICE)), 94_989_760_000_000); - assert_eq!(9_993_600_000_000, Balances::free_balance(&AccountId::from(ALICE))); - assert_eq!(90_000_000_000_000, Balances::free_balance(&karura_reserve_account())); - }); -} - #[test] fn transfer_to_sibling() { - env_logger::init(); TestNet::reset(); fn karura_reserve_account() -> AccountId { diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 5bd082de62..65c632f37f 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1482,15 +1482,9 @@ parameter_types! { ksm_per_second() * 400 ); pub KarPerSecond: (AssetId, u128) = ( - // MultiLocation::new( - // 1, - // // X2(Parachain(u32::from(ParachainInfo::get())), GeneralKey(KAR.encode())), - // X2(Parachain(2000), GeneralKey(KAR.encode())), - // ).into(), MultiLocation::new( - 0, - // X2(Parachain(u32::from(ParachainInfo::get())), GeneralKey(KAR.encode())), - X1(GeneralKey(KAR.encode())), + 1, + X2(Parachain(u32::from(ParachainInfo::get())), GeneralKey(KAR.encode())), ).into(), kar_per_second() ); @@ -1548,17 +1542,17 @@ parameter_types! { } pub type Trader = ( - // TransactionFeePoolTrader, - // FixedRateOfFungible, - // FixedRateOfFungible, + TransactionFeePoolTrader, + FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfFungible, - /* FixedRateOfFungible, - * FixedRateOfFungible, - * FixedRateOfFungible, - * FixedRateOfFungible, - * FixedRateOfFungible, - * FixedRateOfFungible, - * FixedRateOfForeignAsset, */ + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfForeignAsset, ); pub struct XcmConfig; @@ -1712,8 +1706,7 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< //TODO: use token registry currency type encoding fn native_currency_location(id: CurrencyId) -> MultiLocation { - // MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) - MultiLocation::new(1, X2(Parachain(2000), GeneralKey(id.encode()))) + MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) } pub struct CurrencyIdConvert; @@ -1787,8 +1780,7 @@ impl Convert> for CurrencyIdConvert { (parachains::kintsugi::ID, parachains::kintsugi::KINT_KEY) => Some(Token(KINT)), (parachains::kintsugi::ID, parachains::kintsugi::KBTC_KEY) => Some(Token(KBTC)), - // (id, key) if id == u32::from(ParachainInfo::get()) => { - (id, key) if id == 2000 => { + (id, key) if id == u32::from(ParachainInfo::get()) => { // Karura if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { // check `currency_id` is cross-chain asset @@ -1812,20 +1804,13 @@ impl Convert> for CurrencyIdConvert { parents: 0, interior: X1(GeneralKey(key)), } => { - match &key[..] { - key => { - if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { - // check `currency_id` is cross-chain asset - match currency_id { - Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), - _ => None, - } - } else { - // invalid general key - None - } + if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { + match currency_id { + Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), + _ => None, } - _ => None, + } else { + None } } _ => None, From 174cb01ddf74b7fd5786cb5622b7c199d320d0f0 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 12 Jan 2022 08:04:22 +0800 Subject: [PATCH 04/46] templary fix transfer_to_sibling --- .../relaychain/kusama_cross_chain_transfer.rs | 2 ++ runtime/karura/src/lib.rs | 29 ++++++++++++++----- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index 4110f80912..d1ce0df906 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -85,6 +85,7 @@ fn transfer_to_relay_chain() { #[test] fn transfer_to_sibling() { + env_logger::init(); TestNet::reset(); fn karura_reserve_account() -> AccountId { @@ -323,6 +324,7 @@ fn subscribe_version_notify_works() { #[test] fn test_asset_registry_module() { + env_logger::init(); TestNet::reset(); fn karura_reserve_account() -> AccountId { diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 65c632f37f..d66d268c98 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1512,6 +1512,14 @@ parameter_types! { // BNC:KSM = 80:1 ksm_per_second() * 80 ); + pub BncPerSecond2: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(parachains::bifrost::BNC_KEY.to_vec())), + ).into(), + // BNC:KSM = 80:1 + ksm_per_second() * 80 + ); pub VsksmPerSecond: (AssetId, u128) = ( MultiLocation::new( 1, @@ -1548,6 +1556,7 @@ pub type Trader = ( FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, @@ -1803,16 +1812,20 @@ impl Convert> for CurrencyIdConvert { MultiLocation { parents: 0, interior: X1(GeneralKey(key)), - } => { - if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { - match currency_id { - Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), - _ => None, + } => match &key[..] { + parachains::bifrost::BNC_KEY => Some(Token(BNC)), + key => { + if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { + match currency_id { + Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), + Token(BNC) => Some(currency_id), + _ => None, + } + } else { + None } - } else { - None } - } + }, _ => None, } } From 56485d92def99991ae4440a2fa0f143082545ae1 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 12 Jan 2022 22:22:03 +0800 Subject: [PATCH 05/46] fix test_asset_registry_module error --- .../src/relaychain/kusama_cross_chain_transfer.rs | 2 -- runtime/karura/src/lib.rs | 10 ++++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index d1ce0df906..4110f80912 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -85,7 +85,6 @@ fn transfer_to_relay_chain() { #[test] fn transfer_to_sibling() { - env_logger::init(); TestNet::reset(); fn karura_reserve_account() -> AccountId { @@ -324,7 +323,6 @@ fn subscribe_version_notify_works() { #[test] fn test_asset_registry_module() { - env_logger::init(); TestNet::reset(); fn karura_reserve_account() -> AccountId { diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index d66d268c98..fa5ae39a61 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1488,6 +1488,13 @@ parameter_types! { ).into(), kar_per_second() ); + pub KarPerSecond2: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(KAR.encode())), + ).into(), + kar_per_second() + ); pub LksmPerSecond: (AssetId, u128) = ( MultiLocation::new( 1, @@ -1554,8 +1561,11 @@ pub type Trader = ( FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, + // TODO just for test_asset_registry_module + FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, + // TODO just for transfer_to_sibling FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, From a90e45093223f1bc4342badc9f9c34bfa2a4a6e8 Mon Sep 17 00:00:00 2001 From: zqh Date: Thu, 13 Jan 2022 15:23:14 +0800 Subject: [PATCH 06/46] integration-test feature --- runtime/integration-tests/Cargo.toml | 6 +++--- runtime/karura/Cargo.toml | 2 ++ runtime/karura/src/lib.rs | 17 +++++++++++++---- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 71ce1d83cc..2cc408f35e 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -112,7 +112,7 @@ primitives = { package = "acala-primitives", path = "../../primitives" } runtime-common = { path = "../common" } mandala-runtime = { path = "../mandala" } -karura-runtime = { path = "../karura" } +karura-runtime = { path = "../karura", features = ["only-integration-test"] } acala-runtime = { path = "../acala" } module-evm-rpc-runtime-api = { path = "../../modules/evm/rpc/runtime_api", default-features = false } @@ -138,7 +138,7 @@ xcm-emulator = { git = "https://github.com/zqhxuyuan/xcm-simulator", branch = "v acala-service = { path = "../../node/service", features = ["with-all-runtime"] } [features] -default = ["std", "with-karura-runtime"] +default = ["std"] no_std = [] with-mandala-runtime = [ "acala-service/with-mandala-runtime", @@ -155,4 +155,4 @@ with-ethereum-compatibility = [ "mandala-runtime/with-ethereum-compatibility", "module-evm/with-ethereum-compatibility", ] -std = [] +std = [] \ No newline at end of file diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index 0d7cdb43b0..6290534a65 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -320,3 +320,5 @@ try-runtime = [ "module-homa-xcm/try-runtime", "module-session-manager/try-runtime", ] + +only-integration-test = [] \ No newline at end of file diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index fa5ae39a61..34b6870cb9 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1556,17 +1556,25 @@ parameter_types! { pub KarPerSecondAsBased: u128 = kar_per_second(); } +#[cfg(feature = "only-integration-test")] pub type Trader = ( TransactionFeePoolTrader, FixedRateOfFungible, - FixedRateOfFungible, FixedRateOfFungible, - // TODO just for test_asset_registry_module FixedRateOfFungible, - FixedRateOfFungible, FixedRateOfFungible, - // TODO just for transfer_to_sibling FixedRateOfFungible, + FixedRateOfForeignAsset, +); + +#[cfg(not(feature = "only-integration-test"))] +pub type Trader = ( + TransactionFeePoolTrader, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, @@ -1823,6 +1831,7 @@ impl Convert> for CurrencyIdConvert { parents: 0, interior: X1(GeneralKey(key)), } => match &key[..] { + #[cfg(feature = "only-integration-test")] parachains::bifrost::BNC_KEY => Some(Token(BNC)), key => { if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { From e3cec97cc66ec28c057cce413515fa8bc9f1b250 Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 18 Jan 2022 13:21:22 +0800 Subject: [PATCH 07/46] asset registry update location works --- Cargo.lock | 616 +++++++++--------- Cargo.toml | 356 +++++----- primitives/src/currency.rs | 2 + runtime/acala/src/lib.rs | 4 +- .../relaychain/kusama_cross_chain_transfer.rs | 119 ++++ .../src/relaychain/kusama_test_net.rs | 2 +- runtime/karura/src/lib.rs | 21 +- runtime/mandala/src/lib.rs | 4 +- 8 files changed, 635 insertions(+), 489 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1eda1cfcb1..2271246f66 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -359,7 +359,7 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.3", + "getrandom 0.2.4", "once_cell", "version_check", ] @@ -716,7 +716,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "beefy-primitives", "fnv", @@ -745,7 +745,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -769,12 +769,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -976,7 +976,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "finality-grandpa", "frame-support", @@ -992,7 +992,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-runtime", "frame-support", @@ -1004,7 +1004,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitvec", "bp-runtime", @@ -1020,7 +1020,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-messages", "bp-runtime", @@ -1038,7 +1038,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1055,7 +1055,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "hash-db", @@ -1073,7 +1073,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -1088,7 +1088,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1103,7 +1103,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -1201,9 +1201,9 @@ checksum = "c1db59621ec70f09c5e9b597b220c7a2b43611f4710dc03ceb8748637775692c" [[package]] name = "camino" -version = "1.0.5" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52d74260d9bf6944e2208aa46841b4b8f0d7ffc0849a06837b2f510337f86b2b" +checksum = "6f3132262930b0522068049f5870a856ab8affc80c70d08b6ecb785771a6fc23" dependencies = [ "serde", ] @@ -1341,7 +1341,7 @@ checksum = "fa66045b9cb23c2e9c1520732030608b02ee07e5cfaa5a521ec15ded7fa24c90" dependencies = [ "glob", "libc", - "libloading 0.7.2", + "libloading 0.7.3", ] [[package]] @@ -1652,7 +1652,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "sc-cli", "sc-service", @@ -1662,7 +1662,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1686,7 +1686,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1715,7 +1715,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1736,7 +1736,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1760,7 +1760,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1785,7 +1785,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -1809,7 +1809,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", @@ -1838,7 +1838,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "frame-executive", "frame-support", @@ -1856,7 +1856,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1874,7 +1874,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -1882,6 +1882,7 @@ dependencies = [ "environmental", "frame-support", "frame-system", + "impl-trait-for-tuples 0.2.1", "log", "pallet-balances", "parity-scale-codec", @@ -1903,7 +1904,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -1914,7 +1915,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1931,7 +1932,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1949,10 +1950,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "frame-support", - "impl-trait-for-tuples 0.2.1", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain", @@ -1966,7 +1966,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1989,7 +1989,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -2000,7 +2000,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2017,7 +2017,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2035,7 +2035,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-local" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2063,7 +2063,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2750,7 +2750,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", ] @@ -2768,7 +2768,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -2789,7 +2789,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "Inflector", "chrono", @@ -2815,7 +2815,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -2829,7 +2829,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -2857,7 +2857,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "bitflags", "frame-metadata", @@ -2886,7 +2886,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -2898,7 +2898,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -2910,7 +2910,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro2", "quote", @@ -2920,7 +2920,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "log", @@ -2937,7 +2937,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -2952,7 +2952,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "sp-api", @@ -2961,7 +2961,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "sp-api", @@ -3188,9 +3188,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" +checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c" dependencies = [ "cfg-if 1.0.0", "libc", @@ -4044,7 +4044,7 @@ dependencies = [ [[package]] name = "kusama-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "beefy-primitives", "bitvec", @@ -4132,7 +4132,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "polkadot-primitives", @@ -4219,9 +4219,9 @@ dependencies = [ [[package]] name = "libloading" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afe203d669ec979b7128619bae5a63b7b42e9203c1b29146079ee05e2f604b52" +checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd" dependencies = [ "cfg-if 1.0.0", "winapi 0.3.9", @@ -5114,9 +5114,9 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b95e4fb3de48d767d3537f161168d3a7b0d4c5dfbe26431ea3acf98432675" +checksum = "fe3179b85e1fd8b14447cbebadb75e45a1002f541b925f0bfec366d56a81c56d" dependencies = [ "libc", ] @@ -5182,7 +5182,7 @@ dependencies = [ [[package]] name = "metered-channel" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "derive_more", "futures 0.3.19", @@ -6101,7 +6101,7 @@ dependencies = [ [[package]] name = "node-executor" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "node-primitives", @@ -6119,7 +6119,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-system", "parity-scale-codec", @@ -6132,7 +6132,7 @@ dependencies = [ [[package]] name = "node-runtime" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6407,9 +6407,9 @@ dependencies = [ [[package]] name = "openssl-probe" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "ordered-float" @@ -6790,7 +6790,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -6806,7 +6806,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6820,7 +6820,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -6836,7 +6836,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -6852,7 +6852,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -6867,7 +6867,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6891,7 +6891,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6911,7 +6911,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6926,7 +6926,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "beefy-primitives", "frame-support", @@ -6942,7 +6942,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -6967,7 +6967,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -6985,7 +6985,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -7002,7 +7002,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7024,7 +7024,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitvec", "bp-message-dispatch", @@ -7045,7 +7045,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7063,7 +7063,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7080,7 +7080,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "bitflags", "frame-benchmarking", @@ -7107,7 +7107,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "bitflags", "parity-scale-codec", @@ -7122,7 +7122,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro2", "quote", @@ -7132,7 +7132,7 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "pallet-contracts-primitives", "parity-scale-codec", @@ -7145,7 +7145,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7161,7 +7161,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7185,7 +7185,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7203,7 +7203,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7218,7 +7218,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7241,7 +7241,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7257,7 +7257,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7277,7 +7277,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7294,7 +7294,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7307,7 +7307,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7324,7 +7324,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -7342,7 +7342,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7358,7 +7358,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7375,7 +7375,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7390,7 +7390,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7404,7 +7404,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7421,7 +7421,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7444,7 +7444,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7460,7 +7460,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7475,7 +7475,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7489,7 +7489,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7503,7 +7503,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7519,7 +7519,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7540,7 +7540,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7556,7 +7556,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7570,7 +7570,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7593,7 +7593,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -7604,7 +7604,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "log", "sp-arithmetic", @@ -7613,7 +7613,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7627,7 +7627,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7645,7 +7645,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7664,7 +7664,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7681,7 +7681,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -7698,7 +7698,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7709,7 +7709,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-support", "frame-system", @@ -7727,7 +7727,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7744,7 +7744,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7759,7 +7759,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7775,7 +7775,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7790,7 +7790,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "frame-system", @@ -7808,7 +7808,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.8" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7825,7 +7825,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=242cdc306b010473da34bbea2f3703235aa1b04e#242cdc306b010473da34bbea2f3703235aa1b04e" +source = "git+https://github.com/paritytech//cumulus?rev=3994f6cbeca18ac37c9b6b1d04c5b47004eb2687#3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8193,7 +8193,7 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "polkadot-approval-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8207,7 +8207,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8220,7 +8220,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "derive_more", "futures 0.3.19", @@ -8242,7 +8242,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "lru 0.7.2", @@ -8262,7 +8262,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-benchmarking-cli", "futures 0.3.19", @@ -8285,7 +8285,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -8316,7 +8316,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "always-assert", "derive_more", @@ -8337,7 +8337,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -8350,7 +8350,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "derive_more", "futures 0.3.19", @@ -8372,7 +8372,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8386,7 +8386,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "futures-timer", @@ -8406,7 +8406,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-trait", "futures 0.3.19", @@ -8425,7 +8425,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "parity-scale-codec", @@ -8443,7 +8443,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitvec", "derive_more", @@ -8471,7 +8471,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitvec", "futures 0.3.19", @@ -8491,7 +8491,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitvec", "futures 0.3.19", @@ -8509,7 +8509,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -8524,7 +8524,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-trait", "futures 0.3.19", @@ -8542,7 +8542,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -8557,7 +8557,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "futures-timer", @@ -8574,7 +8574,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "kvdb", @@ -8592,7 +8592,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-trait", "futures 0.3.19", @@ -8609,7 +8609,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitvec", "futures 0.3.19", @@ -8626,7 +8626,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "always-assert", "assert_matches", @@ -8656,7 +8656,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "polkadot-node-primitives", @@ -8672,7 +8672,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "memory-lru", @@ -8690,7 +8690,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-std", "lazy_static", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bs58", "futures 0.3.19", @@ -8727,7 +8727,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-trait", "derive_more", @@ -8745,7 +8745,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bounded-vec", "futures 0.3.19", @@ -8767,7 +8767,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -8777,7 +8777,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "derive_more", "futures 0.3.19", @@ -8796,7 +8796,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-trait", "derive_more", @@ -8824,7 +8824,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "futures 0.3.19", "futures-timer", @@ -8845,7 +8845,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-trait", "futures 0.3.19", @@ -8862,7 +8862,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "derive_more", "frame-support", @@ -8890,7 +8890,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -8905,7 +8905,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitvec", "frame-system", @@ -8935,7 +8935,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -8966,7 +8966,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "beefy-primitives", "bitvec", @@ -9050,7 +9050,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "beefy-primitives", "bitvec", @@ -9097,7 +9097,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "polkadot-primitives", @@ -9109,7 +9109,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bs58", "parity-scale-codec", @@ -9121,7 +9121,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "bitflags", "bitvec", @@ -9162,7 +9162,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "async-trait", "beefy-gadget", @@ -9263,7 +9263,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "arrayvec 0.5.2", "derive_more", @@ -9284,7 +9284,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9585,7 +9585,7 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" dependencies = [ - "getrandom 0.2.3", + "getrandom 0.2.4", ] [[package]] @@ -9677,7 +9677,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64" dependencies = [ - "getrandom 0.2.3", + "getrandom 0.2.4", "redox_syscall 0.2.10", ] @@ -9766,7 +9766,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -9865,7 +9865,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "beefy-primitives", "bp-messages", @@ -9940,7 +9940,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "polkadot-primitives", @@ -10268,7 +10268,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "log", "sp-core", @@ -10279,7 +10279,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "derive_more", @@ -10306,7 +10306,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "futures-timer", @@ -10329,7 +10329,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -10345,10 +10345,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "impl-trait-for-tuples 0.2.1", - "memmap2 0.5.1", + "memmap2 0.5.2", "parity-scale-codec", "sc-chain-spec-derive", "sc-network", @@ -10362,7 +10362,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -10373,7 +10373,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "chrono", "fdlimit", @@ -10411,7 +10411,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "fnv", "futures 0.3.19", @@ -10439,7 +10439,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "hash-db", "kvdb", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "futures 0.3.19", @@ -10488,7 +10488,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "derive_more", @@ -10517,7 +10517,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "derive_more", @@ -10560,7 +10560,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "derive_more", "futures 0.3.19", @@ -10584,7 +10584,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10597,7 +10597,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "assert_matches", "async-trait", @@ -10610,6 +10610,7 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-consensus", + "sc-consensus-aura", "sc-consensus-babe", "sc-consensus-epochs", "sc-transaction-pool", @@ -10618,6 +10619,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", + "sp-consensus-aura", "sp-consensus-babe", "sp-consensus-slots", "sp-core", @@ -10631,7 +10633,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "futures 0.3.19", @@ -10656,7 +10658,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "sc-client-api", "sp-authorship", @@ -10667,7 +10669,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "lazy_static", "libsecp256k1 0.7.0", @@ -10695,7 +10697,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "derive_more", "environmental", @@ -10713,7 +10715,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "log", "parity-scale-codec", @@ -10729,7 +10731,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "cfg-if 1.0.0", "libc", @@ -10747,7 +10749,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "derive_more", @@ -10785,7 +10787,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "derive_more", "finality-grandpa", @@ -10809,7 +10811,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "ansi_term", "futures 0.3.19", @@ -10826,7 +10828,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "derive_more", @@ -10841,7 +10843,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-std", "async-trait", @@ -10892,7 +10894,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "futures-timer", @@ -10908,7 +10910,7 @@ dependencies = [ [[package]] name = "sc-network-test" version = "0.8.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-std", "async-trait", @@ -10936,7 +10938,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "bytes 1.1.0", "fnv", @@ -10964,7 +10966,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "libp2p", @@ -10977,7 +10979,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10986,7 +10988,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "hash-db", @@ -11017,7 +11019,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -11042,7 +11044,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -11059,7 +11061,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "directories", @@ -11109,7 +11111,7 @@ dependencies = [ "sp-storage", "sp-tracing", "sp-transaction-pool", - "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8)", + "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e)", "sp-trie", "sp-version", "substrate-prometheus-endpoint", @@ -11123,7 +11125,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "log", "parity-scale-codec", @@ -11137,7 +11139,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -11159,7 +11161,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "chrono", "futures 0.3.19", @@ -11177,7 +11179,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "ansi_term", "atty", @@ -11208,7 +11210,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -11219,7 +11221,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "futures-timer", @@ -11246,7 +11248,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "derive_more", "futures 0.3.19", @@ -11260,7 +11262,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "futures-timer", @@ -11356,9 +11358,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.4.2" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525bc1abfda2e1998d152c45cf13e696f76d0a4972310b22fac1658b05df7c87" +checksum = "d09d3c15d814eda1d6a836f2f2b56a6abc1446c8a34351cb3180d3db92ffe4ce" dependencies = [ "bitflags", "core-foundation", @@ -11369,9 +11371,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.4.2" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9dd14d83160b528b7bfd66439110573efcfbe281b17fc2ca9f39f550d619c7e" +checksum = "e90dd10c41c6bfc633da6e0c659bd25d31e0791e5974ac42970267d59eba87f7" dependencies = [ "core-foundation-sys", "libc", @@ -11450,9 +11452,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.74" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2bb9cd061c5865d345bb02ca49fcef1391741b672b54a0bf7b679badec3142" +checksum = "c059c05b48c5c0067d4b4b2b4f0732dd65feb52daf7e0ea09cd87e7dadc1af79" dependencies = [ "itoa 1.0.1", "ryu", @@ -11606,7 +11608,7 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "enumn", "parity-scale-codec", @@ -11626,9 +11628,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309" +checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" [[package]] name = "snap" @@ -11694,7 +11696,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "hash-db", "log", @@ -11711,7 +11713,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", @@ -11723,7 +11725,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -11736,7 +11738,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "integer-sqrt", "num-traits", @@ -11751,7 +11753,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -11764,7 +11766,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "parity-scale-codec", @@ -11776,7 +11778,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "sp-api", @@ -11788,7 +11790,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "log", @@ -11806,7 +11808,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "futures 0.3.19", @@ -11825,7 +11827,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "parity-scale-codec", @@ -11843,7 +11845,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "merlin", @@ -11866,7 +11868,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -11878,7 +11880,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -11890,7 +11892,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "base58", "bitflags", @@ -11938,7 +11940,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "blake2-rfc", "byteorder", @@ -11951,7 +11953,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro2", "quote", @@ -11962,7 +11964,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "kvdb", "parking_lot 0.11.2", @@ -11971,7 +11973,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro2", "quote", @@ -11981,7 +11983,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "environmental", "parity-scale-codec", @@ -11992,7 +11994,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "finality-grandpa", "log", @@ -12010,7 +12012,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "impl-trait-for-tuples 0.2.1", @@ -12024,7 +12026,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "hash-db", @@ -12047,8 +12049,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +version = "4.1.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "lazy_static", "sp-core", @@ -12059,7 +12061,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "derive_more", @@ -12076,7 +12078,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "zstd", ] @@ -12084,7 +12086,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12099,7 +12101,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -12110,7 +12112,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "sp-api", "sp-core", @@ -12120,7 +12122,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "backtrace", "lazy_static", @@ -12130,7 +12132,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "rustc-hash", "serde", @@ -12140,7 +12142,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "either", "hash256-std-hasher", @@ -12162,7 +12164,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "impl-trait-for-tuples 0.2.1", "parity-scale-codec", @@ -12179,7 +12181,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -12191,7 +12193,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "log", "parity-scale-codec", @@ -12205,7 +12207,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "serde", "serde_json", @@ -12214,7 +12216,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12228,7 +12230,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12239,7 +12241,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "hash-db", "log", @@ -12262,12 +12264,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" [[package]] name = "sp-storage" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12280,7 +12282,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "log", "sp-core", @@ -12293,7 +12295,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "futures-timer", @@ -12309,7 +12311,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "sp-std", @@ -12321,7 +12323,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "sp-api", "sp-runtime", @@ -12330,7 +12332,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech/substrate?branch=master#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "scale-info", @@ -12342,7 +12344,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "log", @@ -12358,7 +12360,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "hash-db", "memory-db 0.28.0", @@ -12373,7 +12375,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12390,7 +12392,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -12401,7 +12403,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "impl-trait-for-tuples 0.2.1", "log", @@ -12419,9 +12421,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "ss58-registry" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c83f0afe7e571565ef9aae7b0e4fb30fcaec4ebb9aea2f00489b772782aa03a4" +checksum = "1230685dc82f8699110640244d361a7099c602f08bddc5c90765a5153b4881dc" dependencies = [ "Inflector", "proc-macro2", @@ -12570,7 +12572,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "platforms 2.0.0", ] @@ -12578,7 +12580,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.19", @@ -12600,7 +12602,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-std", "derive_more", @@ -12614,7 +12616,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "async-trait", "futures 0.3.19", @@ -12640,7 +12642,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "cfg-if 1.0.0", "frame-support", @@ -12682,7 +12684,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "futures 0.3.19", "parity-scale-codec", @@ -12701,7 +12703,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "ansi_term", "build-helper", @@ -13224,7 +13226,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=b54c21f354fd973e6a35a53c37b317ae293dbfc8#b54c21f354fd973e6a35a53c37b317ae293dbfc8" +source = "git+https://github.com/paritytech//substrate?rev=08d2ed16ecfe35ab44214112ebc911aa6fed6c1e#08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" dependencies = [ "jsonrpsee", "log", @@ -13811,7 +13813,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "beefy-primitives", "bitvec", @@ -13897,7 +13899,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "polkadot-primitives", @@ -14005,7 +14007,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "derivative", "impl-trait-for-tuples 0.2.1", @@ -14018,7 +14020,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "frame-system", @@ -14062,7 +14064,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-benchmarking", "frame-support", @@ -14080,7 +14082,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "Inflector", "proc-macro2", @@ -14091,7 +14093,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=dea956199591ac1621c90d253b0f834f52df59c7#dea956199591ac1621c90d253b0f834f52df59c7" +source = "git+https://github.com/paritytech//polkadot?rev=9ce5f7ef5abb1a4291454e8c9911b304d80679f9#9ce5f7ef5abb1a4291454e8c9911b304d80679f9" dependencies = [ "frame-support", "parity-scale-codec", @@ -14121,18 +14123,18 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d68d9dcec5f9b43a30d38c49f91dfedfaac384cb8f085faca366c26207dd1619" +checksum = "cc222aec311c323c717f56060324f32b82da1ce1dd81d9a09aa6a9030bfe08db" dependencies = [ "zeroize_derive", ] [[package]] name = "zeroize_derive" -version = "1.2.2" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65f1a51723ec88c66d5d1fe80c841f17f63587d6691901d66be9bec6c3b51f73" +checksum = "81e8f13fef10b63c06356d65d416b070798ddabcadc10d3ece0c5be9b3c7eddb" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 9fc2e83653..347de0e4c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -116,185 +116,185 @@ yamux = { opt-level = 3 } zeroize = { opt-level = 3 } [patch."https://github.com/paritytech/substrate"] -frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-executive = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-support = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-system = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-session = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-society = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-cli = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-executor = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-informant = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-network = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-network-test = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-service = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sc-utils = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-api = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-core = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-io = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-session = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-staking = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-std = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-storage = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-trie = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-version = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -substrate-test-runtime = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -substrate-test-runtime-client = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } -try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "b54c21f354fd973e6a35a53c37b317ae293dbfc8" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-executive = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-support = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-system = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-session = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-society = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-cli = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-executor = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-informant = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-network = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-network-test = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-service = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sc-utils = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-api = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-core = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-io = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-session = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-staking = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-std = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-storage = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-trie = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-version = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +substrate-test-runtime = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +substrate-test-runtime-client = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } +try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "08d2ed16ecfe35ab44214112ebc911aa6fed6c1e" } [patch."https://github.com/paritytech/polkadot"] -kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -xcm = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } -xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "dea956199591ac1621c90d253b0f834f52df59c7" } +kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +xcm = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } +xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "9ce5f7ef5abb1a4291454e8c9911b304d80679f9" } [patch."https://github.com/paritytech/cumulus"] -cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } -cumulus-relay-chain-local = { git = "https://github.com/paritytech//cumulus", rev = "242cdc306b010473da34bbea2f3703235aa1b04e" } +cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech//cumulus", rev = "3994f6cbeca18ac37c9b6b1d04c5b47004eb2687" } diff --git a/primitives/src/currency.rs b/primitives/src/currency.rs index 9ff43c0c40..c73bc54b41 100644 --- a/primitives/src/currency.rs +++ b/primitives/src/currency.rs @@ -205,6 +205,8 @@ create_currency_id! { PHA("Phala Native Token", 12) = 170, KINT("Kintsugi Native Token", 12) = 171, KBTC("Kintsugi Wrapped BTC", 8) = 172, + RMRK("Rmrk", 10) = 173, + RMRK_V2("Rmrk V2", 10) = 174, } } diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index a1eaa15bfb..6762166f1d 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -759,6 +759,8 @@ parameter_type_with_key! { TokenSymbol::KBTC | TokenSymbol::KINT | TokenSymbol::TAI | + TokenSymbol::RMRK | + TokenSymbol::RMRK_V2 | TokenSymbol::CASH => Balance::max_value() // unsupported }, CurrencyId::DexShare(dex_share_0, _) => { @@ -1371,7 +1373,7 @@ parameter_types! { impl cumulus_pallet_parachain_system::Config for Runtime { type Event = Event; - type OnValidationData = (); + type OnSystemEvent = (); type SelfParaId = ParachainInfo; type DmpMessageHandler = DmpQueue; type ReservedDmpWeight = ReservedDmpWeight; diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index 4110f80912..afd8aeb05d 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -23,6 +23,7 @@ use crate::setup::*; use frame_support::assert_ok; +use karura_runtime::parachains::bifrost::BNC_KEY; use karura_runtime::{AssetRegistry, KaruraTreasuryAccount}; use module_asset_registry::AssetMetadata; use module_relaychain::RelayChainCallBuilder; @@ -478,6 +479,124 @@ fn test_asset_registry_module() { }); } +#[test] +fn asset_registry_location_update_works() { + TestNet::reset(); + + fn karura_reserve_account() -> AccountId { + use sp_runtime::traits::AccountIdConversion; + polkadot_parachain::primitives::Sibling::from(2000).into_account() + } + + Karura::execute_with(|| { + // register foreign asset + assert_ok!(AssetRegistry::register_foreign_asset( + Origin::root(), + // we use parachain 20001 mock as statemine + Box::new(MultiLocation::new(1, X2(Parachain(2001), GeneralIndex(8))).into()), + Box::new(AssetMetadata { + name: b"Statemine Asset".to_vec(), + symbol: b"RMRK".to_vec(), + decimals: 12, + minimal_balance: Balances::minimum_balance() / 10, // 10% + }) + )); + }); + + Sibling::execute_with(|| { + // the native asset of Sibling is KAR, so RMRK is consider as Token + assert_ok!(Tokens::deposit(RMRK, &AccountId::from(BOB), 100_000_000_000_000)); + + // Sibling will convert RMRK to location: (1, 2001, 8) + assert_ok!(XTokens::transfer( + Origin::signed(BOB.into()), + RMRK, + 5_000_000_000_000, + Box::new( + MultiLocation::new( + 1, + X2( + Parachain(2000), + Junction::AccountId32 { + network: NetworkId::Any, + id: ALICE.into(), + } + ) + ) + .into() + ), + 1_000_000_000, + )); + + assert_eq!(Tokens::free_balance(RMRK, &karura_reserve_account()), 5_000_000_000_000); + assert_eq!(Tokens::free_balance(RMRK, &AccountId::from(BOB)), 95_000_000_000_000); + }); + + Karura::execute_with(|| { + // Karura received (1, 2001, 8) and regard it as ForeignAsset(0) + assert_eq!( + Tokens::free_balance(CurrencyId::ForeignAsset(0), &AccountId::from(ALICE)), + 4_999_360_000_000 + ); + + // update foreign asset location with PalletInstance prefix before asset + assert_ok!(AssetRegistry::update_foreign_asset( + Origin::root(), + 0, + Box::new(MultiLocation::new(1, X3(Parachain(2001), PalletInstance(53), GeneralIndex(8))).into()), + Box::new(AssetMetadata { + name: b"Statemine Token".to_vec(), + symbol: b"RMRK".to_vec(), + decimals: 12, + minimal_balance: Balances::minimum_balance() / 10, // 10% + }) + )); + }); + + Sibling::execute_with(|| { + // Sibling will convert RMRK_V2 to location: (1, 2001, 53, 8) + assert_ok!(XTokens::transfer( + Origin::signed(BOB.into()), + RMRK_V2, + 5_000_000_000_000, + Box::new( + MultiLocation::new( + 1, + X2( + Parachain(2000), + Junction::AccountId32 { + network: NetworkId::Any, + id: ALICE.into(), + } + ) + ) + .into() + ), + 1_000_000_000, + )); + + assert_eq!( + 10_000_000_000_000, + Tokens::free_balance(RMRK, &karura_reserve_account()) + ); + assert_eq!(90_000_000_000_000, Tokens::free_balance(RMRK, &AccountId::from(BOB))); + }); + + Karura::execute_with(|| { + // Karura received (1, 2001, 53, 8) and also regard it as ForeignAsset(0) + assert_eq!( + Tokens::free_balance(CurrencyId::ForeignAsset(0), &AccountId::from(ALICE)), + 4_999_360_000_000 * 2 + ); + + // ToTreasury + assert_eq!( + Tokens::free_balance(CurrencyId::ForeignAsset(0), &TreasuryAccount::get()), + 640_000_000 * 2 + ); + }); +} + #[test] fn unspent_xcm_fee_is_returned_correctly() { let mut parachain_account: AccountId = AccountId::default(); diff --git a/runtime/integration-tests/src/relaychain/kusama_test_net.rs b/runtime/integration-tests/src/relaychain/kusama_test_net.rs index da7af4c0be..d8f71d6cbf 100644 --- a/runtime/integration-tests/src/relaychain/kusama_test_net.rs +++ b/runtime/integration-tests/src/relaychain/kusama_test_net.rs @@ -31,7 +31,7 @@ use xcm_emulator::{decl_test_network, decl_test_parachain, decl_test_relay_chain decl_test_relay_chain! { pub struct KusamaNet { Runtime = kusama_runtime::Runtime, - XcmConfig = kusama_runtime::XcmConfig, + XcmConfig = kusama_runtime::xcm_config::XcmConfig, new_ext = kusama_ext(), } } diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 34b6870cb9..dbce4eb92d 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -762,6 +762,7 @@ parameter_type_with_key! { TokenSymbol::PHA => 4000 * millicent(*currency_id), // 400PHA = 1KSM TokenSymbol::KINT => 13333 * microcent(*currency_id), // 1.33 KINT = 1 KSM TokenSymbol::KBTC => 66 * microcent(*currency_id), // 1KBTC = 150 KSM + TokenSymbol::RMRK | TokenSymbol::RMRK_V2 => cent(*currency_id), TokenSymbol::ACA | TokenSymbol::AUSD | @@ -1388,7 +1389,7 @@ parameter_types! { impl cumulus_pallet_parachain_system::Config for Runtime { type Event = Event; - type OnValidationData = (); + type OnSystemEvent = (); type SelfParaId = ParachainInfo; type DmpMessageHandler = DmpQueue; type ReservedDmpWeight = ReservedDmpWeight; @@ -1562,6 +1563,7 @@ pub type Trader = ( FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, + // FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, FixedRateOfForeignAsset, @@ -1778,6 +1780,13 @@ impl Convert> for CurrencyIdConvert { GeneralKey(parachains::kintsugi::KBTC_KEY.to_vec()), ), )), + #[cfg(feature = "only-integration-test")] + Token(RMRK) => Some(MultiLocation::new(1, X2(Parachain(2001), GeneralIndex(8)))), + #[cfg(feature = "only-integration-test")] + Token(RMRK_V2) => Some(MultiLocation::new( + 1, + X3(Parachain(2001), PalletInstance(53), GeneralIndex(8)), + )), CurrencyId::ForeignAsset(foreign_asset_id) => AssetIdMaps::::get_multi_location(foreign_asset_id), _ => None, } @@ -1797,6 +1806,16 @@ impl Convert> for CurrencyIdConvert { } match location { + #[cfg(feature = "only-integration-test")] + MultiLocation { + parents: 1, + interior: X2(Parachain(2001), GeneralIndex(8)), + } => Some(Token(RMRK)), + #[cfg(feature = "only-integration-test")] + MultiLocation { + parents: 1, + interior: X3(Parachain(2001), PalletInstance(53), GeneralIndex(8)), + } => Some(Token(RMRK)), MultiLocation { parents: 1, interior: X2(Parachain(para_id), GeneralKey(key)), diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index ad1a509821..d004560ee8 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -793,6 +793,8 @@ parameter_type_with_key! { TokenSymbol::TAI => 10 * millicent(*currency_id), TokenSymbol::ACA | TokenSymbol::KAR | + TokenSymbol::RMRK | + TokenSymbol::RMRK_V2 | TokenSymbol::CASH => Balance::max_value() // unsupported }, CurrencyId::DexShare(dex_share_0, _) => { @@ -1540,7 +1542,7 @@ parameter_types! { impl cumulus_pallet_parachain_system::Config for Runtime { type Event = Event; - type OnValidationData = (); + type OnSystemEvent = (); type SelfParaId = ParachainInfo; type DmpMessageHandler = DmpQueue; type ReservedDmpWeight = ReservedDmpWeight; From 0130f0825992e850375f389a5257a8acc05104eb Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 24 Jan 2022 18:39:38 +0800 Subject: [PATCH 08/46] update orml --- orml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orml b/orml index 57e78a64d7..b262361f45 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 57e78a64d750860c8bc3e27c642c73c44d514e74 +Subproject commit b262361f459ed72305689bdd371877003310699c From 9b7cc94ee892ba5466a7237446409a8b5c680521 Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 24 Jan 2022 18:47:00 +0800 Subject: [PATCH 09/46] update stable-asset --- ecosystem-modules/stable-asset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem-modules/stable-asset b/ecosystem-modules/stable-asset index 8844203600..6ad8d18e43 160000 --- a/ecosystem-modules/stable-asset +++ b/ecosystem-modules/stable-asset @@ -1 +1 @@ -Subproject commit 884420360040bc963883e5dd56040fcd07b00733 +Subproject commit 6ad8d18e4309ede0b95ff002aabf71e873e4339c From ea65d9eda5e20db726e836ee231c3beadc87c94f Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 24 Jan 2022 21:20:23 +0800 Subject: [PATCH 10/46] test serivice with cumulus test runtime works --- node/e2e-tests/Cargo.toml | 2 +- node/e2e-tests/test-service/Cargo.toml | 65 ++ node/e2e-tests/test-service/src/chain_spec.rs | 137 ++++ node/e2e-tests/test-service/src/genesis.rs | 30 + node/e2e-tests/test-service/src/lib.rs | 749 ++++++++++++++++++ .../tests/full_node_catching_up.rs | 64 ++ .../tests/migrate_solo_to_para.rs | 112 +++ .../test-service/tests/runtime_upgrade.rs | 94 +++ 8 files changed, 1252 insertions(+), 1 deletion(-) create mode 100644 node/e2e-tests/test-service/Cargo.toml create mode 100644 node/e2e-tests/test-service/src/chain_spec.rs create mode 100644 node/e2e-tests/test-service/src/genesis.rs create mode 100644 node/e2e-tests/test-service/src/lib.rs create mode 100644 node/e2e-tests/test-service/tests/full_node_catching_up.rs create mode 100644 node/e2e-tests/test-service/tests/migrate_solo_to_para.rs create mode 100644 node/e2e-tests/test-service/tests/runtime_upgrade.rs diff --git a/node/e2e-tests/Cargo.toml b/node/e2e-tests/Cargo.toml index 42605b83aa..9cf4fd5a50 100644 --- a/node/e2e-tests/Cargo.toml +++ b/node/e2e-tests/Cargo.toml @@ -37,7 +37,7 @@ sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -test-runner = { path = "./test-runner" } +test-service = { path = "./test-service" } module-evm = { path = "../../modules/evm" } module-transaction-payment = { path = "../../modules/transaction-payment" } diff --git a/node/e2e-tests/test-service/Cargo.toml b/node/e2e-tests/test-service/Cargo.toml new file mode 100644 index 0000000000..308d83d6b3 --- /dev/null +++ b/node/e2e-tests/test-service/Cargo.toml @@ -0,0 +1,65 @@ +[package] +name = "test-service" +version = "0.1.0" +authors = ["Parity Technologies "] +edition = "2021" + +[dependencies] +codec = { package = "parity-scale-codec", version = "2.3.0" } +rand = "0.7.3" +serde = { version = "1.0.132", features = ["derive"] } +async-trait = "0.1.42" +tokio = { version = "1.10", features = ["macros"] } +criterion = { version = "0.3.5", features = [ "async_tokio" ] } +parking_lot = "0.11.1" +jsonrpc-core = "18.0.0" + +# Substrate dependencies +frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", features = [ "wasmtime" ] } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } + +# Polkadot dependencies +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } + +# Cumulus dependencies +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-test-runtime = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "master" } + +[dev-dependencies] +futures = "0.3.5" + +# Substrate dependencies +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/e2e-tests/test-service/src/chain_spec.rs b/node/e2e-tests/test-service/src/chain_spec.rs new file mode 100644 index 0000000000..b56ccac6ad --- /dev/null +++ b/node/e2e-tests/test-service/src/chain_spec.rs @@ -0,0 +1,137 @@ +// Copyright 2020-2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. + +// Cumulus 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. + +// Cumulus 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 Cumulus. If not, see . + +#![allow(missing_docs)] + +use cumulus_primitives_core::ParaId; +use cumulus_test_runtime::{AccountId, Signature}; +use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; +use sc_service::ChainType; +use serde::{Deserialize, Serialize}; +use sp_core::{sr25519, Pair, Public}; +use sp_runtime::traits::{IdentifyAccount, Verify}; + +/// Specialized `ChainSpec` for the normal parachain runtime. +pub type ChainSpec = sc_service::GenericChainSpec; + +/// Extension for the genesis config to add custom keys easily. +#[derive(serde::Serialize, serde::Deserialize)] +pub struct GenesisExt { + /// The runtime genesis config. + runtime_genesis_config: cumulus_test_runtime::GenesisConfig, + /// The parachain id. + para_id: ParaId, +} + +impl sp_runtime::BuildStorage for GenesisExt { + fn assimilate_storage(&self, storage: &mut sp_core::storage::Storage) -> Result<(), String> { + sp_state_machine::BasicExternalities::execute_with_storage(storage, || { + sp_io::storage::set(cumulus_test_runtime::TEST_RUNTIME_UPGRADE_KEY, &vec![1, 2, 3, 4]); + cumulus_test_runtime::ParachainId::set(&self.para_id); + }); + + self.runtime_genesis_config.assimilate_storage(storage) + } +} + +/// Helper function to generate a crypto pair from seed +pub fn get_from_seed(seed: &str) -> ::Public { + TPublic::Pair::from_string(&format!("//{}", seed), None) + .expect("static values are valid; qed") + .public() +} + +/// The extensions for the [`ChainSpec`]. +#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ChainSpecGroup, ChainSpecExtension)] +#[serde(deny_unknown_fields)] +pub struct Extensions { + /// The id of the Parachain. + pub para_id: u32, +} + +impl Extensions { + /// Try to get the extension from the given `ChainSpec`. + pub fn try_get(chain_spec: &dyn sc_service::ChainSpec) -> Option<&Self> { + sc_chain_spec::get_extension(chain_spec.extensions()) + } +} + +type AccountPublic = ::Signer; + +/// Helper function to generate an account ID from seed. +pub fn get_account_id_from_seed(seed: &str) -> AccountId +where + AccountPublic: From<::Public>, +{ + AccountPublic::from(get_from_seed::(seed)).into_account() +} + +/// Get the chain spec for a specific parachain ID. +pub fn get_chain_spec(id: ParaId) -> ChainSpec { + ChainSpec::from_genesis( + "Local Testnet", + "local_testnet", + ChainType::Local, + move || GenesisExt { + runtime_genesis_config: local_testnet_genesis(), + para_id: id, + }, + Vec::new(), + None, + None, + None, + None, + Extensions { para_id: id.into() }, + ) +} + +/// Local testnet genesis for testing. +pub fn local_testnet_genesis() -> cumulus_test_runtime::GenesisConfig { + testnet_genesis( + get_account_id_from_seed::("Alice"), + vec![ + get_account_id_from_seed::("Alice"), + get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Charlie"), + get_account_id_from_seed::("Dave"), + get_account_id_from_seed::("Eve"), + get_account_id_from_seed::("Ferdie"), + get_account_id_from_seed::("Alice//stash"), + get_account_id_from_seed::("Bob//stash"), + get_account_id_from_seed::("Charlie//stash"), + get_account_id_from_seed::("Dave//stash"), + get_account_id_from_seed::("Eve//stash"), + get_account_id_from_seed::("Ferdie//stash"), + ], + ) +} + +fn testnet_genesis(root_key: AccountId, endowed_accounts: Vec) -> cumulus_test_runtime::GenesisConfig { + cumulus_test_runtime::GenesisConfig { + system: cumulus_test_runtime::SystemConfig { + code: cumulus_test_runtime::WASM_BINARY + .expect("WASM binary was not build, please build it!") + .to_vec(), + ..Default::default() + }, + parachain_system: Default::default(), + balances: cumulus_test_runtime::BalancesConfig { + balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(), + }, + sudo: cumulus_test_runtime::SudoConfig { key: Some(root_key) }, + transaction_payment: Default::default(), + } +} diff --git a/node/e2e-tests/test-service/src/genesis.rs b/node/e2e-tests/test-service/src/genesis.rs new file mode 100644 index 0000000000..2f92180b4d --- /dev/null +++ b/node/e2e-tests/test-service/src/genesis.rs @@ -0,0 +1,30 @@ +// Copyright 2020-2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. + +// Cumulus 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. + +// Cumulus 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 Cumulus. If not, see . + +use codec::Encode; +use cumulus_client_service::genesis::generate_genesis_block; +use cumulus_primitives_core::ParaId; +use cumulus_test_runtime::Block; +use polkadot_primitives::v0::HeadData; +use sp_runtime::traits::Block as BlockT; + +/// Returns the initial head data for a parachain ID. +pub fn initial_head_data(para_id: ParaId) -> HeadData { + let spec = Box::new(crate::chain_spec::get_chain_spec(para_id)); + let block: Block = generate_genesis_block(&(spec as Box<_>), sp_runtime::StateVersion::V1).unwrap(); + let genesis_state = block.header().encode(); + genesis_state.into() +} diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs new file mode 100644 index 0000000000..c196360164 --- /dev/null +++ b/node/e2e-tests/test-service/src/lib.rs @@ -0,0 +1,749 @@ +// Copyright 2019-2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. + +// Cumulus 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. + +// Cumulus 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 Cumulus. If not, see . + +//! Crate used for testing with Cumulus. + +#![warn(missing_docs)] + +mod chain_spec; +mod genesis; + +use std::{future::Future, time::Duration}; + +use cumulus_client_consensus_common::{ParachainCandidate, ParachainConsensus}; +use cumulus_client_network::BlockAnnounceValidator; +use cumulus_client_service::{ + prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, +}; +use cumulus_primitives_core::ParaId; +use cumulus_relay_chain_local::RelayChainLocal; +use cumulus_test_runtime::{Hash, Header, NodeBlock as Block, RuntimeApi}; + +use frame_system_rpc_runtime_api::AccountNonceApi; +use parking_lot::Mutex; +use polkadot_primitives::v1::{CollatorPair, Hash as PHash, PersistedValidationData}; +use polkadot_service::ProvideRuntimeApi; +use sc_client_api::execution_extensions::ExecutionStrategies; +use sc_network::{config::TransportConfig, multiaddr, NetworkService}; +use sc_service::{ + config::{ + DatabaseSource, KeepBlocks, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration, OffchainWorkerConfig, + PruningMode, TransactionStorageMode, WasmExecutionMethod, + }, + BasePath, ChainSpec, Configuration, Error as ServiceError, PartialComponents, Role, RpcHandlers, TFullBackend, + TFullClient, TaskManager, +}; +use sp_arithmetic::traits::SaturatedConversion; +use sp_blockchain::HeaderBackend; +use sp_core::{Pair, H256}; +use sp_keyring::Sr25519Keyring; +use sp_runtime::{codec::Encode, generic, traits::BlakeTwo256}; +use sp_state_machine::BasicExternalities; +use sp_trie::PrefixedMemoryDB; +use std::sync::Arc; +use substrate_test_client::{BlockchainEventsExt, RpcHandlersExt, RpcTransactionError, RpcTransactionOutput}; + +pub use chain_spec::*; +pub use cumulus_test_runtime as runtime; +pub use genesis::*; +pub use sp_keyring::Sr25519Keyring as Keyring; + +/// A consensus that will never produce any block. +#[derive(Clone)] +struct NullConsensus; + +#[async_trait::async_trait] +impl ParachainConsensus for NullConsensus { + async fn produce_candidate( + &mut self, + _: &Header, + _: PHash, + _: &PersistedValidationData, + ) -> Option> { + None + } +} + +/// The signature of the announce block fn. +pub type AnnounceBlockFn = Arc>) + Send + Sync>; + +/// Native executor instance. +pub struct RuntimeExecutor; + +impl sc_executor::NativeExecutionDispatch for RuntimeExecutor { + type ExtendHostFunctions = (); + + fn dispatch(method: &str, data: &[u8]) -> Option> { + cumulus_test_runtime::api::dispatch(method, data) + } + + fn native_version() -> sc_executor::NativeVersion { + cumulus_test_runtime::native_version() + } +} + +/// The client type being used by the test service. +pub type Client = + TFullClient>; + +/// Transaction pool type used by the test service +pub type TransactionPool = Arc>; + +/// Starts a `ServiceBuilder` for a full service. +/// +/// Use this macro if you don't actually need the full service, but just the builder in order to +/// be able to perform chain operations. +pub fn new_partial( + config: &mut Configuration, +) -> Result< + PartialComponents< + Client, + TFullBackend, + (), + sc_consensus::import_queue::BasicQueue>, + sc_transaction_pool::FullPool, + (), + >, + sc_service::Error, +> { + let executor = sc_executor::NativeElseWasmExecutor::::new( + config.wasm_method, + config.default_heap_pages, + config.max_runtime_instances, + config.runtime_cache_size, + ); + + let (client, backend, keystore_container, task_manager) = + sc_service::new_full_parts::(&config, None, executor)?; + let client = Arc::new(client); + + let registry = config.prometheus_registry(); + + let transaction_pool = sc_transaction_pool::BasicPool::new_full( + config.transaction_pool.clone(), + config.role.is_authority().into(), + config.prometheus_registry(), + task_manager.spawn_essential_handle(), + client.clone(), + ); + + let import_queue = cumulus_client_consensus_relay_chain::import_queue( + client.clone(), + client.clone(), + |_, _| async { Ok(sp_timestamp::InherentDataProvider::from_system_time()) }, + &task_manager.spawn_essential_handle(), + registry.clone(), + )?; + + let params = PartialComponents { + backend, + client, + import_queue, + keystore_container, + task_manager, + transaction_pool, + select_chain: (), + other: (), + }; + + Ok(params) +} + +/// Start a node with the given parachain `Configuration` and relay chain `Configuration`. +/// +/// This is the actual implementation that is abstract over the executor and the runtime api. +#[sc_tracing::logging::prefix_logs_with(parachain_config.network.node_name.as_str())] +async fn start_node_impl( + parachain_config: Configuration, + collator_key: Option, + relay_chain_config: Configuration, + para_id: ParaId, + wrap_announce_block: Option AnnounceBlockFn>>, + rpc_ext_builder: RB, + consensus: Consensus, +) -> sc_service::error::Result<( + TaskManager, + Arc, + Arc>, + RpcHandlers, + TransactionPool, +)> +where + RB: Fn(Arc) -> Result, sc_service::Error> + Send + 'static, +{ + if matches!(parachain_config.role, Role::Light) { + return Err("Light client not supported!".into()); + } + + let mut parachain_config = prepare_node_config(parachain_config); + + let params = new_partial(&mut parachain_config)?; + + let transaction_pool = params.transaction_pool.clone(); + let mut task_manager = params.task_manager; + + let relay_chain_full_node = polkadot_test_service::new_full( + relay_chain_config, + if let Some(ref key) = collator_key { + polkadot_service::IsCollator::Yes(key.clone()) + } else { + polkadot_service::IsCollator::Yes(CollatorPair::generate().0) + }, + None, + ) + .map_err(|e| match e { + polkadot_service::Error::Sub(x) => x, + s => s.to_string().into(), + })?; + + let client = params.client.clone(); + let backend = params.backend.clone(); + + let relay_chain_interface = Arc::new(RelayChainLocal::new( + relay_chain_full_node.client.clone(), + relay_chain_full_node.backend.clone(), + Arc::new(Mutex::new(Box::new(relay_chain_full_node.network.clone()))), + relay_chain_full_node.overseer_handle.clone(), + )); + task_manager.add_child(relay_chain_full_node.task_manager); + + let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), para_id); + let block_announce_validator_builder = move |_| Box::new(block_announce_validator) as Box<_>; + + let prometheus_registry = parachain_config.prometheus_registry().cloned(); + let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue); + let (network, system_rpc_tx, start_network) = sc_service::build_network(sc_service::BuildNetworkParams { + config: ¶chain_config, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + spawn_handle: task_manager.spawn_handle(), + import_queue: import_queue.clone(), + block_announce_validator_builder: Some(Box::new(block_announce_validator_builder)), + warp_sync: None, + })?; + + let rpc_extensions_builder = { + let client = client.clone(); + + Box::new(move |_, _| rpc_ext_builder(client.clone())) + }; + + let rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams { + rpc_extensions_builder, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + task_manager: &mut task_manager, + config: parachain_config, + keystore: params.keystore_container.sync_keystore(), + backend, + network: network.clone(), + system_rpc_tx, + telemetry: None, + })?; + + let announce_block = { + let network = network.clone(); + Arc::new(move |hash, data| network.announce_block(hash, data)) + }; + + let announce_block = wrap_announce_block + .map(|w| (w)(announce_block.clone())) + .unwrap_or_else(|| announce_block); + + let relay_chain_interface_for_closure = relay_chain_interface.clone(); + if let Some(collator_key) = collator_key { + let parachain_consensus: Box> = match consensus { + Consensus::RelayChain => { + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool.clone(), + prometheus_registry.as_ref(), + None, + ); + let relay_chain_interface2 = relay_chain_interface_for_closure.clone(); + Box::new(cumulus_client_consensus_relay_chain::RelayChainConsensus::new( + para_id, + proposer_factory, + move |_, (relay_parent, validation_data)| { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface_for_closure, + &validation_data, + para_id, + ); + + async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let parachain_inherent = parachain_inherent.ok_or_else(|| { + Box::::from(String::from("error")) + })?; + Ok((time, parachain_inherent)) + } + }, + client.clone(), + relay_chain_interface2, + )) + } + Consensus::Null => Box::new(NullConsensus), + }; + + let params = StartCollatorParams { + block_status: client.clone(), + announce_block, + client: client.clone(), + spawner: task_manager.spawn_handle(), + task_manager: &mut task_manager, + para_id, + parachain_consensus, + relay_chain_interface, + collator_key, + import_queue, + relay_chain_slot_duration: Duration::from_secs(6), + }; + + start_collator(params).await?; + } else { + let params = StartFullNodeParams { + client: client.clone(), + announce_block, + task_manager: &mut task_manager, + para_id, + relay_chain_interface, + import_queue, + // The slot duration is currently used internally only to configure + // the recovery delay of pov-recovery. We don't want to wait for too + // long on the full node to recover, so we reduce this time here. + relay_chain_slot_duration: Duration::from_millis(6), + }; + + start_full_node(params)?; + } + + start_network.start_network(); + + Ok((task_manager, client, network, rpc_handlers, transaction_pool)) +} + +/// A Cumulus test node instance used for testing. +pub struct TestNode { + /// TaskManager's instance. + pub task_manager: TaskManager, + /// Client's instance. + pub client: Arc, + /// Node's network. + pub network: Arc>, + /// The `MultiaddrWithPeerId` to this node. This is useful if you want to pass it as "boot node" + /// to other nodes. + pub addr: MultiaddrWithPeerId, + /// RPCHandlers to make RPC queries. + pub rpc_handlers: RpcHandlers, + /// Node's transaction pool + pub transaction_pool: TransactionPool, +} + +enum Consensus { + /// Use the relay-chain provided consensus. + RelayChain, + /// Use the null consensus that will never produce any block. + Null, +} + +/// A builder to create a [`TestNode`]. +pub struct TestNodeBuilder { + para_id: ParaId, + tokio_handle: tokio::runtime::Handle, + key: Sr25519Keyring, + collator_key: Option, + parachain_nodes: Vec, + parachain_nodes_exclusive: bool, + relay_chain_nodes: Vec, + wrap_announce_block: Option AnnounceBlockFn>>, + storage_update_func_parachain: Option>, + storage_update_func_relay_chain: Option>, + consensus: Consensus, +} + +impl TestNodeBuilder { + /// Create a new instance of `Self`. + /// + /// `para_id` - The parachain id this node is running for. + /// `tokio_handle` - The tokio handler to use. + /// `key` - The key that will be used to generate the name and that will be passed as + /// `dev_seed`. + pub fn new(para_id: ParaId, tokio_handle: tokio::runtime::Handle, key: Sr25519Keyring) -> Self { + TestNodeBuilder { + key, + para_id, + tokio_handle, + collator_key: None, + parachain_nodes: Vec::new(), + parachain_nodes_exclusive: false, + relay_chain_nodes: Vec::new(), + wrap_announce_block: None, + storage_update_func_parachain: None, + storage_update_func_relay_chain: None, + consensus: Consensus::RelayChain, + } + } + + /// Enable collator for this node. + pub fn enable_collator(mut self) -> Self { + let collator_key = CollatorPair::generate().0; + self.collator_key = Some(collator_key); + self + } + + /// Instruct the node to exclusively connect to registered parachain nodes. + /// + /// Parachain nodes can be registered using [`Self::connect_to_parachain_node`] and + /// [`Self::connect_to_parachain_nodes`]. + pub fn exclusively_connect_to_registered_parachain_nodes(mut self) -> Self { + self.parachain_nodes_exclusive = true; + self + } + + /// Make the node connect to the given parachain node. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_parachain_node(mut self, node: &TestNode) -> Self { + self.parachain_nodes.push(node.addr.clone()); + self + } + + /// Make the node connect to the given parachain nodes. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_parachain_nodes<'a>(mut self, nodes: impl Iterator) -> Self { + self.parachain_nodes.extend(nodes.map(|n| n.addr.clone())); + self + } + + /// Make the node connect to the given relay chain node. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_relay_chain_node(mut self, node: &polkadot_test_service::PolkadotTestNode) -> Self { + self.relay_chain_nodes.push(node.addr.clone()); + self + } + + /// Make the node connect to the given relay chain nodes. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_relay_chain_nodes<'a>( + mut self, + nodes: impl IntoIterator, + ) -> Self { + self.relay_chain_nodes.extend(nodes.into_iter().map(|n| n.addr.clone())); + self + } + + /// Wrap the announce block function of this node. + pub fn wrap_announce_block(mut self, wrap: impl FnOnce(AnnounceBlockFn) -> AnnounceBlockFn + 'static) -> Self { + self.wrap_announce_block = Some(Box::new(wrap)); + self + } + + /// Allows accessing the parachain storage before the test node is built. + pub fn update_storage_parachain(mut self, updater: impl Fn() + 'static) -> Self { + self.storage_update_func_parachain = Some(Box::new(updater)); + self + } + + /// Allows accessing the relay chain storage before the test node is built. + pub fn update_storage_relay_chain(mut self, updater: impl Fn() + 'static) -> Self { + self.storage_update_func_relay_chain = Some(Box::new(updater)); + self + } + + /// Use the null consensus that will never author any block. + pub fn use_null_consensus(mut self) -> Self { + self.consensus = Consensus::Null; + self + } + + /// Build the [`TestNode`]. + pub async fn build(self) -> TestNode { + let parachain_config = node_config( + self.storage_update_func_parachain.unwrap_or_else(|| Box::new(|| ())), + self.tokio_handle.clone(), + self.key.clone(), + self.parachain_nodes, + self.parachain_nodes_exclusive, + self.para_id, + self.collator_key.is_some(), + ) + .expect("could not generate Configuration"); + let mut relay_chain_config = polkadot_test_service::node_config( + self.storage_update_func_relay_chain.unwrap_or_else(|| Box::new(|| ())), + self.tokio_handle, + self.key, + self.relay_chain_nodes, + false, + ); + + relay_chain_config.network.node_name = format!("{} (relay chain)", relay_chain_config.network.node_name); + + let multiaddr = parachain_config.network.listen_addresses[0].clone(); + let (task_manager, client, network, rpc_handlers, transaction_pool) = start_node_impl( + parachain_config, + self.collator_key, + relay_chain_config, + self.para_id, + self.wrap_announce_block, + |_| Ok(Default::default()), + self.consensus, + ) + .await + .expect("could not create Cumulus test service"); + + let peer_id = network.local_peer_id().clone(); + let addr = MultiaddrWithPeerId { multiaddr, peer_id }; + + TestNode { + task_manager, + client, + network, + addr, + rpc_handlers, + transaction_pool, + } + } +} + +/// Create a Cumulus `Configuration`. +/// +/// By default an in-memory socket will be used, therefore you need to provide nodes if you want the +/// node to be connected to other nodes. If `nodes_exclusive` is `true`, the node will only connect +/// to the given `nodes` and not to any other node. The `storage_update_func` can be used to make +/// adjustments to the runtime genesis. +pub fn node_config( + storage_update_func: impl Fn(), + tokio_handle: tokio::runtime::Handle, + key: Sr25519Keyring, + nodes: Vec, + nodes_exlusive: bool, + para_id: ParaId, + is_collator: bool, +) -> Result { + let base_path = BasePath::new_temp_dir()?; + let root = base_path.path().to_path_buf(); + let role = if is_collator { Role::Authority } else { Role::Full }; + let key_seed = key.to_seed(); + let mut spec = Box::new(chain_spec::get_chain_spec(para_id)); + + let mut storage = spec + .as_storage_builder() + .build_storage() + .expect("could not build storage"); + + BasicExternalities::execute_with_storage(&mut storage, storage_update_func); + spec.set_storage(storage); + + let mut network_config = NetworkConfiguration::new( + format!("{} (parachain)", key_seed.to_string()), + "network/test/0.1", + Default::default(), + None, + ); + + if nodes_exlusive { + network_config.default_peers_set.reserved_nodes = nodes; + network_config.default_peers_set.non_reserved_mode = sc_network::config::NonReservedPeerMode::Deny; + } else { + network_config.boot_nodes = nodes; + } + + network_config.allow_non_globals_in_dht = true; + + network_config + .listen_addresses + .push(multiaddr::Protocol::Memory(rand::random()).into()); + + network_config.transport = TransportConfig::MemoryOnly; + + Ok(Configuration { + impl_name: "cumulus-test-node".to_string(), + impl_version: "0.1".to_string(), + role, + tokio_handle, + transaction_pool: Default::default(), + network: network_config, + keystore: KeystoreConfig::InMemory, + keystore_remote: Default::default(), + database: DatabaseSource::RocksDb { + path: root.join("db"), + cache_size: 128, + }, + state_cache_size: 67108864, + state_cache_child_ratio: None, + state_pruning: PruningMode::ArchiveAll, + keep_blocks: KeepBlocks::All, + transaction_storage: TransactionStorageMode::BlockBody, + chain_spec: spec, + wasm_method: WasmExecutionMethod::Interpreted, + // NOTE: we enforce the use of the native runtime to make the errors more debuggable + execution_strategies: ExecutionStrategies { + syncing: sc_client_api::ExecutionStrategy::NativeWhenPossible, + importing: sc_client_api::ExecutionStrategy::NativeWhenPossible, + block_construction: sc_client_api::ExecutionStrategy::NativeWhenPossible, + offchain_worker: sc_client_api::ExecutionStrategy::NativeWhenPossible, + other: sc_client_api::ExecutionStrategy::NativeWhenPossible, + }, + rpc_http: None, + rpc_ws: None, + rpc_ipc: None, + rpc_ws_max_connections: None, + rpc_cors: None, + rpc_methods: Default::default(), + rpc_max_payload: None, + ws_max_out_buffer_capacity: None, + prometheus_config: None, + telemetry_endpoints: None, + default_heap_pages: None, + offchain_worker: OffchainWorkerConfig { + enabled: true, + indexing_enabled: false, + }, + force_authoring: false, + disable_grandpa: false, + dev_key_seed: Some(key_seed), + tracing_targets: None, + tracing_receiver: Default::default(), + max_runtime_instances: 8, + announce_block: true, + base_path: Some(base_path), + informant_output_format: Default::default(), + wasm_runtime_overrides: None, + runtime_cache_size: 2, + }) +} + +impl TestNode { + /// Wait for `count` blocks to be imported in the node and then exit. This function will not + /// return if no blocks are ever created, thus you should restrict the maximum amount of time of + /// the test execution. + pub fn wait_for_blocks(&self, count: usize) -> impl Future { + self.client.wait_for_blocks(count) + } + + /// Send an extrinsic to this node. + pub async fn send_extrinsic( + &self, + function: impl Into, + caller: Sr25519Keyring, + ) -> Result { + let extrinsic = construct_extrinsic(&*self.client, function, caller.pair(), Some(0)); + + self.rpc_handlers.send_transaction(extrinsic.into()).await + } + + /// Register a parachain at this relay chain. + pub async fn schedule_upgrade(&self, validation: Vec) -> Result<(), RpcTransactionError> { + let call = frame_system::Call::set_code { code: validation }; + + self.send_extrinsic( + runtime::SudoCall::sudo_unchecked_weight { + call: Box::new(call.into()), + weight: 1_000, + }, + Sr25519Keyring::Alice, + ) + .await + .map(drop) + } +} + +/// Fetch account nonce for key pair +pub fn fetch_nonce(client: &Client, account: sp_core::sr25519::Public) -> u32 { + let best_hash = client.chain_info().best_hash; + client + .runtime_api() + .account_nonce(&generic::BlockId::Hash(best_hash), account.into()) + .expect("Fetching account nonce works; qed") +} + +/// Construct an extrinsic that can be applied to the test runtime. +pub fn construct_extrinsic( + client: &Client, + function: impl Into, + caller: sp_core::sr25519::Pair, + nonce: Option, +) -> runtime::UncheckedExtrinsic { + let function = function.into(); + let current_block_hash = client.info().best_hash; + let current_block = client.info().best_number.saturated_into(); + let genesis_block = client.hash(0).unwrap().unwrap(); + let nonce = nonce.unwrap_or_else(|| fetch_nonce(client, caller.public())); + let period = runtime::BlockHashCount::get() + .checked_next_power_of_two() + .map(|c| c / 2) + .unwrap_or(2) as u64; + let tip = 0; + let extra: runtime::SignedExtra = ( + frame_system::CheckNonZeroSender::::new(), + frame_system::CheckSpecVersion::::new(), + frame_system::CheckGenesis::::new(), + frame_system::CheckEra::::from(generic::Era::mortal(period, current_block)), + frame_system::CheckNonce::::from(nonce), + frame_system::CheckWeight::::new(), + pallet_transaction_payment::ChargeTransactionPayment::::from(tip), + ); + let raw_payload = runtime::SignedPayload::from_raw( + function.clone(), + extra.clone(), + ( + (), + runtime::VERSION.spec_version, + genesis_block, + current_block_hash, + (), + (), + (), + ), + ); + let signature = raw_payload.using_encoded(|e| caller.sign(e)); + runtime::UncheckedExtrinsic::new_signed( + function.clone(), + caller.public().into(), + runtime::Signature::Sr25519(signature.clone()), + extra.clone(), + ) +} + +/// Run a relay-chain validator node. +/// +/// This is essentially a wrapper around +/// [`run_validator_node`](polkadot_test_service::run_validator_node). +pub fn run_relay_chain_validator_node( + tokio_handle: tokio::runtime::Handle, + key: Sr25519Keyring, + storage_update_func: impl Fn(), + boot_nodes: Vec, +) -> polkadot_test_service::PolkadotTestNode { + let config = polkadot_test_service::node_config(storage_update_func, tokio_handle, key, boot_nodes, true); + + polkadot_test_service::run_validator_node( + config, + Some(cumulus_test_relay_validation_worker_provider::VALIDATION_WORKER.into()), + ) +} diff --git a/node/e2e-tests/test-service/tests/full_node_catching_up.rs b/node/e2e-tests/test-service/tests/full_node_catching_up.rs new file mode 100644 index 0000000000..67805d4325 --- /dev/null +++ b/node/e2e-tests/test-service/tests/full_node_catching_up.rs @@ -0,0 +1,64 @@ +// Copyright 2020-2021 Parity Technologies (UK) Ltd. +// This file is part of Substrate. + +// Substrate 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. + +// Substrate 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 Substrate. If not, see . + +use cumulus_primitives_core::ParaId; +use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; + +#[substrate_test_utils::test] +#[ignore] +async fn test_full_node_catching_up() { + let mut builder = sc_cli::LoggerBuilder::new(""); + builder.with_colors(false); + let _ = builder.init(); + + let para_id = ParaId::from(100); + + let tokio_handle = tokio::runtime::Handle::current(); + + // start alice + let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); + + // start bob + let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); + + // register parachain + alice + .register_parachain( + para_id, + cumulus_test_runtime::WASM_BINARY + .expect("You need to build the WASM binary to run this test!") + .to_vec(), + initial_head_data(para_id), + ) + .await + .unwrap(); + + // run cumulus charlie (a parachain collator) + let charlie = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Charlie) + .enable_collator() + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + charlie.wait_for_blocks(5).await; + + // run cumulus dave (a parachain full node) and wait for it to sync some blocks + let dave = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) + .connect_to_parachain_node(&charlie) + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + dave.wait_for_blocks(7).await; +} diff --git a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs new file mode 100644 index 0000000000..316c7851a7 --- /dev/null +++ b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs @@ -0,0 +1,112 @@ +// Copyright 2020-2021 Parity Technologies (UK) Ltd. +// This file is part of Substrate. + +// Substrate 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. + +// Substrate 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 Substrate. If not, see . + +//! Test migration from parachain A to parachain B by returning the header of parachain B. +//! +//! This can be seen as a test of the fundamentals of the solo to parachain migration use case. +//! The prerequisite is to have a running solo chain and a running parachain. The idea is that +//! the solo chain is being stopped at a given point and sends its last header to the running +//! parachain. The parachain will return this header as part of the validation phase on the relay +//! chain to enact this header as its current latest state. As the old running parachain doesn't +//! know this header, it will stop to produce new blocks. However, the old solo chain can now +//! produce blocks using the parachain slot. (Be aware, that this is just a highlevel description +//! and some parts are omitted.) + +use codec::Encode; +use cumulus_primitives_core::ParaId; +use sc_client_api::{BlockBackend, UsageProvider}; +use sp_runtime::generic::BlockId; +use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; + +#[substrate_test_utils::test] +#[ignore] +async fn test_migrate_solo_to_para() { + let mut builder = sc_cli::LoggerBuilder::new(""); + builder.with_colors(false); + let _ = builder.init(); + + let para_id = ParaId::from(100); + + let tokio_handle = tokio::runtime::Handle::current(); + + // start alice + let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); + + // start bob + let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); + + // register parachain + alice + .register_parachain( + para_id, + cumulus_test_runtime::WASM_BINARY + .expect("You need to build the WASM binary to run this test!") + .to_vec(), + initial_head_data(para_id), + ) + .await + .unwrap(); + + // run the parachain that will be used to return the header of the solo chain. + let parachain = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Charlie) + .enable_collator() + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + + // run the solo chain (in our case this is also already a parachain, but as it has a different + // genesis it will not produce any blocks.) + let solo = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) + .enable_collator() + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + // Set some random value in the genesis state to create a different genesis hash. + .update_storage_parachain(|| { + sp_io::storage::set(b"test", b"test"); + }) + .build() + .await; + + parachain.wait_for_blocks(2).await; + + // Ensure that both chains have a different genesis hash. + assert_ne!( + parachain.client.block_hash(0).ok().flatten().unwrap(), + solo.client.block_hash(0).ok().flatten().unwrap(), + ); + + let solo_chain_header = solo.client.header(&BlockId::Number(0)).ok().flatten().unwrap(); + + // Send the transaction to set the custom header, aka the header of the solo chain. + parachain + .send_extrinsic( + cumulus_test_runtime::TestPalletCall::set_custom_validation_head_data { + custom_header: solo_chain_header.encode(), + }, + Alice, + ) + .await + .unwrap(); + + // Wait until the solo chain produced a block now as a parachain. + solo.wait_for_blocks(1).await; + + let parachain_best = parachain.client.usage_info().chain.best_number; + + // Wait for some more blocks and check that the old parachain doesn't produced/imported any new + // blocks. + solo.wait_for_blocks(2).await; + assert_eq!(parachain_best, parachain.client.usage_info().chain.best_number); +} diff --git a/node/e2e-tests/test-service/tests/runtime_upgrade.rs b/node/e2e-tests/test-service/tests/runtime_upgrade.rs new file mode 100644 index 0000000000..24e8bdb8cb --- /dev/null +++ b/node/e2e-tests/test-service/tests/runtime_upgrade.rs @@ -0,0 +1,94 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Substrate. + +// Substrate 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. + +// Substrate 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 Substrate. If not, see . + +use cumulus_primitives_core::ParaId; +use futures::StreamExt; +use sc_client_api::BlockchainEvents; +use sp_runtime::generic::BlockId; +use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; + +#[substrate_test_utils::test] +#[ignore] +async fn test_runtime_upgrade() { + let mut builder = sc_cli::LoggerBuilder::new("runtime=debug"); + builder.with_colors(false); + let _ = builder.init(); + + let para_id = ParaId::from(100); + let tokio_handle = tokio::runtime::Handle::current(); + + // start alice + let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); + + // start bob + let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); + + // register parachain + alice + .register_parachain( + para_id, + cumulus_test_runtime::WASM_BINARY + .expect("You need to build the WASM binary to run this test!") + .to_vec(), + initial_head_data(para_id), + ) + .await + .unwrap(); + + // run cumulus charlie (a parachain collator) + let charlie = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Charlie) + .enable_collator() + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + + // run cumulus dave (a parachain full node) + let dave = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) + .connect_to_parachain_node(&charlie) + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + + // Wait for 2 blocks to be produced + charlie.wait_for_blocks(2).await; + + let mut expected_runtime_version = charlie + .client + .runtime_version_at(&BlockId::number(0)) + .expect("Runtime version exists"); + expected_runtime_version.spec_version += 1; + + let wasm = cumulus_test_runtime::wasm_spec_version_incremented::WASM_BINARY + .expect("Wasm binary with incremented spec version should have been built"); + + // schedule runtime upgrade + charlie.schedule_upgrade(wasm.into()).await.unwrap(); + + let mut import_stream = dave.client.import_notification_stream(); + + while let Some(notification) = import_stream.next().await { + if notification.is_new_best { + let runtime_version = dave + .client + .runtime_version_at(&BlockId::Hash(notification.hash)) + .expect("Runtime version exists"); + + if expected_runtime_version == runtime_version { + break; + } + } + } +} From 3a5a5dd2ade1d15c886ba13bc46ea38261de8101 Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 24 Jan 2022 21:21:20 +0800 Subject: [PATCH 11/46] update licence --- node/e2e-tests/test-service/src/chain_spec.rs | 13 +++++++------ node/e2e-tests/test-service/src/genesis.rs | 13 +++++++------ node/e2e-tests/test-service/src/lib.rs | 13 +++++++------ .../test-service/tests/full_node_catching_up.rs | 13 +++++++------ .../test-service/tests/migrate_solo_to_para.rs | 13 +++++++------ .../e2e-tests/test-service/tests/runtime_upgrade.rs | 13 +++++++------ 6 files changed, 42 insertions(+), 36 deletions(-) diff --git a/node/e2e-tests/test-service/src/chain_spec.rs b/node/e2e-tests/test-service/src/chain_spec.rs index b56ccac6ad..f579ca61dd 100644 --- a/node/e2e-tests/test-service/src/chain_spec.rs +++ b/node/e2e-tests/test-service/src/chain_spec.rs @@ -1,18 +1,19 @@ -// Copyright 2020-2021 Parity Technologies (UK) Ltd. -// This file is part of Cumulus. +// This file is part of Acala. -// Cumulus is free software: you can redistribute it and/or modify +// Copyright (C) 2020-2022 Acala Foundation. +// 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. -// Cumulus is distributed in the hope that it will be useful, +// 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 +// 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 Cumulus. If not, see . #![allow(missing_docs)] diff --git a/node/e2e-tests/test-service/src/genesis.rs b/node/e2e-tests/test-service/src/genesis.rs index 2f92180b4d..0c1a550230 100644 --- a/node/e2e-tests/test-service/src/genesis.rs +++ b/node/e2e-tests/test-service/src/genesis.rs @@ -1,18 +1,19 @@ -// Copyright 2020-2021 Parity Technologies (UK) Ltd. -// This file is part of Cumulus. +// This file is part of Acala. -// Cumulus is free software: you can redistribute it and/or modify +// Copyright (C) 2020-2022 Acala Foundation. +// 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. -// Cumulus is distributed in the hope that it will be useful, +// 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 +// 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 Cumulus. If not, see . use codec::Encode; use cumulus_client_service::genesis::generate_genesis_block; diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index c196360164..e263fab3e0 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -1,18 +1,19 @@ -// Copyright 2019-2021 Parity Technologies (UK) Ltd. -// This file is part of Cumulus. +// This file is part of Acala. -// Cumulus is free software: you can redistribute it and/or modify +// Copyright (C) 2020-2022 Acala Foundation. +// 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. -// Cumulus is distributed in the hope that it will be useful, +// 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 +// 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 Cumulus. If not, see . //! Crate used for testing with Cumulus. diff --git a/node/e2e-tests/test-service/tests/full_node_catching_up.rs b/node/e2e-tests/test-service/tests/full_node_catching_up.rs index 67805d4325..f17193acaf 100644 --- a/node/e2e-tests/test-service/tests/full_node_catching_up.rs +++ b/node/e2e-tests/test-service/tests/full_node_catching_up.rs @@ -1,18 +1,19 @@ -// Copyright 2020-2021 Parity Technologies (UK) Ltd. -// This file is part of Substrate. +// This file is part of Acala. -// Substrate is free software: you can redistribute it and/or modify +// Copyright (C) 2020-2022 Acala Foundation. +// 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. -// Substrate is distributed in the hope that it will be useful, +// 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 +// 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 Substrate. If not, see . use cumulus_primitives_core::ParaId; use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; diff --git a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs index 316c7851a7..961eeade33 100644 --- a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs +++ b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs @@ -1,18 +1,19 @@ -// Copyright 2020-2021 Parity Technologies (UK) Ltd. -// This file is part of Substrate. +// This file is part of Acala. -// Substrate is free software: you can redistribute it and/or modify +// Copyright (C) 2020-2022 Acala Foundation. +// 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. -// Substrate is distributed in the hope that it will be useful, +// 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 +// 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 Substrate. If not, see . //! Test migration from parachain A to parachain B by returning the header of parachain B. //! diff --git a/node/e2e-tests/test-service/tests/runtime_upgrade.rs b/node/e2e-tests/test-service/tests/runtime_upgrade.rs index 24e8bdb8cb..9a12676b02 100644 --- a/node/e2e-tests/test-service/tests/runtime_upgrade.rs +++ b/node/e2e-tests/test-service/tests/runtime_upgrade.rs @@ -1,18 +1,19 @@ -// Copyright 2021 Parity Technologies (UK) Ltd. -// This file is part of Substrate. +// This file is part of Acala. -// Substrate is free software: you can redistribute it and/or modify +// Copyright (C) 2020-2022 Acala Foundation. +// 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. -// Substrate is distributed in the hope that it will be useful, +// 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 +// 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 Substrate. If not, see . use cumulus_primitives_core::ParaId; use futures::StreamExt; From a0c2abe2d28e7221ac2b9000bac8035aedabc4bc Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 24 Jan 2022 21:22:17 +0800 Subject: [PATCH 12/46] update test-service --- Cargo.lock | 778 ++++++++++++++++++++++++++++++++++++++++++++++------- Cargo.toml | 1 + 2 files changed, 685 insertions(+), 94 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 372ac8701c..b8f90fdd1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -768,7 +768,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "beefy-primitives", "fnv", @@ -797,7 +797,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -821,12 +821,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "parity-scale-codec", "scale-info", @@ -1197,7 +1197,10 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" dependencies = [ + "lazy_static", "memchr", + "regex-automata", + "serde", ] [[package]] @@ -1295,6 +1298,15 @@ dependencies = [ "serde_json", ] +[[package]] +name = "cast" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a" +dependencies = [ + "rustc_version 0.4.0", +] + [[package]] name = "cc" version = "1.0.72" @@ -1674,6 +1686,44 @@ dependencies = [ "cfg-if 1.0.0", ] +[[package]] +name = "criterion" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1604dafd25fba2fe2d5895a9da139f8dc9b319a5fe5354ca137cbbce4e178d10" +dependencies = [ + "atty", + "cast", + "clap", + "criterion-plot", + "csv", + "futures 0.3.19", + "itertools", + "lazy_static", + "num-traits", + "oorandom", + "plotters", + "rayon", + "regex", + "serde", + "serde_cbor", + "serde_derive", + "serde_json", + "tinytemplate", + "tokio", + "walkdir", +] + +[[package]] +name = "criterion-plot" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d00996de9f2f7559f7f4dc286073197f83e92256a59ed395f9aac01fe717da57" +dependencies = [ + "cast", + "itertools", +] + [[package]] name = "crossbeam-channel" version = "0.5.2" @@ -1777,6 +1827,28 @@ dependencies = [ "subtle", ] +[[package]] +name = "csv" +version = "1.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" +dependencies = [ + "bstr", + "csv-core", + "itoa 0.4.8", + "ryu", + "serde", +] + +[[package]] +name = "csv-core" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" +dependencies = [ + "memchr", +] + [[package]] name = "ct-logs" version = "0.8.0" @@ -2249,6 +2321,47 @@ dependencies = [ "sp-std", ] +[[package]] +name = "cumulus-test-relay-validation-worker-provider" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus?branch=master#a9eb03208653b420e9599664c322396ac6f83db7" +dependencies = [ + "polkadot-node-core-pvf", +] + +[[package]] +name = "cumulus-test-runtime" +version = "0.1.0" +source = "git+https://github.com/paritytech/cumulus?branch=master#a9eb03208653b420e9599664c322396ac6f83db7" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-primitives-core", + "cumulus-primitives-timestamp", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", + "pallet-balances", + "pallet-sudo", + "pallet-timestamp", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-block-builder", + "sp-core", + "sp-inherents", + "sp-io", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-std", + "sp-transaction-pool", + "sp-version", + "substrate-wasm-builder", +] + [[package]] name = "curve25519-dalek" version = "2.1.3" @@ -2462,6 +2575,52 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" +[[package]] +name = "e2e-tests" +version = "2.2.1" +dependencies = [ + "acala-cli", + "acala-primitives", + "acala-service", + "cumulus-primitives-parachain-inherent", + "ecosystem-renvm-bridge", + "frame-benchmarking", + "frame-support", + "frame-system", + "hex-literal", + "log", + "mandala-runtime", + "module-cdp-engine", + "module-emergency-shutdown", + "module-evm", + "module-transaction-payment", + "pallet-balances", + "pallet-sudo", + "runtime-common", + "sc-client-api", + "sc-consensus", + "sc-consensus-aura", + "sc-consensus-babe", + "sc-consensus-manual-seal", + "sc-executor", + "sc-finality-grandpa", + "sc-informant", + "sc-network", + "sc-network-test", + "sc-service", + "sp-api", + "sp-consensus", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-core", + "sp-inherents", + "sp-keyring", + "sp-keystore", + "sp-runtime", + "sp-timestamp", + "test-service", +] + [[package]] name = "ecdsa" version = "0.12.4" @@ -3745,6 +3904,12 @@ dependencies = [ "tracing", ] +[[package]] +name = "half" +version = "1.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" + [[package]] name = "handlebars" version = "4.2.1" @@ -5661,6 +5826,17 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memory-db" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de006e09d04fc301a5f7e817b75aa49801c4479a8af753764416b085337ddcc5" +dependencies = [ + "hash-db", + "hashbrown", + "parity-util-mem", +] + [[package]] name = "memory-db" version = "0.28.0" @@ -6649,7 +6825,7 @@ dependencies = [ [[package]] name = "node-executor" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-benchmarking", "node-primitives", @@ -6667,7 +6843,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-system", "parity-scale-codec", @@ -6680,7 +6856,7 @@ dependencies = [ [[package]] name = "node-runtime" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6918,6 +7094,12 @@ version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" +[[package]] +name = "oorandom" +version = "11.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" + [[package]] name = "opaque-debug" version = "0.2.3" @@ -7365,7 +7547,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-support", "frame-system", @@ -7381,7 +7563,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-benchmarking", "frame-support", @@ -7466,7 +7648,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7501,7 +7683,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "beefy-primitives", "frame-support", @@ -7517,7 +7699,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -7620,7 +7802,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-support", "frame-system", @@ -7655,7 +7837,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "bitflags", "frame-benchmarking", @@ -7682,7 +7864,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "bitflags", "parity-scale-codec", @@ -7697,7 +7879,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "proc-macro2", "quote", @@ -7707,7 +7889,7 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "pallet-contracts-primitives", "parity-scale-codec", @@ -7869,7 +8051,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-support", "frame-system", @@ -8019,7 +8201,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-benchmarking", "frame-support", @@ -8050,7 +8232,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-support", "frame-system", @@ -8284,7 +8466,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-support", "frame-system", @@ -8319,7 +8501,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "frame-benchmarking", "frame-support", @@ -8800,6 +8982,34 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" +[[package]] +name = "plotters" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32a3fd9ec30b9749ce28cd91f255d569591cdf937fe280c312143e3c4bad6f2a" +dependencies = [ + "num-traits", + "plotters-backend", + "plotters-svg", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "plotters-backend" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d88417318da0eaf0fdcdb51a0ee6c3bed624333bff8f946733049380be67ac1c" + +[[package]] +name = "plotters-svg" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "521fa9638fa597e1dc53e9412a4f9cefb01187ee1f7413076f9e6749e2885ba9" +dependencies = [ + "plotters-backend", +] + [[package]] name = "polkadot-approval-distribution" version = "0.9.13" @@ -9542,6 +9752,37 @@ dependencies = [ "sp-version", ] +[[package]] +name = "polkadot-rpc" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +dependencies = [ + "beefy-gadget", + "beefy-gadget-rpc", + "jsonrpc-core", + "pallet-mmr-rpc", + "pallet-transaction-payment-rpc", + "polkadot-primitives", + "sc-chain-spec", + "sc-client-api", + "sc-consensus-babe", + "sc-consensus-babe-rpc", + "sc-consensus-epochs", + "sc-finality-grandpa", + "sc-finality-grandpa-rpc", + "sc-rpc", + "sc-sync-state-rpc", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-keystore", + "sp-runtime", + "substrate-frame-rpc-system", +] + [[package]] name = "polkadot-rpc" version = "0.9.13" @@ -9819,7 +10060,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain", "polkadot-primitives", - "polkadot-rpc", + "polkadot-rpc 0.9.13 (git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2)", "polkadot-runtime", "polkadot-runtime-constants", "polkadot-runtime-parachains", @@ -9903,61 +10144,177 @@ dependencies = [ ] [[package]] -name = "polling" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259" +name = "polkadot-test-runtime" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" dependencies = [ - "cfg-if 1.0.0", - "libc", + "beefy-primitives", + "bitvec 0.20.4", + "frame-election-provider-support", + "frame-executive", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", "log", - "wepoll-ffi", - "winapi 0.3.9", -] - -[[package]] -name = "poly1305" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" -dependencies = [ - "cpufeatures 0.2.1", - "opaque-debug 0.3.0", - "universal-hash", -] - -[[package]] -name = "polyval" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" -dependencies = [ - "cfg-if 1.0.0", - "cpufeatures 0.2.1", - "opaque-debug 0.3.0", - "universal-hash", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" - -[[package]] -name = "primitive-types" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" -dependencies = [ - "fixed-hash", - "impl-codec", - "impl-rlp", - "impl-serde", - "scale-info", - "uint", -] - + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-grandpa", + "pallet-indices", + "pallet-mmr-primitives", + "pallet-nicks", + "pallet-offences", + "pallet-session", + "pallet-staking", + "pallet-staking-reward-curve", + "pallet-sudo", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", + "pallet-vesting", + "pallet-xcm", + "parity-scale-codec", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "rustc-hex", + "scale-info", + "serde", + "serde_derive", + "smallvec", + "sp-api", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-babe", + "sp-core", + "sp-inherents", + "sp-io", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-transaction-pool", + "sp-version", + "substrate-wasm-builder", + "test-runtime-constants", + "xcm", + "xcm-builder", + "xcm-executor", +] + +[[package]] +name = "polkadot-test-service" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +dependencies = [ + "frame-benchmarking", + "frame-system", + "futures 0.1.31", + "futures 0.3.19", + "hex", + "pallet-balances", + "pallet-staking", + "pallet-transaction-payment", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-parachain", + "polkadot-primitives", + "polkadot-rpc 0.9.13 (git+https://github.com/paritytech/polkadot?branch=master)", + "polkadot-runtime-common", + "polkadot-runtime-parachains", + "polkadot-service", + "polkadot-test-runtime", + "rand 0.8.4", + "sc-authority-discovery", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-consensus", + "sc-consensus-babe", + "sc-executor", + "sc-finality-grandpa", + "sc-network", + "sc-service", + "sc-tracing", + "sc-transaction-pool", + "sp-arithmetic", + "sp-authority-discovery", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-core", + "sp-finality-grandpa", + "sp-inherents", + "sp-keyring", + "sp-runtime", + "sp-state-machine", + "substrate-test-client 2.0.1 (git+https://github.com/paritytech/substrate?branch=master)", + "tempfile", + "test-runtime-constants", + "tokio", + "tracing", +] + +[[package]] +name = "polling" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "log", + "wepoll-ffi", + "winapi 0.3.9", +] + +[[package]] +name = "poly1305" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" +dependencies = [ + "cpufeatures 0.2.1", + "opaque-debug 0.3.0", + "universal-hash", +] + +[[package]] +name = "polyval" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures 0.2.1", + "opaque-debug 0.3.0", + "universal-hash", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" + +[[package]] +name = "primitive-types" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373" +dependencies = [ + "fixed-hash", + "impl-codec", + "impl-rlp", + "impl-serde", + "scale-info", + "uint", +] + [[package]] name = "proc-macro-crate" version = "0.1.5" @@ -11583,6 +11940,34 @@ dependencies = [ "tracing", ] +[[package]] +name = "sc-network-test" +version = "0.8.0" +source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +dependencies = [ + "async-std", + "async-trait", + "futures 0.3.19", + "futures-timer", + "libp2p", + "log", + "parking_lot 0.11.2", + "rand 0.7.3", + "sc-block-builder", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-service", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-core", + "sp-runtime", + "sp-tracing", + "substrate-test-runtime", + "substrate-test-runtime-client", +] + [[package]] name = "sc-offchain" version = "4.0.0-dev" @@ -12127,6 +12512,16 @@ dependencies = [ "serde_json", ] +[[package]] +name = "serde_cbor" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" +dependencies = [ + "half", + "serde", +] + [[package]] name = "serde_derive" version = "1.0.135" @@ -12907,7 +13302,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "log", "parity-scale-codec", @@ -13046,7 +13441,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" dependencies = [ "parity-scale-codec", "scale-info", @@ -13077,7 +13472,7 @@ version = "4.0.0" source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" dependencies = [ "hash-db", - "memory-db", + "memory-db 0.28.0", "parity-scale-codec", "scale-info", "sp-core", @@ -13336,6 +13731,140 @@ dependencies = [ "tokio", ] +[[package]] +name = "substrate-test-client" +version = "2.0.1" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +dependencies = [ + "async-trait", + "futures 0.3.19", + "hex", + "parity-scale-codec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-executor", + "sc-offchain", + "sc-service", + "serde", + "serde_json", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-keyring", + "sp-keystore", + "sp-runtime", + "sp-state-machine", +] + +[[package]] +name = "substrate-test-client" +version = "2.0.1" +source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +dependencies = [ + "async-trait", + "futures 0.3.19", + "hex", + "parity-scale-codec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-executor", + "sc-offchain", + "sc-service", + "serde", + "serde_json", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-keyring", + "sp-keystore", + "sp-runtime", + "sp-state-machine", +] + +[[package]] +name = "substrate-test-runtime" +version = "2.0.0" +source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +dependencies = [ + "cfg-if 1.0.0", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", + "log", + "memory-db 0.27.0", + "pallet-babe", + "pallet-timestamp", + "parity-scale-codec", + "parity-util-mem", + "sc-service", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-core", + "sp-externalities", + "sp-finality-grandpa", + "sp-inherents", + "sp-io", + "sp-keyring", + "sp-offchain", + "sp-runtime", + "sp-runtime-interface", + "sp-session", + "sp-state-machine", + "sp-std", + "sp-transaction-pool", + "sp-trie", + "sp-version", + "substrate-wasm-builder", + "trie-db", +] + +[[package]] +name = "substrate-test-runtime-client" +version = "2.0.0" +source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +dependencies = [ + "futures 0.3.19", + "parity-scale-codec", + "sc-block-builder", + "sc-client-api", + "sc-consensus", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "substrate-test-client 2.0.1 (git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd)", + "substrate-test-runtime", +] + +[[package]] +name = "substrate-test-utils" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +dependencies = [ + "futures 0.3.19", + "substrate-test-utils-derive", + "tokio", +] + +[[package]] +name = "substrate-test-utils-derive" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +dependencies = [ + "proc-macro-crate 1.1.0", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" @@ -13415,6 +13944,72 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "test-runtime-constants" +version = "0.9.13" +source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +dependencies = [ + "frame-support", + "polkadot-primitives", + "polkadot-runtime-common", + "smallvec", + "sp-runtime", +] + +[[package]] +name = "test-service" +version = "0.1.0" +dependencies = [ + "async-trait", + "criterion", + "cumulus-client-consensus-common", + "cumulus-client-consensus-relay-chain", + "cumulus-client-network", + "cumulus-client-service", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-local", + "cumulus-test-relay-validation-worker-provider", + "cumulus-test-runtime", + "frame-system", + "frame-system-rpc-runtime-api", + "futures 0.3.19", + "jsonrpc-core", + "pallet-transaction-payment", + "parity-scale-codec", + "parking_lot 0.11.2", + "polkadot-primitives", + "polkadot-service", + "polkadot-test-service", + "rand 0.7.3", + "sc-basic-authorship", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-consensus", + "sc-executor", + "sc-network", + "sc-rpc", + "sc-service", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", + "serde", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-state-machine", + "sp-timestamp", + "sp-tracing", + "sp-trie", + "substrate-test-client 2.0.1 (git+https://github.com/paritytech/substrate?branch=master)", + "substrate-test-utils", + "tokio", +] + [[package]] name = "textwrap" version = "0.11.0" @@ -13546,6 +14141,16 @@ dependencies = [ "crunchy", ] +[[package]] +name = "tinytemplate" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" +dependencies = [ + "serde", + "serde_json", +] + [[package]] name = "tinyvec" version = "1.5.1" @@ -14838,18 +15443,3 @@ dependencies = [ "cc", "libc", ] - -[[patch.unused]] -name = "sc-network-test" -version = "0.8.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" - -[[patch.unused]] -name = "substrate-test-runtime" -version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" - -[[patch.unused]] -name = "substrate-test-runtime-client" -version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" diff --git a/Cargo.toml b/Cargo.toml index 7a35965fea..9157b1fa97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ members = [ "node", "node/cli", "node/service", + "node/e2e-tests", "modules/*", "modules/evm-utiltity/macro", From 342fc4765809e10702a4c17e321dc03050d0569a Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 25 Jan 2022 00:15:14 +0800 Subject: [PATCH 13/46] can not produce parachain block with mandala-runtime --- Cargo.lock | 47 ++--- node/e2e-tests/test-service/Cargo.toml | 18 +- node/e2e-tests/test-service/src/chain_spec.rs | 22 +-- node/e2e-tests/test-service/src/genesis.rs | 5 +- node/e2e-tests/test-service/src/lib.rs | 167 ++++++++++++++---- .../tests/full_node_catching_up.rs | 12 +- .../tests/migrate_solo_to_para.rs | 4 +- .../test-service/tests/runtime_upgrade.rs | 4 +- 8 files changed, 185 insertions(+), 94 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b8f90fdd1e..836795bee2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2329,39 +2329,6 @@ dependencies = [ "polkadot-node-core-pvf", ] -[[package]] -name = "cumulus-test-runtime" -version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=master#a9eb03208653b420e9599664c322396ac6f83db7" -dependencies = [ - "cumulus-pallet-parachain-system", - "cumulus-primitives-core", - "cumulus-primitives-timestamp", - "frame-executive", - "frame-support", - "frame-system", - "frame-system-rpc-runtime-api", - "pallet-balances", - "pallet-sudo", - "pallet-timestamp", - "pallet-transaction-payment", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-block-builder", - "sp-core", - "sp-inherents", - "sp-io", - "sp-offchain", - "sp-runtime", - "sp-session", - "sp-std", - "sp-transaction-pool", - "sp-version", - "substrate-wasm-builder", -] - [[package]] name = "curve25519-dalek" version = "2.1.3" @@ -13960,21 +13927,30 @@ dependencies = [ name = "test-service" version = "0.1.0" dependencies = [ + "acala-cli", + "acala-primitives", + "acala-service", "async-trait", "criterion", + "cumulus-client-consensus-aura", "cumulus-client-consensus-common", "cumulus-client-consensus-relay-chain", "cumulus-client-network", "cumulus-client-service", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", + "cumulus-relay-chain-interface", "cumulus-relay-chain-local", "cumulus-test-relay-validation-worker-provider", - "cumulus-test-runtime", "frame-system", "frame-system-rpc-runtime-api", "futures 0.3.19", "jsonrpc-core", + "log", + "mandala-runtime", + "module-evm", + "module-transaction-payment", + "pallet-sudo", "pallet-transaction-payment", "parity-scale-codec", "parking_lot 0.11.2", @@ -13982,6 +13958,7 @@ dependencies = [ "polkadot-service", "polkadot-test-service", "rand 0.7.3", + "runtime-common", "sc-basic-authorship", "sc-chain-spec", "sc-cli", @@ -13997,6 +13974,8 @@ dependencies = [ "serde", "sp-arithmetic", "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", "sp-core", "sp-io", "sp-keyring", diff --git a/node/e2e-tests/test-service/Cargo.toml b/node/e2e-tests/test-service/Cargo.toml index 308d83d6b3..56bc2d01e8 100644 --- a/node/e2e-tests/test-service/Cargo.toml +++ b/node/e2e-tests/test-service/Cargo.toml @@ -13,16 +13,20 @@ tokio = { version = "1.10", features = ["macros"] } criterion = { version = "0.3.5", features = [ "async_tokio" ] } parking_lot = "0.11.1" jsonrpc-core = "18.0.0" +log = "0.4.14" # Substrate dependencies frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -48,14 +52,26 @@ polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch # Cumulus dependencies cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-test-runtime = { git = "https://github.com/paritytech/cumulus", branch = "master" } +#cumulus-test-runtime = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "master" } + +runtime-common = { path = "../../../runtime/common" } +node-runtime = { package = "mandala-runtime", path = "../../../runtime/mandala" } +node-primitives = { package = "acala-primitives", path = "../../../primitives" } +node-cli = { package = "acala-cli", path = "../../cli", features = ["with-mandala-runtime"] } +node-service = { package = "acala-service", path = "../../service", features = ["with-mandala-runtime"] } + +# module deps +module-transaction-payment = { path = "../../../modules/transaction-payment" } +module-evm = { path = "../../../modules/evm" } [dev-dependencies] futures = "0.3.5" diff --git a/node/e2e-tests/test-service/src/chain_spec.rs b/node/e2e-tests/test-service/src/chain_spec.rs index f579ca61dd..9bebe81a1a 100644 --- a/node/e2e-tests/test-service/src/chain_spec.rs +++ b/node/e2e-tests/test-service/src/chain_spec.rs @@ -18,7 +18,7 @@ #![allow(missing_docs)] use cumulus_primitives_core::ParaId; -use cumulus_test_runtime::{AccountId, Signature}; +use node_runtime::{AccountId, Signature}; use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; use sc_service::ChainType; use serde::{Deserialize, Serialize}; @@ -32,7 +32,7 @@ pub type ChainSpec = sc_service::GenericChainSpec; #[derive(serde::Serialize, serde::Deserialize)] pub struct GenesisExt { /// The runtime genesis config. - runtime_genesis_config: cumulus_test_runtime::GenesisConfig, + runtime_genesis_config: node_runtime::GenesisConfig, /// The parachain id. para_id: ParaId, } @@ -40,8 +40,8 @@ pub struct GenesisExt { impl sp_runtime::BuildStorage for GenesisExt { fn assimilate_storage(&self, storage: &mut sp_core::storage::Storage) -> Result<(), String> { sp_state_machine::BasicExternalities::execute_with_storage(storage, || { - sp_io::storage::set(cumulus_test_runtime::TEST_RUNTIME_UPGRADE_KEY, &vec![1, 2, 3, 4]); - cumulus_test_runtime::ParachainId::set(&self.para_id); + sp_io::storage::set(node_runtime::TEST_RUNTIME_UPGRADE_KEY, &vec![1, 2, 3, 4]); + node_runtime::ParachainId::set(&self.para_id); }); self.runtime_genesis_config.assimilate_storage(storage) @@ -100,7 +100,7 @@ pub fn get_chain_spec(id: ParaId) -> ChainSpec { } /// Local testnet genesis for testing. -pub fn local_testnet_genesis() -> cumulus_test_runtime::GenesisConfig { +pub fn local_testnet_genesis() -> node_runtime::GenesisConfig { testnet_genesis( get_account_id_from_seed::("Alice"), vec![ @@ -120,19 +120,19 @@ pub fn local_testnet_genesis() -> cumulus_test_runtime::GenesisConfig { ) } -fn testnet_genesis(root_key: AccountId, endowed_accounts: Vec) -> cumulus_test_runtime::GenesisConfig { - cumulus_test_runtime::GenesisConfig { - system: cumulus_test_runtime::SystemConfig { - code: cumulus_test_runtime::WASM_BINARY +fn testnet_genesis(root_key: AccountId, endowed_accounts: Vec) -> node_runtime::GenesisConfig { + node_runtime::GenesisConfig { + system: node_runtime::SystemConfig { + code: node_runtime::WASM_BINARY .expect("WASM binary was not build, please build it!") .to_vec(), ..Default::default() }, parachain_system: Default::default(), - balances: cumulus_test_runtime::BalancesConfig { + balances: node_runtime::BalancesConfig { balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(), }, - sudo: cumulus_test_runtime::SudoConfig { key: Some(root_key) }, + sudo: node_runtime::SudoConfig { key: Some(root_key) }, transaction_payment: Default::default(), } } diff --git a/node/e2e-tests/test-service/src/genesis.rs b/node/e2e-tests/test-service/src/genesis.rs index 0c1a550230..496b5a52f0 100644 --- a/node/e2e-tests/test-service/src/genesis.rs +++ b/node/e2e-tests/test-service/src/genesis.rs @@ -18,13 +18,14 @@ use codec::Encode; use cumulus_client_service::genesis::generate_genesis_block; use cumulus_primitives_core::ParaId; -use cumulus_test_runtime::Block; +use node_runtime::Block; +use node_service::chain_spec::mandala::dev_testnet_config; use polkadot_primitives::v0::HeadData; use sp_runtime::traits::Block as BlockT; /// Returns the initial head data for a parachain ID. pub fn initial_head_data(para_id: ParaId) -> HeadData { - let spec = Box::new(crate::chain_spec::get_chain_spec(para_id)); + let spec = Box::new(dev_testnet_config(None).unwrap()); let block: Block = generate_genesis_block(&(spec as Box<_>), sp_runtime::StateVersion::V1).unwrap(); let genesis_state = block.header().encode(); genesis_state.into() diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index e263fab3e0..c27bf6cac4 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -19,7 +19,7 @@ #![warn(missing_docs)] -mod chain_spec; +// mod chain_spec; mod genesis; use std::{future::Future, time::Duration}; @@ -31,13 +31,15 @@ use cumulus_client_service::{ }; use cumulus_primitives_core::ParaId; use cumulus_relay_chain_local::RelayChainLocal; -use cumulus_test_runtime::{Hash, Header, NodeBlock as Block, RuntimeApi}; +use node_runtime::{Block, Hash, Header, Runtime, RuntimeApi, SignedExtra}; +use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use frame_system_rpc_runtime_api::AccountNonceApi; use parking_lot::Mutex; use polkadot_primitives::v1::{CollatorPair, Hash as PHash, PersistedValidationData}; use polkadot_service::ProvideRuntimeApi; use sc_client_api::execution_extensions::ExecutionStrategies; +use sc_client_api::ExecutorProvider; use sc_network::{config::TransportConfig, multiaddr, NetworkService}; use sc_service::{ config::{ @@ -51,16 +53,25 @@ use sp_arithmetic::traits::SaturatedConversion; use sp_blockchain::HeaderBackend; use sp_core::{Pair, H256}; use sp_keyring::Sr25519Keyring; -use sp_runtime::{codec::Encode, generic, traits::BlakeTwo256}; +use sp_runtime::{ + codec::Encode, + generic, + traits::{BlakeTwo256, Extrinsic}, +}; use sp_state_machine::BasicExternalities; use sp_trie::PrefixedMemoryDB; use std::sync::Arc; use substrate_test_client::{BlockchainEventsExt, RpcHandlersExt, RpcTransactionError, RpcTransactionOutput}; -pub use chain_spec::*; -pub use cumulus_test_runtime as runtime; +// pub use chain_spec::*; pub use genesis::*; +use node_primitives::signature::AcalaMultiSignature; +use node_primitives::{AccountId, Address, Signature}; +pub use node_runtime as runtime; +use node_service::chain_spec::mandala::dev_testnet_config; pub use sp_keyring::Sr25519Keyring as Keyring; +use sp_runtime::generic::Era; +use substrate_test_client::sp_consensus::SlotData; /// A consensus that will never produce any block. #[derive(Clone)] @@ -88,17 +99,17 @@ impl sc_executor::NativeExecutionDispatch for RuntimeExecutor { type ExtendHostFunctions = (); fn dispatch(method: &str, data: &[u8]) -> Option> { - cumulus_test_runtime::api::dispatch(method, data) + node_runtime::api::dispatch(method, data) } fn native_version() -> sc_executor::NativeVersion { - cumulus_test_runtime::native_version() + node_runtime::native_version() } } /// The client type being used by the test service. pub type Client = - TFullClient>; + TFullClient>; /// Transaction pool type used by the test service pub type TransactionPool = Arc>; @@ -192,6 +203,8 @@ where let mut parachain_config = prepare_node_config(parachain_config); let params = new_partial(&mut parachain_config)?; + let keystore = params.keystore_container.sync_keystore(); + let force_authoring = parachain_config.force_authoring; let transaction_pool = params.transaction_pool.clone(); let mut task_manager = params.task_manager; @@ -225,6 +238,30 @@ where let block_announce_validator_builder = move |_| Box::new(block_announce_validator) as Box<_>; let prometheus_registry = parachain_config.prometheus_registry().cloned(); + // let import_queue = { + // let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + // cumulus_client_consensus_aura::import_queue::( cumulus_client_consensus_aura::ImportQueueParams { + // block_import: client.clone(), + // client: client.clone(), + // create_inherent_data_providers: move |_, _| async move { + // let time = sp_timestamp::InherentDataProvider::from_system_time(); + // + // let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + // *time, + // slot_duration.slot_duration(), + // ); + // + // Ok((time, slot)) + // }, + // registry: None, + // can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), + // spawner: &task_manager.spawn_essential_handle(), + // telemetry: None, + // }, + // )? + // }; + // let import_queue = cumulus_client_service::SharedImportQueue::new(import_queue); let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue); let (network, system_rpc_tx, start_network) = sc_service::build_network(sc_service::BuildNetworkParams { config: ¶chain_config, @@ -265,6 +302,7 @@ where .unwrap_or_else(|| announce_block); let relay_chain_interface_for_closure = relay_chain_interface.clone(); + if let Some(collator_key) = collator_key { let parachain_consensus: Box> = match consensus { Consensus::RelayChain => { @@ -302,6 +340,60 @@ where )) } Consensus::Null => Box::new(NullConsensus), + Consensus::Aura => { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool.clone(), + prometheus_registry.as_ref(), + None, + ); + + AuraConsensus::build::( + BuildAuraConsensusParams { + proposer_factory, + create_inherent_data_providers: move |_, (relay_parent, validation_data)| { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface_for_closure, + &validation_data, + para_id, + ); + async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = + sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *time, + slot_duration.slot_duration(), + ); + + let parachain_inherent = parachain_inherent.ok_or_else(|| { + Box::::from( + "Failed to create parachain inherent", + ) + })?; + Ok((time, slot, parachain_inherent)) + } + }, + block_import: client.clone(), + para_client: client.clone(), + backoff_authoring_blocks: Option::<()>::None, + sync_oracle: network.clone(), + keystore, + force_authoring, + slot_duration, + // We got around 500ms for proposing + block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), + // And a maximum of 750ms if slots are skipped + max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), + telemetry: None, + }, + ) + } }; let params = StartCollatorParams { @@ -363,6 +455,7 @@ enum Consensus { RelayChain, /// Use the null consensus that will never produce any block. Null, + Aura, } /// A builder to create a [`TestNode`]. @@ -399,7 +492,7 @@ impl TestNodeBuilder { wrap_announce_block: None, storage_update_func_parachain: None, storage_update_func_relay_chain: None, - consensus: Consensus::RelayChain, + consensus: Consensus::Aura, } } @@ -494,6 +587,9 @@ impl TestNodeBuilder { self.collator_key.is_some(), ) .expect("could not generate Configuration"); + + log::info!(target: "test-service", "collator key:{} -> {:?}", self.key, self.collator_key.is_some()); + let mut relay_chain_config = polkadot_test_service::node_config( self.storage_update_func_relay_chain.unwrap_or_else(|| Box::new(|| ())), self.tokio_handle, @@ -550,7 +646,7 @@ pub fn node_config( let root = base_path.path().to_path_buf(); let role = if is_collator { Role::Authority } else { Role::Full }; let key_seed = key.to_seed(); - let mut spec = Box::new(chain_spec::get_chain_spec(para_id)); + let mut spec = Box::new(dev_testnet_config(None).unwrap()); let mut storage = spec .as_storage_builder() @@ -655,7 +751,7 @@ impl TestNode { ) -> Result { let extrinsic = construct_extrinsic(&*self.client, function, caller.pair(), Some(0)); - self.rpc_handlers.send_transaction(extrinsic.into()).await + self.rpc_handlers.send_transaction(extrinsic.0.into()).await } /// Register a parachain at this relay chain. @@ -663,7 +759,7 @@ impl TestNode { let call = frame_system::Call::set_code { code: validation }; self.send_extrinsic( - runtime::SudoCall::sudo_unchecked_weight { + pallet_sudo::Call::sudo_unchecked_weight { call: Box::new(call.into()), weight: 1_000, }, @@ -701,34 +797,29 @@ pub fn construct_extrinsic( .unwrap_or(2) as u64; let tip = 0; let extra: runtime::SignedExtra = ( - frame_system::CheckNonZeroSender::::new(), - frame_system::CheckSpecVersion::::new(), - frame_system::CheckGenesis::::new(), - frame_system::CheckEra::::from(generic::Era::mortal(period, current_block)), - frame_system::CheckNonce::::from(nonce), - frame_system::CheckWeight::::new(), - pallet_transaction_payment::ChargeTransactionPayment::::from(tip), - ); - let raw_payload = runtime::SignedPayload::from_raw( - function.clone(), - extra.clone(), - ( - (), - runtime::VERSION.spec_version, - genesis_block, - current_block_hash, - (), - (), - (), - ), + frame_system::CheckSpecVersion::::new(), + frame_system::CheckTxVersion::::new(), + frame_system::CheckGenesis::::new(), + frame_system::CheckEra::::from(Era::mortal(period, current_block)), + runtime_common::CheckNonce::::from(nonce), + frame_system::CheckWeight::::new(), + module_transaction_payment::ChargeTransactionPayment::::from(tip), + module_evm::SetEvmOrigin::::new(), ); + let raw_payload = runtime::SignedPayload::new(function, extra) + .map_err(|e| { + log::warn!(target: "test-service", "Unable to create signed payload: {:?}", e); + }) + .unwrap(); let signature = raw_payload.using_encoded(|e| caller.sign(e)); - runtime::UncheckedExtrinsic::new_signed( - function.clone(), - caller.public().into(), - runtime::Signature::Sr25519(signature.clone()), - extra.clone(), - ) + let account: AccountId = caller.public().into(); + let address: Address = account.into(); + let (call, extra, _) = raw_payload.deconstruct(); + let signed_data: (Address, AcalaMultiSignature, SignedExtra) = + (address, Signature::Sr25519(signature.clone()), extra.clone()); + let ext = runtime::UncheckedExtrinsic::new(call, Some(signed_data)).unwrap(); + log::info!(target: "test-service", "extrinsic:{:?}", ext); + ext } /// Run a relay-chain validator node. diff --git a/node/e2e-tests/test-service/tests/full_node_catching_up.rs b/node/e2e-tests/test-service/tests/full_node_catching_up.rs index f17193acaf..7ef90026ed 100644 --- a/node/e2e-tests/test-service/tests/full_node_catching_up.rs +++ b/node/e2e-tests/test-service/tests/full_node_catching_up.rs @@ -21,11 +21,15 @@ use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::* #[substrate_test_utils::test] #[ignore] async fn test_full_node_catching_up() { - let mut builder = sc_cli::LoggerBuilder::new(""); - builder.with_colors(false); + // let mut builder = + // sc_cli::LoggerBuilder::new("parachain::candidate-selection=trace,parachain::pvf=trace,parachain:: + // collator-protocol=trace,parachain::provisioner=trace,test-service=info"); let mut builder = + // sc_cli::LoggerBuilder::new("debug,wasmtime=info,afg=info,db=info,wasm_overrides=info,sync=info"); + let mut builder = sc_cli::LoggerBuilder::new("parachain=debug"); + builder.with_colors(true); let _ = builder.init(); - let para_id = ParaId::from(100); + let para_id = ParaId::from(2000); let tokio_handle = tokio::runtime::Handle::current(); @@ -39,7 +43,7 @@ async fn test_full_node_catching_up() { alice .register_parachain( para_id, - cumulus_test_runtime::WASM_BINARY + node_runtime::WASM_BINARY .expect("You need to build the WASM binary to run this test!") .to_vec(), initial_head_data(para_id), diff --git a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs index 961eeade33..c21cdcb7f7 100644 --- a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs +++ b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs @@ -53,7 +53,7 @@ async fn test_migrate_solo_to_para() { alice .register_parachain( para_id, - cumulus_test_runtime::WASM_BINARY + node_runtime::WASM_BINARY .expect("You need to build the WASM binary to run this test!") .to_vec(), initial_head_data(para_id), @@ -93,7 +93,7 @@ async fn test_migrate_solo_to_para() { // Send the transaction to set the custom header, aka the header of the solo chain. parachain .send_extrinsic( - cumulus_test_runtime::TestPalletCall::set_custom_validation_head_data { + node_runtime::TestPalletCall::set_custom_validation_head_data { custom_header: solo_chain_header.encode(), }, Alice, diff --git a/node/e2e-tests/test-service/tests/runtime_upgrade.rs b/node/e2e-tests/test-service/tests/runtime_upgrade.rs index 9a12676b02..1a04687a94 100644 --- a/node/e2e-tests/test-service/tests/runtime_upgrade.rs +++ b/node/e2e-tests/test-service/tests/runtime_upgrade.rs @@ -41,7 +41,7 @@ async fn test_runtime_upgrade() { alice .register_parachain( para_id, - cumulus_test_runtime::WASM_BINARY + node_runtime::WASM_BINARY .expect("You need to build the WASM binary to run this test!") .to_vec(), initial_head_data(para_id), @@ -72,7 +72,7 @@ async fn test_runtime_upgrade() { .expect("Runtime version exists"); expected_runtime_version.spec_version += 1; - let wasm = cumulus_test_runtime::wasm_spec_version_incremented::WASM_BINARY + let wasm = node_runtime::wasm_spec_version_incremented::WASM_BINARY .expect("Wasm binary with incremented spec version should have been built"); // schedule runtime upgrade From 9a39c28f1915af468efd2ac2af8f5f79065b49fc Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 25 Jan 2022 00:24:25 +0800 Subject: [PATCH 14/46] fmt --- Cargo.lock | 2 +- node/e2e-tests/test-service/Cargo.toml | 4 ++-- node/e2e-tests/test-service/src/chain_spec.rs | 1 + node/e2e-tests/test-service/src/genesis.rs | 1 + node/e2e-tests/test-service/src/lib.rs | 1 + node/e2e-tests/test-service/tests/full_node_catching_up.rs | 1 + node/e2e-tests/test-service/tests/migrate_solo_to_para.rs | 1 + node/e2e-tests/test-service/tests/runtime_upgrade.rs | 1 + 8 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 836795bee2..b1ad8df3dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13925,7 +13925,7 @@ dependencies = [ [[package]] name = "test-service" -version = "0.1.0" +version = "2.2.1" dependencies = [ "acala-cli", "acala-primitives", diff --git a/node/e2e-tests/test-service/Cargo.toml b/node/e2e-tests/test-service/Cargo.toml index 56bc2d01e8..111e9f0e3a 100644 --- a/node/e2e-tests/test-service/Cargo.toml +++ b/node/e2e-tests/test-service/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "test-service" -version = "0.1.0" -authors = ["Parity Technologies "] +version = "2.2.1" +authors = ["Acala Developers"] edition = "2021" [dependencies] diff --git a/node/e2e-tests/test-service/src/chain_spec.rs b/node/e2e-tests/test-service/src/chain_spec.rs index 9bebe81a1a..f8981e0f0a 100644 --- a/node/e2e-tests/test-service/src/chain_spec.rs +++ b/node/e2e-tests/test-service/src/chain_spec.rs @@ -14,6 +14,7 @@ // 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 . #![allow(missing_docs)] diff --git a/node/e2e-tests/test-service/src/genesis.rs b/node/e2e-tests/test-service/src/genesis.rs index 496b5a52f0..1acdbf25ba 100644 --- a/node/e2e-tests/test-service/src/genesis.rs +++ b/node/e2e-tests/test-service/src/genesis.rs @@ -14,6 +14,7 @@ // 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 codec::Encode; use cumulus_client_service::genesis::generate_genesis_block; diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index c27bf6cac4..a01c9f018b 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -14,6 +14,7 @@ // 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 . //! Crate used for testing with Cumulus. diff --git a/node/e2e-tests/test-service/tests/full_node_catching_up.rs b/node/e2e-tests/test-service/tests/full_node_catching_up.rs index 7ef90026ed..b28a3f0bb0 100644 --- a/node/e2e-tests/test-service/tests/full_node_catching_up.rs +++ b/node/e2e-tests/test-service/tests/full_node_catching_up.rs @@ -14,6 +14,7 @@ // 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 cumulus_primitives_core::ParaId; use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; diff --git a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs index c21cdcb7f7..127aeb1e10 100644 --- a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs +++ b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs @@ -14,6 +14,7 @@ // 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 . //! Test migration from parachain A to parachain B by returning the header of parachain B. //! diff --git a/node/e2e-tests/test-service/tests/runtime_upgrade.rs b/node/e2e-tests/test-service/tests/runtime_upgrade.rs index 1a04687a94..0887887ee5 100644 --- a/node/e2e-tests/test-service/tests/runtime_upgrade.rs +++ b/node/e2e-tests/test-service/tests/runtime_upgrade.rs @@ -14,6 +14,7 @@ // 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 cumulus_primitives_core::ParaId; use futures::StreamExt; From 813db7487338d492d709707bda67a85fa40c0a86 Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 25 Jan 2022 00:37:06 +0800 Subject: [PATCH 15/46] restore stable-asset --- ecosystem-modules/stable-asset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem-modules/stable-asset b/ecosystem-modules/stable-asset index 6ad8d18e43..8844203600 160000 --- a/ecosystem-modules/stable-asset +++ b/ecosystem-modules/stable-asset @@ -1 +1 @@ -Subproject commit 6ad8d18e4309ede0b95ff002aabf71e873e4339c +Subproject commit 884420360040bc963883e5dd56040fcd07b00733 From 4409862e6988f5896ea7bffbb848dda3eb3c7ed3 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 26 Jan 2022 18:01:53 +0800 Subject: [PATCH 16/46] simple balance works --- Cargo.lock | 4 + node/e2e-tests/src/lib.rs | 351 ++++++++---------- node/e2e-tests/test-service/Cargo.toml | 4 + node/e2e-tests/test-service/src/genesis.rs | 3 +- node/e2e-tests/test-service/src/lib.rs | 185 ++++++--- .../tests/full_node_catching_up.rs | 75 +++- .../tests/migrate_solo_to_para.rs | 114 ------ .../test-service/tests/runtime_upgrade.rs | 96 ----- 8 files changed, 354 insertions(+), 478 deletions(-) delete mode 100644 node/e2e-tests/test-service/tests/migrate_solo_to_para.rs delete mode 100644 node/e2e-tests/test-service/tests/runtime_upgrade.rs diff --git a/Cargo.lock b/Cargo.lock index b1ad8df3dc..2f296a920d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13950,6 +13950,7 @@ dependencies = [ "mandala-runtime", "module-evm", "module-transaction-payment", + "pallet-balances", "pallet-sudo", "pallet-transaction-payment", "parity-scale-codec", @@ -13964,6 +13965,7 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-consensus", + "sc-consensus-aura", "sc-executor", "sc-network", "sc-rpc", @@ -13972,11 +13974,13 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "serde", + "sp-api", "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-core", + "sp-externalities", "sp-io", "sp-keyring", "sp-runtime", diff --git a/node/e2e-tests/src/lib.rs b/node/e2e-tests/src/lib.rs index 74053423d1..2e3c174e88 100644 --- a/node/e2e-tests/src/lib.rs +++ b/node/e2e-tests/src/lib.rs @@ -20,63 +20,11 @@ #![allow(clippy::type_complexity)] -use node_runtime::Runtime; -use sc_executor::NativeElseWasmExecutor; -use sc_service::{TFullBackend, TFullClient}; -use sp_runtime::generic::Era; -use std::sync::Arc; -use test_runner::{ChainInfo, SignatureVerificationOverride}; - -/// A unit struct which implements `NativeExecutionDispatch` feeding in the -/// hard-coded runtime. -pub struct ExecutorDispatch; - -impl sc_executor::NativeExecutionDispatch for ExecutorDispatch { - type ExtendHostFunctions = ( - frame_benchmarking::benchmarking::HostFunctions, - SignatureVerificationOverride, - ); - - fn dispatch(method: &str, data: &[u8]) -> Option> { - node_runtime::api::dispatch(method, data) - } - - fn native_version() -> sc_executor::NativeVersion { - node_runtime::native_version() - } -} - -/// ChainInfo implementation. -struct NodeTemplateChainInfo; - -impl ChainInfo for NodeTemplateChainInfo { - type Block = node_primitives::Block; - type ExecutorDispatch = ExecutorDispatch; - type Runtime = Runtime; - type RuntimeApi = node_runtime::RuntimeApi; - type SelectChain = sc_consensus::LongestChain, Self::Block>; - type BlockImport = Arc>>; - type SignedExtras = node_runtime::SignedExtra; - type InherentDataProviders = ( - sp_timestamp::InherentDataProvider, - cumulus_primitives_parachain_inherent::MockValidationDataInherentDataProvider, - ); - - fn signed_extras(from: ::AccountId) -> Self::SignedExtras { - ( - frame_system::CheckSpecVersion::::new(), - frame_system::CheckTxVersion::::new(), - frame_system::CheckGenesis::::new(), - frame_system::CheckMortality::::from(Era::Immortal), - runtime_common::CheckNonce::::from(frame_system::Pallet::::account_nonce( - from, - )), - frame_system::CheckWeight::::new(), - module_transaction_payment::ChargeTransactionPayment::::from(0), - module_evm::SetEvmOrigin::::new(), - ) - } -} +// use node_runtime::Runtime; +// use sc_executor::NativeElseWasmExecutor; +// use sc_service::{TFullBackend, TFullClient}; +// use sp_runtime::generic::Era; +// use std::sync::Arc; #[cfg(test)] mod tests { @@ -86,147 +34,150 @@ mod tests { use node_service::chain_spec::mandala::dev_testnet_config; use sp_keyring::sr25519::Keyring::{Alice, Bob}; use sp_runtime::{traits::IdentifyAccount, AccountId32, MultiAddress, MultiSigner}; - use test_runner::*; - - #[test] - #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 - fn test_runner() { - let tokio_runtime = build_runtime().unwrap(); - let (rpc, task_manager, client, pool, command_sink, backend) = client_parts::( - ConfigOrChainSpec::ChainSpec(Box::new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), - ) - .unwrap(); - let node = Node::::new(rpc, task_manager, client, pool, command_sink, backend); - - tokio_runtime.block_on(async { - // seals blocks - node.seal_blocks(1).await; - // submit extrinsics - let alice = MultiSigner::from(Alice.public()).into_account(); - let _hash = node - .submit_extrinsic( - frame_system::Call::remark { - remark: (b"hello world").to_vec(), - }, - Some(alice), - ) - .await - .unwrap(); - - // look ma, I can read state. - let _events = node.with_state(|| frame_system::Pallet::::events()); - // get access to the underlying client. - let _client = node.client(); - }) - } - - #[test] - #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 - fn simple_balances_test() { - let tokio_runtime = build_runtime().unwrap(); - let (rpc, task_manager, client, pool, command_sink, backend) = client_parts::( - ConfigOrChainSpec::ChainSpec(Box::new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), - ) - .unwrap(); - let node = Node::::new(rpc, task_manager, client, pool, command_sink, backend); - - tokio_runtime.block_on(async { - // submit extrinsics - let alice = MultiSigner::from(Alice.public()).into_account(); - let _hash = node - .submit_extrinsic( - frame_system::Call::remark { - remark: (b"hello world").to_vec(), - }, - Some(alice), - ) - .await - .unwrap(); - - type Balances = pallet_balances::Pallet; - - let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); - let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); - - // the function with_state allows us to read state, pretty cool right? :D - let old_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); - - let amount = 70_000_000_000_000; - - // Send extrinsic in action. - let tx = pallet_balances::Call::transfer { - dest: MultiAddress::from(bob_account_id.clone()), - value: amount, - }; - node.submit_extrinsic(tx, Some(alice_account_id)).await.unwrap(); - - // Produce blocks in action, Powered by manual-sealâ„¢. - node.seal_blocks(1).await; - - // we can check the new state :D - let new_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); - - // we can now make assertions on how state has changed. - assert_eq!(old_balance + amount, new_balance); - }) - } - - #[test] - #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 - fn transaction_pool_priority_order_test() { - let tokio_runtime = build_runtime().unwrap(); - let (rpc, task_manager, client, pool, command_sink, backend) = client_parts::( - ConfigOrChainSpec::ChainSpec(Box::new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), - ) - .unwrap(); - let node = Node::::new(rpc, task_manager, client, pool, command_sink, backend); - - tokio_runtime.block_on(async { - let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); - let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); - - // send operational extrinsic - let operational_tx_hash = node.submit_extrinsic( - pallet_sudo::Call::sudo { call: Box::new(module_emergency_shutdown::Call::emergency_shutdown { }.into()) }, - Some(alice_account_id), - ).await.unwrap(); - - // send normal extrinsic - let normal_tx_hash = node.submit_extrinsic( - pallet_balances::Call::transfer { dest: MultiAddress::from(bob_account_id.clone()), value: 80_000 }, - Some(bob_account_id), - ).await.unwrap(); - - // send unsigned extrinsic - let to: AccountId32 = hex!["d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"].into(); - let unsigned_tx_hash = node.submit_extrinsic( - ecosystem_renvm_bridge::Call::mint { - who: to, - p_hash: hex!["67028f26328144de6ef80b8cd3b05e0cefb488762c340d1574c0542f752996cb"], - amount: 93963, - n_hash: hex!["f6a75cc370a2dda6dfc8d016529766bb6099d7fa0d787d9fe5d3a7e60c9ac2a0"], - sig: EcdsaSignature::from_slice(&hex!["defda6eef01da2e2a90ce30ba73e90d32204ae84cae782b485f01d16b69061e0381a69cafed3deb6112af044c42ed0f7c73ee0eec7b533334d31a06db50fc40e1b"]), - }, - None, - ).await.unwrap(); - - assert_eq!(node.pool().ready().count(), 3); - - // Ensure tx priority order: - // Inherent -> Operational tx -> Unsigned tx -> Signed normal tx - let mut txs = node.pool().ready(); - let tx1 = txs.next().unwrap(); - let tx2 = txs.next().unwrap(); - let tx3 = txs.next().unwrap(); - - assert_eq!(tx1.hash, operational_tx_hash); - assert_eq!(tx1.priority, 13835064928601523711); - - assert_eq!(tx2.hash, unsigned_tx_hash); - assert_eq!(tx2.priority, 1844674407370965161); - - assert_eq!(tx3.hash, normal_tx_hash); - assert_eq!(tx3.priority, 42785501349000); - }) - } + + // #[test] + // #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 + // fn test_runner() { + // let tokio_runtime = build_runtime().unwrap(); + // let (rpc, task_manager, client, pool, command_sink, backend) = + // client_parts::( ConfigOrChainSpec::ChainSpec(Box:: + // new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), ) + // .unwrap(); + // let node = Node::::new(rpc, task_manager, client, pool, command_sink, + // backend); + + // tokio_runtime.block_on(async { + // // seals blocks + // node.seal_blocks(1).await; + // // submit extrinsics + // let alice = MultiSigner::from(Alice.public()).into_account(); + // let _hash = node + // .submit_extrinsic( + // frame_system::Call::remark { + // remark: (b"hello world").to_vec(), + // }, + // Some(alice), + // ) + // .await + // .unwrap(); + + // // look ma, I can read state. + // let _events = node.with_state(|| frame_system::Pallet::::events()); + // // get access to the underlying client. + // let _client = node.client(); + // }) + // } + + // #[test] + // #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 + // fn simple_balances_test() { + // let tokio_runtime = build_runtime().unwrap(); + // let (rpc, task_manager, client, pool, command_sink, backend) = + // client_parts::( ConfigOrChainSpec::ChainSpec(Box:: + // new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), ) + // .unwrap(); + // let node = Node::::new(rpc, task_manager, client, pool, command_sink, + // backend); + + // tokio_runtime.block_on(async { + // // submit extrinsics + // let alice = MultiSigner::from(Alice.public()).into_account(); + // let _hash = node + // .submit_extrinsic( + // frame_system::Call::remark { + // remark: (b"hello world").to_vec(), + // }, + // Some(alice), + // ) + // .await + // .unwrap(); + + // type Balances = pallet_balances::Pallet; + + // let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); + // let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); + + // // the function with_state allows us to read state, pretty cool right? :D + // let old_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); + + // let amount = 70_000_000_000_000; + + // // Send extrinsic in action. + // let tx = pallet_balances::Call::transfer { + // dest: MultiAddress::from(bob_account_id.clone()), + // value: amount, + // }; + // node.submit_extrinsic(tx, Some(alice_account_id)).await.unwrap(); + + // // Produce blocks in action, Powered by manual-sealâ„¢. + // node.seal_blocks(1).await; + + // // we can check the new state :D + // let new_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); + + // // we can now make assertions on how state has changed. + // assert_eq!(old_balance + amount, new_balance); + // }) + // } + + // #[test] + // #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 + // fn transaction_pool_priority_order_test() { + // let tokio_runtime = build_runtime().unwrap(); + // let (rpc, task_manager, client, pool, command_sink, backend) = + // client_parts::( ConfigOrChainSpec::ChainSpec(Box:: + // new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), ) + // .unwrap(); + // let node = Node::::new(rpc, task_manager, client, pool, command_sink, + // backend); + + // tokio_runtime.block_on(async { + // let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); + // let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); + + // // send operational extrinsic + // let operational_tx_hash = node.submit_extrinsic( + // pallet_sudo::Call::sudo { call: Box::new(module_emergency_shutdown::Call::emergency_shutdown + // { }.into()) }, Some(alice_account_id), + // ).await.unwrap(); + + // // send normal extrinsic + // let normal_tx_hash = node.submit_extrinsic( + // pallet_balances::Call::transfer { dest: MultiAddress::from(bob_account_id.clone()), value: + // 80_000 }, Some(bob_account_id), + // ).await.unwrap(); + + // // send unsigned extrinsic + // let to: AccountId32 = + // hex!["d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"].into(); + // let unsigned_tx_hash = node.submit_extrinsic( + // ecosystem_renvm_bridge::Call::mint { + // who: to, + // p_hash: hex!["67028f26328144de6ef80b8cd3b05e0cefb488762c340d1574c0542f752996cb"], + // amount: 93963, + // n_hash: hex!["f6a75cc370a2dda6dfc8d016529766bb6099d7fa0d787d9fe5d3a7e60c9ac2a0"], + // sig: EcdsaSignature::from_slice(&hex!["defda6eef01da2e2a90ce30ba73e90d32204ae84cae782b485f01d16b69061e0381a69cafed3deb6112af044c42ed0f7c73ee0eec7b533334d31a06db50fc40e1b"]), + // }, + // None, + // ).await.unwrap(); + + // assert_eq!(node.pool().ready().count(), 3); + + // // Ensure tx priority order: + // // Inherent -> Operational tx -> Unsigned tx -> Signed normal tx + // let mut txs = node.pool().ready(); + // let tx1 = txs.next().unwrap(); + // let tx2 = txs.next().unwrap(); + // let tx3 = txs.next().unwrap(); + + // assert_eq!(tx1.hash, operational_tx_hash); + // assert_eq!(tx1.priority, 13835064928601523711); + + // assert_eq!(tx2.hash, unsigned_tx_hash); + // assert_eq!(tx2.priority, 1844674407370965161); + + // assert_eq!(tx3.hash, normal_tx_hash); + // assert_eq!(tx3.priority, 42785501349000); + // }) + // } } diff --git a/node/e2e-tests/test-service/Cargo.toml b/node/e2e-tests/test-service/Cargo.toml index 111e9f0e3a..c5d67d5f4a 100644 --- a/node/e2e-tests/test-service/Cargo.toml +++ b/node/e2e-tests/test-service/Cargo.toml @@ -20,12 +20,14 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "mast frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -37,11 +39,13 @@ sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "mas sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/e2e-tests/test-service/src/genesis.rs b/node/e2e-tests/test-service/src/genesis.rs index 1acdbf25ba..7a6d530027 100644 --- a/node/e2e-tests/test-service/src/genesis.rs +++ b/node/e2e-tests/test-service/src/genesis.rs @@ -18,14 +18,13 @@ use codec::Encode; use cumulus_client_service::genesis::generate_genesis_block; -use cumulus_primitives_core::ParaId; use node_runtime::Block; use node_service::chain_spec::mandala::dev_testnet_config; use polkadot_primitives::v0::HeadData; use sp_runtime::traits::Block as BlockT; /// Returns the initial head data for a parachain ID. -pub fn initial_head_data(para_id: ParaId) -> HeadData { +pub fn initial_head_data() -> HeadData { let spec = Box::new(dev_testnet_config(None).unwrap()); let block: Block = generate_genesis_block(&(spec as Box<_>), sp_runtime::StateVersion::V1).unwrap(); let genesis_state = block.header().encode(); diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index a01c9f018b..a37e1e2349 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -32,7 +32,7 @@ use cumulus_client_service::{ }; use cumulus_primitives_core::ParaId; use cumulus_relay_chain_local::RelayChainLocal; -use node_runtime::{Block, Hash, Header, Runtime, RuntimeApi, SignedExtra}; +use node_runtime::{Block, BlockId, Hash, Header, Runtime, RuntimeApi, SignedExtra}; use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use frame_system_rpc_runtime_api::AccountNonceApi; @@ -40,24 +40,27 @@ use parking_lot::Mutex; use polkadot_primitives::v1::{CollatorPair, Hash as PHash, PersistedValidationData}; use polkadot_service::ProvideRuntimeApi; use sc_client_api::execution_extensions::ExecutionStrategies; -use sc_client_api::ExecutorProvider; +use sc_client_api::{Backend, CallExecutor, ExecutorProvider}; +use sc_executor::NativeElseWasmExecutor; use sc_network::{config::TransportConfig, multiaddr, NetworkService}; use sc_service::{ config::{ DatabaseSource, KeepBlocks, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration, OffchainWorkerConfig, PruningMode, TransactionStorageMode, WasmExecutionMethod, }, - BasePath, ChainSpec, Configuration, Error as ServiceError, PartialComponents, Role, RpcHandlers, TFullBackend, + BasePath, ChainSpec, Configuration, PartialComponents, Role, RpcHandlers, TFullBackend, TFullCallExecutor, TFullClient, TaskManager, }; +use sc_transaction_pool_api::TransactionPool; use sp_arithmetic::traits::SaturatedConversion; use sp_blockchain::HeaderBackend; -use sp_core::{Pair, H256}; +use sp_core::{ExecutionContext, Pair, H256}; use sp_keyring::Sr25519Keyring; use sp_runtime::{ codec::Encode, generic, traits::{BlakeTwo256, Extrinsic}, + MultiAddress, }; use sp_state_machine::BasicExternalities; use sp_trie::PrefixedMemoryDB; @@ -67,11 +70,15 @@ use substrate_test_client::{BlockchainEventsExt, RpcHandlersExt, RpcTransactionE // pub use chain_spec::*; pub use genesis::*; use node_primitives::signature::AcalaMultiSignature; -use node_primitives::{AccountId, Address, Signature}; +use node_primitives::{AccountId, Address, Balance, Signature}; pub use node_runtime as runtime; use node_service::chain_spec::mandala::dev_testnet_config; +use sp_api::{OverlayedChanges, StorageTransactionCache}; pub use sp_keyring::Sr25519Keyring as Keyring; use sp_runtime::generic::Era; +use sp_runtime::traits::IdentifyAccount; +use sp_runtime::transaction_validity::TransactionSource; +use sp_state_machine::Ext; use substrate_test_client::sp_consensus::SlotData; /// A consensus that will never produce any block. @@ -109,11 +116,10 @@ impl sc_executor::NativeExecutionDispatch for RuntimeExecutor { } /// The client type being used by the test service. -pub type Client = - TFullClient>; +pub type Client = TFullClient>; /// Transaction pool type used by the test service -pub type TransactionPool = Arc>; +pub type TxPool = Arc>; /// Starts a `ServiceBuilder` for a full service. /// @@ -132,7 +138,7 @@ pub fn new_partial( >, sc_service::Error, > { - let executor = sc_executor::NativeElseWasmExecutor::::new( + let executor = NativeElseWasmExecutor::::new( config.wasm_method, config.default_heap_pages, config.max_runtime_instances, @@ -153,13 +159,30 @@ pub fn new_partial( client.clone(), ); - let import_queue = cumulus_client_consensus_relay_chain::import_queue( - client.clone(), - client.clone(), - |_, _| async { Ok(sp_timestamp::InherentDataProvider::from_system_time()) }, - &task_manager.spawn_essential_handle(), - registry.clone(), - )?; + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + let create_inherent_data_providers = Box::new(move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration.slot_duration(), + ); + + Ok((timestamp, slot)) + }); + + let import_queue = + cumulus_client_consensus_aura::import_queue::( + cumulus_client_consensus_aura::ImportQueueParams { + block_import: client.clone(), + client: client.clone(), + create_inherent_data_providers, + registry, + can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), + spawner: &task_manager.spawn_essential_handle(), + telemetry: None, + }, + )?; let params = PartialComponents { backend, @@ -192,7 +215,8 @@ async fn start_node_impl( Arc, Arc>, RpcHandlers, - TransactionPool, + TxPool, + Arc>, )> where RB: Fn(Arc) -> Result, sc_service::Error> + Send + 'static, @@ -226,6 +250,7 @@ where let client = params.client.clone(); let backend = params.backend.clone(); + let backend_for_node = backend.clone(); let relay_chain_interface = Arc::new(RelayChainLocal::new( relay_chain_full_node.client.clone(), @@ -239,30 +264,7 @@ where let block_announce_validator_builder = move |_| Box::new(block_announce_validator) as Box<_>; let prometheus_registry = parachain_config.prometheus_registry().cloned(); - // let import_queue = { - // let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - // cumulus_client_consensus_aura::import_queue::( cumulus_client_consensus_aura::ImportQueueParams { - // block_import: client.clone(), - // client: client.clone(), - // create_inherent_data_providers: move |_, _| async move { - // let time = sp_timestamp::InherentDataProvider::from_system_time(); - // - // let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - // *time, - // slot_duration.slot_duration(), - // ); - // - // Ok((time, slot)) - // }, - // registry: None, - // can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), - // spawner: &task_manager.spawn_essential_handle(), - // telemetry: None, - // }, - // )? - // }; - // let import_queue = cumulus_client_service::SharedImportQueue::new(import_queue); + let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue); let (network, system_rpc_tx, start_network) = sc_service::build_network(sc_service::BuildNetworkParams { config: ¶chain_config, @@ -431,7 +433,14 @@ where start_network.start_network(); - Ok((task_manager, client, network, rpc_handlers, transaction_pool)) + Ok(( + task_manager, + client, + network, + rpc_handlers, + transaction_pool, + backend_for_node, + )) } /// A Cumulus test node instance used for testing. @@ -448,7 +457,9 @@ pub struct TestNode { /// RPCHandlers to make RPC queries. pub rpc_handlers: RpcHandlers, /// Node's transaction pool - pub transaction_pool: TransactionPool, + pub transaction_pool: TxPool, + /// Nodes' backend + pub backend: Arc>, } enum Consensus { @@ -576,6 +587,12 @@ impl TestNodeBuilder { self } + /// Use the relay-chain consensus. + pub fn use_relay_consensus(mut self) -> Self { + self.consensus = Consensus::RelayChain; + self + } + /// Build the [`TestNode`]. pub async fn build(self) -> TestNode { let parachain_config = node_config( @@ -584,13 +601,11 @@ impl TestNodeBuilder { self.key.clone(), self.parachain_nodes, self.parachain_nodes_exclusive, - self.para_id, self.collator_key.is_some(), ) .expect("could not generate Configuration"); - log::info!(target: "test-service", "collator key:{} -> {:?}", self.key, self.collator_key.is_some()); - + // start relay-chain full node inside para-chain let mut relay_chain_config = polkadot_test_service::node_config( self.storage_update_func_relay_chain.unwrap_or_else(|| Box::new(|| ())), self.tokio_handle, @@ -602,7 +617,7 @@ impl TestNodeBuilder { relay_chain_config.network.node_name = format!("{} (relay chain)", relay_chain_config.network.node_name); let multiaddr = parachain_config.network.listen_addresses[0].clone(); - let (task_manager, client, network, rpc_handlers, transaction_pool) = start_node_impl( + let (task_manager, client, network, rpc_handlers, transaction_pool, backend) = start_node_impl( parachain_config, self.collator_key, relay_chain_config, @@ -624,6 +639,7 @@ impl TestNodeBuilder { addr, rpc_handlers, transaction_pool, + backend, } } } @@ -640,9 +656,8 @@ pub fn node_config( key: Sr25519Keyring, nodes: Vec, nodes_exlusive: bool, - para_id: ParaId, is_collator: bool, -) -> Result { +) -> Result { let base_path = BasePath::new_temp_dir()?; let root = base_path.path().to_path_buf(); let role = if is_collator { Role::Authority } else { Role::Full }; @@ -744,6 +759,42 @@ impl TestNode { self.client.wait_for_blocks(count) } + /// Submit an extrinsic to transaction pool. + pub async fn submit_extrinsic( + &self, + function: impl Into, + caller: Sr25519Keyring, + ) -> Result { + let extrinsic = construct_extrinsic(&*self.client, function, caller.pair(), Some(0)); + let at = self.client.info().best_hash; + + self.transaction_pool + .submit_one(&BlockId::Hash(at), TransactionSource::Local, extrinsic.into()) + .await + } + + /// Executes closure in an externalities provided environment. + pub fn with_state(&self, closure: impl FnOnce() -> R) -> R + where + > as CallExecutor>::Error: + std::fmt::Debug, + { + let id = BlockId::Hash(self.client.info().best_hash); + let mut overlay = OverlayedChanges::default(); + let mut cache = StorageTransactionCache:: as Backend>::State>::default(); + let mut extensions = self + .client + .execution_extensions() + .extensions(&id, ExecutionContext::BlockConstruction); + let state_backend = self + .backend + .state_at(id.clone()) + .expect(&format!("State at block {} not found", id)); + + let mut ext = Ext::new(&mut overlay, &mut cache, &state_backend, Some(&mut extensions)); + sp_externalities::set_and_run_with_externalities(&mut ext, closure) + } + /// Send an extrinsic to this node. pub async fn send_extrinsic( &self, @@ -769,6 +820,21 @@ impl TestNode { .await .map(drop) } + + /// Transfer some token from one account to another using a provided test [`Client`]. + pub async fn transfer( + &self, + origin: sp_keyring::AccountKeyring, + dest: sp_keyring::AccountKeyring, + value: Balance, + ) -> Result<(), RpcTransactionError> { + let function = node_runtime::Call::Balances(pallet_balances::Call::transfer_keep_alive { + dest: MultiAddress::Id(dest.public().into_account().into()), + value, + }); + + self.send_extrinsic(function, origin).await.map(drop) + } } /// Fetch account nonce for key pair @@ -788,9 +854,9 @@ pub fn construct_extrinsic( nonce: Option, ) -> runtime::UncheckedExtrinsic { let function = function.into(); - let current_block_hash = client.info().best_hash; let current_block = client.info().best_number.saturated_into(); let genesis_block = client.hash(0).unwrap().unwrap(); + let current_block_hash = client.info().best_hash; let nonce = nonce.unwrap_or_else(|| fetch_nonce(client, caller.public())); let period = runtime::BlockHashCount::get() .checked_next_power_of_two() @@ -807,11 +873,20 @@ pub fn construct_extrinsic( module_transaction_payment::ChargeTransactionPayment::::from(tip), module_evm::SetEvmOrigin::::new(), ); - let raw_payload = runtime::SignedPayload::new(function, extra) - .map_err(|e| { - log::warn!(target: "test-service", "Unable to create signed payload: {:?}", e); - }) - .unwrap(); + let raw_payload = runtime::SignedPayload::from_raw( + function, + extra, + ( + runtime::VERSION.spec_version, + runtime::VERSION.transaction_version, + genesis_block, + current_block_hash, + (), + (), + (), + (), + ), + ); let signature = raw_payload.using_encoded(|e| caller.sign(e)); let account: AccountId = caller.public().into(); let address: Address = account.into(); diff --git a/node/e2e-tests/test-service/tests/full_node_catching_up.rs b/node/e2e-tests/test-service/tests/full_node_catching_up.rs index b28a3f0bb0..d547e76b21 100644 --- a/node/e2e-tests/test-service/tests/full_node_catching_up.rs +++ b/node/e2e-tests/test-service/tests/full_node_catching_up.rs @@ -17,16 +17,15 @@ // along with this program. If not, see . use cumulus_primitives_core::ParaId; +use node_primitives::AccountId; +use sp_keyring::Sr25519Keyring; +use sp_runtime::{traits::IdentifyAccount, MultiAddress, MultiSigner}; use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; #[substrate_test_utils::test] #[ignore] async fn test_full_node_catching_up() { - // let mut builder = - // sc_cli::LoggerBuilder::new("parachain::candidate-selection=trace,parachain::pvf=trace,parachain:: - // collator-protocol=trace,parachain::provisioner=trace,test-service=info"); let mut builder = - // sc_cli::LoggerBuilder::new("debug,wasmtime=info,afg=info,db=info,wasm_overrides=info,sync=info"); - let mut builder = sc_cli::LoggerBuilder::new("parachain=debug"); + let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_colors(true); let _ = builder.init(); @@ -47,24 +46,78 @@ async fn test_full_node_catching_up() { node_runtime::WASM_BINARY .expect("You need to build the WASM binary to run this test!") .to_vec(), - initial_head_data(para_id), + initial_head_data(), ) .await .unwrap(); // run cumulus charlie (a parachain collator) - let charlie = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Charlie) + let para_collator = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) .enable_collator() .connect_to_relay_chain_nodes(vec![&alice, &bob]) .build() .await; - charlie.wait_for_blocks(5).await; + para_collator.wait_for_blocks(5).await; // run cumulus dave (a parachain full node) and wait for it to sync some blocks - let dave = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) - .connect_to_parachain_node(&charlie) + let para_full = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) + .connect_to_parachain_node(¶_collator) .connect_to_relay_chain_nodes(vec![&alice, &bob]) .build() .await; - dave.wait_for_blocks(7).await; + para_full.wait_for_blocks(7).await; +} + +#[substrate_test_utils::test] +#[ignore] +async fn simple_balances_test() { + let mut builder = sc_cli::LoggerBuilder::new(""); + builder.with_colors(true); + let _ = builder.init(); + + let para_id = ParaId::from(2000); + + let tokio_handle = tokio::runtime::Handle::current(); + + // start alice + let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); + + // start bob + let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); + + // register parachain + alice + .register_parachain( + para_id, + node_runtime::WASM_BINARY + .expect("You need to build the WASM binary to run this test!") + .to_vec(), + initial_head_data(), + ) + .await + .unwrap(); + + // run cumulus charlie (a parachain collator) + let node = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) + .enable_collator() + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + node.wait_for_blocks(2).await; + + let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); + let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); + let amount = 1_000_000_000_000; + + type Balances = pallet_balances::Pallet; + + // the function with_state allows us to read state, pretty cool right? :D + let old_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); + + node.transfer(Alice, Bob, amount).await.unwrap(); + + node.wait_for_blocks(3).await; + // we can check the new state :D + let new_balance = node.with_state(|| Balances::free_balance(bob_account_id)); + assert_eq!(old_balance + amount, new_balance); } diff --git a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs b/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs deleted file mode 100644 index 127aeb1e10..0000000000 --- a/node/e2e-tests/test-service/tests/migrate_solo_to_para.rs +++ /dev/null @@ -1,114 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 . - -//! Test migration from parachain A to parachain B by returning the header of parachain B. -//! -//! This can be seen as a test of the fundamentals of the solo to parachain migration use case. -//! The prerequisite is to have a running solo chain and a running parachain. The idea is that -//! the solo chain is being stopped at a given point and sends its last header to the running -//! parachain. The parachain will return this header as part of the validation phase on the relay -//! chain to enact this header as its current latest state. As the old running parachain doesn't -//! know this header, it will stop to produce new blocks. However, the old solo chain can now -//! produce blocks using the parachain slot. (Be aware, that this is just a highlevel description -//! and some parts are omitted.) - -use codec::Encode; -use cumulus_primitives_core::ParaId; -use sc_client_api::{BlockBackend, UsageProvider}; -use sp_runtime::generic::BlockId; -use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; - -#[substrate_test_utils::test] -#[ignore] -async fn test_migrate_solo_to_para() { - let mut builder = sc_cli::LoggerBuilder::new(""); - builder.with_colors(false); - let _ = builder.init(); - - let para_id = ParaId::from(100); - - let tokio_handle = tokio::runtime::Handle::current(); - - // start alice - let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); - - // start bob - let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); - - // register parachain - alice - .register_parachain( - para_id, - node_runtime::WASM_BINARY - .expect("You need to build the WASM binary to run this test!") - .to_vec(), - initial_head_data(para_id), - ) - .await - .unwrap(); - - // run the parachain that will be used to return the header of the solo chain. - let parachain = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Charlie) - .enable_collator() - .connect_to_relay_chain_nodes(vec![&alice, &bob]) - .build() - .await; - - // run the solo chain (in our case this is also already a parachain, but as it has a different - // genesis it will not produce any blocks.) - let solo = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) - .enable_collator() - .connect_to_relay_chain_nodes(vec![&alice, &bob]) - // Set some random value in the genesis state to create a different genesis hash. - .update_storage_parachain(|| { - sp_io::storage::set(b"test", b"test"); - }) - .build() - .await; - - parachain.wait_for_blocks(2).await; - - // Ensure that both chains have a different genesis hash. - assert_ne!( - parachain.client.block_hash(0).ok().flatten().unwrap(), - solo.client.block_hash(0).ok().flatten().unwrap(), - ); - - let solo_chain_header = solo.client.header(&BlockId::Number(0)).ok().flatten().unwrap(); - - // Send the transaction to set the custom header, aka the header of the solo chain. - parachain - .send_extrinsic( - node_runtime::TestPalletCall::set_custom_validation_head_data { - custom_header: solo_chain_header.encode(), - }, - Alice, - ) - .await - .unwrap(); - - // Wait until the solo chain produced a block now as a parachain. - solo.wait_for_blocks(1).await; - - let parachain_best = parachain.client.usage_info().chain.best_number; - - // Wait for some more blocks and check that the old parachain doesn't produced/imported any new - // blocks. - solo.wait_for_blocks(2).await; - assert_eq!(parachain_best, parachain.client.usage_info().chain.best_number); -} diff --git a/node/e2e-tests/test-service/tests/runtime_upgrade.rs b/node/e2e-tests/test-service/tests/runtime_upgrade.rs deleted file mode 100644 index 0887887ee5..0000000000 --- a/node/e2e-tests/test-service/tests/runtime_upgrade.rs +++ /dev/null @@ -1,96 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 cumulus_primitives_core::ParaId; -use futures::StreamExt; -use sc_client_api::BlockchainEvents; -use sp_runtime::generic::BlockId; -use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; - -#[substrate_test_utils::test] -#[ignore] -async fn test_runtime_upgrade() { - let mut builder = sc_cli::LoggerBuilder::new("runtime=debug"); - builder.with_colors(false); - let _ = builder.init(); - - let para_id = ParaId::from(100); - let tokio_handle = tokio::runtime::Handle::current(); - - // start alice - let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); - - // start bob - let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); - - // register parachain - alice - .register_parachain( - para_id, - node_runtime::WASM_BINARY - .expect("You need to build the WASM binary to run this test!") - .to_vec(), - initial_head_data(para_id), - ) - .await - .unwrap(); - - // run cumulus charlie (a parachain collator) - let charlie = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Charlie) - .enable_collator() - .connect_to_relay_chain_nodes(vec![&alice, &bob]) - .build() - .await; - - // run cumulus dave (a parachain full node) - let dave = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) - .connect_to_parachain_node(&charlie) - .connect_to_relay_chain_nodes(vec![&alice, &bob]) - .build() - .await; - - // Wait for 2 blocks to be produced - charlie.wait_for_blocks(2).await; - - let mut expected_runtime_version = charlie - .client - .runtime_version_at(&BlockId::number(0)) - .expect("Runtime version exists"); - expected_runtime_version.spec_version += 1; - - let wasm = node_runtime::wasm_spec_version_incremented::WASM_BINARY - .expect("Wasm binary with incremented spec version should have been built"); - - // schedule runtime upgrade - charlie.schedule_upgrade(wasm.into()).await.unwrap(); - - let mut import_stream = dave.client.import_notification_stream(); - - while let Some(notification) = import_stream.next().await { - if notification.is_new_best { - let runtime_version = dave - .client - .runtime_version_at(&BlockId::Hash(notification.hash)) - .expect("Runtime version exists"); - - if expected_runtime_version == runtime_version { - break; - } - } - } -} From 21227176cb95d063396774f417dd0e912f2967fd Mon Sep 17 00:00:00 2001 From: zqh Date: Thu, 27 Jan 2022 10:06:50 +0800 Subject: [PATCH 17/46] test service standalone works --- Cargo.lock | 191 +-------- node/e2e-tests/Cargo.toml | 82 ++-- node/e2e-tests/src/lib.rs | 164 ------- node/e2e-tests/test-service/Cargo.toml | 8 +- node/e2e-tests/test-service/src/chain_spec.rs | 139 ------ node/e2e-tests/test-service/src/lib.rs | 405 +++++++++++++++--- .../tests/full_node_catching_up.rs | 117 ++++- primitives/src/currency.rs | 2 +- runtime/acala/src/lib.rs | 2 +- .../relaychain/kusama_cross_chain_transfer.rs | 4 +- runtime/karura/src/lib.rs | 4 +- runtime/mandala/src/lib.rs | 2 +- 12 files changed, 544 insertions(+), 576 deletions(-) delete mode 100644 node/e2e-tests/test-service/src/chain_spec.rs diff --git a/Cargo.lock b/Cargo.lock index 2f296a920d..dc6f87c007 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2546,45 +2546,6 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" name = "e2e-tests" version = "2.2.1" dependencies = [ - "acala-cli", - "acala-primitives", - "acala-service", - "cumulus-primitives-parachain-inherent", - "ecosystem-renvm-bridge", - "frame-benchmarking", - "frame-support", - "frame-system", - "hex-literal", - "log", - "mandala-runtime", - "module-cdp-engine", - "module-emergency-shutdown", - "module-evm", - "module-transaction-payment", - "pallet-balances", - "pallet-sudo", - "runtime-common", - "sc-client-api", - "sc-consensus", - "sc-consensus-aura", - "sc-consensus-babe", - "sc-consensus-manual-seal", - "sc-executor", - "sc-finality-grandpa", - "sc-informant", - "sc-network", - "sc-network-test", - "sc-service", - "sp-api", - "sp-consensus", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", - "sp-inherents", - "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-timestamp", "test-service", ] @@ -5793,17 +5754,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "memory-db" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de006e09d04fc301a5f7e817b75aa49801c4479a8af753764416b085337ddcc5" -dependencies = [ - "hash-db", - "hashbrown", - "parity-util-mem", -] - [[package]] name = "memory-db" version = "0.28.0" @@ -10219,7 +10169,7 @@ dependencies = [ "sp-keyring", "sp-runtime", "sp-state-machine", - "substrate-test-client 2.0.1 (git+https://github.com/paritytech/substrate?branch=master)", + "substrate-test-client", "tempfile", "test-runtime-constants", "tokio", @@ -11907,34 +11857,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "sc-network-test" -version = "0.8.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" -dependencies = [ - "async-std", - "async-trait", - "futures 0.3.19", - "futures-timer", - "libp2p", - "log", - "parking_lot 0.11.2", - "rand 0.7.3", - "sc-block-builder", - "sc-client-api", - "sc-consensus", - "sc-network", - "sc-service", - "sp-blockchain", - "sp-consensus", - "sp-consensus-babe", - "sp-core", - "sp-runtime", - "sp-tracing", - "substrate-test-runtime", - "substrate-test-runtime-client", -] - [[package]] name = "sc-offchain" version = "4.0.0-dev" @@ -13439,7 +13361,7 @@ version = "4.0.0" source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" dependencies = [ "hash-db", - "memory-db 0.28.0", + "memory-db", "parity-scale-codec", "scale-info", "sp-core", @@ -13724,93 +13646,6 @@ dependencies = [ "sp-state-machine", ] -[[package]] -name = "substrate-test-client" -version = "2.0.1" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" -dependencies = [ - "async-trait", - "futures 0.3.19", - "hex", - "parity-scale-codec", - "sc-client-api", - "sc-client-db", - "sc-consensus", - "sc-executor", - "sc-offchain", - "sc-service", - "serde", - "serde_json", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-keyring", - "sp-keystore", - "sp-runtime", - "sp-state-machine", -] - -[[package]] -name = "substrate-test-runtime" -version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" -dependencies = [ - "cfg-if 1.0.0", - "frame-support", - "frame-system", - "frame-system-rpc-runtime-api", - "log", - "memory-db 0.27.0", - "pallet-babe", - "pallet-timestamp", - "parity-scale-codec", - "parity-util-mem", - "sc-service", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-block-builder", - "sp-consensus-aura", - "sp-consensus-babe", - "sp-core", - "sp-externalities", - "sp-finality-grandpa", - "sp-inherents", - "sp-io", - "sp-keyring", - "sp-offchain", - "sp-runtime", - "sp-runtime-interface", - "sp-session", - "sp-state-machine", - "sp-std", - "sp-transaction-pool", - "sp-trie", - "sp-version", - "substrate-wasm-builder", - "trie-db", -] - -[[package]] -name = "substrate-test-runtime-client" -version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" -dependencies = [ - "futures 0.3.19", - "parity-scale-codec", - "sc-block-builder", - "sc-client-api", - "sc-consensus", - "sp-api", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-runtime", - "substrate-test-client 2.0.1 (git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd)", - "substrate-test-runtime", -] - [[package]] name = "substrate-test-utils" version = "4.0.0-dev" @@ -13942,12 +13777,15 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-relay-chain-local", "cumulus-test-relay-validation-worker-provider", + "ecosystem-renvm-bridge", "frame-system", "frame-system-rpc-runtime-api", "futures 0.3.19", + "hex-literal", "jsonrpc-core", "log", "mandala-runtime", + "module-emergency-shutdown", "module-evm", "module-transaction-payment", "pallet-balances", @@ -13966,9 +13804,11 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-consensus-aura", + "sc-consensus-manual-seal", "sc-executor", "sc-network", "sc-rpc", + "sc-rpc-server", "sc-service", "sc-tracing", "sc-transaction-pool", @@ -13988,7 +13828,7 @@ dependencies = [ "sp-timestamp", "sp-tracing", "sp-trie", - "substrate-test-client 2.0.1 (git+https://github.com/paritytech/substrate?branch=master)", + "substrate-test-client", "substrate-test-utils", "tokio", ] @@ -15426,3 +15266,18 @@ dependencies = [ "cc", "libc", ] + +[[patch.unused]] +name = "sc-network-test" +version = "0.8.0" +source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" + +[[patch.unused]] +name = "substrate-test-runtime" +version = "2.0.0" +source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" + +[[patch.unused]] +name = "substrate-test-runtime-client" +version = "2.0.0" +source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" diff --git a/node/e2e-tests/Cargo.toml b/node/e2e-tests/Cargo.toml index 9cf4fd5a50..289a5e0a1e 100644 --- a/node/e2e-tests/Cargo.toml +++ b/node/e2e-tests/Cargo.toml @@ -5,47 +5,47 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -log = "0.4.14" -hex-literal = "0.3.1" -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } - -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network-test = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-informant = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } - -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +#log = "0.4.14" +#hex-literal = "0.3.1" +#cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } +#frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } +#frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } +#frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } +#pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +#pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } +# +#sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-network-test = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-informant = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } +# +#sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } +#sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } test-service = { path = "./test-service" } -module-evm = { path = "../../modules/evm" } -module-transaction-payment = { path = "../../modules/transaction-payment" } -module-emergency-shutdown = { path = "../../modules/emergency-shutdown" } -module-cdp-engine = { path = "../../modules/cdp-engine" } -ecosystem-renvm-bridge = { path = "../../ecosystem-modules/ren/renvm-bridge" } -node-runtime = { package = "mandala-runtime", path = "../../runtime/mandala" } -node-primitives = { package = "acala-primitives", path = "../../primitives" } -node-cli = { package = "acala-cli", path = "../cli", features = ["with-mandala-runtime"] } -node-service = { package = "acala-service", path = "../service", features = ["with-mandala-runtime"] } -runtime-common = { path = "../../runtime/common" } +#module-evm = { path = "../../modules/evm" } +#module-transaction-payment = { path = "../../modules/transaction-payment" } +#module-emergency-shutdown = { path = "../../modules/emergency-shutdown" } +#module-cdp-engine = { path = "../../modules/cdp-engine" } +#ecosystem-renvm-bridge = { path = "../../ecosystem-modules/ren/renvm-bridge" } +#node-runtime = { package = "mandala-runtime", path = "../../runtime/mandala" } +#node-primitives = { package = "acala-primitives", path = "../../primitives" } +#node-cli = { package = "acala-cli", path = "../cli", features = ["with-mandala-runtime"] } +#node-service = { package = "acala-service", path = "../service", features = ["with-mandala-runtime"] } +#runtime-common = { path = "../../runtime/common" } diff --git a/node/e2e-tests/src/lib.rs b/node/e2e-tests/src/lib.rs index 2e3c174e88..d7ce6abc1c 100644 --- a/node/e2e-tests/src/lib.rs +++ b/node/e2e-tests/src/lib.rs @@ -17,167 +17,3 @@ // along with this program. If not, see . //! End to end runtime tests. - -#![allow(clippy::type_complexity)] - -// use node_runtime::Runtime; -// use sc_executor::NativeElseWasmExecutor; -// use sc_service::{TFullBackend, TFullClient}; -// use sp_runtime::generic::Era; -// use std::sync::Arc; - -#[cfg(test)] -mod tests { - use super::*; - use ecosystem_renvm_bridge::EcdsaSignature; - use hex_literal::hex; - use node_service::chain_spec::mandala::dev_testnet_config; - use sp_keyring::sr25519::Keyring::{Alice, Bob}; - use sp_runtime::{traits::IdentifyAccount, AccountId32, MultiAddress, MultiSigner}; - - // #[test] - // #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 - // fn test_runner() { - // let tokio_runtime = build_runtime().unwrap(); - // let (rpc, task_manager, client, pool, command_sink, backend) = - // client_parts::( ConfigOrChainSpec::ChainSpec(Box:: - // new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), ) - // .unwrap(); - // let node = Node::::new(rpc, task_manager, client, pool, command_sink, - // backend); - - // tokio_runtime.block_on(async { - // // seals blocks - // node.seal_blocks(1).await; - // // submit extrinsics - // let alice = MultiSigner::from(Alice.public()).into_account(); - // let _hash = node - // .submit_extrinsic( - // frame_system::Call::remark { - // remark: (b"hello world").to_vec(), - // }, - // Some(alice), - // ) - // .await - // .unwrap(); - - // // look ma, I can read state. - // let _events = node.with_state(|| frame_system::Pallet::::events()); - // // get access to the underlying client. - // let _client = node.client(); - // }) - // } - - // #[test] - // #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 - // fn simple_balances_test() { - // let tokio_runtime = build_runtime().unwrap(); - // let (rpc, task_manager, client, pool, command_sink, backend) = - // client_parts::( ConfigOrChainSpec::ChainSpec(Box:: - // new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), ) - // .unwrap(); - // let node = Node::::new(rpc, task_manager, client, pool, command_sink, - // backend); - - // tokio_runtime.block_on(async { - // // submit extrinsics - // let alice = MultiSigner::from(Alice.public()).into_account(); - // let _hash = node - // .submit_extrinsic( - // frame_system::Call::remark { - // remark: (b"hello world").to_vec(), - // }, - // Some(alice), - // ) - // .await - // .unwrap(); - - // type Balances = pallet_balances::Pallet; - - // let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); - // let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); - - // // the function with_state allows us to read state, pretty cool right? :D - // let old_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); - - // let amount = 70_000_000_000_000; - - // // Send extrinsic in action. - // let tx = pallet_balances::Call::transfer { - // dest: MultiAddress::from(bob_account_id.clone()), - // value: amount, - // }; - // node.submit_extrinsic(tx, Some(alice_account_id)).await.unwrap(); - - // // Produce blocks in action, Powered by manual-sealâ„¢. - // node.seal_blocks(1).await; - - // // we can check the new state :D - // let new_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); - - // // we can now make assertions on how state has changed. - // assert_eq!(old_balance + amount, new_balance); - // }) - // } - - // #[test] - // #[ignore] // TODO: fix this after https://github.com/paritytech/substrate/issues/10039 - // fn transaction_pool_priority_order_test() { - // let tokio_runtime = build_runtime().unwrap(); - // let (rpc, task_manager, client, pool, command_sink, backend) = - // client_parts::( ConfigOrChainSpec::ChainSpec(Box:: - // new(dev_testnet_config().unwrap()), tokio_runtime.handle().clone()), ) - // .unwrap(); - // let node = Node::::new(rpc, task_manager, client, pool, command_sink, - // backend); - - // tokio_runtime.block_on(async { - // let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); - // let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); - - // // send operational extrinsic - // let operational_tx_hash = node.submit_extrinsic( - // pallet_sudo::Call::sudo { call: Box::new(module_emergency_shutdown::Call::emergency_shutdown - // { }.into()) }, Some(alice_account_id), - // ).await.unwrap(); - - // // send normal extrinsic - // let normal_tx_hash = node.submit_extrinsic( - // pallet_balances::Call::transfer { dest: MultiAddress::from(bob_account_id.clone()), value: - // 80_000 }, Some(bob_account_id), - // ).await.unwrap(); - - // // send unsigned extrinsic - // let to: AccountId32 = - // hex!["d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"].into(); - // let unsigned_tx_hash = node.submit_extrinsic( - // ecosystem_renvm_bridge::Call::mint { - // who: to, - // p_hash: hex!["67028f26328144de6ef80b8cd3b05e0cefb488762c340d1574c0542f752996cb"], - // amount: 93963, - // n_hash: hex!["f6a75cc370a2dda6dfc8d016529766bb6099d7fa0d787d9fe5d3a7e60c9ac2a0"], - // sig: EcdsaSignature::from_slice(&hex!["defda6eef01da2e2a90ce30ba73e90d32204ae84cae782b485f01d16b69061e0381a69cafed3deb6112af044c42ed0f7c73ee0eec7b533334d31a06db50fc40e1b"]), - // }, - // None, - // ).await.unwrap(); - - // assert_eq!(node.pool().ready().count(), 3); - - // // Ensure tx priority order: - // // Inherent -> Operational tx -> Unsigned tx -> Signed normal tx - // let mut txs = node.pool().ready(); - // let tx1 = txs.next().unwrap(); - // let tx2 = txs.next().unwrap(); - // let tx3 = txs.next().unwrap(); - - // assert_eq!(tx1.hash, operational_tx_hash); - // assert_eq!(tx1.priority, 13835064928601523711); - - // assert_eq!(tx2.hash, unsigned_tx_hash); - // assert_eq!(tx2.priority, 1844674407370965161); - - // assert_eq!(tx3.hash, normal_tx_hash); - // assert_eq!(tx3.priority, 42785501349000); - // }) - // } -} diff --git a/node/e2e-tests/test-service/Cargo.toml b/node/e2e-tests/test-service/Cargo.toml index c5d67d5f4a..f6bee9565d 100644 --- a/node/e2e-tests/test-service/Cargo.toml +++ b/node/e2e-tests/test-service/Cargo.toml @@ -14,6 +14,8 @@ criterion = { version = "0.3.5", features = [ "async_tokio" ] } parking_lot = "0.11.1" jsonrpc-core = "18.0.0" log = "0.4.14" +futures = { package = "futures", version = "0.3", features = ["compat"] } +hex-literal = "0.3.1" # Substrate dependencies frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -28,11 +30,13 @@ sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", bra sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", features = [ "wasmtime" ] } +sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -62,7 +66,6 @@ cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -#cumulus-test-runtime = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "master" } cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "master" } @@ -76,9 +79,10 @@ node-service = { package = "acala-service", path = "../../service", features = [ # module deps module-transaction-payment = { path = "../../../modules/transaction-payment" } module-evm = { path = "../../../modules/evm" } +module-emergency-shutdown = { path = "../../../modules/emergency-shutdown" } +ecosystem-renvm-bridge = { path = "../../../ecosystem-modules/ren/renvm-bridge" } [dev-dependencies] -futures = "0.3.5" # Substrate dependencies sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/e2e-tests/test-service/src/chain_spec.rs b/node/e2e-tests/test-service/src/chain_spec.rs deleted file mode 100644 index f8981e0f0a..0000000000 --- a/node/e2e-tests/test-service/src/chain_spec.rs +++ /dev/null @@ -1,139 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 . - -#![allow(missing_docs)] - -use cumulus_primitives_core::ParaId; -use node_runtime::{AccountId, Signature}; -use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; -use sc_service::ChainType; -use serde::{Deserialize, Serialize}; -use sp_core::{sr25519, Pair, Public}; -use sp_runtime::traits::{IdentifyAccount, Verify}; - -/// Specialized `ChainSpec` for the normal parachain runtime. -pub type ChainSpec = sc_service::GenericChainSpec; - -/// Extension for the genesis config to add custom keys easily. -#[derive(serde::Serialize, serde::Deserialize)] -pub struct GenesisExt { - /// The runtime genesis config. - runtime_genesis_config: node_runtime::GenesisConfig, - /// The parachain id. - para_id: ParaId, -} - -impl sp_runtime::BuildStorage for GenesisExt { - fn assimilate_storage(&self, storage: &mut sp_core::storage::Storage) -> Result<(), String> { - sp_state_machine::BasicExternalities::execute_with_storage(storage, || { - sp_io::storage::set(node_runtime::TEST_RUNTIME_UPGRADE_KEY, &vec![1, 2, 3, 4]); - node_runtime::ParachainId::set(&self.para_id); - }); - - self.runtime_genesis_config.assimilate_storage(storage) - } -} - -/// Helper function to generate a crypto pair from seed -pub fn get_from_seed(seed: &str) -> ::Public { - TPublic::Pair::from_string(&format!("//{}", seed), None) - .expect("static values are valid; qed") - .public() -} - -/// The extensions for the [`ChainSpec`]. -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ChainSpecGroup, ChainSpecExtension)] -#[serde(deny_unknown_fields)] -pub struct Extensions { - /// The id of the Parachain. - pub para_id: u32, -} - -impl Extensions { - /// Try to get the extension from the given `ChainSpec`. - pub fn try_get(chain_spec: &dyn sc_service::ChainSpec) -> Option<&Self> { - sc_chain_spec::get_extension(chain_spec.extensions()) - } -} - -type AccountPublic = ::Signer; - -/// Helper function to generate an account ID from seed. -pub fn get_account_id_from_seed(seed: &str) -> AccountId -where - AccountPublic: From<::Public>, -{ - AccountPublic::from(get_from_seed::(seed)).into_account() -} - -/// Get the chain spec for a specific parachain ID. -pub fn get_chain_spec(id: ParaId) -> ChainSpec { - ChainSpec::from_genesis( - "Local Testnet", - "local_testnet", - ChainType::Local, - move || GenesisExt { - runtime_genesis_config: local_testnet_genesis(), - para_id: id, - }, - Vec::new(), - None, - None, - None, - None, - Extensions { para_id: id.into() }, - ) -} - -/// Local testnet genesis for testing. -pub fn local_testnet_genesis() -> node_runtime::GenesisConfig { - testnet_genesis( - get_account_id_from_seed::("Alice"), - vec![ - get_account_id_from_seed::("Alice"), - get_account_id_from_seed::("Bob"), - get_account_id_from_seed::("Charlie"), - get_account_id_from_seed::("Dave"), - get_account_id_from_seed::("Eve"), - get_account_id_from_seed::("Ferdie"), - get_account_id_from_seed::("Alice//stash"), - get_account_id_from_seed::("Bob//stash"), - get_account_id_from_seed::("Charlie//stash"), - get_account_id_from_seed::("Dave//stash"), - get_account_id_from_seed::("Eve//stash"), - get_account_id_from_seed::("Ferdie//stash"), - ], - ) -} - -fn testnet_genesis(root_key: AccountId, endowed_accounts: Vec) -> node_runtime::GenesisConfig { - node_runtime::GenesisConfig { - system: node_runtime::SystemConfig { - code: node_runtime::WASM_BINARY - .expect("WASM binary was not build, please build it!") - .to_vec(), - ..Default::default() - }, - parachain_system: Default::default(), - balances: node_runtime::BalancesConfig { - balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(), - }, - sudo: node_runtime::SudoConfig { key: Some(root_key) }, - transaction_payment: Default::default(), - } -} diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index a37e1e2349..27f79c3493 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -16,13 +16,10 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Crate used for testing with Cumulus. - -#![warn(missing_docs)] - -// mod chain_spec; +//! Crate used for testing with acala. mod genesis; +use futures::channel::{mpsc, oneshot}; use std::{future::Future, time::Duration}; use cumulus_client_consensus_common::{ParachainCandidate, ParachainConsensus}; @@ -36,11 +33,17 @@ use node_runtime::{Block, BlockId, Hash, Header, Runtime, RuntimeApi, SignedExtr use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use frame_system_rpc_runtime_api::AccountNonceApi; +use futures::channel::mpsc::Sender; +use futures::SinkExt; use parking_lot::Mutex; use polkadot_primitives::v1::{CollatorPair, Hash as PHash, PersistedValidationData}; use polkadot_service::ProvideRuntimeApi; use sc_client_api::execution_extensions::ExecutionStrategies; use sc_client_api::{Backend, CallExecutor, ExecutorProvider}; +use sc_consensus::LongestChain; +use sc_consensus_aura::{ImportQueueParams, StartAuraParams}; +use sc_consensus_manual_seal::rpc::{ManualSeal, ManualSealApi}; +use sc_consensus_manual_seal::EngineCommand; use sc_executor::NativeElseWasmExecutor; use sc_network::{config::TransportConfig, multiaddr, NetworkService}; use sc_service::{ @@ -48,8 +51,8 @@ use sc_service::{ DatabaseSource, KeepBlocks, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration, OffchainWorkerConfig, PruningMode, TransactionStorageMode, WasmExecutionMethod, }, - BasePath, ChainSpec, Configuration, PartialComponents, Role, RpcHandlers, TFullBackend, TFullCallExecutor, - TFullClient, TaskManager, + BasePath, ChainSpec, Configuration, PartialComponents, Role, RpcHandlers, SpawnTasksParams, TFullBackend, + TFullCallExecutor, TFullClient, TaskManager, }; use sc_transaction_pool_api::TransactionPool; use sp_arithmetic::traits::SaturatedConversion; @@ -67,7 +70,6 @@ use sp_trie::PrefixedMemoryDB; use std::sync::Arc; use substrate_test_client::{BlockchainEventsExt, RpcHandlersExt, RpcTransactionError, RpcTransactionOutput}; -// pub use chain_spec::*; pub use genesis::*; use node_primitives::signature::AcalaMultiSignature; use node_primitives::{AccountId, Address, Balance, Signature}; @@ -121,17 +123,21 @@ pub type Client = TFullClient>; +/// Maybe Mandala Dev full select chain. +type MaybeFullSelectChain = Option, Block>>; + /// Starts a `ServiceBuilder` for a full service. /// /// Use this macro if you don't actually need the full service, but just the builder in order to /// be able to perform chain operations. pub fn new_partial( - config: &mut Configuration, + config: &Configuration, + seal_mode: SealMode, ) -> Result< PartialComponents< Client, TFullBackend, - (), + MaybeFullSelectChain, sc_consensus::import_queue::BasicQueue>, sc_transaction_pool::FullPool, (), @@ -159,30 +165,87 @@ pub fn new_partial( client.clone(), ); - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - let create_inherent_data_providers = Box::new(move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + let (import_queue, select_chain) = match seal_mode { + SealMode::DevInstantSeal => { + // instance sealing + ( + sc_consensus_manual_seal::import_queue( + Box::new(client.clone()), + &task_manager.spawn_essential_handle(), + registry, + ), + Some(LongestChain::new(backend.clone())), + ) + } + SealMode::DevAuraSeal => { + // aura import queue + let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - *timestamp, - slot_duration.slot_duration(), - ); + ( + sc_consensus_aura::import_queue::( + ImportQueueParams { + block_import: client.clone(), + justification_import: None, + client: client.clone(), + create_inherent_data_providers: move |_, ()| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration, + ); - Ok((timestamp, slot)) - }); + Ok(( + timestamp, + slot, + node_service::default_mock_parachain_inherent_data_provider(), + )) + }, + spawner: &task_manager.spawn_essential_handle(), + registry, + can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), + check_for_equivocation: Default::default(), + telemetry: None, + }, + )?, + None, + ) + } + SealMode::ParaSeal => { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + let create_inherent_data_providers = Box::new(move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration.slot_duration(), + ); - let import_queue = - cumulus_client_consensus_aura::import_queue::( - cumulus_client_consensus_aura::ImportQueueParams { - block_import: client.clone(), - client: client.clone(), - create_inherent_data_providers, - registry, - can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), - spawner: &task_manager.spawn_essential_handle(), - telemetry: None, - }, - )?; + Ok((timestamp, slot)) + }); + + ( + cumulus_client_consensus_aura::import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + _, + >(cumulus_client_consensus_aura::ImportQueueParams { + block_import: client.clone(), + client: client.clone(), + create_inherent_data_providers, + registry, + can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), + spawner: &task_manager.spawn_essential_handle(), + telemetry: None, + })?, + None, + ) + } + }; let params = PartialComponents { backend, @@ -191,13 +254,189 @@ pub fn new_partial( keystore_container, task_manager, transaction_pool, - select_chain: (), + select_chain, other: (), }; Ok(params) } +async fn start_dev_node( + config: Configuration, + seal_mode: SealMode, +) -> sc_service::error::Result<( + TaskManager, + Arc, + Arc>, + RpcHandlers, + TxPool, + Arc>, + Sender>, +)> { + let sc_service::PartialComponents { + client, + backend, + mut task_manager, + import_queue, + keystore_container, + select_chain: maybe_select_chain, + transaction_pool, + other: (), + } = new_partial(&config, SealMode::DevInstantSeal)?; + + let (network, system_rpc_tx, network_starter) = sc_service::build_network(sc_service::BuildNetworkParams { + config: &config, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + spawn_handle: task_manager.spawn_handle(), + import_queue, + block_announce_validator_builder: None, + warp_sync: None, + })?; + + // offchain workers + sc_service::build_offchain_workers(&config, task_manager.spawn_handle(), client.clone(), network.clone()); + + let force_authoring = config.force_authoring; + let backoff_authoring_blocks: Option<()> = None; + let select_chain = + maybe_select_chain.expect("In mandala dev mode, `new_partial` will return some `select_chain`; qed"); + + let proposer_factory = sc_basic_authorship::ProposerFactory::new( + task_manager.spawn_handle(), + client.clone(), + transaction_pool.clone(), + config.prometheus_registry(), + None, + ); + // Channel for the rpc handler to communicate with the authorship task. + let (command_sink, commands_stream) = mpsc::channel(10); + let rpc_sink = command_sink.clone(); + + match seal_mode { + SealMode::DevInstantSeal => { + let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); + let create_inherent_data_providers = Box::new(move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration, + ); + + Ok((timestamp, slot)) + // Ok(timestamp) + }); + let authorship_future = + sc_consensus_manual_seal::run_manual_seal(sc_consensus_manual_seal::ManualSealParams { + block_import: client.clone(), + env: proposer_factory, + client: client.clone(), + pool: transaction_pool.clone(), + commands_stream, + select_chain, + consensus_data_provider: None, + create_inherent_data_providers, + }); + // we spawn the future on a background thread managed by service. + task_manager.spawn_essential_handle().spawn_blocking( + "instant-seal", + Some("block-authoring"), + authorship_future, + ); + } + SealMode::DevAuraSeal => { + // aura + let can_author_with = sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()); + let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); + let aura = sc_consensus_aura::start_aura::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + _, + _, + _, + _, + _, + _, + >(StartAuraParams { + slot_duration: sc_consensus_aura::slot_duration(&*client)?, + client: client.clone(), + select_chain, + // block_import: instant_finalize::InstantFinalizeBlockImport::new(client.clone()), + block_import: client.clone(), + proposer_factory, + create_inherent_data_providers: move |_, ()| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration, + ); + + Ok(( + timestamp, + slot, + node_service::default_mock_parachain_inherent_data_provider(), + )) + }, + force_authoring, + backoff_authoring_blocks, + keystore: keystore_container.sync_keystore(), + can_author_with, + sync_oracle: network.clone(), + justification_sync_link: network.clone(), + // We got around 500ms for proposing + block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), + // And a maximum of 750ms if slots are skipped + max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), + telemetry: None, + })?; + + // the AURA authoring task is considered essential, i.e. if it + // fails we take down the service with it. + task_manager + .spawn_essential_handle() + .spawn_blocking("aura", Some("block-authoring"), aura); + } + _ => { + panic!("dev mode do not support parachain consensus") + } + } + + let rpc_handlers = sc_service::spawn_tasks(SpawnTasksParams { + config, + client: client.clone(), + backend: backend.clone(), + task_manager: &mut task_manager, + keystore: keystore_container.sync_keystore(), + transaction_pool: transaction_pool.clone(), + rpc_extensions_builder: Box::new(move |_, _| { + let mut io = jsonrpc_core::IoHandler::default(); + io.extend_with(ManualSealApi::to_delegate(ManualSeal::new(rpc_sink.clone()))); + Ok(io) + }), + network: network.clone(), + system_rpc_tx, + telemetry: None, + })?; + + network_starter.start_network(); + + Ok(( + task_manager, + client, + network, + rpc_handlers, + transaction_pool, + backend, + command_sink, + )) +} + /// Start a node with the given parachain `Configuration` and relay chain `Configuration`. /// /// This is the actual implementation that is abstract over the executor and the runtime api. @@ -210,6 +449,7 @@ async fn start_node_impl( wrap_announce_block: Option AnnounceBlockFn>>, rpc_ext_builder: RB, consensus: Consensus, + seal_mode: SealMode, ) -> sc_service::error::Result<( TaskManager, Arc, @@ -217,6 +457,7 @@ async fn start_node_impl( RpcHandlers, TxPool, Arc>, + Sender>, )> where RB: Fn(Arc) -> Result, sc_service::Error> + Send + 'static, @@ -225,9 +466,9 @@ where return Err("Light client not supported!".into()); } - let mut parachain_config = prepare_node_config(parachain_config); + let parachain_config = prepare_node_config(parachain_config); - let params = new_partial(&mut parachain_config)?; + let params = new_partial(¶chain_config, seal_mode.clone())?; let keystore = params.keystore_container.sync_keystore(); let force_authoring = parachain_config.force_authoring; @@ -432,6 +673,7 @@ where } start_network.start_network(); + let (command_sink, _) = mpsc::channel(1); Ok(( task_manager, @@ -440,6 +682,7 @@ where rpc_handlers, transaction_pool, backend_for_node, + command_sink, )) } @@ -460,6 +703,8 @@ pub struct TestNode { pub transaction_pool: TxPool, /// Nodes' backend pub backend: Arc>, + /// manual instant seal sink command + pub seal_sink: Sender>, } enum Consensus { @@ -467,9 +712,20 @@ enum Consensus { RelayChain, /// Use the null consensus that will never produce any block. Null, + /// Use Aura consensus Aura, } +#[derive(Clone, Copy)] +pub enum SealMode { + /// Dev instant seal + DevInstantSeal, + /// Dev aura seal + DevAuraSeal, + /// Parachain aura seal + ParaSeal, +} + /// A builder to create a [`TestNode`]. pub struct TestNodeBuilder { para_id: ParaId, @@ -483,6 +739,7 @@ pub struct TestNodeBuilder { storage_update_func_parachain: Option>, storage_update_func_relay_chain: Option>, consensus: Consensus, + seal_mode: SealMode, } impl TestNodeBuilder { @@ -505,6 +762,7 @@ impl TestNodeBuilder { storage_update_func_parachain: None, storage_update_func_relay_chain: None, consensus: Consensus::Aura, + seal_mode: SealMode::ParaSeal, } } @@ -593,6 +851,12 @@ impl TestNodeBuilder { self } + /// Enable collator for this node. + pub fn with_seal_mode(mut self, seal_mode: SealMode) -> Self { + self.seal_mode = seal_mode; + self + } + /// Build the [`TestNode`]. pub async fn build(self) -> TestNode { let parachain_config = node_config( @@ -617,17 +881,29 @@ impl TestNodeBuilder { relay_chain_config.network.node_name = format!("{} (relay chain)", relay_chain_config.network.node_name); let multiaddr = parachain_config.network.listen_addresses[0].clone(); - let (task_manager, client, network, rpc_handlers, transaction_pool, backend) = start_node_impl( - parachain_config, - self.collator_key, - relay_chain_config, - self.para_id, - self.wrap_announce_block, - |_| Ok(Default::default()), - self.consensus, - ) - .await - .expect("could not create Cumulus test service"); + let (task_manager, client, network, rpc_handlers, transaction_pool, backend, seal_sink) = match self.seal_mode { + SealMode::DevInstantSeal | SealMode::DevAuraSeal => { + log::info!("start as standalone dev node."); + start_dev_node(parachain_config, self.seal_mode) + .await + .expect("could not start dev node!") + } + SealMode::ParaSeal => { + log::info!("start as parachain node."); + start_node_impl( + parachain_config, + self.collator_key, + relay_chain_config, + self.para_id, + self.wrap_announce_block, + |_| Ok(Default::default()), + self.consensus, + self.seal_mode, + ) + .await + .expect("could not create collator!") + } + }; let peer_id = network.local_peer_id().clone(); let addr = MultiaddrWithPeerId { multiaddr, peer_id }; @@ -640,6 +916,7 @@ impl TestNodeBuilder { rpc_handlers, transaction_pool, backend, + seal_sink, } } } @@ -759,13 +1036,43 @@ impl TestNode { self.client.wait_for_blocks(count) } + /// Instructs manual seal to seal new, possibly empty blocks. + pub async fn seal_blocks(&self, num: usize) { + let mut sink = self.seal_sink.clone(); + + for count in 0..num { + let (sender, future_block) = oneshot::channel(); + let future = sink.send(EngineCommand::SealNewBlock { + create_empty: true, + finalize: false, + parent_hash: None, + sender: Some(sender), + }); + + const ERROR: &'static str = "manual-seal authorship task is shutting down"; + future.await.expect(ERROR); + + match future_block.await.expect(ERROR) { + Ok(block) => { + log::info!("sealed {} (hash: {}) of {} blocks", count + 1, block.hash, num) + } + Err(err) => { + log::error!("failed to seal block {} of {}, error: {:?}", count + 1, num, err) + } + } + } + } + /// Submit an extrinsic to transaction pool. pub async fn submit_extrinsic( &self, function: impl Into, - caller: Sr25519Keyring, + caller: Option, ) -> Result { - let extrinsic = construct_extrinsic(&*self.client, function, caller.pair(), Some(0)); + let extrinsic = match caller { + Some(caller) => construct_extrinsic(&*self.client, function, caller.pair(), Some(0)), + None => runtime::UncheckedExtrinsic::new(function.into(), None).unwrap(), + }; let at = self.client.info().best_hash; self.transaction_pool @@ -893,9 +1200,7 @@ pub fn construct_extrinsic( let (call, extra, _) = raw_payload.deconstruct(); let signed_data: (Address, AcalaMultiSignature, SignedExtra) = (address, Signature::Sr25519(signature.clone()), extra.clone()); - let ext = runtime::UncheckedExtrinsic::new(call, Some(signed_data)).unwrap(); - log::info!(target: "test-service", "extrinsic:{:?}", ext); - ext + runtime::UncheckedExtrinsic::new(call, Some(signed_data)).unwrap() } /// Run a relay-chain validator node. diff --git a/node/e2e-tests/test-service/tests/full_node_catching_up.rs b/node/e2e-tests/test-service/tests/full_node_catching_up.rs index d547e76b21..1881398f18 100644 --- a/node/e2e-tests/test-service/tests/full_node_catching_up.rs +++ b/node/e2e-tests/test-service/tests/full_node_catching_up.rs @@ -17,10 +17,12 @@ // along with this program. If not, see . use cumulus_primitives_core::ParaId; -use node_primitives::AccountId; -use sp_keyring::Sr25519Keyring; +use ecosystem_renvm_bridge::EcdsaSignature; +use hex_literal::hex; +use sc_transaction_pool_api::TransactionPool; +use sp_core::crypto::AccountId32; use sp_runtime::{traits::IdentifyAccount, MultiAddress, MultiSigner}; -use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*}; +use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*, SealMode}; #[substrate_test_utils::test] #[ignore] @@ -105,8 +107,8 @@ async fn simple_balances_test() { .await; node.wait_for_blocks(2).await; - let (alice, bob) = (MultiSigner::from(Alice.public()), MultiSigner::from(Bob.public())); - let (alice_account_id, bob_account_id) = (alice.into_account(), bob.into_account()); + let bob = MultiSigner::from(Bob.public()); + let bob_account_id = bob.into_account(); let amount = 1_000_000_000_000; type Balances = pallet_balances::Pallet; @@ -121,3 +123,108 @@ async fn simple_balances_test() { let new_balance = node.with_state(|| Balances::free_balance(bob_account_id)); assert_eq!(old_balance + amount, new_balance); } + +#[substrate_test_utils::test] +async fn simple_balances_dev_test() { + let mut builder = sc_cli::LoggerBuilder::new(""); + builder.with_colors(true); + let _ = builder.init(); + + let para_id = ParaId::from(2000); + let tokio_handle = tokio::runtime::Handle::current(); + + let node = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) + .with_seal_mode(SealMode::DevAuraSeal) + .enable_collator() + .build() + .await; + + let bob = MultiSigner::from(Bob.public()); + let bob_account_id = bob.into_account(); + let amount = 1_000_000_000_000; + + type Balances = pallet_balances::Pallet; + + // the function with_state allows us to read state, pretty cool right? :D + let old_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); + + node.transfer(Alice, Bob, amount).await.unwrap(); + + node.wait_for_blocks(1).await; + // node.seal_blocks(1).await; + + // we can check the new state :D + let new_balance = node.with_state(|| Balances::free_balance(bob_account_id)); + assert_eq!(old_balance + amount, new_balance); +} + +#[substrate_test_utils::test] +async fn transaction_pool_priority_order_test() { + let mut builder = sc_cli::LoggerBuilder::new(""); + builder.with_colors(true); + let _ = builder.init(); + + let para_id = ParaId::from(2000); + let tokio_handle = tokio::runtime::Handle::current(); + + let node = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) + .with_seal_mode(SealMode::DevAuraSeal) + .enable_collator() + .build() + .await; + + let bob = MultiSigner::from(Bob.public()); + let bob_account_id = bob.into_account(); + + // send operational extrinsic + let operational_tx_hash = node + .submit_extrinsic( + pallet_sudo::Call::sudo { + call: Box::new(module_emergency_shutdown::Call::emergency_shutdown {}.into()), + }, + Some(Alice), + ) + .await + .unwrap(); + + // send normal extrinsic + let normal_tx_hash = node + .submit_extrinsic( + pallet_balances::Call::transfer { + dest: MultiAddress::from(bob_account_id.clone()), + value: 80_000, + }, + Some(Bob), + ) + .await + .unwrap(); + + // send unsigned extrinsic + let to: AccountId32 = hex!["d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d"].into(); + let unsigned_tx_hash = node.submit_extrinsic( + ecosystem_renvm_bridge::Call::mint { + who: to, + p_hash: hex!["67028f26328144de6ef80b8cd3b05e0cefb488762c340d1574c0542f752996cb"], + amount: 93963, + n_hash: hex!["f6a75cc370a2dda6dfc8d016529766bb6099d7fa0d787d9fe5d3a7e60c9ac2a0"], + sig: EcdsaSignature::from_slice(&hex!["defda6eef01da2e2a90ce30ba73e90d32204ae84cae782b485f01d16b69061e0381a69cafed3deb6112af044c42ed0f7c73ee0eec7b533334d31a06db50fc40e1b"]), + }, + None, + ).await.unwrap(); + + assert_eq!(node.transaction_pool.ready().count(), 3); + + // Ensure tx priority order: + // Inherent -> Operational tx -> Unsigned tx -> Signed normal tx + let mut txs = node.transaction_pool.ready(); + let tx1 = txs.next().unwrap(); + let tx2 = txs.next().unwrap(); + let tx3 = txs.next().unwrap(); + + assert_eq!(tx1.hash, operational_tx_hash); + assert_eq!(tx2.hash, unsigned_tx_hash); + assert_eq!(tx3.hash, normal_tx_hash); + + assert!(tx1.priority > tx2.priority); + assert!(tx2.priority > tx3.priority); +} diff --git a/primitives/src/currency.rs b/primitives/src/currency.rs index f393614ba0..6d2540d721 100644 --- a/primitives/src/currency.rs +++ b/primitives/src/currency.rs @@ -206,7 +206,7 @@ create_currency_id! { KINT("Kintsugi Native Token", 12) = 171, KBTC("Kintsugi Wrapped BTC", 8) = 172, RMRK("Rmrk", 10) = 173, - RMRK_V2("Rmrk V2", 10) = 174, + RMRKV2("Rmrk V2", 10) = 174, } } diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index c2926ae151..90bc7c4b17 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -771,7 +771,7 @@ parameter_type_with_key! { TokenSymbol::KINT | TokenSymbol::TAI | TokenSymbol::RMRK | - TokenSymbol::RMRK_V2 | + TokenSymbol::RMRKV2 | TokenSymbol::CASH => Balance::max_value() // unsupported }, CurrencyId::DexShare(dex_share_0, _) => { diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index 7b1445655b..7195419191 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -582,10 +582,10 @@ fn asset_registry_location_update_works() { }); Sibling::execute_with(|| { - // Sibling will convert RMRK_V2 to location: (1, 2001, 53, 8) + // Sibling will convert RMRKV2 to location: (1, 2001, 53, 8) assert_ok!(XTokens::transfer( Origin::signed(BOB.into()), - RMRK_V2, + RMRKV2, 5_000_000_000_000, Box::new( MultiLocation::new( diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 250a0f1eb3..d0f61f81a7 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -765,7 +765,7 @@ parameter_type_with_key! { TokenSymbol::KINT => 13333 * microcent(*currency_id), // 1.33 KINT = 1 KSM TokenSymbol::KBTC => 66 * microcent(*currency_id), // 1KBTC = 150 KSM TokenSymbol::TAI => dollar(*currency_id), // 1 KUSD = 100 TAI - TokenSymbol::RMRK | TokenSymbol::RMRK_V2 => cent(*currency_id), + TokenSymbol::RMRK | TokenSymbol::RMRKV2 => cent(*currency_id), TokenSymbol::ACA | TokenSymbol::AUSD | @@ -1779,7 +1779,7 @@ impl Convert> for CurrencyIdConvert { #[cfg(feature = "only-integration-test")] Token(RMRK) => Some(MultiLocation::new(1, X2(Parachain(2001), GeneralIndex(8)))), #[cfg(feature = "only-integration-test")] - Token(RMRK_V2) => Some(MultiLocation::new( + Token(RMRKV2) => Some(MultiLocation::new( 1, X3(Parachain(2001), PalletInstance(53), GeneralIndex(8)), )), diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 39159a511e..dc3cc4bb90 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -796,7 +796,7 @@ parameter_type_with_key! { TokenSymbol::ACA | TokenSymbol::KAR | TokenSymbol::RMRK | - TokenSymbol::RMRK_V2 | + TokenSymbol::RMRKV2 | TokenSymbol::CASH => Balance::max_value() // unsupported }, CurrencyId::DexShare(dex_share_0, _) => { From a8f59c7cf798079ba9823e5a66f85cef6cbd93f3 Mon Sep 17 00:00:00 2001 From: zqh Date: Thu, 27 Jan 2022 12:06:30 +0800 Subject: [PATCH 18/46] clean and refactor test-service --- Cargo.lock | 2 +- modules/dex-oracle/src/lib.rs | 1 + node/e2e-tests/Cargo.toml | 45 +- node/e2e-tests/test-runner/Cargo.toml | 61 - node/e2e-tests/test-runner/src/client.rs | 196 --- .../test-runner/src/host_functions.rs | 84 -- node/e2e-tests/test-runner/src/lib.rs | 83 -- node/e2e-tests/test-runner/src/node.rs | 266 ----- node/e2e-tests/test-runner/src/utils.rs | 126 -- node/e2e-tests/test-service/src/builder.rs | 321 +++++ node/e2e-tests/test-service/src/genesis.rs | 32 - node/e2e-tests/test-service/src/lib.rs | 1064 +---------------- node/e2e-tests/test-service/src/node.rs | 155 +++ node/e2e-tests/test-service/src/service.rs | 579 +++++++++ .../e2e-tests/test-service/tests/parachain.rs | 126 ++ ...full_node_catching_up.rs => standalone.rs} | 104 +- 16 files changed, 1224 insertions(+), 2021 deletions(-) delete mode 100644 node/e2e-tests/test-runner/Cargo.toml delete mode 100644 node/e2e-tests/test-runner/src/client.rs delete mode 100644 node/e2e-tests/test-runner/src/host_functions.rs delete mode 100644 node/e2e-tests/test-runner/src/lib.rs delete mode 100644 node/e2e-tests/test-runner/src/node.rs delete mode 100644 node/e2e-tests/test-runner/src/utils.rs create mode 100644 node/e2e-tests/test-service/src/builder.rs delete mode 100644 node/e2e-tests/test-service/src/genesis.rs create mode 100644 node/e2e-tests/test-service/src/node.rs create mode 100644 node/e2e-tests/test-service/src/service.rs create mode 100644 node/e2e-tests/test-service/tests/parachain.rs rename node/e2e-tests/test-service/tests/{full_node_catching_up.rs => standalone.rs} (58%) diff --git a/Cargo.lock b/Cargo.lock index e59c98bb18..9dd66b7562 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2546,7 +2546,7 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" [[package]] name = "e2e-tests" -version = "2.2.1" +version = "2.2.2" dependencies = [ "test-service", ] diff --git a/modules/dex-oracle/src/lib.rs b/modules/dex-oracle/src/lib.rs index 562beb55c6..09fb14a65a 100644 --- a/modules/dex-oracle/src/lib.rs +++ b/modules/dex-oracle/src/lib.rs @@ -98,6 +98,7 @@ pub mod module { >; #[pallet::pallet] + #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::hooks] diff --git a/node/e2e-tests/Cargo.toml b/node/e2e-tests/Cargo.toml index d8d697995b..b0f9e25bfa 100644 --- a/node/e2e-tests/Cargo.toml +++ b/node/e2e-tests/Cargo.toml @@ -5,47 +5,4 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -#log = "0.4.14" -#hex-literal = "0.3.1" -#cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -#frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -#frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -#frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -#pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -#pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } -# -#sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-consensus-babe= { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-network-test = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-informant = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -# -#sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -#sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } - -test-service = { path = "./test-service" } - -#module-evm = { path = "../../modules/evm" } -#module-transaction-payment = { path = "../../modules/transaction-payment" } -#module-emergency-shutdown = { path = "../../modules/emergency-shutdown" } -#module-cdp-engine = { path = "../../modules/cdp-engine" } -#ecosystem-renvm-bridge = { path = "../../ecosystem-modules/ren/renvm-bridge" } -#node-runtime = { package = "mandala-runtime", path = "../../runtime/mandala" } -#node-primitives = { package = "acala-primitives", path = "../../primitives" } -#node-cli = { package = "acala-cli", path = "../cli", features = ["with-mandala-runtime"] } -#node-service = { package = "acala-service", path = "../service", features = ["with-mandala-runtime"] } -#runtime-common = { path = "../../runtime/common" } +test-service = { path = "./test-service" } \ No newline at end of file diff --git a/node/e2e-tests/test-runner/Cargo.toml b/node/e2e-tests/test-runner/Cargo.toml deleted file mode 100644 index e32ccbe2b5..0000000000 --- a/node/e2e-tests/test-runner/Cargo.toml +++ /dev/null @@ -1,61 +0,0 @@ -[package] -name = "test-runner" -version = "2.2.2" -authors = ["Acala Developers"] -edition = "2021" - -[dependencies] -# client deps -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-informant = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } - -# primitive deps -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } - -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "master" } - -# pallets -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } - -env_logger = "0.7.1" -log = "0.4.8" -futures = { package = "futures", version = "0.3", features = ["compat"] } -tokio = { version = "1.15", features = ["signal"] } - -# Calling RPC -jsonrpc-core = "18.0.0" -num-traits = "0.2.14" - -node-runtime = { package = "mandala-runtime", path = "../../../runtime/mandala" } -node-primitives = { package = "acala-primitives", path = "../../../primitives" } -node-cli = { package = "acala-cli", path = "../../cli", features = ["with-mandala-runtime"] } -node-service = { package = "acala-service", path = "../../service", features = ["with-mandala-runtime"] } diff --git a/node/e2e-tests/test-runner/src/client.rs b/node/e2e-tests/test-runner/src/client.rs deleted file mode 100644 index 2a27062b16..0000000000 --- a/node/e2e-tests/test-runner/src/client.rs +++ /dev/null @@ -1,196 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 . - -//! Client parts - -use crate::{default_config, ChainInfo}; -use futures::channel::mpsc; -use jsonrpc_core::MetaIoHandler; -use node_primitives::Block; -use node_runtime::RuntimeApi; -use node_service::{default_mock_parachain_inherent_data_provider, RuntimeApiCollection}; -use sc_consensus_manual_seal::{ - rpc::{ManualSeal, ManualSealApi}, - run_manual_seal, EngineCommand, ManualSealParams, -}; -use sc_executor::NativeElseWasmExecutor; -use sc_service::{ - build_network, spawn_tasks, BuildNetworkParams, ChainSpec, Configuration, SpawnTasksParams, TFullBackend, - TFullClient, TaskManager, -}; -use sc_transaction_pool::BasicPool; -use sc_transaction_pool_api::TransactionPool; -use sp_api::ConstructRuntimeApi; -use sp_consensus::SlotData; -use sp_runtime::traits::Block as BlockT; -use std::sync::Arc; - -type ClientParts = ( - Arc>, - TaskManager, - Arc::RuntimeApi, NativeElseWasmExecutor<::ExecutorDispatch>>>, - Arc< - dyn TransactionPool< - Block = Block, - Hash = ::Hash, - Error = sc_transaction_pool::error::Error, - InPoolTransaction = sc_transaction_pool::Transaction<::Hash, ::Extrinsic>, - >, - >, - mpsc::Sender::Hash>>, - Arc>, -); - -/// Provide the config or chain spec for a given chain -pub enum ConfigOrChainSpec { - /// Configuration object - Config(Configuration), - /// Chain spec object - ChainSpec(Box, tokio::runtime::Handle), -} -/// Creates all the client parts you need for [`Node`](crate::node::Node) -pub fn client_parts(config_or_chain_spec: ConfigOrChainSpec) -> Result, sc_service::Error> -where - T: ChainInfo + 'static, - >, - >>::RuntimeApi: RuntimeApiCollection, Block>>, - ::Call: From>, -{ - let config = match config_or_chain_spec { - ConfigOrChainSpec::Config(config) => config, - ConfigOrChainSpec::ChainSpec(chain_spec, tokio_handle) => default_config(tokio_handle, chain_spec), - }; - - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, - ); - - let (client, backend, keystore, mut task_manager) = - sc_service::new_full_parts::>( - &config, None, executor, - )?; - let client = Arc::new(client); - - let select_chain = sc_consensus::LongestChain::new(backend.clone()); - - let import_queue = - sc_consensus_manual_seal::import_queue(Box::new(client.clone()), &task_manager.spawn_essential_handle(), None); - - let transaction_pool = BasicPool::new_full( - config.transaction_pool.clone(), - true.into(), - config.prometheus_registry(), - task_manager.spawn_essential_handle(), - client.clone(), - ); - - let (network, system_rpc_tx, network_starter) = { - let params = BuildNetworkParams { - config: &config, - client: client.clone(), - transaction_pool: transaction_pool.clone(), - spawn_handle: task_manager.spawn_handle(), - import_queue, - block_announce_validator_builder: None, - warp_sync: None, - }; - build_network(params)? - }; - - // offchain workers - sc_service::build_offchain_workers(&config, task_manager.spawn_handle(), client.clone(), network.clone()); - - // Proposer object for block authorship. - let env = sc_basic_authorship::ProposerFactory::new( - task_manager.spawn_handle(), - client.clone(), - transaction_pool.clone(), - config.prometheus_registry(), - None, - ); - - // Channel for the rpc handler to communicate with the authorship task. - let (command_sink, commands_stream) = mpsc::channel(10); - - let rpc_sink = command_sink.clone(); - - let rpc_handlers = { - let params = SpawnTasksParams { - config, - client: client.clone(), - backend: backend.clone(), - task_manager: &mut task_manager, - keystore: keystore.sync_keystore(), - transaction_pool: transaction_pool.clone(), - rpc_extensions_builder: Box::new(move |_, _| { - let mut io = jsonrpc_core::IoHandler::default(); - io.extend_with(ManualSealApi::to_delegate(ManualSeal::new(rpc_sink.clone()))); - Ok(io) - }), - network, - system_rpc_tx, - telemetry: None, - }; - spawn_tasks(params)? - }; - - let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); - - let create_inherent_data_providers = Box::new(move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = - sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration(*timestamp, slot_duration); - - Ok((timestamp, slot, default_mock_parachain_inherent_data_provider())) - }); - - // Background authorship future. - let authorship_future = run_manual_seal(ManualSealParams { - block_import: client.clone(), - env, - client: client.clone(), - pool: transaction_pool.clone(), - commands_stream, - select_chain, - consensus_data_provider: None, - create_inherent_data_providers, - }); - - // spawn the authorship task as an essential task. - task_manager - .spawn_essential_handle() - .spawn("manual-seal", None, authorship_future); - - network_starter.start_network(); - let rpc_handler = rpc_handlers.io_handler(); - - Ok(( - rpc_handler, - task_manager, - client, - transaction_pool, - command_sink, - backend, - )) -} diff --git a/node/e2e-tests/test-runner/src/host_functions.rs b/node/e2e-tests/test-runner/src/host_functions.rs deleted file mode 100644 index 16bb19a307..0000000000 --- a/node/e2e-tests/test-runner/src/host_functions.rs +++ /dev/null @@ -1,84 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 . - -#![allow(clippy::all)] - -use sc_executor::sp_wasm_interface::HostFunctionRegistry; -#[macro_export] -macro_rules! override_host_functions { - ($($fn_name:expr, $name:ident,)*) => {{ - let mut host_functions = vec![]; - $( - struct $name; - impl sp_wasm_interface::Function for $name { - fn name(&self) -> &str { - &$fn_name - } - - fn signature(&self) -> sp_wasm_interface::Signature { - sp_wasm_interface::Signature { - args: std::borrow::Cow::Owned(vec![ - sp_wasm_interface::ValueType::I32, - sp_wasm_interface::ValueType::I64, - sp_wasm_interface::ValueType::I32, - ]), - return_value: Some(sp_wasm_interface::ValueType::I32), - } - } - - fn execute( - &self, - context: &mut dyn sp_wasm_interface::FunctionContext, - _args: &mut dyn Iterator, - ) -> Result, String> { - ::into_ffi_value(true, context) - .map(sp_wasm_interface::IntoValue::into_value) - .map(Some) - } - } - host_functions.push(&$name as &'static dyn sp_wasm_interface::Function); - )* - host_functions - }}; -} - -/// Provides host functions that overrides runtime signature verification -/// to always return true. -pub struct SignatureVerificationOverride; - -impl sp_wasm_interface::HostFunctions for SignatureVerificationOverride { - fn host_functions() -> Vec<&'static dyn sp_wasm_interface::Function> { - override_host_functions!( - "ext_crypto_ecdsa_verify_version_1", - EcdsaVerify, - "ext_crypto_ed25519_verify_version_1", - Ed25519Verify, - "ext_crypto_sr25519_verify_version_1", - Sr25519Verify, - "ext_crypto_sr25519_verify_version_2", - Sr25519VerifyV2, - ) - } - - fn register_static(_registry: &mut T) -> Result<(), T::Error> - where - T: HostFunctionRegistry, - { - todo!() - } -} diff --git a/node/e2e-tests/test-runner/src/lib.rs b/node/e2e-tests/test-runner/src/lib.rs deleted file mode 100644 index 0437a2c7c4..0000000000 --- a/node/e2e-tests/test-runner/src/lib.rs +++ /dev/null @@ -1,83 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 . - -#![allow(clippy::all)] - -use sc_consensus::BlockImport; -use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch}; -use sc_service::TFullClient; -use sp_api::{ConstructRuntimeApi, TransactionFor}; -use sp_consensus::SelectChain; -use sp_inherents::InherentDataProvider; -use sp_runtime::traits::{Block as BlockT, SignedExtension}; - -mod client; -mod host_functions; -mod node; -mod utils; - -pub use client::*; -pub use host_functions::*; -pub use node::*; -pub use utils::*; - -/// Wrapper trait for concrete type required by this testing framework. -pub trait ChainInfo: Sized { - /// Opaque block type - type Block: BlockT; - - /// ExecutorDispatch dispatch type - type ExecutorDispatch: NativeExecutionDispatch + 'static; - - /// Runtime - type Runtime: frame_system::Config; - - /// RuntimeApi - type RuntimeApi: Send - + Sync - + 'static - + ConstructRuntimeApi< - Self::Block, - TFullClient>, - >; - - /// select chain type. - type SelectChain: SelectChain + 'static; - - /// Block import type. - type BlockImport: Send - + Sync - + Clone - + BlockImport< - Self::Block, - Error = sp_consensus::Error, - Transaction = TransactionFor< - TFullClient>, - Self::Block, - >, - > + 'static; - - /// The signed extras required by the runtime - type SignedExtras: SignedExtension; - - /// The inherent data providers. - type InherentDataProviders: InherentDataProvider + 'static; - - /// Signed extras, this function is caled in an externalities provided environment. - fn signed_extras(from: ::AccountId) -> Self::SignedExtras; -} diff --git a/node/e2e-tests/test-runner/src/node.rs b/node/e2e-tests/test-runner/src/node.rs deleted file mode 100644 index c4ac647eaa..0000000000 --- a/node/e2e-tests/test-runner/src/node.rs +++ /dev/null @@ -1,266 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 . - -#![allow(clippy::all)] - -use std::sync::Arc; - -use futures::{ - channel::{mpsc, oneshot}, - FutureExt, SinkExt, -}; -use jsonrpc_core::MetaIoHandler; -use sc_client_api::{backend::Backend, CallExecutor, ExecutorProvider}; -use sc_consensus_manual_seal::EngineCommand; -use sc_executor::NativeElseWasmExecutor; -use sc_service::{TFullBackend, TFullCallExecutor, TFullClient, TaskManager}; -use sc_transaction_pool_api::TransactionPool; -use sp_api::{OverlayedChanges, StorageTransactionCache}; -use sp_blockchain::HeaderBackend; -use sp_core::ExecutionContext; -use sp_runtime::{ - generic::{BlockId, UncheckedExtrinsic}, - traits::{Block as BlockT, Extrinsic, NumberFor}, - transaction_validity::TransactionSource, - MultiAddress, MultiSignature, -}; -use sp_state_machine::Ext; - -use crate::ChainInfo; - -/// This holds a reference to a running node on another thread, -/// the node process is dropped when this struct is dropped -/// also holds logs from the process. -pub struct Node> { - /// rpc handler for communicating with the node over rpc. - rpc_handler: Arc>, - /// handle to the running node. - task_manager: Option, - /// client instance - client: Arc>>, - /// transaction pool - pool: Arc< - dyn TransactionPool< - Block = ::Block, - Hash = <::Block as BlockT>::Hash, - Error = sc_transaction_pool::error::Error, - InPoolTransaction = sc_transaction_pool::Transaction< - <::Block as BlockT>::Hash, - <::Block as BlockT>::Extrinsic, - >, - >, - >, - /// channel to communicate with manual seal on. - manual_seal_command_sink: mpsc::Sender::Hash>>, - /// backend type. - backend: Arc>, - /// Block number at initialization of this Node. - initial_block_number: NumberFor, -} - -type EventRecord = frame_system::EventRecord<::Event, ::Hash>; - -impl Node -where - T: ChainInfo, -{ - /// Creates a new node. - pub fn new( - rpc_handler: Arc>, - task_manager: TaskManager, - client: Arc>>, - pool: Arc< - dyn TransactionPool< - Block = ::Block, - Hash = <::Block as BlockT>::Hash, - Error = sc_transaction_pool::error::Error, - InPoolTransaction = sc_transaction_pool::Transaction< - <::Block as BlockT>::Hash, - <::Block as BlockT>::Extrinsic, - >, - >, - >, - command_sink: mpsc::Sender::Hash>>, - backend: Arc>, - ) -> Self { - Self { - rpc_handler, - task_manager: Some(task_manager), - client: client.clone(), - pool, - backend, - manual_seal_command_sink: command_sink, - initial_block_number: client.info().best_number, - } - } - - /// Returns a reference to the rpc handlers, use this to send rpc requests. - /// eg - /// ```ignore - /// let request = r#"{"jsonrpc":"2.0","method":"engine_createBlock","params": [true, true],"id":1}"#; - /// let response = node.rpc_handler() - /// .handle_request_sync(request, Default::default()); - /// ``` - pub fn rpc_handler(&self) -> Arc> { - self.rpc_handler.clone() - } - - /// Return a reference to the Client - pub fn client(&self) -> Arc>> { - self.client.clone() - } - - /// Return a reference to the pool. - pub fn pool( - &self, - ) -> Arc< - dyn TransactionPool< - Block = ::Block, - Hash = <::Block as BlockT>::Hash, - Error = sc_transaction_pool::error::Error, - InPoolTransaction = sc_transaction_pool::Transaction< - <::Block as BlockT>::Hash, - <::Block as BlockT>::Extrinsic, - >, - >, - > { - self.pool.clone() - } - - /// Executes closure in an externalities provided environment. - pub fn with_state(&self, closure: impl FnOnce() -> R) -> R - where - > as CallExecutor>::Error: - std::fmt::Debug, - { - let id = BlockId::Hash(self.client.info().best_hash); - let mut overlay = OverlayedChanges::default(); - let mut cache = - StorageTransactionCache:: as Backend>::State>::default(); - let mut extensions = self - .client - .execution_extensions() - .extensions(&id, ExecutionContext::BlockConstruction); - let state_backend = self - .backend - .state_at(id.clone()) - .expect(&format!("State at block {} not found", id)); - - let mut ext = Ext::new(&mut overlay, &mut cache, &state_backend, Some(&mut extensions)); - sp_externalities::set_and_run_with_externalities(&mut ext, closure) - } - - /// submit some extrinsic to the node. if signer is None, will submit unsigned_extrinsic. - pub async fn submit_extrinsic( - &self, - call: impl Into<::Call>, - signer: Option<::AccountId>, - ) -> Result<::Hash, sc_transaction_pool::error::Error> - where - ::Extrinsic: From< - UncheckedExtrinsic< - MultiAddress< - ::AccountId, - ::Index, - >, - ::Call, - MultiSignature, - T::SignedExtras, - >, - >, - { - let signed_data = if let Some(signer) = signer { - let extra = self.with_state(|| T::signed_extras(signer.clone())); - Some(( - signer.into(), - MultiSignature::Sr25519(sp_core::sr25519::Signature::from_raw([0u8; 64])), - extra, - )) - } else { - None - }; - let ext = UncheckedExtrinsic::< - MultiAddress<::AccountId, ::Index>, - ::Call, - MultiSignature, - T::SignedExtras, - >::new(call.into(), signed_data) - .expect("UncheckedExtrinsic::new() always returns Some"); - let at = self.client.info().best_hash; - - self.pool - .submit_one(&BlockId::Hash(at), TransactionSource::Local, ext.into()) - .await - } - - /// Get the events of the most recently produced block - pub fn events(&self) -> Vec> { - self.with_state(|| frame_system::Pallet::::events()) - } - - /// Instructs manual seal to seal new, possibly empty blocks. - pub async fn seal_blocks(&self, num: usize) { - let mut sink = self.manual_seal_command_sink.clone(); - - for count in 0..num { - let (sender, future_block) = oneshot::channel(); - let future = sink.send(EngineCommand::SealNewBlock { - create_empty: true, - finalize: false, - parent_hash: None, - sender: Some(sender), - }); - - const ERROR: &'static str = "manual-seal authorship task is shutting down"; - future.await.expect(ERROR); - - match future_block.await.expect(ERROR) { - Ok(block) => { - log::info!("sealed {} (hash: {}) of {} blocks", count + 1, block.hash, num) - } - Err(err) => { - log::error!("failed to seal block {} of {}, error: {:?}", count + 1, num, err) - } - } - } - } - - /// Revert count number of blocks from the chain. - pub fn revert_blocks(&self, count: NumberFor) { - self.backend.revert(count, true).expect("Failed to revert blocks: "); - } - - /// so you've decided to run the test runner as a binary, use this to shutdown gracefully. - pub async fn until_shutdown(mut self) { - let manager = self.task_manager.take(); - if let Some(mut task_manager) = manager { - let task = task_manager.future().fuse(); - let signal = tokio::signal::ctrl_c(); - futures::pin_mut!(signal); - futures::future::select(task, signal).await; - } - } -} - -impl> Drop for Node { - fn drop(&mut self) { - // Revert all blocks added since creation of the node. - let diff = self.client.info().best_number - self.initial_block_number; - self.revert_blocks(diff); - } -} diff --git a/node/e2e-tests/test-runner/src/utils.rs b/node/e2e-tests/test-runner/src/utils.rs deleted file mode 100644 index 09f2e7550a..0000000000 --- a/node/e2e-tests/test-runner/src/utils.rs +++ /dev/null @@ -1,126 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 . - -#![allow(clippy::all)] - -pub use sc_cli::build_runtime; -use sc_client_api::execution_extensions::ExecutionStrategies; -use sc_executor::WasmExecutionMethod; -use sc_informant::OutputFormat; -use sc_network::{ - config::{NetworkConfiguration, Role, TransportConfig}, - multiaddr, -}; -use sc_service::{ - config::KeystoreConfig, BasePath, ChainSpec, Configuration, DatabaseSource, KeepBlocks, TransactionStorageMode, -}; -use sp_keyring::sr25519::Keyring::Alice; -use tokio::runtime::Handle; - -/// Base db path gotten from env -pub fn base_path() -> BasePath { - if let Some(base) = std::env::var("DB_BASE_PATH").ok() { - BasePath::new(base) - } else { - BasePath::new_temp_dir().expect("couldn't create a temp dir") - } -} - -/// Produces a default configuration object, suitable for use with most set ups. -pub fn default_config(tokio_handle: Handle, mut chain_spec: Box) -> Configuration { - let base_path = base_path(); - let root_path = base_path.path().to_path_buf().join("chains").join(chain_spec.id()); - - let storage = chain_spec - .as_storage_builder() - .build_storage() - .expect("could not build storage"); - - chain_spec.set_storage(storage); - let key_seed = Alice.to_seed(); - - let mut network_config = NetworkConfiguration::new( - format!("Test Node for: {}", key_seed), - "network/test/0.1", - Default::default(), - None, - ); - let informant_output_format = OutputFormat { enable_color: false }; - network_config.allow_non_globals_in_dht = true; - - network_config - .listen_addresses - .push(multiaddr::Protocol::Memory(0).into()); - - network_config.transport = TransportConfig::MemoryOnly; - - Configuration { - impl_name: "test-node".to_string(), - impl_version: "0.1".to_string(), - role: Role::Authority, - tokio_handle, - transaction_pool: Default::default(), - network: network_config, - keystore: KeystoreConfig::Path { - path: root_path.join("key"), - password: None, - }, - database: DatabaseSource::RocksDb { - path: root_path.join("db"), - cache_size: 128, - }, - state_cache_size: 16777216, - state_cache_child_ratio: None, - chain_spec, - wasm_method: WasmExecutionMethod::Interpreted, - execution_strategies: ExecutionStrategies { - syncing: sc_client_api::ExecutionStrategy::AlwaysWasm, - importing: sc_client_api::ExecutionStrategy::AlwaysWasm, - block_construction: sc_client_api::ExecutionStrategy::AlwaysWasm, - offchain_worker: sc_client_api::ExecutionStrategy::AlwaysWasm, - other: sc_client_api::ExecutionStrategy::AlwaysWasm, - }, - rpc_http: None, - rpc_ws: None, - rpc_ipc: None, - rpc_ws_max_connections: None, - rpc_cors: None, - rpc_methods: Default::default(), - rpc_max_payload: None, - prometheus_config: None, - telemetry_endpoints: None, - default_heap_pages: None, - offchain_worker: Default::default(), - force_authoring: false, - disable_grandpa: false, - dev_key_seed: Some(key_seed), - tracing_targets: None, - tracing_receiver: Default::default(), - max_runtime_instances: 8, - announce_block: true, - base_path: Some(base_path), - wasm_runtime_overrides: None, - informant_output_format, - ws_max_out_buffer_capacity: None, - keystore_remote: None, - keep_blocks: KeepBlocks::All, - state_pruning: Default::default(), - transaction_storage: TransactionStorageMode::BlockBody, - runtime_cache_size: 2, - } -} diff --git a/node/e2e-tests/test-service/src/builder.rs b/node/e2e-tests/test-service/src/builder.rs new file mode 100644 index 0000000000..a5df3c03d8 --- /dev/null +++ b/node/e2e-tests/test-service/src/builder.rs @@ -0,0 +1,321 @@ +// This file is part of Acala. + +// Copyright (C) 2020-2022 Acala Foundation. +// 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 super::*; + +/// A builder to create a [`TestNode`]. +pub struct TestNodeBuilder { + para_id: ParaId, + tokio_handle: tokio::runtime::Handle, + key: Sr25519Keyring, + collator_key: Option, + parachain_nodes: Vec, + parachain_nodes_exclusive: bool, + relay_chain_nodes: Vec, + wrap_announce_block: Option AnnounceBlockFn>>, + storage_update_func_parachain: Option>, + storage_update_func_relay_chain: Option>, + consensus: Consensus, + seal_mode: SealMode, +} + +impl TestNodeBuilder { + /// Create a new instance of `Self`. + /// + /// `para_id` - The parachain id this node is running for. + /// `tokio_handle` - The tokio handler to use. + /// `key` - The key that will be used to generate the name and that will be passed as + /// `dev_seed`. + pub fn new(para_id: ParaId, tokio_handle: tokio::runtime::Handle, key: Sr25519Keyring) -> Self { + TestNodeBuilder { + key, + para_id, + tokio_handle, + collator_key: None, + parachain_nodes: Vec::new(), + parachain_nodes_exclusive: false, + relay_chain_nodes: Vec::new(), + wrap_announce_block: None, + storage_update_func_parachain: None, + storage_update_func_relay_chain: None, + consensus: Consensus::Aura, + seal_mode: SealMode::ParaSeal, + } + } + + /// Enable collator for this node. + pub fn enable_collator(mut self) -> Self { + let collator_key = CollatorPair::generate().0; + self.collator_key = Some(collator_key); + self + } + + /// Instruct the node to exclusively connect to registered parachain nodes. + /// + /// Parachain nodes can be registered using [`Self::connect_to_parachain_node`] and + /// [`Self::connect_to_parachain_nodes`]. + pub fn exclusively_connect_to_registered_parachain_nodes(mut self) -> Self { + self.parachain_nodes_exclusive = true; + self + } + + /// Make the node connect to the given parachain node. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_parachain_node(mut self, node: &TestNode) -> Self { + self.parachain_nodes.push(node.addr.clone()); + self + } + + /// Make the node connect to the given parachain nodes. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_parachain_nodes<'a>(mut self, nodes: impl Iterator) -> Self { + self.parachain_nodes.extend(nodes.map(|n| n.addr.clone())); + self + } + + /// Make the node connect to the given relay chain node. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_relay_chain_node(mut self, node: &polkadot_test_service::PolkadotTestNode) -> Self { + self.relay_chain_nodes.push(node.addr.clone()); + self + } + + /// Make the node connect to the given relay chain nodes. + /// + /// By default the node will not be connected to any node or will be able to discover any other + /// node. + pub fn connect_to_relay_chain_nodes<'a>( + mut self, + nodes: impl IntoIterator, + ) -> Self { + self.relay_chain_nodes.extend(nodes.into_iter().map(|n| n.addr.clone())); + self + } + + /// Wrap the announce block function of this node. + pub fn wrap_announce_block(mut self, wrap: impl FnOnce(AnnounceBlockFn) -> AnnounceBlockFn + 'static) -> Self { + self.wrap_announce_block = Some(Box::new(wrap)); + self + } + + /// Allows accessing the parachain storage before the test node is built. + pub fn update_storage_parachain(mut self, updater: impl Fn() + 'static) -> Self { + self.storage_update_func_parachain = Some(Box::new(updater)); + self + } + + /// Allows accessing the relay chain storage before the test node is built. + pub fn update_storage_relay_chain(mut self, updater: impl Fn() + 'static) -> Self { + self.storage_update_func_relay_chain = Some(Box::new(updater)); + self + } + + /// Use the null consensus that will never author any block. + pub fn use_null_consensus(mut self) -> Self { + self.consensus = Consensus::Null; + self + } + + /// Use the relay-chain consensus. + pub fn use_relay_consensus(mut self) -> Self { + self.consensus = Consensus::RelayChain; + self + } + + /// Enable collator for this node. + pub fn with_seal_mode(mut self, seal_mode: SealMode) -> Self { + self.seal_mode = seal_mode; + self + } + + /// Build the [`TestNode`]. + pub async fn build(self) -> TestNode { + let parachain_config = node_config( + self.storage_update_func_parachain.unwrap_or_else(|| Box::new(|| ())), + self.tokio_handle.clone(), + self.key.clone(), + self.parachain_nodes, + self.parachain_nodes_exclusive, + self.collator_key.is_some(), + ) + .expect("could not generate Configuration"); + + // start relay-chain full node inside para-chain + let mut relay_chain_config = polkadot_test_service::node_config( + self.storage_update_func_relay_chain.unwrap_or_else(|| Box::new(|| ())), + self.tokio_handle, + self.key, + self.relay_chain_nodes, + false, + ); + + relay_chain_config.network.node_name = format!("{} (relay chain)", relay_chain_config.network.node_name); + + let multiaddr = parachain_config.network.listen_addresses[0].clone(); + let (task_manager, client, network, rpc_handlers, transaction_pool, backend, seal_sink) = match self.seal_mode { + SealMode::DevInstantSeal | SealMode::DevAuraSeal => { + log::info!("start as standalone dev node."); + start_dev_node(parachain_config, self.seal_mode) + .await + .expect("could not start dev node!") + } + SealMode::ParaSeal => { + log::info!("start as parachain node."); + start_node_impl( + parachain_config, + self.collator_key, + relay_chain_config, + self.para_id, + self.wrap_announce_block, + |_| Ok(Default::default()), + self.consensus, + self.seal_mode, + ) + .await + .expect("could not create collator!") + } + }; + + let peer_id = network.local_peer_id().clone(); + let addr = MultiaddrWithPeerId { multiaddr, peer_id }; + + TestNode { + task_manager, + client, + network, + addr, + rpc_handlers, + transaction_pool, + backend, + seal_sink, + } + } +} + +/// Create a Cumulus `Configuration`. +/// +/// By default an in-memory socket will be used, therefore you need to provide nodes if you want the +/// node to be connected to other nodes. If `nodes_exclusive` is `true`, the node will only connect +/// to the given `nodes` and not to any other node. The `storage_update_func` can be used to make +/// adjustments to the runtime genesis. +pub fn node_config( + storage_update_func: impl Fn(), + tokio_handle: tokio::runtime::Handle, + key: Sr25519Keyring, + nodes: Vec, + nodes_exlusive: bool, + is_collator: bool, +) -> Result { + let base_path = BasePath::new_temp_dir()?; + let root = base_path.path().to_path_buf(); + let role = if is_collator { Role::Authority } else { Role::Full }; + let key_seed = key.to_seed(); + let mut spec = Box::new(dev_testnet_config(None).unwrap()); + + let mut storage = spec + .as_storage_builder() + .build_storage() + .expect("could not build storage"); + + BasicExternalities::execute_with_storage(&mut storage, storage_update_func); + spec.set_storage(storage); + + let mut network_config = NetworkConfiguration::new( + format!("{} (parachain)", key_seed.to_string()), + "network/test/0.1", + Default::default(), + None, + ); + + if nodes_exlusive { + network_config.default_peers_set.reserved_nodes = nodes; + network_config.default_peers_set.non_reserved_mode = sc_network::config::NonReservedPeerMode::Deny; + } else { + network_config.boot_nodes = nodes; + } + + network_config.allow_non_globals_in_dht = true; + + network_config + .listen_addresses + .push(multiaddr::Protocol::Memory(rand::random()).into()); + + network_config.transport = TransportConfig::MemoryOnly; + + Ok(Configuration { + impl_name: "cumulus-test-node".to_string(), + impl_version: "0.1".to_string(), + role, + tokio_handle, + transaction_pool: Default::default(), + network: network_config, + keystore: KeystoreConfig::InMemory, + keystore_remote: Default::default(), + database: DatabaseSource::RocksDb { + path: root.join("db"), + cache_size: 128, + }, + state_cache_size: 67108864, + state_cache_child_ratio: None, + state_pruning: PruningMode::ArchiveAll, + keep_blocks: KeepBlocks::All, + transaction_storage: TransactionStorageMode::BlockBody, + chain_spec: spec, + wasm_method: WasmExecutionMethod::Interpreted, + // NOTE: we enforce the use of the native runtime to make the errors more debuggable + execution_strategies: ExecutionStrategies { + syncing: sc_client_api::ExecutionStrategy::NativeWhenPossible, + importing: sc_client_api::ExecutionStrategy::NativeWhenPossible, + block_construction: sc_client_api::ExecutionStrategy::NativeWhenPossible, + offchain_worker: sc_client_api::ExecutionStrategy::NativeWhenPossible, + other: sc_client_api::ExecutionStrategy::NativeWhenPossible, + }, + rpc_http: None, + rpc_ws: None, + rpc_ipc: None, + rpc_ws_max_connections: None, + rpc_cors: None, + rpc_methods: Default::default(), + rpc_max_payload: None, + ws_max_out_buffer_capacity: None, + prometheus_config: None, + telemetry_endpoints: None, + default_heap_pages: None, + offchain_worker: OffchainWorkerConfig { + enabled: true, + indexing_enabled: false, + }, + force_authoring: false, + disable_grandpa: false, + dev_key_seed: Some(key_seed), + tracing_targets: None, + tracing_receiver: Default::default(), + max_runtime_instances: 8, + announce_block: true, + base_path: Some(base_path), + informant_output_format: Default::default(), + wasm_runtime_overrides: None, + runtime_cache_size: 2, + }) +} diff --git a/node/e2e-tests/test-service/src/genesis.rs b/node/e2e-tests/test-service/src/genesis.rs deleted file mode 100644 index 7a6d530027..0000000000 --- a/node/e2e-tests/test-service/src/genesis.rs +++ /dev/null @@ -1,32 +0,0 @@ -// This file is part of Acala. - -// Copyright (C) 2020-2022 Acala Foundation. -// 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 codec::Encode; -use cumulus_client_service::genesis::generate_genesis_block; -use node_runtime::Block; -use node_service::chain_spec::mandala::dev_testnet_config; -use polkadot_primitives::v0::HeadData; -use sp_runtime::traits::Block as BlockT; - -/// Returns the initial head data for a parachain ID. -pub fn initial_head_data() -> HeadData { - let spec = Box::new(dev_testnet_config(None).unwrap()); - let block: Block = generate_genesis_block(&(spec as Box<_>), sp_runtime::StateVersion::V1).unwrap(); - let genesis_state = block.header().encode(); - genesis_state.into() -} diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index 27f79c3493..a5fa12e66a 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -17,33 +17,36 @@ // along with this program. If not, see . //! Crate used for testing with acala. -mod genesis; +mod builder; +mod node; +mod service; use futures::channel::{mpsc, oneshot}; -use std::{future::Future, time::Duration}; +use std::{future::Future, sync::Arc, time::Duration}; +use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use cumulus_client_consensus_common::{ParachainCandidate, ParachainConsensus}; use cumulus_client_network::BlockAnnounceValidator; use cumulus_client_service::{ - prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams, + genesis::generate_genesis_block, prepare_node_config, start_collator, start_full_node, StartCollatorParams, + StartFullNodeParams, }; use cumulus_primitives_core::ParaId; use cumulus_relay_chain_local::RelayChainLocal; -use node_runtime::{Block, BlockId, Hash, Header, Runtime, RuntimeApi, SignedExtra}; -use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion}; use frame_system_rpc_runtime_api::AccountNonceApi; -use futures::channel::mpsc::Sender; -use futures::SinkExt; +use futures::{channel::mpsc::Sender, SinkExt}; use parking_lot::Mutex; +use polkadot_primitives::v0::HeadData; use polkadot_primitives::v1::{CollatorPair, Hash as PHash, PersistedValidationData}; use polkadot_service::ProvideRuntimeApi; -use sc_client_api::execution_extensions::ExecutionStrategies; -use sc_client_api::{Backend, CallExecutor, ExecutorProvider}; +use sc_client_api::{execution_extensions::ExecutionStrategies, Backend, CallExecutor, ExecutorProvider}; use sc_consensus::LongestChain; use sc_consensus_aura::{ImportQueueParams, StartAuraParams}; -use sc_consensus_manual_seal::rpc::{ManualSeal, ManualSealApi}; -use sc_consensus_manual_seal::EngineCommand; +use sc_consensus_manual_seal::{ + rpc::{ManualSeal, ManualSealApi}, + EngineCommand, +}; use sc_executor::NativeElseWasmExecutor; use sc_network::{config::TransportConfig, multiaddr, NetworkService}; use sc_service::{ @@ -55,6 +58,7 @@ use sc_service::{ TFullCallExecutor, TFullClient, TaskManager, }; use sc_transaction_pool_api::TransactionPool; +use sp_api::{OverlayedChanges, StorageTransactionCache}; use sp_arithmetic::traits::SaturatedConversion; use sp_blockchain::HeaderBackend; use sp_core::{ExecutionContext, Pair, H256}; @@ -62,26 +66,25 @@ use sp_keyring::Sr25519Keyring; use sp_runtime::{ codec::Encode, generic, - traits::{BlakeTwo256, Extrinsic}, + generic::Era, + traits::{BlakeTwo256, Block as BlockT, Extrinsic, IdentifyAccount}, + transaction_validity::TransactionSource, MultiAddress, }; -use sp_state_machine::BasicExternalities; +use sp_state_machine::{BasicExternalities, Ext}; use sp_trie::PrefixedMemoryDB; -use std::sync::Arc; -use substrate_test_client::{BlockchainEventsExt, RpcHandlersExt, RpcTransactionError, RpcTransactionOutput}; +use substrate_test_client::{ + sp_consensus::SlotData, BlockchainEventsExt, RpcHandlersExt, RpcTransactionError, RpcTransactionOutput, +}; -pub use genesis::*; -use node_primitives::signature::AcalaMultiSignature; -use node_primitives::{AccountId, Address, Balance, Signature}; -pub use node_runtime as runtime; +use node_primitives::{signature::AcalaMultiSignature, AccountId, Address, Balance, Signature}; +use node_runtime::{Block, BlockId, Hash, Header, Runtime, RuntimeApi, SignedExtra}; use node_service::chain_spec::mandala::dev_testnet_config; -use sp_api::{OverlayedChanges, StorageTransactionCache}; -pub use sp_keyring::Sr25519Keyring as Keyring; -use sp_runtime::generic::Era; -use sp_runtime::traits::IdentifyAccount; -use sp_runtime::transaction_validity::TransactionSource; -use sp_state_machine::Ext; -use substrate_test_client::sp_consensus::SlotData; + +pub use builder::TestNodeBuilder; +pub use node::TestNode; +pub use node_runtime as runtime; +pub use service::{new_partial, start_dev_node, start_node_impl}; /// A consensus that will never produce any block. #[derive(Clone)] @@ -126,588 +129,7 @@ pub type TxPool = Arc>; /// Maybe Mandala Dev full select chain. type MaybeFullSelectChain = Option, Block>>; -/// Starts a `ServiceBuilder` for a full service. -/// -/// Use this macro if you don't actually need the full service, but just the builder in order to -/// be able to perform chain operations. -pub fn new_partial( - config: &Configuration, - seal_mode: SealMode, -) -> Result< - PartialComponents< - Client, - TFullBackend, - MaybeFullSelectChain, - sc_consensus::import_queue::BasicQueue>, - sc_transaction_pool::FullPool, - (), - >, - sc_service::Error, -> { - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, - ); - - let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::(&config, None, executor)?; - let client = Arc::new(client); - - let registry = config.prometheus_registry(); - - let transaction_pool = sc_transaction_pool::BasicPool::new_full( - config.transaction_pool.clone(), - config.role.is_authority().into(), - config.prometheus_registry(), - task_manager.spawn_essential_handle(), - client.clone(), - ); - - let (import_queue, select_chain) = match seal_mode { - SealMode::DevInstantSeal => { - // instance sealing - ( - sc_consensus_manual_seal::import_queue( - Box::new(client.clone()), - &task_manager.spawn_essential_handle(), - registry, - ), - Some(LongestChain::new(backend.clone())), - ) - } - SealMode::DevAuraSeal => { - // aura import queue - let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); - - ( - sc_consensus_aura::import_queue::( - ImportQueueParams { - block_import: client.clone(), - justification_import: None, - client: client.clone(), - create_inherent_data_providers: move |_, ()| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - *timestamp, - slot_duration, - ); - - Ok(( - timestamp, - slot, - node_service::default_mock_parachain_inherent_data_provider(), - )) - }, - spawner: &task_manager.spawn_essential_handle(), - registry, - can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), - check_for_equivocation: Default::default(), - telemetry: None, - }, - )?, - None, - ) - } - SealMode::ParaSeal => { - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - let create_inherent_data_providers = Box::new(move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - *timestamp, - slot_duration.slot_duration(), - ); - - Ok((timestamp, slot)) - }); - - ( - cumulus_client_consensus_aura::import_queue::< - sp_consensus_aura::sr25519::AuthorityPair, - _, - _, - _, - _, - _, - _, - >(cumulus_client_consensus_aura::ImportQueueParams { - block_import: client.clone(), - client: client.clone(), - create_inherent_data_providers, - registry, - can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), - spawner: &task_manager.spawn_essential_handle(), - telemetry: None, - })?, - None, - ) - } - }; - - let params = PartialComponents { - backend, - client, - import_queue, - keystore_container, - task_manager, - transaction_pool, - select_chain, - other: (), - }; - - Ok(params) -} - -async fn start_dev_node( - config: Configuration, - seal_mode: SealMode, -) -> sc_service::error::Result<( - TaskManager, - Arc, - Arc>, - RpcHandlers, - TxPool, - Arc>, - Sender>, -)> { - let sc_service::PartialComponents { - client, - backend, - mut task_manager, - import_queue, - keystore_container, - select_chain: maybe_select_chain, - transaction_pool, - other: (), - } = new_partial(&config, SealMode::DevInstantSeal)?; - - let (network, system_rpc_tx, network_starter) = sc_service::build_network(sc_service::BuildNetworkParams { - config: &config, - client: client.clone(), - transaction_pool: transaction_pool.clone(), - spawn_handle: task_manager.spawn_handle(), - import_queue, - block_announce_validator_builder: None, - warp_sync: None, - })?; - - // offchain workers - sc_service::build_offchain_workers(&config, task_manager.spawn_handle(), client.clone(), network.clone()); - - let force_authoring = config.force_authoring; - let backoff_authoring_blocks: Option<()> = None; - let select_chain = - maybe_select_chain.expect("In mandala dev mode, `new_partial` will return some `select_chain`; qed"); - - let proposer_factory = sc_basic_authorship::ProposerFactory::new( - task_manager.spawn_handle(), - client.clone(), - transaction_pool.clone(), - config.prometheus_registry(), - None, - ); - // Channel for the rpc handler to communicate with the authorship task. - let (command_sink, commands_stream) = mpsc::channel(10); - let rpc_sink = command_sink.clone(); - - match seal_mode { - SealMode::DevInstantSeal => { - let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); - let create_inherent_data_providers = Box::new(move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - *timestamp, - slot_duration, - ); - - Ok((timestamp, slot)) - // Ok(timestamp) - }); - let authorship_future = - sc_consensus_manual_seal::run_manual_seal(sc_consensus_manual_seal::ManualSealParams { - block_import: client.clone(), - env: proposer_factory, - client: client.clone(), - pool: transaction_pool.clone(), - commands_stream, - select_chain, - consensus_data_provider: None, - create_inherent_data_providers, - }); - // we spawn the future on a background thread managed by service. - task_manager.spawn_essential_handle().spawn_blocking( - "instant-seal", - Some("block-authoring"), - authorship_future, - ); - } - SealMode::DevAuraSeal => { - // aura - let can_author_with = sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()); - let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); - let aura = sc_consensus_aura::start_aura::< - sp_consensus_aura::sr25519::AuthorityPair, - _, - _, - _, - _, - _, - _, - _, - _, - _, - _, - _, - >(StartAuraParams { - slot_duration: sc_consensus_aura::slot_duration(&*client)?, - client: client.clone(), - select_chain, - // block_import: instant_finalize::InstantFinalizeBlockImport::new(client.clone()), - block_import: client.clone(), - proposer_factory, - create_inherent_data_providers: move |_, ()| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - *timestamp, - slot_duration, - ); - - Ok(( - timestamp, - slot, - node_service::default_mock_parachain_inherent_data_provider(), - )) - }, - force_authoring, - backoff_authoring_blocks, - keystore: keystore_container.sync_keystore(), - can_author_with, - sync_oracle: network.clone(), - justification_sync_link: network.clone(), - // We got around 500ms for proposing - block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), - // And a maximum of 750ms if slots are skipped - max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), - telemetry: None, - })?; - - // the AURA authoring task is considered essential, i.e. if it - // fails we take down the service with it. - task_manager - .spawn_essential_handle() - .spawn_blocking("aura", Some("block-authoring"), aura); - } - _ => { - panic!("dev mode do not support parachain consensus") - } - } - - let rpc_handlers = sc_service::spawn_tasks(SpawnTasksParams { - config, - client: client.clone(), - backend: backend.clone(), - task_manager: &mut task_manager, - keystore: keystore_container.sync_keystore(), - transaction_pool: transaction_pool.clone(), - rpc_extensions_builder: Box::new(move |_, _| { - let mut io = jsonrpc_core::IoHandler::default(); - io.extend_with(ManualSealApi::to_delegate(ManualSeal::new(rpc_sink.clone()))); - Ok(io) - }), - network: network.clone(), - system_rpc_tx, - telemetry: None, - })?; - - network_starter.start_network(); - - Ok(( - task_manager, - client, - network, - rpc_handlers, - transaction_pool, - backend, - command_sink, - )) -} - -/// Start a node with the given parachain `Configuration` and relay chain `Configuration`. -/// -/// This is the actual implementation that is abstract over the executor and the runtime api. -#[sc_tracing::logging::prefix_logs_with(parachain_config.network.node_name.as_str())] -async fn start_node_impl( - parachain_config: Configuration, - collator_key: Option, - relay_chain_config: Configuration, - para_id: ParaId, - wrap_announce_block: Option AnnounceBlockFn>>, - rpc_ext_builder: RB, - consensus: Consensus, - seal_mode: SealMode, -) -> sc_service::error::Result<( - TaskManager, - Arc, - Arc>, - RpcHandlers, - TxPool, - Arc>, - Sender>, -)> -where - RB: Fn(Arc) -> Result, sc_service::Error> + Send + 'static, -{ - if matches!(parachain_config.role, Role::Light) { - return Err("Light client not supported!".into()); - } - - let parachain_config = prepare_node_config(parachain_config); - - let params = new_partial(¶chain_config, seal_mode.clone())?; - let keystore = params.keystore_container.sync_keystore(); - let force_authoring = parachain_config.force_authoring; - - let transaction_pool = params.transaction_pool.clone(); - let mut task_manager = params.task_manager; - - let relay_chain_full_node = polkadot_test_service::new_full( - relay_chain_config, - if let Some(ref key) = collator_key { - polkadot_service::IsCollator::Yes(key.clone()) - } else { - polkadot_service::IsCollator::Yes(CollatorPair::generate().0) - }, - None, - ) - .map_err(|e| match e { - polkadot_service::Error::Sub(x) => x, - s => s.to_string().into(), - })?; - - let client = params.client.clone(); - let backend = params.backend.clone(); - let backend_for_node = backend.clone(); - - let relay_chain_interface = Arc::new(RelayChainLocal::new( - relay_chain_full_node.client.clone(), - relay_chain_full_node.backend.clone(), - Arc::new(Mutex::new(Box::new(relay_chain_full_node.network.clone()))), - relay_chain_full_node.overseer_handle.clone(), - )); - task_manager.add_child(relay_chain_full_node.task_manager); - - let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), para_id); - let block_announce_validator_builder = move |_| Box::new(block_announce_validator) as Box<_>; - - let prometheus_registry = parachain_config.prometheus_registry().cloned(); - - let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue); - let (network, system_rpc_tx, start_network) = sc_service::build_network(sc_service::BuildNetworkParams { - config: ¶chain_config, - client: client.clone(), - transaction_pool: transaction_pool.clone(), - spawn_handle: task_manager.spawn_handle(), - import_queue: import_queue.clone(), - block_announce_validator_builder: Some(Box::new(block_announce_validator_builder)), - warp_sync: None, - })?; - - let rpc_extensions_builder = { - let client = client.clone(); - - Box::new(move |_, _| rpc_ext_builder(client.clone())) - }; - - let rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams { - rpc_extensions_builder, - client: client.clone(), - transaction_pool: transaction_pool.clone(), - task_manager: &mut task_manager, - config: parachain_config, - keystore: params.keystore_container.sync_keystore(), - backend, - network: network.clone(), - system_rpc_tx, - telemetry: None, - })?; - - let announce_block = { - let network = network.clone(); - Arc::new(move |hash, data| network.announce_block(hash, data)) - }; - - let announce_block = wrap_announce_block - .map(|w| (w)(announce_block.clone())) - .unwrap_or_else(|| announce_block); - - let relay_chain_interface_for_closure = relay_chain_interface.clone(); - - if let Some(collator_key) = collator_key { - let parachain_consensus: Box> = match consensus { - Consensus::RelayChain => { - let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), - client.clone(), - transaction_pool.clone(), - prometheus_registry.as_ref(), - None, - ); - let relay_chain_interface2 = relay_chain_interface_for_closure.clone(); - Box::new(cumulus_client_consensus_relay_chain::RelayChainConsensus::new( - para_id, - proposer_factory, - move |_, (relay_parent, validation_data)| { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface_for_closure, - &validation_data, - para_id, - ); - - async move { - let time = sp_timestamp::InherentDataProvider::from_system_time(); - - let parachain_inherent = parachain_inherent.ok_or_else(|| { - Box::::from(String::from("error")) - })?; - Ok((time, parachain_inherent)) - } - }, - client.clone(), - relay_chain_interface2, - )) - } - Consensus::Null => Box::new(NullConsensus), - Consensus::Aura => { - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - - let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), - client.clone(), - transaction_pool.clone(), - prometheus_registry.as_ref(), - None, - ); - - AuraConsensus::build::( - BuildAuraConsensusParams { - proposer_factory, - create_inherent_data_providers: move |_, (relay_parent, validation_data)| { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface_for_closure, - &validation_data, - para_id, - ); - async move { - let time = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = - sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( - *time, - slot_duration.slot_duration(), - ); - - let parachain_inherent = parachain_inherent.ok_or_else(|| { - Box::::from( - "Failed to create parachain inherent", - ) - })?; - Ok((time, slot, parachain_inherent)) - } - }, - block_import: client.clone(), - para_client: client.clone(), - backoff_authoring_blocks: Option::<()>::None, - sync_oracle: network.clone(), - keystore, - force_authoring, - slot_duration, - // We got around 500ms for proposing - block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), - // And a maximum of 750ms if slots are skipped - max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), - telemetry: None, - }, - ) - } - }; - - let params = StartCollatorParams { - block_status: client.clone(), - announce_block, - client: client.clone(), - spawner: task_manager.spawn_handle(), - task_manager: &mut task_manager, - para_id, - parachain_consensus, - relay_chain_interface, - collator_key, - import_queue, - relay_chain_slot_duration: Duration::from_secs(6), - }; - - start_collator(params).await?; - } else { - let params = StartFullNodeParams { - client: client.clone(), - announce_block, - task_manager: &mut task_manager, - para_id, - relay_chain_interface, - import_queue, - // The slot duration is currently used internally only to configure - // the recovery delay of pov-recovery. We don't want to wait for too - // long on the full node to recover, so we reduce this time here. - relay_chain_slot_duration: Duration::from_millis(6), - }; - - start_full_node(params)?; - } - - start_network.start_network(); - let (command_sink, _) = mpsc::channel(1); - - Ok(( - task_manager, - client, - network, - rpc_handlers, - transaction_pool, - backend_for_node, - command_sink, - )) -} - -/// A Cumulus test node instance used for testing. -pub struct TestNode { - /// TaskManager's instance. - pub task_manager: TaskManager, - /// Client's instance. - pub client: Arc, - /// Node's network. - pub network: Arc>, - /// The `MultiaddrWithPeerId` to this node. This is useful if you want to pass it as "boot node" - /// to other nodes. - pub addr: MultiaddrWithPeerId, - /// RPCHandlers to make RPC queries. - pub rpc_handlers: RpcHandlers, - /// Node's transaction pool - pub transaction_pool: TxPool, - /// Nodes' backend - pub backend: Arc>, - /// manual instant seal sink command - pub seal_sink: Sender>, -} - -enum Consensus { +pub enum Consensus { /// Use the relay-chain provided consensus. RelayChain, /// Use the null consensus that will never produce any block. @@ -726,424 +148,6 @@ pub enum SealMode { ParaSeal, } -/// A builder to create a [`TestNode`]. -pub struct TestNodeBuilder { - para_id: ParaId, - tokio_handle: tokio::runtime::Handle, - key: Sr25519Keyring, - collator_key: Option, - parachain_nodes: Vec, - parachain_nodes_exclusive: bool, - relay_chain_nodes: Vec, - wrap_announce_block: Option AnnounceBlockFn>>, - storage_update_func_parachain: Option>, - storage_update_func_relay_chain: Option>, - consensus: Consensus, - seal_mode: SealMode, -} - -impl TestNodeBuilder { - /// Create a new instance of `Self`. - /// - /// `para_id` - The parachain id this node is running for. - /// `tokio_handle` - The tokio handler to use. - /// `key` - The key that will be used to generate the name and that will be passed as - /// `dev_seed`. - pub fn new(para_id: ParaId, tokio_handle: tokio::runtime::Handle, key: Sr25519Keyring) -> Self { - TestNodeBuilder { - key, - para_id, - tokio_handle, - collator_key: None, - parachain_nodes: Vec::new(), - parachain_nodes_exclusive: false, - relay_chain_nodes: Vec::new(), - wrap_announce_block: None, - storage_update_func_parachain: None, - storage_update_func_relay_chain: None, - consensus: Consensus::Aura, - seal_mode: SealMode::ParaSeal, - } - } - - /// Enable collator for this node. - pub fn enable_collator(mut self) -> Self { - let collator_key = CollatorPair::generate().0; - self.collator_key = Some(collator_key); - self - } - - /// Instruct the node to exclusively connect to registered parachain nodes. - /// - /// Parachain nodes can be registered using [`Self::connect_to_parachain_node`] and - /// [`Self::connect_to_parachain_nodes`]. - pub fn exclusively_connect_to_registered_parachain_nodes(mut self) -> Self { - self.parachain_nodes_exclusive = true; - self - } - - /// Make the node connect to the given parachain node. - /// - /// By default the node will not be connected to any node or will be able to discover any other - /// node. - pub fn connect_to_parachain_node(mut self, node: &TestNode) -> Self { - self.parachain_nodes.push(node.addr.clone()); - self - } - - /// Make the node connect to the given parachain nodes. - /// - /// By default the node will not be connected to any node or will be able to discover any other - /// node. - pub fn connect_to_parachain_nodes<'a>(mut self, nodes: impl Iterator) -> Self { - self.parachain_nodes.extend(nodes.map(|n| n.addr.clone())); - self - } - - /// Make the node connect to the given relay chain node. - /// - /// By default the node will not be connected to any node or will be able to discover any other - /// node. - pub fn connect_to_relay_chain_node(mut self, node: &polkadot_test_service::PolkadotTestNode) -> Self { - self.relay_chain_nodes.push(node.addr.clone()); - self - } - - /// Make the node connect to the given relay chain nodes. - /// - /// By default the node will not be connected to any node or will be able to discover any other - /// node. - pub fn connect_to_relay_chain_nodes<'a>( - mut self, - nodes: impl IntoIterator, - ) -> Self { - self.relay_chain_nodes.extend(nodes.into_iter().map(|n| n.addr.clone())); - self - } - - /// Wrap the announce block function of this node. - pub fn wrap_announce_block(mut self, wrap: impl FnOnce(AnnounceBlockFn) -> AnnounceBlockFn + 'static) -> Self { - self.wrap_announce_block = Some(Box::new(wrap)); - self - } - - /// Allows accessing the parachain storage before the test node is built. - pub fn update_storage_parachain(mut self, updater: impl Fn() + 'static) -> Self { - self.storage_update_func_parachain = Some(Box::new(updater)); - self - } - - /// Allows accessing the relay chain storage before the test node is built. - pub fn update_storage_relay_chain(mut self, updater: impl Fn() + 'static) -> Self { - self.storage_update_func_relay_chain = Some(Box::new(updater)); - self - } - - /// Use the null consensus that will never author any block. - pub fn use_null_consensus(mut self) -> Self { - self.consensus = Consensus::Null; - self - } - - /// Use the relay-chain consensus. - pub fn use_relay_consensus(mut self) -> Self { - self.consensus = Consensus::RelayChain; - self - } - - /// Enable collator for this node. - pub fn with_seal_mode(mut self, seal_mode: SealMode) -> Self { - self.seal_mode = seal_mode; - self - } - - /// Build the [`TestNode`]. - pub async fn build(self) -> TestNode { - let parachain_config = node_config( - self.storage_update_func_parachain.unwrap_or_else(|| Box::new(|| ())), - self.tokio_handle.clone(), - self.key.clone(), - self.parachain_nodes, - self.parachain_nodes_exclusive, - self.collator_key.is_some(), - ) - .expect("could not generate Configuration"); - - // start relay-chain full node inside para-chain - let mut relay_chain_config = polkadot_test_service::node_config( - self.storage_update_func_relay_chain.unwrap_or_else(|| Box::new(|| ())), - self.tokio_handle, - self.key, - self.relay_chain_nodes, - false, - ); - - relay_chain_config.network.node_name = format!("{} (relay chain)", relay_chain_config.network.node_name); - - let multiaddr = parachain_config.network.listen_addresses[0].clone(); - let (task_manager, client, network, rpc_handlers, transaction_pool, backend, seal_sink) = match self.seal_mode { - SealMode::DevInstantSeal | SealMode::DevAuraSeal => { - log::info!("start as standalone dev node."); - start_dev_node(parachain_config, self.seal_mode) - .await - .expect("could not start dev node!") - } - SealMode::ParaSeal => { - log::info!("start as parachain node."); - start_node_impl( - parachain_config, - self.collator_key, - relay_chain_config, - self.para_id, - self.wrap_announce_block, - |_| Ok(Default::default()), - self.consensus, - self.seal_mode, - ) - .await - .expect("could not create collator!") - } - }; - - let peer_id = network.local_peer_id().clone(); - let addr = MultiaddrWithPeerId { multiaddr, peer_id }; - - TestNode { - task_manager, - client, - network, - addr, - rpc_handlers, - transaction_pool, - backend, - seal_sink, - } - } -} - -/// Create a Cumulus `Configuration`. -/// -/// By default an in-memory socket will be used, therefore you need to provide nodes if you want the -/// node to be connected to other nodes. If `nodes_exclusive` is `true`, the node will only connect -/// to the given `nodes` and not to any other node. The `storage_update_func` can be used to make -/// adjustments to the runtime genesis. -pub fn node_config( - storage_update_func: impl Fn(), - tokio_handle: tokio::runtime::Handle, - key: Sr25519Keyring, - nodes: Vec, - nodes_exlusive: bool, - is_collator: bool, -) -> Result { - let base_path = BasePath::new_temp_dir()?; - let root = base_path.path().to_path_buf(); - let role = if is_collator { Role::Authority } else { Role::Full }; - let key_seed = key.to_seed(); - let mut spec = Box::new(dev_testnet_config(None).unwrap()); - - let mut storage = spec - .as_storage_builder() - .build_storage() - .expect("could not build storage"); - - BasicExternalities::execute_with_storage(&mut storage, storage_update_func); - spec.set_storage(storage); - - let mut network_config = NetworkConfiguration::new( - format!("{} (parachain)", key_seed.to_string()), - "network/test/0.1", - Default::default(), - None, - ); - - if nodes_exlusive { - network_config.default_peers_set.reserved_nodes = nodes; - network_config.default_peers_set.non_reserved_mode = sc_network::config::NonReservedPeerMode::Deny; - } else { - network_config.boot_nodes = nodes; - } - - network_config.allow_non_globals_in_dht = true; - - network_config - .listen_addresses - .push(multiaddr::Protocol::Memory(rand::random()).into()); - - network_config.transport = TransportConfig::MemoryOnly; - - Ok(Configuration { - impl_name: "cumulus-test-node".to_string(), - impl_version: "0.1".to_string(), - role, - tokio_handle, - transaction_pool: Default::default(), - network: network_config, - keystore: KeystoreConfig::InMemory, - keystore_remote: Default::default(), - database: DatabaseSource::RocksDb { - path: root.join("db"), - cache_size: 128, - }, - state_cache_size: 67108864, - state_cache_child_ratio: None, - state_pruning: PruningMode::ArchiveAll, - keep_blocks: KeepBlocks::All, - transaction_storage: TransactionStorageMode::BlockBody, - chain_spec: spec, - wasm_method: WasmExecutionMethod::Interpreted, - // NOTE: we enforce the use of the native runtime to make the errors more debuggable - execution_strategies: ExecutionStrategies { - syncing: sc_client_api::ExecutionStrategy::NativeWhenPossible, - importing: sc_client_api::ExecutionStrategy::NativeWhenPossible, - block_construction: sc_client_api::ExecutionStrategy::NativeWhenPossible, - offchain_worker: sc_client_api::ExecutionStrategy::NativeWhenPossible, - other: sc_client_api::ExecutionStrategy::NativeWhenPossible, - }, - rpc_http: None, - rpc_ws: None, - rpc_ipc: None, - rpc_ws_max_connections: None, - rpc_cors: None, - rpc_methods: Default::default(), - rpc_max_payload: None, - ws_max_out_buffer_capacity: None, - prometheus_config: None, - telemetry_endpoints: None, - default_heap_pages: None, - offchain_worker: OffchainWorkerConfig { - enabled: true, - indexing_enabled: false, - }, - force_authoring: false, - disable_grandpa: false, - dev_key_seed: Some(key_seed), - tracing_targets: None, - tracing_receiver: Default::default(), - max_runtime_instances: 8, - announce_block: true, - base_path: Some(base_path), - informant_output_format: Default::default(), - wasm_runtime_overrides: None, - runtime_cache_size: 2, - }) -} - -impl TestNode { - /// Wait for `count` blocks to be imported in the node and then exit. This function will not - /// return if no blocks are ever created, thus you should restrict the maximum amount of time of - /// the test execution. - pub fn wait_for_blocks(&self, count: usize) -> impl Future { - self.client.wait_for_blocks(count) - } - - /// Instructs manual seal to seal new, possibly empty blocks. - pub async fn seal_blocks(&self, num: usize) { - let mut sink = self.seal_sink.clone(); - - for count in 0..num { - let (sender, future_block) = oneshot::channel(); - let future = sink.send(EngineCommand::SealNewBlock { - create_empty: true, - finalize: false, - parent_hash: None, - sender: Some(sender), - }); - - const ERROR: &'static str = "manual-seal authorship task is shutting down"; - future.await.expect(ERROR); - - match future_block.await.expect(ERROR) { - Ok(block) => { - log::info!("sealed {} (hash: {}) of {} blocks", count + 1, block.hash, num) - } - Err(err) => { - log::error!("failed to seal block {} of {}, error: {:?}", count + 1, num, err) - } - } - } - } - - /// Submit an extrinsic to transaction pool. - pub async fn submit_extrinsic( - &self, - function: impl Into, - caller: Option, - ) -> Result { - let extrinsic = match caller { - Some(caller) => construct_extrinsic(&*self.client, function, caller.pair(), Some(0)), - None => runtime::UncheckedExtrinsic::new(function.into(), None).unwrap(), - }; - let at = self.client.info().best_hash; - - self.transaction_pool - .submit_one(&BlockId::Hash(at), TransactionSource::Local, extrinsic.into()) - .await - } - - /// Executes closure in an externalities provided environment. - pub fn with_state(&self, closure: impl FnOnce() -> R) -> R - where - > as CallExecutor>::Error: - std::fmt::Debug, - { - let id = BlockId::Hash(self.client.info().best_hash); - let mut overlay = OverlayedChanges::default(); - let mut cache = StorageTransactionCache:: as Backend>::State>::default(); - let mut extensions = self - .client - .execution_extensions() - .extensions(&id, ExecutionContext::BlockConstruction); - let state_backend = self - .backend - .state_at(id.clone()) - .expect(&format!("State at block {} not found", id)); - - let mut ext = Ext::new(&mut overlay, &mut cache, &state_backend, Some(&mut extensions)); - sp_externalities::set_and_run_with_externalities(&mut ext, closure) - } - - /// Send an extrinsic to this node. - pub async fn send_extrinsic( - &self, - function: impl Into, - caller: Sr25519Keyring, - ) -> Result { - let extrinsic = construct_extrinsic(&*self.client, function, caller.pair(), Some(0)); - - self.rpc_handlers.send_transaction(extrinsic.0.into()).await - } - - /// Register a parachain at this relay chain. - pub async fn schedule_upgrade(&self, validation: Vec) -> Result<(), RpcTransactionError> { - let call = frame_system::Call::set_code { code: validation }; - - self.send_extrinsic( - pallet_sudo::Call::sudo_unchecked_weight { - call: Box::new(call.into()), - weight: 1_000, - }, - Sr25519Keyring::Alice, - ) - .await - .map(drop) - } - - /// Transfer some token from one account to another using a provided test [`Client`]. - pub async fn transfer( - &self, - origin: sp_keyring::AccountKeyring, - dest: sp_keyring::AccountKeyring, - value: Balance, - ) -> Result<(), RpcTransactionError> { - let function = node_runtime::Call::Balances(pallet_balances::Call::transfer_keep_alive { - dest: MultiAddress::Id(dest.public().into_account().into()), - value, - }); - - self.send_extrinsic(function, origin).await.map(drop) - } -} - /// Fetch account nonce for key pair pub fn fetch_nonce(client: &Client, account: sp_core::sr25519::Public) -> u32 { let best_hash = client.chain_info().best_hash; @@ -1220,3 +224,11 @@ pub fn run_relay_chain_validator_node( Some(cumulus_test_relay_validation_worker_provider::VALIDATION_WORKER.into()), ) } + +/// Returns the initial head data for a parachain ID. +pub fn initial_head_data() -> HeadData { + let spec = Box::new(dev_testnet_config(None).unwrap()); + let block: Block = generate_genesis_block(&(spec as Box<_>), sp_runtime::StateVersion::V1).unwrap(); + let genesis_state = block.header().encode(); + genesis_state.into() +} diff --git a/node/e2e-tests/test-service/src/node.rs b/node/e2e-tests/test-service/src/node.rs new file mode 100644 index 0000000000..b6c560c513 --- /dev/null +++ b/node/e2e-tests/test-service/src/node.rs @@ -0,0 +1,155 @@ +// This file is part of Acala. + +// Copyright (C) 2020-2022 Acala Foundation. +// 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 super::*; + +/// A Cumulus test node instance used for testing. +pub struct TestNode { + /// TaskManager's instance. + pub task_manager: TaskManager, + /// Client's instance. + pub client: Arc, + /// Node's network. + pub network: Arc>, + /// The `MultiaddrWithPeerId` to this node. This is useful if you want to pass it as "boot node" + /// to other nodes. + pub addr: MultiaddrWithPeerId, + /// RPCHandlers to make RPC queries. + pub rpc_handlers: RpcHandlers, + /// Node's transaction pool + pub transaction_pool: TxPool, + /// Nodes' backend + pub backend: Arc>, + /// manual instant seal sink command + pub seal_sink: Sender>, +} + +impl TestNode { + /// Wait for `count` blocks to be imported in the node and then exit. This function will not + /// return if no blocks are ever created, thus you should restrict the maximum amount of time of + /// the test execution. + pub fn wait_for_blocks(&self, count: usize) -> impl Future { + self.client.wait_for_blocks(count) + } + + /// Instructs manual seal to seal new, possibly empty blocks. + pub async fn seal_blocks(&self, num: usize) { + let mut sink = self.seal_sink.clone(); + + for count in 0..num { + let (sender, future_block) = oneshot::channel(); + let future = sink.send(EngineCommand::SealNewBlock { + create_empty: true, + finalize: false, + parent_hash: None, + sender: Some(sender), + }); + + const ERROR: &'static str = "manual-seal authorship task is shutting down"; + future.await.expect(ERROR); + + match future_block.await.expect(ERROR) { + Ok(block) => { + log::info!("sealed {} (hash: {}) of {} blocks", count + 1, block.hash, num) + } + Err(err) => { + log::error!("failed to seal block {} of {}, error: {:?}", count + 1, num, err) + } + } + } + } + + /// Submit an extrinsic to transaction pool. + pub async fn submit_extrinsic( + &self, + function: impl Into, + caller: Option, + ) -> Result { + let extrinsic = match caller { + Some(caller) => construct_extrinsic(&*self.client, function, caller.pair(), Some(0)), + None => runtime::UncheckedExtrinsic::new(function.into(), None).unwrap(), + }; + let at = self.client.info().best_hash; + + self.transaction_pool + .submit_one(&BlockId::Hash(at), TransactionSource::Local, extrinsic.into()) + .await + } + + /// Executes closure in an externalities provided environment. + pub fn with_state(&self, closure: impl FnOnce() -> R) -> R + where + > as CallExecutor>::Error: + std::fmt::Debug, + { + let id = BlockId::Hash(self.client.info().best_hash); + let mut overlay = OverlayedChanges::default(); + let mut cache = StorageTransactionCache:: as Backend>::State>::default(); + let mut extensions = self + .client + .execution_extensions() + .extensions(&id, ExecutionContext::BlockConstruction); + let state_backend = self + .backend + .state_at(id.clone()) + .expect(&format!("State at block {} not found", id)); + + let mut ext = Ext::new(&mut overlay, &mut cache, &state_backend, Some(&mut extensions)); + sp_externalities::set_and_run_with_externalities(&mut ext, closure) + } + + /// Send an extrinsic to this node. + pub async fn send_extrinsic( + &self, + function: impl Into, + caller: Sr25519Keyring, + ) -> Result { + let extrinsic = construct_extrinsic(&*self.client, function, caller.pair(), Some(0)); + + self.rpc_handlers.send_transaction(extrinsic.0.into()).await + } + + /// Register a parachain at this relay chain. + pub async fn schedule_upgrade(&self, validation: Vec) -> Result<(), RpcTransactionError> { + let call = frame_system::Call::set_code { code: validation }; + + self.send_extrinsic( + pallet_sudo::Call::sudo_unchecked_weight { + call: Box::new(call.into()), + weight: 1_000, + }, + Sr25519Keyring::Alice, + ) + .await + .map(drop) + } + + /// Transfer some token from one account to another using a provided test [`Client`]. + pub async fn transfer( + &self, + origin: sp_keyring::AccountKeyring, + dest: sp_keyring::AccountKeyring, + value: Balance, + ) -> Result<(), RpcTransactionError> { + let function = node_runtime::Call::Balances(pallet_balances::Call::transfer_keep_alive { + dest: MultiAddress::Id(dest.public().into_account().into()), + value, + }); + + self.send_extrinsic(function, origin).await.map(drop) + } +} diff --git a/node/e2e-tests/test-service/src/service.rs b/node/e2e-tests/test-service/src/service.rs new file mode 100644 index 0000000000..7095ac400d --- /dev/null +++ b/node/e2e-tests/test-service/src/service.rs @@ -0,0 +1,579 @@ +// This file is part of Acala. + +// Copyright (C) 2020-2022 Acala Foundation. +// 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 super::*; + +/// Starts a `ServiceBuilder` for a full service. +/// +/// Use this macro if you don't actually need the full service, but just the builder in order to +/// be able to perform chain operations. +pub fn new_partial( + config: &Configuration, + seal_mode: SealMode, +) -> Result< + PartialComponents< + Client, + TFullBackend, + MaybeFullSelectChain, + sc_consensus::import_queue::BasicQueue>, + sc_transaction_pool::FullPool, + (), + >, + sc_service::Error, +> { + let executor = NativeElseWasmExecutor::::new( + config.wasm_method, + config.default_heap_pages, + config.max_runtime_instances, + config.runtime_cache_size, + ); + + let (client, backend, keystore_container, task_manager) = + sc_service::new_full_parts::(&config, None, executor)?; + let client = Arc::new(client); + + let registry = config.prometheus_registry(); + + let transaction_pool = sc_transaction_pool::BasicPool::new_full( + config.transaction_pool.clone(), + config.role.is_authority().into(), + config.prometheus_registry(), + task_manager.spawn_essential_handle(), + client.clone(), + ); + + let (import_queue, select_chain) = match seal_mode { + SealMode::DevInstantSeal => { + // instance sealing + ( + sc_consensus_manual_seal::import_queue( + Box::new(client.clone()), + &task_manager.spawn_essential_handle(), + registry, + ), + Some(LongestChain::new(backend.clone())), + ) + } + SealMode::DevAuraSeal => { + // aura import queue + let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); + + ( + sc_consensus_aura::import_queue::( + ImportQueueParams { + block_import: client.clone(), + justification_import: None, + client: client.clone(), + create_inherent_data_providers: move |_, ()| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration, + ); + + Ok(( + timestamp, + slot, + node_service::default_mock_parachain_inherent_data_provider(), + )) + }, + spawner: &task_manager.spawn_essential_handle(), + registry, + can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), + check_for_equivocation: Default::default(), + telemetry: None, + }, + )?, + None, + ) + } + SealMode::ParaSeal => { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + let create_inherent_data_providers = Box::new(move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration.slot_duration(), + ); + + Ok((timestamp, slot)) + }); + + ( + cumulus_client_consensus_aura::import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + _, + >(cumulus_client_consensus_aura::ImportQueueParams { + block_import: client.clone(), + client: client.clone(), + create_inherent_data_providers, + registry, + can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()), + spawner: &task_manager.spawn_essential_handle(), + telemetry: None, + })?, + None, + ) + } + }; + + let params = PartialComponents { + backend, + client, + import_queue, + keystore_container, + task_manager, + transaction_pool, + select_chain, + other: (), + }; + + Ok(params) +} + +pub async fn start_dev_node( + config: Configuration, + seal_mode: SealMode, +) -> sc_service::error::Result<( + TaskManager, + Arc, + Arc>, + RpcHandlers, + TxPool, + Arc>, + Sender>, +)> { + let sc_service::PartialComponents { + client, + backend, + mut task_manager, + import_queue, + keystore_container, + select_chain: maybe_select_chain, + transaction_pool, + other: (), + } = new_partial(&config, SealMode::DevInstantSeal)?; + + let (network, system_rpc_tx, network_starter) = sc_service::build_network(sc_service::BuildNetworkParams { + config: &config, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + spawn_handle: task_manager.spawn_handle(), + import_queue, + block_announce_validator_builder: None, + warp_sync: None, + })?; + + // offchain workers + sc_service::build_offchain_workers(&config, task_manager.spawn_handle(), client.clone(), network.clone()); + + let force_authoring = config.force_authoring; + let backoff_authoring_blocks: Option<()> = None; + let select_chain = + maybe_select_chain.expect("In mandala dev mode, `new_partial` will return some `select_chain`; qed"); + + let proposer_factory = sc_basic_authorship::ProposerFactory::new( + task_manager.spawn_handle(), + client.clone(), + transaction_pool.clone(), + config.prometheus_registry(), + None, + ); + // Channel for the rpc handler to communicate with the authorship task. + let (command_sink, commands_stream) = mpsc::channel(10); + let rpc_sink = command_sink.clone(); + + match seal_mode { + SealMode::DevInstantSeal => { + let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); + let create_inherent_data_providers = Box::new(move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration, + ); + + Ok((timestamp, slot)) + // Ok(timestamp) + }); + let authorship_future = + sc_consensus_manual_seal::run_manual_seal(sc_consensus_manual_seal::ManualSealParams { + block_import: client.clone(), + env: proposer_factory, + client: client.clone(), + pool: transaction_pool.clone(), + commands_stream, + select_chain, + consensus_data_provider: None, + create_inherent_data_providers, + }); + // we spawn the future on a background thread managed by service. + task_manager.spawn_essential_handle().spawn_blocking( + "instant-seal", + Some("block-authoring"), + authorship_future, + ); + } + SealMode::DevAuraSeal => { + // aura + let can_author_with = sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()); + let slot_duration = sc_consensus_aura::slot_duration(&*client)?.slot_duration(); + let aura = sc_consensus_aura::start_aura::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + _, + _, + _, + _, + _, + _, + >(StartAuraParams { + slot_duration: sc_consensus_aura::slot_duration(&*client)?, + client: client.clone(), + select_chain, + // block_import: instant_finalize::InstantFinalizeBlockImport::new(client.clone()), + block_import: client.clone(), + proposer_factory, + create_inherent_data_providers: move |_, ()| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *timestamp, + slot_duration, + ); + + Ok(( + timestamp, + slot, + node_service::default_mock_parachain_inherent_data_provider(), + )) + }, + force_authoring, + backoff_authoring_blocks, + keystore: keystore_container.sync_keystore(), + can_author_with, + sync_oracle: network.clone(), + justification_sync_link: network.clone(), + // We got around 500ms for proposing + block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), + // And a maximum of 750ms if slots are skipped + max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), + telemetry: None, + })?; + + // the AURA authoring task is considered essential, i.e. if it + // fails we take down the service with it. + task_manager + .spawn_essential_handle() + .spawn_blocking("aura", Some("block-authoring"), aura); + } + _ => { + panic!("dev mode do not support parachain consensus") + } + } + + let rpc_handlers = sc_service::spawn_tasks(SpawnTasksParams { + config, + client: client.clone(), + backend: backend.clone(), + task_manager: &mut task_manager, + keystore: keystore_container.sync_keystore(), + transaction_pool: transaction_pool.clone(), + rpc_extensions_builder: Box::new(move |_, _| { + let mut io = jsonrpc_core::IoHandler::default(); + io.extend_with(ManualSealApi::to_delegate(ManualSeal::new(rpc_sink.clone()))); + Ok(io) + }), + network: network.clone(), + system_rpc_tx, + telemetry: None, + })?; + + network_starter.start_network(); + + Ok(( + task_manager, + client, + network, + rpc_handlers, + transaction_pool, + backend, + command_sink, + )) +} + +/// Start a node with the given parachain `Configuration` and relay chain `Configuration`. +/// +/// This is the actual implementation that is abstract over the executor and the runtime api. +#[sc_tracing::logging::prefix_logs_with(parachain_config.network.node_name.as_str())] +pub async fn start_node_impl( + parachain_config: Configuration, + collator_key: Option, + relay_chain_config: Configuration, + para_id: ParaId, + wrap_announce_block: Option AnnounceBlockFn>>, + rpc_ext_builder: RB, + consensus: Consensus, + seal_mode: SealMode, +) -> sc_service::error::Result<( + TaskManager, + Arc, + Arc>, + RpcHandlers, + TxPool, + Arc>, + Sender>, +)> +where + RB: Fn(Arc) -> Result, sc_service::Error> + Send + 'static, +{ + if matches!(parachain_config.role, Role::Light) { + return Err("Light client not supported!".into()); + } + + let parachain_config = prepare_node_config(parachain_config); + + let params = new_partial(¶chain_config, seal_mode.clone())?; + let keystore = params.keystore_container.sync_keystore(); + let force_authoring = parachain_config.force_authoring; + + let transaction_pool = params.transaction_pool.clone(); + let mut task_manager = params.task_manager; + + let relay_chain_full_node = polkadot_test_service::new_full( + relay_chain_config, + if let Some(ref key) = collator_key { + polkadot_service::IsCollator::Yes(key.clone()) + } else { + polkadot_service::IsCollator::Yes(CollatorPair::generate().0) + }, + None, + ) + .map_err(|e| match e { + polkadot_service::Error::Sub(x) => x, + s => s.to_string().into(), + })?; + + let client = params.client.clone(); + let backend = params.backend.clone(); + let backend_for_node = backend.clone(); + + let relay_chain_interface = Arc::new(RelayChainLocal::new( + relay_chain_full_node.client.clone(), + relay_chain_full_node.backend.clone(), + Arc::new(Mutex::new(Box::new(relay_chain_full_node.network.clone()))), + relay_chain_full_node.overseer_handle.clone(), + )); + task_manager.add_child(relay_chain_full_node.task_manager); + + let block_announce_validator = BlockAnnounceValidator::new(relay_chain_interface.clone(), para_id); + let block_announce_validator_builder = move |_| Box::new(block_announce_validator) as Box<_>; + + let prometheus_registry = parachain_config.prometheus_registry().cloned(); + + let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue); + let (network, system_rpc_tx, start_network) = sc_service::build_network(sc_service::BuildNetworkParams { + config: ¶chain_config, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + spawn_handle: task_manager.spawn_handle(), + import_queue: import_queue.clone(), + block_announce_validator_builder: Some(Box::new(block_announce_validator_builder)), + warp_sync: None, + })?; + + let rpc_extensions_builder = { + let client = client.clone(); + + Box::new(move |_, _| rpc_ext_builder(client.clone())) + }; + + let rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams { + rpc_extensions_builder, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + task_manager: &mut task_manager, + config: parachain_config, + keystore: params.keystore_container.sync_keystore(), + backend, + network: network.clone(), + system_rpc_tx, + telemetry: None, + })?; + + let announce_block = { + let network = network.clone(); + Arc::new(move |hash, data| network.announce_block(hash, data)) + }; + + let announce_block = wrap_announce_block + .map(|w| (w)(announce_block.clone())) + .unwrap_or_else(|| announce_block); + + let relay_chain_interface_for_closure = relay_chain_interface.clone(); + + if let Some(collator_key) = collator_key { + let parachain_consensus: Box> = match consensus { + Consensus::RelayChain => { + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool.clone(), + prometheus_registry.as_ref(), + None, + ); + let relay_chain_interface2 = relay_chain_interface_for_closure.clone(); + Box::new(cumulus_client_consensus_relay_chain::RelayChainConsensus::new( + para_id, + proposer_factory, + move |_, (relay_parent, validation_data)| { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface_for_closure, + &validation_data, + para_id, + ); + + async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let parachain_inherent = parachain_inherent.ok_or_else(|| { + Box::::from(String::from("error")) + })?; + Ok((time, parachain_inherent)) + } + }, + client.clone(), + relay_chain_interface2, + )) + } + Consensus::Null => Box::new(NullConsensus), + Consensus::Aura => { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool.clone(), + prometheus_registry.as_ref(), + None, + ); + + AuraConsensus::build::( + BuildAuraConsensusParams { + proposer_factory, + create_inherent_data_providers: move |_, (relay_parent, validation_data)| { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface_for_closure, + &validation_data, + para_id, + ); + async move { + let time = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = + sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( + *time, + slot_duration.slot_duration(), + ); + + let parachain_inherent = parachain_inherent.ok_or_else(|| { + Box::::from( + "Failed to create parachain inherent", + ) + })?; + Ok((time, slot, parachain_inherent)) + } + }, + block_import: client.clone(), + para_client: client.clone(), + backoff_authoring_blocks: Option::<()>::None, + sync_oracle: network.clone(), + keystore, + force_authoring, + slot_duration, + // We got around 500ms for proposing + block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32), + // And a maximum of 750ms if slots are skipped + max_block_proposal_slot_portion: Some(SlotProportion::new(1f32 / 16f32)), + telemetry: None, + }, + ) + } + }; + + let params = StartCollatorParams { + block_status: client.clone(), + announce_block, + client: client.clone(), + spawner: task_manager.spawn_handle(), + task_manager: &mut task_manager, + para_id, + parachain_consensus, + relay_chain_interface, + collator_key, + import_queue, + relay_chain_slot_duration: Duration::from_secs(6), + }; + + start_collator(params).await?; + } else { + let params = StartFullNodeParams { + client: client.clone(), + announce_block, + task_manager: &mut task_manager, + para_id, + relay_chain_interface, + import_queue, + // The slot duration is currently used internally only to configure + // the recovery delay of pov-recovery. We don't want to wait for too + // long on the full node to recover, so we reduce this time here. + relay_chain_slot_duration: Duration::from_millis(6), + }; + + start_full_node(params)?; + } + + start_network.start_network(); + let (command_sink, _) = mpsc::channel(1); + + Ok(( + task_manager, + client, + network, + rpc_handlers, + transaction_pool, + backend_for_node, + command_sink, + )) +} diff --git a/node/e2e-tests/test-service/tests/parachain.rs b/node/e2e-tests/test-service/tests/parachain.rs new file mode 100644 index 0000000000..efec1554f0 --- /dev/null +++ b/node/e2e-tests/test-service/tests/parachain.rs @@ -0,0 +1,126 @@ +// This file is part of Acala. + +// Copyright (C) 2020-2022 Acala Foundation. +// 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 cumulus_primitives_core::ParaId; +use sp_keyring::Sr25519Keyring::*; +use sp_runtime::{traits::IdentifyAccount, MultiSigner}; +use test_service::{initial_head_data, run_relay_chain_validator_node}; + +/// this testcase will take too long to running, test with command: +/// cargo test --package test-service -- test_full_node_catching_up --nocapture --include-ignored +#[substrate_test_utils::test] +#[ignore] +async fn test_full_node_catching_up() { + let mut builder = sc_cli::LoggerBuilder::new(""); + builder.with_colors(true); + let _ = builder.init(); + + let para_id = ParaId::from(2000); + + let tokio_handle = tokio::runtime::Handle::current(); + + // start relay chain node: alice + let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); + + // start relay chain node: bob + let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); + + // register parachain + alice + .register_parachain( + para_id, + node_runtime::WASM_BINARY + .expect("You need to build the WASM binary to run this test!") + .to_vec(), + initial_head_data(), + ) + .await + .unwrap(); + + // run a parachain collator + let para_collator = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) + .enable_collator() + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + para_collator.wait_for_blocks(5).await; + + // run a parachain full node and wait for it to sync some blocks + let para_full = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) + .connect_to_parachain_node(¶_collator) + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + para_full.wait_for_blocks(7).await; +} + +/// this testcase will take too long to running, test with command: +/// cargo test --package test-service -- simple_balances_test --nocapture --include-ignored +#[substrate_test_utils::test] +#[ignore] +async fn simple_balances_test() { + let mut builder = sc_cli::LoggerBuilder::new(""); + builder.with_colors(true); + let _ = builder.init(); + + let para_id = ParaId::from(2000); + + let tokio_handle = tokio::runtime::Handle::current(); + + // start alice + let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); + + // start bob + let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); + + // register parachain + alice + .register_parachain( + para_id, + node_runtime::WASM_BINARY + .expect("You need to build the WASM binary to run this test!") + .to_vec(), + initial_head_data(), + ) + .await + .unwrap(); + + // run a parachain collator + let node = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) + .enable_collator() + .connect_to_relay_chain_nodes(vec![&alice, &bob]) + .build() + .await; + node.wait_for_blocks(2).await; + + let bob = MultiSigner::from(Bob.public()); + let bob_account_id = bob.into_account(); + let amount = 1_000_000_000_000; + + type Balances = pallet_balances::Pallet; + + // the function with_state allows us to read state, pretty cool right? :D + let old_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); + + node.transfer(Alice, Bob, amount).await.unwrap(); + + node.wait_for_blocks(3).await; + // we can check the new state :D + let new_balance = node.with_state(|| Balances::free_balance(bob_account_id)); + assert_eq!(old_balance + amount, new_balance); +} diff --git a/node/e2e-tests/test-service/tests/full_node_catching_up.rs b/node/e2e-tests/test-service/tests/standalone.rs similarity index 58% rename from node/e2e-tests/test-service/tests/full_node_catching_up.rs rename to node/e2e-tests/test-service/tests/standalone.rs index 1881398f18..4aee83687a 100644 --- a/node/e2e-tests/test-service/tests/full_node_catching_up.rs +++ b/node/e2e-tests/test-service/tests/standalone.rs @@ -21,108 +21,9 @@ use ecosystem_renvm_bridge::EcdsaSignature; use hex_literal::hex; use sc_transaction_pool_api::TransactionPool; use sp_core::crypto::AccountId32; +use sp_keyring::Sr25519Keyring::*; use sp_runtime::{traits::IdentifyAccount, MultiAddress, MultiSigner}; -use test_service::{initial_head_data, run_relay_chain_validator_node, Keyring::*, SealMode}; - -#[substrate_test_utils::test] -#[ignore] -async fn test_full_node_catching_up() { - let mut builder = sc_cli::LoggerBuilder::new(""); - builder.with_colors(true); - let _ = builder.init(); - - let para_id = ParaId::from(2000); - - let tokio_handle = tokio::runtime::Handle::current(); - - // start alice - let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); - - // start bob - let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); - - // register parachain - alice - .register_parachain( - para_id, - node_runtime::WASM_BINARY - .expect("You need to build the WASM binary to run this test!") - .to_vec(), - initial_head_data(), - ) - .await - .unwrap(); - - // run cumulus charlie (a parachain collator) - let para_collator = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) - .enable_collator() - .connect_to_relay_chain_nodes(vec![&alice, &bob]) - .build() - .await; - para_collator.wait_for_blocks(5).await; - - // run cumulus dave (a parachain full node) and wait for it to sync some blocks - let para_full = test_service::TestNodeBuilder::new(para_id, tokio_handle, Dave) - .connect_to_parachain_node(¶_collator) - .connect_to_relay_chain_nodes(vec![&alice, &bob]) - .build() - .await; - para_full.wait_for_blocks(7).await; -} - -#[substrate_test_utils::test] -#[ignore] -async fn simple_balances_test() { - let mut builder = sc_cli::LoggerBuilder::new(""); - builder.with_colors(true); - let _ = builder.init(); - - let para_id = ParaId::from(2000); - - let tokio_handle = tokio::runtime::Handle::current(); - - // start alice - let alice = run_relay_chain_validator_node(tokio_handle.clone(), Alice, || {}, Vec::new()); - - // start bob - let bob = run_relay_chain_validator_node(tokio_handle.clone(), Bob, || {}, vec![alice.addr.clone()]); - - // register parachain - alice - .register_parachain( - para_id, - node_runtime::WASM_BINARY - .expect("You need to build the WASM binary to run this test!") - .to_vec(), - initial_head_data(), - ) - .await - .unwrap(); - - // run cumulus charlie (a parachain collator) - let node = test_service::TestNodeBuilder::new(para_id, tokio_handle.clone(), Alice) - .enable_collator() - .connect_to_relay_chain_nodes(vec![&alice, &bob]) - .build() - .await; - node.wait_for_blocks(2).await; - - let bob = MultiSigner::from(Bob.public()); - let bob_account_id = bob.into_account(); - let amount = 1_000_000_000_000; - - type Balances = pallet_balances::Pallet; - - // the function with_state allows us to read state, pretty cool right? :D - let old_balance = node.with_state(|| Balances::free_balance(bob_account_id.clone())); - - node.transfer(Alice, Bob, amount).await.unwrap(); - - node.wait_for_blocks(3).await; - // we can check the new state :D - let new_balance = node.with_state(|| Balances::free_balance(bob_account_id)); - assert_eq!(old_balance + amount, new_balance); -} +use test_service::SealMode; #[substrate_test_utils::test] async fn simple_balances_dev_test() { @@ -151,7 +52,6 @@ async fn simple_balances_dev_test() { node.transfer(Alice, Bob, amount).await.unwrap(); node.wait_for_blocks(1).await; - // node.seal_blocks(1).await; // we can check the new state :D let new_balance = node.with_state(|| Balances::free_balance(bob_account_id)); From 05aca8d9b22e89b45769b9ac19bf7002db4effb2 Mon Sep 17 00:00:00 2001 From: zqh Date: Thu, 27 Jan 2022 17:20:54 +0800 Subject: [PATCH 19/46] fix test of Default remove --- Cargo.lock | 15 -------- Cargo.toml | 3 -- modules/homa-lite/src/tests_no_fees.rs | 2 +- runtime/integration-tests/src/homa_lite.rs | 2 +- runtime/integration-tests/src/homa_xcm.rs | 10 +++--- .../relaychain/kusama_cross_chain_transfer.rs | 20 +++++++---- .../src/relaychain/relay_chain.rs | 2 +- runtime/integration-tests/src/setup.rs | 3 -- runtime/karura/src/lib.rs | 34 ++++++++++--------- 9 files changed, 40 insertions(+), 51 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9dd66b7562..c9b688469a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -15290,18 +15290,3 @@ dependencies = [ "cc", "libc", ] - -[[patch.unused]] -name = "sc-network-test" -version = "0.8.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" - -[[patch.unused]] -name = "substrate-test-runtime" -version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" - -[[patch.unused]] -name = "substrate-test-runtime-client" -version = "2.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" diff --git a/Cargo.toml b/Cargo.toml index 104a450be8..bc1dffb469 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -199,7 +199,6 @@ sc-informant = { git = "https://github.com/paritytech//substrate", rev = "32b718 sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } sc-network = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-network-test = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } @@ -253,8 +252,6 @@ sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "3 substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -substrate-test-runtime = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -substrate-test-runtime-client = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } diff --git a/modules/homa-lite/src/tests_no_fees.rs b/modules/homa-lite/src/tests_no_fees.rs index ca3c69b0af..117f3eddb5 100644 --- a/modules/homa-lite/src/tests_no_fees.rs +++ b/modules/homa-lite/src/tests_no_fees.rs @@ -572,7 +572,7 @@ fn test_increase_staking_match_from_previous_redeem_requests( // Ensure `LastRedeemRequestKeyIterated` is setup correctly. assert_eq!( HomaLite::last_redeem_request_key_iterated(), - RedeemRequests::::hashed_key_for(AccountId::default().clone()) + RedeemRequests::::hashed_key_for(AccountId::new([0u8; 32])) ); assert_eq!(HomaLite::total_staking_currency(), dollar(901)); diff --git a/runtime/integration-tests/src/homa_lite.rs b/runtime/integration-tests/src/homa_lite.rs index 128b081bcf..2420ca27ae 100644 --- a/runtime/integration-tests/src/homa_lite.rs +++ b/runtime/integration-tests/src/homa_lite.rs @@ -558,7 +558,7 @@ mod karura_only_tests { fn homa_lite_xcm_unbonding_works() { let homa_lite_sub_account: AccountId = hex_literal::hex!["d7b8926b326dd349355a9a7cca6606c1e0eb6fd2b506066b518c7155ff0d8297"].into(); - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); Karura::execute_with(|| { parachain_account = ParachainAccount::get(); }); diff --git a/runtime/integration-tests/src/homa_xcm.rs b/runtime/integration-tests/src/homa_xcm.rs index 2e91e01045..fd61316926 100644 --- a/runtime/integration-tests/src/homa_xcm.rs +++ b/runtime/integration-tests/src/homa_xcm.rs @@ -83,7 +83,7 @@ fn configure_homa_and_homa_xcm() { fn homa_xcm_transfer_staking_to_sub_account_works() { let homa_lite_sub_account: AccountId = hex_literal::hex!["d7b8926b326dd349355a9a7cca6606c1e0eb6fd2b506066b518c7155ff0d8297"].into(); - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); Karura::execute_with(|| { parachain_account = ParachainAccount::get(); }); @@ -145,7 +145,7 @@ fn homa_xcm_transfer_staking_to_sub_account_works() { fn homa_xcm_withdraw_unbonded_from_sub_account_works() { let homa_lite_sub_account: AccountId = hex_literal::hex!["d7b8926b326dd349355a9a7cca6606c1e0eb6fd2b506066b518c7155ff0d8297"].into(); - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); Karura::execute_with(|| { parachain_account = ParachainAccount::get(); }); @@ -241,7 +241,7 @@ fn homa_xcm_withdraw_unbonded_from_sub_account_works() { fn homa_xcm_bond_extra_on_sub_account_works() { let homa_lite_sub_account: AccountId = hex_literal::hex!["d7b8926b326dd349355a9a7cca6606c1e0eb6fd2b506066b518c7155ff0d8297"].into(); - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); Karura::execute_with(|| { parachain_account = ParachainAccount::get(); }); @@ -324,7 +324,7 @@ fn homa_xcm_bond_extra_on_sub_account_works() { fn homa_xcm_unbond_on_sub_account_works() { let homa_lite_sub_account: AccountId = hex_literal::hex!["d7b8926b326dd349355a9a7cca6606c1e0eb6fd2b506066b518c7155ff0d8297"].into(); - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); Karura::execute_with(|| { parachain_account = ParachainAccount::get(); }); @@ -415,7 +415,7 @@ fn homa_xcm_unbond_on_sub_account_works() { fn homa_mint_and_redeem_works() { let homa_lite_sub_account: AccountId = hex_literal::hex!["d7b8926b326dd349355a9a7cca6606c1e0eb6fd2b506066b518c7155ff0d8297"].into(); - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); let bonding_duration = BondingDuration::get(); Karura::execute_with(|| { diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index 7195419191..cc4a90e5f6 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -22,6 +22,8 @@ use crate::relaychain::kusama_test_net::*; use crate::setup::*; use frame_support::assert_ok; +use sp_runtime::traits::TrailingZeroInput; +use xcm_builder::ParentIsPreset; use karura_runtime::parachains::bifrost::BNC_KEY; use karura_runtime::{AssetRegistry, KaruraTreasuryAccount}; @@ -30,6 +32,7 @@ use module_relaychain::RelayChainCallBuilder; use module_support::CallBuilder; use orml_traits::MultiCurrency; use xcm_emulator::TestExt; +use xcm_executor::traits::Convert; #[test] fn transfer_from_relay_chain() { @@ -627,7 +630,7 @@ fn asset_registry_location_update_works() { #[test] fn unspent_xcm_fee_is_returned_correctly() { - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); let homa_lite_sub_account: AccountId = hex_literal::hex!["d7b8926b326dd349355a9a7cca6606c1e0eb6fd2b506066b518c7155ff0d8297"].into(); Karura::execute_with(|| { @@ -749,9 +752,11 @@ fn trap_assets_larger_than_ed_works() { let (ksm_asset_amount, kar_asset_amount) = (dollar(KSM), dollar(KAR)); let trader_weight_to_treasury: u128 = 96_000_000; + let parent_account: AccountId = ParentIsPreset::::convert(Parent.into()).unwrap(); + Karura::execute_with(|| { - assert_ok!(Tokens::deposit(KSM, &AccountId::from(DEFAULT), 100 * dollar(KSM))); - let _ = pallet_balances::Pallet::::deposit_creating(&AccountId::from(DEFAULT), 100 * dollar(KAR)); + assert_ok!(Tokens::deposit(KSM, &parent_account, 100 * dollar(KSM))); + let _ = pallet_balances::Pallet::::deposit_creating(&parent_account, 100 * dollar(KAR)); kar_treasury_amount = Currencies::free_balance(KAR, &KaruraTreasuryAccount::get()); }); @@ -766,7 +771,8 @@ fn trap_assets_larger_than_ed_works() { }, WithdrawAsset( ( - (Parent, X2(Parachain(2000), GeneralKey(KAR.encode()))), + // (Parent, X2(Parachain(2000), GeneralKey(KAR.encode()))), + (0, GeneralKey(KAR.encode())), kar_asset_amount, ) .into(), @@ -801,9 +807,11 @@ fn trap_assets_lower_than_ed_works() { let mut kar_treasury_amount = 0; let (ksm_asset_amount, kar_asset_amount) = (cent(KSM) / 100, cent(KAR)); + let parent_account: AccountId = ParentIsPreset::::convert(Parent.into()).unwrap(); + Karura::execute_with(|| { - assert_ok!(Tokens::deposit(KSM, &AccountId::from(DEFAULT), dollar(KSM))); - let _ = pallet_balances::Pallet::::deposit_creating(&AccountId::from(DEFAULT), dollar(KAR)); + assert_ok!(Tokens::deposit(KSM, &parent_account, dollar(KSM))); + let _ = pallet_balances::Pallet::::deposit_creating(&parent_account, dollar(KAR)); kar_treasury_amount = Currencies::free_balance(KAR, &KaruraTreasuryAccount::get()); }); diff --git a/runtime/integration-tests/src/relaychain/relay_chain.rs b/runtime/integration-tests/src/relaychain/relay_chain.rs index e5ec5a5dc1..0a211f57e5 100644 --- a/runtime/integration-tests/src/relaychain/relay_chain.rs +++ b/runtime/integration-tests/src/relaychain/relay_chain.rs @@ -128,7 +128,7 @@ mod karura_tests { #[test] /// Tests transfer_keep_alive call fn relaychain_transfer_keep_alive_works() { - let mut parachain_account: AccountId = AccountId::default(); + let mut parachain_account: AccountId = AccountId::new([0u8; 32]); Karura::execute_with(|| { parachain_account = ParachainAccount::get(); }); diff --git a/runtime/integration-tests/src/setup.rs b/runtime/integration-tests/src/setup.rs index e948a28649..b2973128f3 100644 --- a/runtime/integration-tests/src/setup.rs +++ b/runtime/integration-tests/src/setup.rs @@ -171,9 +171,6 @@ const ORACLE3: [u8; 32] = [2u8; 32]; const ORACLE4: [u8; 32] = [3u8; 32]; const ORACLE5: [u8; 32] = [4u8; 32]; -#[allow(dead_code)] -pub const DEFAULT: [u8; 32] = [0u8; 32]; - pub const ALICE: [u8; 32] = [4u8; 32]; pub const BOB: [u8; 32] = [5u8; 32]; pub const CHARLIE: [u8; 32] = [6u8; 32]; diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 4d557229ab..28d2ee737c 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1503,13 +1503,6 @@ parameter_types! { ).into(), kar_per_second() ); - pub KarPerSecond2: (AssetId, u128) = ( - MultiLocation::new( - 0, - X1(GeneralKey(KAR.encode())), - ).into(), - kar_per_second() - ); pub LksmPerSecond: (AssetId, u128) = ( MultiLocation::new( 1, @@ -1534,14 +1527,6 @@ parameter_types! { // BNC:KSM = 80:1 ksm_per_second() * 80 ); - pub BncPerSecond2: (AssetId, u128) = ( - MultiLocation::new( - 0, - X1(GeneralKey(parachains::bifrost::BNC_KEY.to_vec())), - ).into(), - // BNC:KSM = 80:1 - ksm_per_second() * 80 - ); pub VsksmPerSecond: (AssetId, u128) = ( MultiLocation::new( 1, @@ -1570,6 +1555,24 @@ parameter_types! { pub ForeignAssetUnitsPerSecond: u128 = kar_per_second(); pub KarPerSecondAsBased: u128 = kar_per_second(); } +#[cfg(feature = "only-integration-test")] +parameter_types! { + pub KarPerSecond2: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(KAR.encode())), + ).into(), + kar_per_second() + ); + pub BncPerSecond2: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(parachains::bifrost::BNC_KEY.to_vec())), + ).into(), + // BNC:KSM = 80:1 + ksm_per_second() * 80 + ); +} #[cfg(feature = "only-integration-test")] pub type Trader = ( @@ -1577,7 +1580,6 @@ pub type Trader = ( FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, - // FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, FixedRateOfForeignAsset, From 67cf13e5b323e14ba3de9ac794f4ac967a13f007 Mon Sep 17 00:00:00 2001 From: zqh Date: Thu, 27 Jan 2022 17:55:28 +0800 Subject: [PATCH 20/46] CheckNonZeroSender --- node/e2e-tests/test-service/src/lib.rs | 2 ++ runtime/acala/src/lib.rs | 2 ++ runtime/karura/src/lib.rs | 2 ++ runtime/mandala/src/lib.rs | 7 +++++-- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index a5fa12e66a..5c9cdb8770 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -175,6 +175,7 @@ pub fn construct_extrinsic( .unwrap_or(2) as u64; let tip = 0; let extra: runtime::SignedExtra = ( + frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), @@ -188,6 +189,7 @@ pub fn construct_extrinsic( function, extra, ( + (), runtime::VERSION.spec_version, runtime::VERSION.transaction_version, genesis_block, diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 76bbe47d51..75d4c08165 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -1002,6 +1002,7 @@ where .saturating_sub(1); let tip = 0; let extra: SignedExtra = ( + frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), @@ -1908,6 +1909,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The SignedExtension to the basic transaction logic. pub type SignedExtra = ( + frame_system::CheckNonZeroSender, frame_system::CheckSpecVersion, frame_system::CheckTxVersion, frame_system::CheckGenesis, diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 28d2ee737c..8d4ce9e43c 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1000,6 +1000,7 @@ where .saturating_sub(1); let tip = 0; let extra: SignedExtra = ( + frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), @@ -2071,6 +2072,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The SignedExtension to the basic transaction logic. pub type SignedExtra = ( + frame_system::CheckNonZeroSender, frame_system::CheckSpecVersion, frame_system::CheckTxVersion, frame_system::CheckGenesis, diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index cbabb58607..c6873fdfbc 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -1006,6 +1006,7 @@ where .saturating_sub(1); let tip = 0; let extra: SignedExtra = ( + frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), @@ -1969,7 +1970,7 @@ impl Convert<(Call, SignedExtra), Result<(EthereumTransactionMessage, SignedExtr return Err(InvalidTransaction::Stale); } - let (_, _, _, mortality, check_nonce, _, charge, ..) = extra.clone(); + let (_, _, _, _, mortality, check_nonce, _, charge, ..) = extra.clone(); if mortality != frame_system::CheckEra::from(sp_runtime::generic::Era::Immortal) { // require immortal @@ -1979,7 +1980,7 @@ impl Convert<(Call, SignedExtra), Result<(EthereumTransactionMessage, SignedExtr let nonce = check_nonce.nonce; let tip = charge.0; - extra.4.mark_as_ethereum_tx(valid_until); + extra.5.mark_as_ethereum_tx(valid_until); Ok(( EthereumTransactionMessage { @@ -2012,6 +2013,7 @@ pub type SignedBlock = generic::SignedBlock; pub type BlockId = generic::BlockId; /// The SignedExtension to the basic transaction logic. pub type SignedExtra = ( + frame_system::CheckNonZeroSender, frame_system::CheckSpecVersion, frame_system::CheckTxVersion, frame_system::CheckGenesis, @@ -2610,6 +2612,7 @@ mod tests { }); let extra: SignedExtra = ( + frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), frame_system::CheckGenesis::::new(), From 2e7ff7d2d54a324ff1f44f36e4be88111e1389b3 Mon Sep 17 00:00:00 2001 From: zqh Date: Fri, 28 Jan 2022 15:08:35 +0800 Subject: [PATCH 21/46] add karura native asset test --- .../relaychain/kusama_cross_chain_transfer.rs | 118 ++++++++++++++---- runtime/karura/src/lib.rs | 34 ++++- 2 files changed, 120 insertions(+), 32 deletions(-) diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index cc4a90e5f6..e1d07b86dc 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -22,7 +22,7 @@ use crate::relaychain::kusama_test_net::*; use crate::setup::*; use frame_support::assert_ok; -use sp_runtime::traits::TrailingZeroInput; +use sp_runtime::traits::{AccountIdConversion, TrailingZeroInput}; use xcm_builder::ParentIsPreset; use karura_runtime::parachains::bifrost::BNC_KEY; @@ -88,11 +88,78 @@ fn transfer_to_relay_chain() { } #[test] -fn transfer_to_sibling() { +fn transfer_self_chain_asset() { + TestNet::reset(); + + fn sibling_reserve_account() -> AccountId { + polkadot_parachain::primitives::Sibling::from(2001).into_account() + } + + Karura::execute_with(|| { + let _ = Balances::deposit_creating(&AccountId::from(ALICE), 100_000_000_000_000); + + assert_ok!(XTokens::transfer( + Origin::signed(ALICE.into()), + KAR, + 10_000_000_000_000, + Box::new( + MultiLocation::new( + 1, + X2( + Parachain(2001), + Junction::AccountId32 { + network: NetworkId::Any, + id: BOB.into(), + } + ) + ) + .into() + ), + 1_000_000_000_000, + )); + + assert_eq!(90_000_000_000_000, Balances::free_balance(&AccountId::from(ALICE))); + assert_eq!(10_000_000_000_000, Balances::free_balance(&sibling_reserve_account())); + }); + + Sibling::execute_with(|| { + assert_eq!(0, Tokens::free_balance(KAR, &AccountId::from(BOB))); + assert_eq!(9_993_600_000_000, Balances::free_balance(&AccountId::from(BOB))); + + assert_ok!(XTokens::transfer( + Origin::signed(BOB.into()), + KAR, + 1_000_000_000_000, + Box::new( + MultiLocation::new( + 1, + X2( + Parachain(2000), + Junction::AccountId32 { + network: NetworkId::Any, + id: ALICE.into(), + } + ) + ) + .into() + ), + 1_000_000_000, + )); + + assert_eq!(8_993_600_000_000, Balances::free_balance(&AccountId::from(BOB))); + }); + + Karura::execute_with(|| { + assert_eq!(90_993_600_000_000, Balances::free_balance(&AccountId::from(ALICE))); + assert_eq!(9_000_000_000_000, Balances::free_balance(&sibling_reserve_account())); + }); +} + +#[test] +fn transfer_sibling_chain_asset() { TestNet::reset(); fn karura_reserve_account() -> AccountId { - use sp_runtime::traits::AccountIdConversion; polkadot_parachain::primitives::Sibling::from(2000).into_account() } @@ -358,7 +425,6 @@ fn test_asset_registry_module() { TestNet::reset(); fn karura_reserve_account() -> AccountId { - use sp_runtime::traits::AccountIdConversion; polkadot_parachain::primitives::Sibling::from(2000).into_account() } @@ -366,7 +432,7 @@ fn test_asset_registry_module() { // register foreign asset assert_ok!(AssetRegistry::register_foreign_asset( Origin::root(), - Box::new(MultiLocation::new(1, X2(Parachain(2001), GeneralKey(KAR.encode()))).into()), + Box::new(MultiLocation::new(1, X2(Parachain(2001), GeneralKey(BNC_KEY.to_vec()))).into()), Box::new(AssetMetadata { name: b"Sibling Token".to_vec(), symbol: b"ST".to_vec(), @@ -382,13 +448,13 @@ fn test_asset_registry_module() { }); Sibling::execute_with(|| { - let _ = Balances::deposit_creating(&AccountId::from(BOB), 100_000_000_000_000); - assert_eq!(Balances::free_balance(&karura_reserve_account()), 0); - assert_eq!(Balances::free_balance(&AccountId::from(BOB)), 100_000_000_000_000); + let _ = Tokens::deposit(BNC, &AccountId::from(BOB), 100_000_000_000_000); + assert_eq!(Tokens::free_balance(BNC, &karura_reserve_account()), 0); + assert_eq!(Tokens::free_balance(BNC, &AccountId::from(BOB)), 100_000_000_000_000); assert_ok!(XTokens::transfer( Origin::signed(BOB.into()), - KAR, + BNC, 5_000_000_000_000, Box::new( MultiLocation::new( @@ -406,19 +472,19 @@ fn test_asset_registry_module() { 1_000_000_000, )); - assert_eq!(Balances::free_balance(&karura_reserve_account()), 5_000_000_000_000); - assert_eq!(Balances::free_balance(&AccountId::from(BOB)), 95_000_000_000_000); + assert_eq!(Tokens::free_balance(BNC, &karura_reserve_account()), 5_000_000_000_000); + assert_eq!(Tokens::free_balance(BNC, &AccountId::from(BOB)), 95_000_000_000_000); }); Karura::execute_with(|| { assert_eq!( Tokens::free_balance(CurrencyId::ForeignAsset(0), &AccountId::from(ALICE)), - 4_999_360_000_000 + 4_989_760_000_000 ); // ToTreasury assert_eq!( Tokens::free_balance(CurrencyId::ForeignAsset(0), &TreasuryAccount::get()), - 640_000_000 + 10_240_000_000 ); assert_ok!(XTokens::transfer( @@ -443,13 +509,13 @@ fn test_asset_registry_module() { assert_eq!( Tokens::free_balance(CurrencyId::ForeignAsset(0), &AccountId::from(ALICE)), - 3_999_360_000_000 + 3_989_760_000_000 ); }); Sibling::execute_with(|| { - assert_eq!(Balances::free_balance(&karura_reserve_account()), 4_000_000_000_000); - assert_eq!(Balances::free_balance(&AccountId::from(BOB)), 95_993_600_000_000); + assert_eq!(Tokens::free_balance(BNC, &karura_reserve_account()), 4_000_000_000_000); + assert_eq!(Tokens::free_balance(BNC, &AccountId::from(BOB)), 95_989_760_000_000); }); // remove it @@ -458,7 +524,7 @@ fn test_asset_registry_module() { assert_ok!(AssetRegistry::update_foreign_asset( Origin::root(), 0, - Box::new(MultiLocation::new(1, X2(Parachain(2001), GeneralKey(KAR.encode()))).into()), + Box::new(MultiLocation::new(1, X2(Parachain(2001), GeneralKey(BNC_KEY.to_vec()))).into()), Box::new(AssetMetadata { name: b"Sibling Token".to_vec(), symbol: b"ST".to_vec(), @@ -469,12 +535,12 @@ fn test_asset_registry_module() { }); Sibling::execute_with(|| { - assert_eq!(Balances::free_balance(&karura_reserve_account()), 4_000_000_000_000); - assert_eq!(Balances::free_balance(&AccountId::from(BOB)), 95_993_600_000_000); + assert_eq!(Tokens::free_balance(BNC, &karura_reserve_account()), 4_000_000_000_000); + assert_eq!(Tokens::free_balance(BNC, &AccountId::from(BOB)), 95_989_760_000_000); assert_ok!(XTokens::transfer( Origin::signed(BOB.into()), - KAR, + BNC, 5_000_000_000_000, Box::new( MultiLocation::new( @@ -492,30 +558,29 @@ fn test_asset_registry_module() { 1_000_000_000, )); - assert_eq!(Balances::free_balance(&karura_reserve_account()), 9_000_000_000_000); - assert_eq!(Balances::free_balance(&AccountId::from(BOB)), 90_993_600_000_000); + assert_eq!(Tokens::free_balance(BNC, &karura_reserve_account()), 9_000_000_000_000); + assert_eq!(Tokens::free_balance(BNC, &AccountId::from(BOB)), 90_989_760_000_000); }); Karura::execute_with(|| { assert_eq!( Tokens::free_balance(CurrencyId::ForeignAsset(0), &AccountId::from(ALICE)), - 8_999_360_000_000 + 8_979_520_000_000 ); // ToTreasury assert_eq!( Tokens::free_balance(CurrencyId::ForeignAsset(0), &TreasuryAccount::get()), - 640_000_000 + 20_480_000_000 ); }); } #[test] -fn asset_registry_location_update_works() { +fn asset_registry_location_update_prefix_works() { TestNet::reset(); fn karura_reserve_account() -> AccountId { - use sp_runtime::traits::AccountIdConversion; polkadot_parachain::primitives::Sibling::from(2000).into_account() } @@ -866,7 +931,6 @@ fn sibling_trap_assets_works() { let (bnc_asset_amount, kar_asset_amount) = (cent(BNC) / 10, cent(KAR)); fn sibling_account() -> AccountId { - use sp_runtime::traits::AccountIdConversion; polkadot_parachain::primitives::Sibling::from(2001).into_account() } diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 8d4ce9e43c..01cc2eb3d9 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1558,14 +1558,22 @@ parameter_types! { } #[cfg(feature = "only-integration-test")] parameter_types! { - pub KarPerSecond2: (AssetId, u128) = ( + pub const ParachainIdForTest: u32 = 2000; + pub KarPerSecondOfCanonicalLocation: (AssetId, u128) = ( MultiLocation::new( 0, X1(GeneralKey(KAR.encode())), ).into(), kar_per_second() ); - pub BncPerSecond2: (AssetId, u128) = ( + pub KarPerSecondForNativeAssetTest: (AssetId, u128) = ( + MultiLocation::new( + 1, + X2(Parachain(ParachainIdForTest::get()), GeneralKey(KAR.encode())), + ).into(), + kar_per_second() + ); + pub BncPerSecondOfCanonicalLocation: (AssetId, u128) = ( MultiLocation::new( 0, X1(GeneralKey(parachains::bifrost::BNC_KEY.to_vec())), @@ -1580,9 +1588,10 @@ pub type Trader = ( TransactionFeePoolTrader, FixedRateOfFungible, FixedRateOfFungible, - FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfFungible, - FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfForeignAsset, ); @@ -1752,7 +1761,11 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< //TODO: use token registry currency type encoding fn native_currency_location(id: CurrencyId) -> MultiLocation { - MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) + if cfg!(feature = "only-integration-test") { + MultiLocation::new(1, X2(Parachain(ParachainIdForTest::get()), GeneralKey(id.encode()))) + } else { + MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) + } } pub struct CurrencyIdConvert; @@ -1856,6 +1869,17 @@ impl Convert> for CurrencyIdConvert { None } } + #[cfg(feature = "only-integration-test")] + (id, key) if id == ParachainIdForTest::get() => { + if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { + match currency_id { + Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), + _ => None, + } + } else { + None + } + } _ => None, } } From e7bdec2d23ec3381db887edb5fa518771a52ade6 Mon Sep 17 00:00:00 2001 From: zqh Date: Fri, 28 Jan 2022 16:22:18 +0800 Subject: [PATCH 22/46] apply canical location for manala and acala --- runtime/acala/src/lib.rs | 15 +++++++++++++++ runtime/integration-tests/Cargo.toml | 2 +- runtime/karura/Cargo.toml | 2 +- runtime/karura/src/lib.rs | 22 +++++++++++----------- runtime/mandala/src/lib.rs | 15 +++++++++++++++ 5 files changed, 43 insertions(+), 13 deletions(-) diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 75d4c08165..1b5ec05c70 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -1718,6 +1718,21 @@ impl Convert> for CurrencyIdConvert { _ => None, } } + // adapt for reanchor canonical location: https://github.com/paritytech/polkadot/pull/4470 + MultiLocation { + parents: 0, + interior: X1(GeneralKey(key)), + } => { + let key = &key[..]; + if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { + match currency_id { + Token(ACA) | Token(AUSD) | Token(LDOT) => Some(currency_id), + _ => None, + } + } else { + None + } + } _ => None, } } diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index eb7529251c..98dcc2d0a7 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -113,7 +113,7 @@ primitives = { package = "acala-primitives", path = "../../primitives" } runtime-common = { path = "../common" } mandala-runtime = { path = "../mandala" } -karura-runtime = { path = "../karura", features = ["only-integration-test"] } +karura-runtime = { path = "../karura", features = ["integration-tests"] } acala-runtime = { path = "../acala" } module-evm-rpc-runtime-api = { path = "../../modules/evm/rpc/runtime_api", default-features = false } diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index dbb6d476d7..f7646df4e5 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -324,4 +324,4 @@ try-runtime = [ "module-session-manager/try-runtime", ] -only-integration-test = [] \ No newline at end of file +integration-tests = [] \ No newline at end of file diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 01cc2eb3d9..107912ab32 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1556,7 +1556,7 @@ parameter_types! { pub ForeignAssetUnitsPerSecond: u128 = kar_per_second(); pub KarPerSecondAsBased: u128 = kar_per_second(); } -#[cfg(feature = "only-integration-test")] +#[cfg(feature = "integration-tests")] parameter_types! { pub const ParachainIdForTest: u32 = 2000; pub KarPerSecondOfCanonicalLocation: (AssetId, u128) = ( @@ -1583,7 +1583,7 @@ parameter_types! { ); } -#[cfg(feature = "only-integration-test")] +#[cfg(feature = "integration-tests")] pub type Trader = ( TransactionFeePoolTrader, FixedRateOfFungible, @@ -1595,7 +1595,7 @@ pub type Trader = ( FixedRateOfForeignAsset, ); -#[cfg(not(feature = "only-integration-test"))] +#[cfg(not(feature = "integration-tests"))] pub type Trader = ( TransactionFeePoolTrader, FixedRateOfFungible, @@ -1761,7 +1761,7 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< //TODO: use token registry currency type encoding fn native_currency_location(id: CurrencyId) -> MultiLocation { - if cfg!(feature = "only-integration-test") { + if cfg!(feature = "integration-tests") { MultiLocation::new(1, X2(Parachain(ParachainIdForTest::get()), GeneralKey(id.encode()))) } else { MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) @@ -1810,9 +1810,9 @@ impl Convert> for CurrencyIdConvert { GeneralKey(parachains::kintsugi::KBTC_KEY.to_vec()), ), )), - #[cfg(feature = "only-integration-test")] + #[cfg(feature = "integration-tests")] Token(RMRK) => Some(MultiLocation::new(1, X2(Parachain(2001), GeneralIndex(8)))), - #[cfg(feature = "only-integration-test")] + #[cfg(feature = "integration-tests")] Token(RMRKV2) => Some(MultiLocation::new( 1, X3(Parachain(2001), PalletInstance(53), GeneralIndex(8)), @@ -1836,12 +1836,12 @@ impl Convert> for CurrencyIdConvert { } match location { - #[cfg(feature = "only-integration-test")] + #[cfg(feature = "integration-tests")] MultiLocation { parents: 1, interior: X2(Parachain(2001), GeneralIndex(8)), } => Some(Token(RMRK)), - #[cfg(feature = "only-integration-test")] + #[cfg(feature = "integration-tests")] MultiLocation { parents: 1, interior: X3(Parachain(2001), PalletInstance(53), GeneralIndex(8)), @@ -1869,7 +1869,7 @@ impl Convert> for CurrencyIdConvert { None } } - #[cfg(feature = "only-integration-test")] + #[cfg(feature = "integration-tests")] (id, key) if id == ParachainIdForTest::get() => { if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { match currency_id { @@ -1887,17 +1887,17 @@ impl Convert> for CurrencyIdConvert { parents: 1, interior: X1(Parachain(parachains::phala::ID)), } => Some(Token(PHA)), + // adapt for reanchor canonical location: https://github.com/paritytech/polkadot/pull/4470 MultiLocation { parents: 0, interior: X1(GeneralKey(key)), } => match &key[..] { - #[cfg(feature = "only-integration-test")] + #[cfg(feature = "integration-tests")] parachains::bifrost::BNC_KEY => Some(Token(BNC)), key => { if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { match currency_id { Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), - Token(BNC) => Some(currency_id), _ => None, } } else { diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index c6873fdfbc..c4a7a14d3b 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -1795,6 +1795,21 @@ impl Convert> for CurrencyIdConvert { None } } + // adapt for reanchor canonical location: https://github.com/paritytech/polkadot/pull/4470 + MultiLocation { + parents: 0, + interior: X1(GeneralKey(key)), + } => { + let key = &key[..]; + if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { + match currency_id { + Token(ACA) | Token(AUSD) | Token(LDOT) | Token(RENBTC) => Some(currency_id), + _ => None, + } + } else { + None + } + } _ => None, } } From 102f117ea140a9bcfc74da238dd3527297ac434a Mon Sep 17 00:00:00 2001 From: zqh Date: Fri, 28 Jan 2022 19:28:01 +0800 Subject: [PATCH 23/46] add preimage pallet and migration --- Cargo.lock | 3 +++ runtime/acala/Cargo.toml | 3 +++ runtime/acala/src/lib.rs | 48 ++++++++++++++++++++++++++++++++++---- runtime/karura/Cargo.toml | 3 +++ runtime/karura/src/lib.rs | 48 ++++++++++++++++++++++++++++++++++---- runtime/mandala/Cargo.toml | 2 ++ runtime/mandala/src/lib.rs | 48 ++++++++++++++++++++++++++++++++++---- 7 files changed, 143 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c9b688469a..922be2a20a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -180,6 +180,7 @@ dependencies = [ "pallet-democracy", "pallet-membership", "pallet-multisig", + "pallet-preimage", "pallet-proxy", "pallet-scheduler", "pallet-session", @@ -4601,6 +4602,7 @@ dependencies = [ "pallet-democracy", "pallet-membership", "pallet-multisig", + "pallet-preimage", "pallet-proxy", "pallet-scheduler", "pallet-session", @@ -5637,6 +5639,7 @@ dependencies = [ "pallet-membership", "pallet-multisig", "pallet-offences", + "pallet-preimage", "pallet-proxy", "pallet-recovery", "pallet-scheduler", diff --git a/runtime/acala/Cargo.toml b/runtime/acala/Cargo.toml index 5ae3df6c13..2404b7f3a7 100644 --- a/runtime/acala/Cargo.toml +++ b/runtime/acala/Cargo.toml @@ -37,6 +37,7 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -157,6 +158,7 @@ std = [ "pallet-transaction-payment-rpc-runtime-api/std", "pallet-treasury/std", "pallet-utility/std", + "pallet-preimage/std", "sp-api/std", "sp-block-builder/std", "sp-consensus-aura/std", @@ -291,6 +293,7 @@ try-runtime = [ "pallet-utility/try-runtime", "pallet-bounties/try-runtime", "pallet-tips/try-runtime", + "pallet-preimage/try-runtime", "orml-auction/try-runtime", "orml-authority/try-runtime", diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 1b5ec05c70..95cf8cbc38 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -648,7 +648,6 @@ parameter_types! { pub const EnactmentPeriod: BlockNumber = 2 * DAYS; pub const VoteLockingPeriod: BlockNumber = 14 * DAYS; pub const CooloffPeriod: BlockNumber = 7 * DAYS; - pub PreimageByteDeposit: Balance = deposit(0, 1); pub const InstantAllowed: bool = true; pub const MaxVotes: u32 = 100; pub const MaxProposals: u32 = 100; @@ -942,10 +941,26 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; - type PreimageProvider = (); + type PreimageProvider = Preimage; type NoPreimagePostponement = NoPreimagePostponement; } +parameter_types! { + pub const PreimageMaxSize: u32 = 4096 * 1024; + pub PreimageBaseDeposit: Balance = deposit(2, 64); + pub PreimageByteDeposit: Balance = deposit(0, 1); +} + +impl pallet_preimage::Config for Runtime { + type WeightInfo = (); + type Event = Event; + type Currency = Balances; + type ManagerOrigin = EnsureRoot; + type MaxSize = PreimageMaxSize; + type BaseDeposit = PreimageBaseDeposit; + type ByteDeposit = PreimageByteDeposit; +} + parameter_types! { pub MinimumIncrementSize: Rate = Rate::saturating_from_rational(2, 100); pub const AuctionTimeToClose: BlockNumber = 15 * MINUTES; @@ -1825,6 +1840,7 @@ construct_runtime!( Proxy: pallet_proxy::{Pallet, Call, Storage, Event} = 5, TransactionPause: module_transaction_pause::{Pallet, Call, Storage, Event} = 6, IdleScheduler: module_idle_scheduler::{Pallet, Call, Storage, Event} = 7, + Preimage: pallet_preimage::{Pallet, Call, Storage, Event} = 8, // Tokens & Related Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 10, @@ -1941,8 +1957,32 @@ pub type SignedPayload = generic::SignedPayload; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Executive: handles dispatch to the various modules. -pub type Executive = - frame_executive::Executive, Runtime, AllPalletsWithSystem, ()>; +pub type Executive = frame_executive::Executive< + Runtime, + Block, + frame_system::ChainContext, + Runtime, + AllPalletsWithSystem, + SchedulerMigrationV3, +>; + +// Migration for scheduler pallet to move from a plain Call to a CallOrHash. +pub struct SchedulerMigrationV3; +impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { + fn on_runtime_upgrade() -> frame_support::weights::Weight { + Scheduler::migrate_v2_to_v3() + } + + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result<(), &'static str> { + Scheduler::pre_migrate_to_v3() + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade() -> Result<(), &'static str> { + Scheduler::post_migrate_to_v3() + } +} #[cfg(not(feature = "disable-runtime-api"))] impl_runtime_apis! { diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index f7646df4e5..c4a4280e9a 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -37,6 +37,7 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -170,6 +171,7 @@ std = [ "sp-version/std", "pallet-bounties/std", "pallet-tips/std", + "pallet-preimage/std", "cumulus-pallet-aura-ext/std", "cumulus-primitives-core/std", @@ -291,6 +293,7 @@ try-runtime = [ "pallet-utility/try-runtime", "pallet-bounties/try-runtime", "pallet-tips/try-runtime", + "pallet-preimage/try-runtime", "orml-auction/try-runtime", "orml-authority/try-runtime", diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 107912ab32..833528ac05 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -649,7 +649,6 @@ parameter_types! { pub const EnactmentPeriod: BlockNumber = 2 * DAYS; pub const VoteLockingPeriod: BlockNumber = 7 * DAYS; pub const CooloffPeriod: BlockNumber = 7 * DAYS; - pub PreimageByteDeposit: Balance = deposit(0, 1); pub const InstantAllowed: bool = true; pub const MaxVotes: u32 = 100; pub const MaxProposals: u32 = 100; @@ -940,10 +939,26 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; - type PreimageProvider = (); + type PreimageProvider = Preimage; type NoPreimagePostponement = NoPreimagePostponement; } +parameter_types! { + pub const PreimageMaxSize: u32 = 4096 * 1024; + pub PreimageBaseDeposit: Balance = deposit(2, 64); + pub PreimageByteDeposit: Balance = deposit(0, 1); +} + +impl pallet_preimage::Config for Runtime { + type WeightInfo = (); + type Event = Event; + type Currency = Balances; + type ManagerOrigin = EnsureRoot; + type MaxSize = PreimageMaxSize; + type BaseDeposit = PreimageBaseDeposit; + type ByteDeposit = PreimageByteDeposit; +} + parameter_types! { pub MinimumIncrementSize: Rate = Rate::saturating_from_rational(2, 100); pub const AuctionTimeToClose: BlockNumber = 15 * MINUTES; @@ -1997,6 +2012,7 @@ construct_runtime!( Proxy: pallet_proxy::{Pallet, Call, Storage, Event} = 5, TransactionPause: module_transaction_pause::{Pallet, Call, Storage, Event} = 6, IdleScheduler: module_idle_scheduler::{Pallet, Call, Storage, Event} = 7, + Preimage: pallet_preimage::{Pallet, Call, Storage, Event} = 8, // Tokens & Related Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 10, @@ -2113,8 +2129,32 @@ pub type SignedPayload = generic::SignedPayload; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Executive: handles dispatch to the various modules. -pub type Executive = - frame_executive::Executive, Runtime, AllPalletsWithSystem, ()>; +pub type Executive = frame_executive::Executive< + Runtime, + Block, + frame_system::ChainContext, + Runtime, + AllPalletsWithSystem, + SchedulerMigrationV3, +>; + +// Migration for scheduler pallet to move from a plain Call to a CallOrHash. +pub struct SchedulerMigrationV3; +impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { + fn on_runtime_upgrade() -> frame_support::weights::Weight { + Scheduler::migrate_v2_to_v3() + } + + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result<(), &'static str> { + Scheduler::pre_migrate_to_v3() + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade() -> Result<(), &'static str> { + Scheduler::post_migrate_to_v3() + } +} #[cfg(not(feature = "disable-runtime-api"))] impl_runtime_apis! { diff --git a/runtime/mandala/Cargo.toml b/runtime/mandala/Cargo.toml index 490a26efb6..c67fb1def2 100644 --- a/runtime/mandala/Cargo.toml +++ b/runtime/mandala/Cargo.toml @@ -42,6 +42,7 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -323,6 +324,7 @@ try-runtime = [ "pallet-transaction-payment/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", + "pallet-preimage/try-runtime", "orml-auction/try-runtime", "orml-authority/try-runtime", diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index c4a7a14d3b..7476354b69 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -639,7 +639,6 @@ parameter_types! { pub MinimumDeposit: Balance = 100 * cent(ACA); pub const EnactmentPeriod: BlockNumber = MINUTES; pub const CooloffPeriod: BlockNumber = MINUTES; - pub PreimageByteDeposit: Balance = 10 * millicent(ACA); pub const InstantAllowed: bool = true; pub const MaxVotes: u32 = 100; pub const MaxProposals: u32 = 100; @@ -946,10 +945,26 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; - type PreimageProvider = (); + type PreimageProvider = Preimage; type NoPreimagePostponement = NoPreimagePostponement; } +parameter_types! { + pub const PreimageMaxSize: u32 = 4096 * 1024; + pub PreimageBaseDeposit: Balance = deposit(2, 64); + pub PreimageByteDeposit: Balance = deposit(0, 1); +} + +impl pallet_preimage::Config for Runtime { + type WeightInfo = (); + type Event = Event; + type Currency = Balances; + type ManagerOrigin = EnsureRoot; + type MaxSize = PreimageMaxSize; + type BaseDeposit = PreimageBaseDeposit; + type ByteDeposit = PreimageByteDeposit; +} + parameter_types! { pub MinimumIncrementSize: Rate = Rate::saturating_from_rational(2, 100); pub const AuctionTimeToClose: BlockNumber = 15 * MINUTES; @@ -2046,8 +2061,32 @@ pub type SignedPayload = generic::SignedPayload; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Executive: handles dispatch to the various modules. -pub type Executive = - frame_executive::Executive, Runtime, AllPalletsWithSystem, ()>; +pub type Executive = frame_executive::Executive< + Runtime, + Block, + frame_system::ChainContext, + Runtime, + AllPalletsWithSystem, + SchedulerMigrationV3, +>; + +// Migration for scheduler pallet to move from a plain Call to a CallOrHash. +pub struct SchedulerMigrationV3; +impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { + fn on_runtime_upgrade() -> frame_support::weights::Weight { + Scheduler::migrate_v2_to_v3() + } + + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result<(), &'static str> { + Scheduler::pre_migrate_to_v3() + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade() -> Result<(), &'static str> { + Scheduler::post_migrate_to_v3() + } +} construct_runtime! { pub enum Runtime where @@ -2060,6 +2099,7 @@ construct_runtime! { Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 1, Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event} = 2, TransactionPause: module_transaction_pause::{Pallet, Call, Storage, Event} = 3, + Preimage: pallet_preimage::{Pallet, Call, Storage, Event} = 4, // Tokens & Related Balances: pallet_balances::{Pallet, Call, Storage, Config, Event} = 10, From f36e29b8050064efc167e9db2ea975537ad386cd Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 29 Jan 2022 00:42:53 +0800 Subject: [PATCH 24/46] v0.9.16 --- Cargo.lock | 702 +++++++++--------- Cargo.toml | 350 ++++----- ecosystem-modules/compound-cash/Cargo.toml | 12 +- ecosystem-modules/ren/renvm-bridge/Cargo.toml | 14 +- ecosystem-modules/starport/Cargo.toml | 14 +- inspect/Cargo.toml | 12 +- modules/asset-registry/Cargo.toml | 22 +- modules/auction-manager/Cargo.toml | 14 +- modules/cdp-engine/Cargo.toml | 18 +- modules/cdp-treasury/Cargo.toml | 14 +- modules/collator-selection/Cargo.toml | 32 +- modules/currencies/Cargo.toml | 18 +- modules/dex/Cargo.toml | 16 +- modules/emergency-shutdown/Cargo.toml | 14 +- modules/evm-accounts/Cargo.toml | 14 +- modules/evm-bridge/Cargo.toml | 16 +- modules/evm-utiltity/Cargo.toml | 2 +- modules/evm/Cargo.toml | 16 +- modules/evm/rpc/Cargo.toml | 20 +- modules/evm/rpc/runtime_api/Cargo.toml | 8 +- modules/example/Cargo.toml | 10 +- modules/homa-lite/Cargo.toml | 28 +- modules/homa-validator-list/Cargo.toml | 14 +- modules/homa/Cargo.toml | 18 +- modules/honzon/Cargo.toml | 16 +- modules/idle-scheduler/Cargo.toml | 12 +- modules/incentives/Cargo.toml | 14 +- modules/loans/Cargo.toml | 14 +- modules/nft/Cargo.toml | 20 +- modules/nominees-election/Cargo.toml | 14 +- modules/prices/Cargo.toml | 12 +- modules/relaychain/Cargo.toml | 16 +- modules/session-manager/Cargo.toml | 14 +- modules/support/Cargo.toml | 12 +- modules/transaction-pause/Cargo.toml | 14 +- modules/transaction-payment/Cargo.toml | 24 +- node/cli/Cargo.toml | 30 +- node/e2e-tests/test-service/Cargo.toml | 96 +-- node/e2e-tests/test-service/src/service.rs | 35 +- node/service/Cargo.toml | 104 +-- node/service/src/lib.rs | 16 +- orml | 2 +- primitives/Cargo.toml | 12 +- rpc/Cargo.toml | 22 +- runtime/acala/Cargo.toml | 114 +-- runtime/acala/src/lib.rs | 6 +- runtime/common/Cargo.toml | 34 +- runtime/integration-tests/Cargo.toml | 120 +-- .../relaychain/kusama_cross_chain_transfer.rs | 6 +- runtime/karura/Cargo.toml | 114 +-- runtime/karura/src/lib.rs | 6 +- runtime/mandala/Cargo.toml | 124 ++-- runtime/mandala/src/lib.rs | 6 +- 53 files changed, 1222 insertions(+), 1205 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 922be2a20a..5a79627d3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -771,7 +771,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "beefy-primitives", "fnv", @@ -800,7 +800,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -824,12 +824,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -1041,7 +1041,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "finality-grandpa", "frame-support", @@ -1057,7 +1057,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-runtime", "frame-support", @@ -1069,7 +1069,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitvec 0.20.4", "bp-runtime", @@ -1085,7 +1085,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-messages", "bp-runtime", @@ -1103,7 +1103,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1120,7 +1120,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "hash-db", @@ -1138,7 +1138,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -1153,7 +1153,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1168,7 +1168,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -1903,7 +1903,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "sc-cli", "sc-service", @@ -1913,7 +1913,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1937,7 +1937,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1966,7 +1966,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1987,7 +1987,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -2011,7 +2011,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2036,7 +2036,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-client-collator", "cumulus-client-consensus-common", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "frame-executive", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2125,7 +2125,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -2155,7 +2155,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -2166,7 +2166,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2183,7 +2183,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2201,7 +2201,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "frame-support", "parity-scale-codec", @@ -2217,7 +2217,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2240,7 +2240,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "sp-inherents", @@ -2251,7 +2251,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2268,25 +2268,28 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "async-trait", "cumulus-primitives-core", "derive_more", + "futures 0.3.19", "parking_lot 0.11.2", "polkadot-overseer", "sc-client-api", + "sc-service", "sp-api", "sp-blockchain", "sp-core", "sp-runtime", "sp-state-machine", + "thiserror", ] [[package]] name = "cumulus-relay-chain-local" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2314,7 +2317,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2327,7 +2330,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-validation-worker-provider" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=master#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.16#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "polkadot-node-core-pvf", ] @@ -3303,7 +3306,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", ] @@ -3321,7 +3324,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -3342,7 +3345,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "Inflector", "chrono", @@ -3368,7 +3371,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -3382,7 +3385,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -3410,7 +3413,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "bitflags", "frame-metadata", @@ -3439,7 +3442,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -3451,7 +3454,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -3463,7 +3466,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro2", "quote", @@ -3473,7 +3476,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "log", @@ -3490,7 +3493,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -3505,7 +3508,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "sp-api", @@ -3514,7 +3517,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "sp-api", @@ -4661,8 +4664,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -4749,8 +4752,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "polkadot-primitives", @@ -5801,8 +5804,8 @@ dependencies = [ [[package]] name = "metered-channel" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "derive_more", "futures 0.3.19", @@ -6768,7 +6771,7 @@ dependencies = [ [[package]] name = "node-executor" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "node-primitives", @@ -6786,7 +6789,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-system", "parity-scale-codec", @@ -6799,7 +6802,7 @@ dependencies = [ [[package]] name = "node-runtime" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7490,7 +7493,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -7506,7 +7509,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7520,7 +7523,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -7536,7 +7539,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -7552,7 +7555,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -7567,7 +7570,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7591,7 +7594,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7611,7 +7614,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7626,7 +7629,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "beefy-primitives", "frame-support", @@ -7642,7 +7645,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -7667,7 +7670,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7685,7 +7688,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -7702,7 +7705,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7724,7 +7727,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitvec 0.20.4", "bp-message-dispatch", @@ -7745,7 +7748,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -7763,7 +7766,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7780,7 +7783,7 @@ dependencies = [ [[package]] name = "pallet-contracts" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "bitflags", "frame-benchmarking", @@ -7807,7 +7810,7 @@ dependencies = [ [[package]] name = "pallet-contracts-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "bitflags", "parity-scale-codec", @@ -7822,7 +7825,7 @@ dependencies = [ [[package]] name = "pallet-contracts-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro2", "quote", @@ -7832,7 +7835,7 @@ dependencies = [ [[package]] name = "pallet-contracts-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "pallet-contracts-primitives", "parity-scale-codec", @@ -7845,7 +7848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7861,7 +7864,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7885,7 +7888,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7903,7 +7906,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7918,7 +7921,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7941,7 +7944,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7957,7 +7960,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7977,7 +7980,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7994,7 +7997,7 @@ dependencies = [ [[package]] name = "pallet-lottery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8007,7 +8010,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8024,7 +8027,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -8042,7 +8045,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8058,7 +8061,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8075,7 +8078,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8090,7 +8093,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8104,7 +8107,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8121,7 +8124,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8144,7 +8147,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8160,7 +8163,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8175,7 +8178,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8189,7 +8192,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8203,7 +8206,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8219,7 +8222,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8240,7 +8243,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8256,7 +8259,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8270,7 +8273,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8293,7 +8296,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8304,7 +8307,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "log", "sp-arithmetic", @@ -8313,7 +8316,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8327,7 +8330,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8345,7 +8348,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8364,7 +8367,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8381,7 +8384,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8398,7 +8401,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8409,7 +8412,7 @@ dependencies = [ [[package]] name = "pallet-transaction-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-support", "frame-system", @@ -8421,13 +8424,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", - "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=master)", + "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16)", ] [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8444,7 +8447,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8459,7 +8462,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8475,7 +8478,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8489,8 +8492,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "frame-system", @@ -8507,8 +8510,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.8" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-benchmarking", "frame-support", @@ -8525,7 +8528,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=a9eb03208653b420e9599664c322396ac6f83db7#a9eb03208653b420e9599664c322396ac6f83db7" +source = "git+https://github.com/paritytech//cumulus?rev=867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790#867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8955,8 +8958,8 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8969,8 +8972,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8982,8 +8985,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "derive_more", "futures 0.3.19", @@ -9004,8 +9007,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "lru 0.7.2", @@ -9024,8 +9027,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-benchmarking-cli", "futures 0.3.19", @@ -9047,8 +9050,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -9078,8 +9081,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "always-assert", "derive_more", @@ -9099,8 +9102,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -9112,8 +9115,8 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "derive_more", "futures 0.3.19", @@ -9134,8 +9137,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9148,8 +9151,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9168,8 +9171,8 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-trait", "futures 0.3.19", @@ -9187,8 +9190,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "parity-scale-codec", @@ -9205,8 +9208,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitvec 0.20.4", "derive_more", @@ -9233,8 +9236,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9253,8 +9256,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9271,8 +9274,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -9286,8 +9289,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-trait", "futures 0.3.19", @@ -9304,8 +9307,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -9319,8 +9322,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9336,8 +9339,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "kvdb", @@ -9354,8 +9357,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-trait", "futures 0.3.19", @@ -9371,8 +9374,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9388,8 +9391,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "always-assert", "assert_matches", @@ -9418,8 +9421,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "polkadot-node-primitives", @@ -9434,8 +9437,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "memory-lru", @@ -9452,8 +9455,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-std", "lazy_static", @@ -9470,8 +9473,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bs58", "futures 0.3.19", @@ -9489,8 +9492,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-trait", "derive_more", @@ -9507,8 +9510,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bounded-vec", "futures 0.3.19", @@ -9529,8 +9532,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9539,8 +9542,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "derive_more", "futures 0.3.19", @@ -9558,8 +9561,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-trait", "derive_more", @@ -9586,8 +9589,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9607,8 +9610,8 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-trait", "futures 0.3.19", @@ -9624,8 +9627,8 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -9635,8 +9638,8 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "derive_more", "frame-support", @@ -9652,8 +9655,8 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -9667,8 +9670,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitvec 0.20.4", "frame-system", @@ -9697,8 +9700,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.13" -source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -9728,8 +9731,8 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -9759,8 +9762,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -9843,8 +9846,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -9890,8 +9893,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "polkadot-primitives", @@ -9902,8 +9905,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bs58", "parity-scale-codec", @@ -9914,8 +9917,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "bitflags", "bitvec 0.20.4", @@ -9949,15 +9952,14 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", - "static_assertions", "xcm", "xcm-executor", ] [[package]] name = "polkadot-service" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "async-trait", "beefy-gadget", @@ -10003,7 +10005,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain", "polkadot-primitives", - "polkadot-rpc 0.9.13 (git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2)", + "polkadot-rpc 0.9.16 (git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966)", "polkadot-runtime", "polkadot-runtime-constants", "polkadot-runtime-parachains", @@ -10057,8 +10059,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "arrayvec 0.5.2", "derive_more", @@ -10078,8 +10080,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10088,8 +10090,8 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.9.13" -source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -10150,8 +10152,8 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.9.13" -source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-benchmarking", "frame-system", @@ -10166,7 +10168,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain", "polkadot-primitives", - "polkadot-rpc 0.9.13 (git+https://github.com/paritytech/polkadot?branch=master)", + "polkadot-rpc 0.9.16 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.16)", "polkadot-runtime-common", "polkadot-runtime-parachains", "polkadot-service", @@ -10672,7 +10674,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -10811,8 +10813,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-primitives", "bp-messages", @@ -10886,8 +10888,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "polkadot-primitives", @@ -11245,7 +11247,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "log", "sp-core", @@ -11256,7 +11258,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "derive_more", @@ -11283,7 +11285,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "futures-timer", @@ -11306,7 +11308,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11322,7 +11324,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "impl-trait-for-tuples 0.2.1", "memmap2 0.5.2", @@ -11339,7 +11341,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -11350,7 +11352,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "chrono", "fdlimit", @@ -11388,7 +11390,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "fnv", "futures 0.3.19", @@ -11416,7 +11418,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "hash-db", "kvdb", @@ -11441,7 +11443,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "futures 0.3.19", @@ -11465,7 +11467,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "derive_more", @@ -11494,7 +11496,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "derive_more", @@ -11537,7 +11539,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "derive_more", "futures 0.3.19", @@ -11561,7 +11563,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11574,7 +11576,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "assert_matches", "async-trait", @@ -11610,7 +11612,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "futures 0.3.19", @@ -11635,7 +11637,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "sc-client-api", "sp-authorship", @@ -11646,7 +11648,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "lazy_static", "libsecp256k1 0.7.0", @@ -11674,7 +11676,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "derive_more", "environmental", @@ -11692,7 +11694,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "log", "parity-scale-codec", @@ -11708,7 +11710,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "cfg-if 1.0.0", "libc", @@ -11726,7 +11728,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "derive_more", @@ -11764,7 +11766,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "derive_more", "finality-grandpa", @@ -11788,7 +11790,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "ansi_term", "futures 0.3.19", @@ -11805,7 +11807,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "derive_more", @@ -11820,7 +11822,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-std", "async-trait", @@ -11871,7 +11873,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "futures-timer", @@ -11887,7 +11889,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "bytes 1.1.0", "fnv", @@ -11915,7 +11917,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "libp2p", @@ -11928,7 +11930,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11937,7 +11939,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "hash-db", @@ -11968,7 +11970,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -11993,7 +11995,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -12010,7 +12012,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "directories", @@ -12060,7 +12062,7 @@ dependencies = [ "sp-storage", "sp-tracing", "sp-transaction-pool", - "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd)", + "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a)", "sp-trie", "sp-version", "substrate-prometheus-endpoint", @@ -12074,7 +12076,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "log", "parity-scale-codec", @@ -12088,7 +12090,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -12110,7 +12112,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "chrono", "futures 0.3.19", @@ -12128,7 +12130,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "ansi_term", "atty", @@ -12159,7 +12161,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -12170,7 +12172,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "futures-timer", @@ -12197,7 +12199,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "derive_more", "futures 0.3.19", @@ -12211,7 +12213,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "futures-timer", @@ -12632,8 +12634,8 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "enumn", "parity-scale-codec", @@ -12721,7 +12723,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "hash-db", "log", @@ -12738,7 +12740,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", @@ -12750,7 +12752,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -12763,7 +12765,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "integer-sqrt", "num-traits", @@ -12778,7 +12780,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -12791,7 +12793,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "parity-scale-codec", @@ -12803,7 +12805,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "sp-api", @@ -12815,7 +12817,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "log", @@ -12833,7 +12835,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "futures 0.3.19", @@ -12852,7 +12854,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "parity-scale-codec", @@ -12870,7 +12872,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "merlin", @@ -12893,7 +12895,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -12905,7 +12907,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -12917,7 +12919,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "base58 0.2.0", "bitflags", @@ -12965,7 +12967,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "blake2-rfc", "byteorder", @@ -12978,7 +12980,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro2", "quote", @@ -12989,7 +12991,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "kvdb", "parking_lot 0.11.2", @@ -12998,7 +13000,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro2", "quote", @@ -13008,7 +13010,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "environmental", "parity-scale-codec", @@ -13019,7 +13021,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "finality-grandpa", "log", @@ -13037,7 +13039,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "impl-trait-for-tuples 0.2.1", @@ -13051,7 +13053,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "hash-db", @@ -13075,7 +13077,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "lazy_static", "sp-core", @@ -13086,7 +13088,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "derive_more", @@ -13103,7 +13105,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "zstd", ] @@ -13111,7 +13113,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -13126,7 +13128,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -13137,7 +13139,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "sp-api", "sp-core", @@ -13147,7 +13149,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "backtrace", "lazy_static", @@ -13157,7 +13159,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "rustc-hash", "serde", @@ -13167,7 +13169,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "either", "hash256-std-hasher", @@ -13189,7 +13191,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "impl-trait-for-tuples 0.2.1", "parity-scale-codec", @@ -13206,7 +13208,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -13218,7 +13220,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "log", "parity-scale-codec", @@ -13232,7 +13234,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "serde", "serde_json", @@ -13241,7 +13243,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -13255,7 +13257,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -13266,7 +13268,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "hash-db", "log", @@ -13289,12 +13291,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" [[package]] name = "sp-storage" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13307,7 +13309,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "log", "sp-core", @@ -13320,7 +13322,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "futures-timer", @@ -13336,7 +13338,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "sp-std", @@ -13348,7 +13350,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "sp-api", "sp-runtime", @@ -13357,7 +13359,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "scale-info", @@ -13369,7 +13371,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "log", @@ -13385,7 +13387,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "hash-db", "memory-db", @@ -13400,7 +13402,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13417,7 +13419,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13428,7 +13430,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "impl-trait-for-tuples 0.2.1", "log", @@ -13606,7 +13608,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "platforms 2.0.0", ] @@ -13614,7 +13616,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.19", @@ -13636,7 +13638,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-std", "derive_more", @@ -13650,7 +13652,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "async-trait", "futures 0.3.19", @@ -13676,7 +13678,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "futures 0.3.19", "substrate-test-utils-derive", @@ -13686,7 +13688,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#542a8585339d2581e641df339d254d7dd22b1456" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.16#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -13697,7 +13699,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "ansi_term", "build-helper", @@ -13775,8 +13777,8 @@ dependencies = [ [[package]] name = "test-runtime-constants" -version = "0.9.13" -source = "git+https://github.com/paritytech/polkadot?branch=master#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.16#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "polkadot-primitives", @@ -14288,7 +14290,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=32b71896df8a832e7c139a842e46710e4d3f70cd#32b71896df8a832e7c139a842e46710e4d3f70cd" +source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" dependencies = [ "jsonrpsee", "log", @@ -14908,8 +14910,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -14994,8 +14996,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "polkadot-primitives", @@ -15129,8 +15131,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "derivative", "impl-trait-for-tuples 0.2.1", @@ -15142,8 +15144,8 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "frame-system", @@ -15186,8 +15188,8 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-benchmarking", "frame-support", @@ -15205,7 +15207,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "Inflector", "proc-macro2", @@ -15215,8 +15217,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "0.9.13" -source = "git+https://github.com/paritytech//polkadot?rev=648d80595a78d0af6a03d7c78fc59aab86de4cb2#648d80595a78d0af6a03d7c78fc59aab86de4cb2" +version = "0.9.16" +source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/Cargo.toml b/Cargo.toml index bc1dffb469..c85f4079e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,182 +121,182 @@ yamux = { opt-level = 3 } zeroize = { opt-level = 3 } [patch."https://github.com/paritytech/substrate"] -frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-executive = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-support = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-system = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-session = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-society = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-cli = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-executor = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-informant = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-network = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-service = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sc-utils = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-api = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-core = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-io = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-session = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-staking = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-std = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-storage = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-trie = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-version = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } -try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "32b71896df8a832e7c139a842e46710e4d3f70cd" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-executive = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-support = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-system = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-session = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-society = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-cli = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-executor = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-informant = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-network = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-service = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sc-utils = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-core = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-io = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-session = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-staking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-std = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-storage = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-trie = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-version = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } [patch."https://github.com/paritytech/polkadot"] -kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -xcm = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } -xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "648d80595a78d0af6a03d7c78fc59aab86de4cb2" } +kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +xcm = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } [patch."https://github.com/paritytech/cumulus"] -cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } -cumulus-relay-chain-local = { git = "https://github.com/paritytech//cumulus", rev = "a9eb03208653b420e9599664c322396ac6f83db7" } +cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } diff --git a/ecosystem-modules/compound-cash/Cargo.toml b/ecosystem-modules/compound-cash/Cargo.toml index 5c084d4dab..4c0ea2f51f 100644 --- a/ecosystem-modules/compound-cash/Cargo.toml +++ b/ecosystem-modules/compound-cash/Cargo.toml @@ -8,16 +8,16 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } module-support = { path = "../../modules/support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/ecosystem-modules/ren/renvm-bridge/Cargo.toml b/ecosystem-modules/ren/renvm-bridge/Cargo.toml index a061bd5d65..06066fd20c 100644 --- a/ecosystem-modules/ren/renvm-bridge/Cargo.toml +++ b/ecosystem-modules/ren/renvm-bridge/Cargo.toml @@ -8,12 +8,12 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } support = { package = "module-support", path = "../../../modules/support", default-features = false } orml-traits = { path = "../../../orml/traits", default-features = false } primitives = { package = "acala-primitives", path = "../../../primitives", default-features = false } @@ -22,7 +22,7 @@ primitives = { package = "acala-primitives", path = "../../../primitives", defau hex-literal = "0.3.1" orml-currencies = { path = "../../../orml/currencies" } orml-tokens = { path = "../../../orml/tokens" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/ecosystem-modules/starport/Cargo.toml b/ecosystem-modules/starport/Cargo.toml index dbb1735308..fb2902bd05 100644 --- a/ecosystem-modules/starport/Cargo.toml +++ b/ecosystem-modules/starport/Cargo.toml @@ -7,18 +7,18 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } module-support = { path = "../../modules/support", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens"} diff --git a/inspect/Cargo.toml b/inspect/Cargo.toml index 69ec5b65b1..9db741bff2 100644 --- a/inspect/Cargo.toml +++ b/inspect/Cargo.toml @@ -8,10 +8,10 @@ edition = "2021" codec = { package = "parity-scale-codec", version = "2.3.1" } derive_more = "0.99" log = "0.4.8" -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } structopt = "0.3.25" diff --git a/modules/asset-registry/Cargo.toml b/modules/asset-registry/Cargo.toml index a006b4f87d..e3e7bd05d8 100644 --- a/modules/asset-registry/Cargo.toml +++ b/modules/asset-registry/Cargo.toml @@ -9,23 +9,23 @@ log = { version = "0.4.14", default-features = false } serde = { version = "1.0.124", optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } module-support = { path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } module-evm = { path = "../evm" } module-evm-bridge = { path = "../evm-bridge" } diff --git a/modules/auction-manager/Cargo.toml b/modules/auction-manager/Cargo.toml index 581e8ac6b1..a8b7ecfaff 100644 --- a/modules/auction-manager/Cargo.toml +++ b/modules/auction-manager/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-auction = { path = "../../orml/auction" } cdp-treasury = { package = "module-cdp-treasury", path = "../cdp-treasury" } module-dex = { path = "../dex" } diff --git a/modules/cdp-engine/Cargo.toml b/modules/cdp-engine/Cargo.toml index e0dba51fd8..044f3b11f9 100644 --- a/modules/cdp-engine/Cargo.toml +++ b/modules/cdp-engine/Cargo.toml @@ -8,23 +8,23 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } support = { package = "module-support", path = "../support", default-features = false } loans = { package = "module-loans", path = "../loans", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } rand_chacha = { version = "0.2", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-currencies = { path = "../../orml/currencies" } dex = { package = "module-dex", path = "../dex"} cdp-treasury = { package = "module-cdp-treasury", path = "../cdp-treasury" } diff --git a/modules/cdp-treasury/Cargo.toml b/modules/cdp-treasury/Cargo.toml index 29c81c1ef4..d51e639bcd 100644 --- a/modules/cdp-treasury/Cargo.toml +++ b/modules/cdp-treasury/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-currencies = { path = "../../orml/currencies" } orml-auction = { path = "../../orml/auction" } module-dex = { path = "../dex" } diff --git a/modules/collator-selection/Cargo.toml b/modules/collator-selection/Cargo.toml index 06d4437c8e..41fcda5cc5 100644 --- a/modules/collator-selection/Cargo.toml +++ b/modules/collator-selection/Cargo.toml @@ -13,26 +13,26 @@ codec = { package = 'parity-scale-codec', version = '2.0.0', default-features = scale-info = { version = "1.0", default-features = false, features = ["derive"] } serde = { version = "1.0.119", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ['std'] diff --git a/modules/currencies/Cargo.toml b/modules/currencies/Cargo.toml index 9b44374d06..2773cac41d 100644 --- a/modules/currencies/Cargo.toml +++ b/modules/currencies/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } @@ -23,9 +23,9 @@ primitives = { package = "acala-primitives", path = "../../primitives", default- support = { package = "module-support", path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } tokens = { package = "orml-tokens", path = "../../orml/tokens" } module-evm = { path = "../evm" } module-evm-bridge = { path = "../evm-bridge" } diff --git a/modules/dex/Cargo.toml b/modules/dex/Cargo.toml index 2e7202d80e..e5c11f5aea 100644 --- a/modules/dex/Cargo.toml +++ b/modules/dex/Cargo.toml @@ -8,20 +8,20 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] orml-tokens = { path = "../../orml/tokens" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/modules/emergency-shutdown/Cargo.toml b/modules/emergency-shutdown/Cargo.toml index f919c86867..b103593ad1 100644 --- a/modules/emergency-shutdown/Cargo.toml +++ b/modules/emergency-shutdown/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } support = { package = "module-support", path = "../support", default-features = false } loans = { package = "module-loans", path = "../loans", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances= { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-currencies = { path = "../../orml/currencies" } orml-traits = { path = "../../orml/traits" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/evm-accounts/Cargo.toml b/modules/evm-accounts/Cargo.toml index ef311c3373..d437d4f637 100644 --- a/modules/evm-accounts/Cargo.toml +++ b/modules/evm-accounts/Cargo.toml @@ -10,12 +10,12 @@ codec = { package = "parity-scale-codec", version = "2.3.1", default-features = libsecp256k1 = { version = "0.6", default-features = false, features = ["hmac", "static-context"], optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } @@ -24,7 +24,7 @@ module-support = { path = "../support", default-features = false } module-evm-utiltity-macro = { path = "../evm-utiltity/macro" } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/evm-bridge/Cargo.toml b/modules/evm-bridge/Cargo.toml index 7aa49b6f49..23b4509527 100644 --- a/modules/evm-bridge/Cargo.toml +++ b/modules/evm-bridge/Cargo.toml @@ -11,12 +11,12 @@ targets = ["x86_64-unknown-linux-gnu"] serde = { version = "1.0.124", optional = true, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitive-types = { version = "0.10.1", default-features = false, features = ["rlp", "byteorder"] } impl-trait-for-tuples = "0.2.1" ethereum-types = { version = "0.12.0", default-features = false } @@ -27,8 +27,8 @@ module-evm-utiltity-macro = { path = "../evm-utiltity/macro" } num_enum = { version = "0.5.1", default-features = false } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/modules/evm-utiltity/Cargo.toml b/modules/evm-utiltity/Cargo.toml index 5040e773ab..2ea617a388 100644 --- a/modules/evm-utiltity/Cargo.toml +++ b/modules/evm-utiltity/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] sha3 = { version = "0.9.1", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } evm = { git = "https://github.com/rust-blockchain/evm", rev = "966cf3abe4143451e408c3f586d51c6513d9a48e", default-features = false, features = ["with-codec"] } evm-gasometer = { git = "https://github.com/rust-blockchain/evm", rev = "966cf3abe4143451e408c3f586d51c6513d9a48e", default-features = false } diff --git a/modules/evm/Cargo.toml b/modules/evm/Cargo.toml index d3a4ae9ab6..02fca96c0a 100644 --- a/modules/evm/Cargo.toml +++ b/modules/evm/Cargo.toml @@ -23,15 +23,15 @@ scale-info = { version = "1.0", default-features = false, features = ["derive"] serde_json = { version = "1.0", default-features = false, features = ["alloc"], optional = true } hex = { version = "0.4", default-features = false, features = ["alloc"], optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-bencher = { path = "../../orml/bencher", default-features = false, optional = true } orml-currencies = { path = "../../orml/currencies", default-features = false, optional = true } diff --git a/modules/evm/rpc/Cargo.toml b/modules/evm/rpc/Cargo.toml index 28521e7d83..1820c6b4d2 100644 --- a/modules/evm/rpc/Cargo.toml +++ b/modules/evm/rpc/Cargo.toml @@ -11,16 +11,16 @@ ethereum-types = "0.12.0" rustc-hex = "2.1.0" serde = { version = "1.0.124", features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } module-evm-rpc-runtime-api = { path = "runtime_api" } module-evm = { path = ".." } diff --git a/modules/evm/rpc/runtime_api/Cargo.toml b/modules/evm/rpc/runtime_api/Cargo.toml index 8693b22186..5bcfab101e 100644 --- a/modules/evm/rpc/runtime_api/Cargo.toml +++ b/modules/evm/rpc/runtime_api/Cargo.toml @@ -5,10 +5,10 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } ethereum-types = { version = "0.12", default-features = false } primitives = { package = "acala-primitives", path = "../../../../primitives", default-features = false } diff --git a/modules/example/Cargo.toml b/modules/example/Cargo.toml index 0da9a35806..e97b62ab3f 100644 --- a/modules/example/Cargo.toml +++ b/modules/example/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" serde = { version = "1.0.124", optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/modules/homa-lite/Cargo.toml b/modules/homa-lite/Cargo.toml index 5ad9688e45..ca5a7a1cc0 100644 --- a/modules/homa-lite/Cargo.toml +++ b/modules/homa-lite/Cargo.toml @@ -7,27 +7,27 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } module-support = { path = "../../modules/support", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } module-relaychain = { path = "../relaychain", features = ["kusama"] } [features] diff --git a/modules/homa-validator-list/Cargo.toml b/modules/homa-validator-list/Cargo.toml index 049f890f9a..69fde504af 100644 --- a/modules/homa-validator-list/Cargo.toml +++ b/modules/homa-validator-list/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.111", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } support = { package = "module-support", path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-tokens = { path = "../../orml/tokens" } orml-currencies = { path = "../../orml/currencies" } diff --git a/modules/homa/Cargo.toml b/modules/homa/Cargo.toml index c1d432206e..f85c776ad0 100644 --- a/modules/homa/Cargo.toml +++ b/modules/homa/Cargo.toml @@ -7,20 +7,20 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } module-support = { path = "../../modules/support", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/honzon/Cargo.toml b/modules/honzon/Cargo.toml index d6d798b43f..fd0c1ea031 100644 --- a/modules/honzon/Cargo.toml +++ b/modules/honzon/Cargo.toml @@ -8,20 +8,20 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } cdp-engine = { package = "module-cdp-engine", path = "../cdp-engine", default-features = false } loans = { package = "module-loans", path = "../loans", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-currencies = { path = "../../orml/currencies" } orml-traits = { path = "../../orml/traits" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/idle-scheduler/Cargo.toml b/modules/idle-scheduler/Cargo.toml index 09bfce1289..414901864f 100644 --- a/modules/idle-scheduler/Cargo.toml +++ b/modules/idle-scheduler/Cargo.toml @@ -8,16 +8,16 @@ edition = "2021" serde = { version = "1.0.124", optional = true } scale-info = { version = "1.0", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } acala-primitives = { path = "../../primitives", default-features = false } module-support = { path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/modules/incentives/Cargo.toml b/modules/incentives/Cargo.toml index a3c116373d..41883c23af 100644 --- a/modules/incentives/Cargo.toml +++ b/modules/incentives/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-rewards = { path = "../../orml/rewards", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-tokens = { path = "../../orml/tokens" } orml-rewards = { path = "../../orml/rewards" } diff --git a/modules/loans/Cargo.toml b/modules/loans/Cargo.toml index f68af5f7cc..7532e890b2 100644 --- a/modules/loans/Cargo.toml +++ b/modules/loans/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } support = { package = "module-support", path = "../support", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } cdp-treasury = { package = "module-cdp-treasury", path = "../cdp-treasury" } diff --git a/modules/nft/Cargo.toml b/modules/nft/Cargo.toml index 70590d54e7..955d439789 100644 --- a/modules/nft/Cargo.toml +++ b/modules/nft/Cargo.toml @@ -10,22 +10,22 @@ codec = { package = "parity-scale-codec", version = "2.3.1", default-features = scale-info = { version = "1.0", default-features = false, features = ["derive"] } enumflags2 = { version = "0.6.3" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-nft = { path = "../../orml/nft", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-tokens = { path = "../../orml/tokens" } module-currencies = { path = "../../modules/currencies" } diff --git a/modules/nominees-election/Cargo.toml b/modules/nominees-election/Cargo.toml index f93a09b31a..acf9ec7a11 100644 --- a/modules/nominees-election/Cargo.toml +++ b/modules/nominees-election/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/prices/Cargo.toml b/modules/prices/Cargo.toml index c88b43336d..3b96c230b3 100644 --- a/modules/prices/Cargo.toml +++ b/modules/prices/Cargo.toml @@ -8,17 +8,17 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { package = "orml-traits", path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-tokens = { path = "../../orml/tokens" } [features] diff --git a/modules/relaychain/Cargo.toml b/modules/relaychain/Cargo.toml index 38bbdd94e5..55869c745b 100644 --- a/modules/relaychain/Cargo.toml +++ b/modules/relaychain/Cargo.toml @@ -7,18 +7,18 @@ edition = "2021" [dependencies] serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } module-support = { path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/modules/session-manager/Cargo.toml b/modules/session-manager/Cargo.toml index c3b88db3d3..9b37b9916a 100644 --- a/modules/session-manager/Cargo.toml +++ b/modules/session-manager/Cargo.toml @@ -9,15 +9,15 @@ log = { version = "0.4.14", default-features = false } serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std= { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/modules/support/Cargo.toml b/modules/support/Cargo.toml index 80615ce537..2ad6c7cf0e 100644 --- a/modules/support/Cargo.toml +++ b/modules/support/Cargo.toml @@ -7,13 +7,13 @@ edition = "2021" [dependencies] impl-trait-for-tuples = "0.1.3" codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } [features] default = ["std"] diff --git a/modules/transaction-pause/Cargo.toml b/modules/transaction-pause/Cargo.toml index 0de94aa408..2b7efe3699 100644 --- a/modules/transaction-pause/Cargo.toml +++ b/modules/transaction-pause/Cargo.toml @@ -7,15 +7,15 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-tokens = { path = "../../orml/tokens" } orml-traits = { path = "../../orml/traits" } primitives = { package = "acala-primitives", path = "../../primitives" } diff --git a/modules/transaction-payment/Cargo.toml b/modules/transaction-payment/Cargo.toml index f62ce23dc4..d0c8772999 100644 --- a/modules/transaction-payment/Cargo.toml +++ b/modules/transaction-payment/Cargo.toml @@ -8,24 +8,24 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io= { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } support = { package = "module-support", path = "../support", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-tokens = { path = "../../orml/tokens" } module-currencies = { path = "../../modules/currencies" } module-dex = { path = "../dex" } diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 2aebf87f46..32110f91d0 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -9,22 +9,22 @@ log = "0.4.8" structopt = "0.3.25" codec = { package = "parity-scale-codec", version = "2.3.1" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", optional = true } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", optional = true } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", optional = true } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", optional = true } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", optional = true } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } inspect = { package = "acala-inspect", path = "../../inspect" } service = { package = "acala-service", path = "../service", default-features = false, optional = true } diff --git a/node/e2e-tests/test-service/Cargo.toml b/node/e2e-tests/test-service/Cargo.toml index f6bee9565d..3d8e620a83 100644 --- a/node/e2e-tests/test-service/Cargo.toml +++ b/node/e2e-tests/test-service/Cargo.toml @@ -18,57 +18,57 @@ futures = { package = "futures", version = "0.3", features = ["compat"] } hex-literal = "0.3.1" # Substrate dependencies -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", features = [ "wasmtime" ] } -sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", features = [ "wasmtime" ] } +sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } # Polkadot dependencies -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } # Cumulus dependencies -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } runtime-common = { path = "../../../runtime/common" } node-runtime = { package = "mandala-runtime", path = "../../../runtime/mandala" } @@ -85,5 +85,5 @@ ecosystem-renvm-bridge = { path = "../../../ecosystem-modules/ren/renvm-bridge" [dev-dependencies] # Substrate dependencies -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } diff --git a/node/e2e-tests/test-service/src/service.rs b/node/e2e-tests/test-service/src/service.rs index 7095ac400d..e351d9f889 100644 --- a/node/e2e-tests/test-service/src/service.rs +++ b/node/e2e-tests/test-service/src/service.rs @@ -454,15 +454,17 @@ where para_id, proposer_factory, move |_, (relay_parent, validation_data)| { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface_for_closure, - &validation_data, - para_id, - ); - + let relay_chain_interface = relay_chain_interface_for_closure.clone(); async move { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface, + &validation_data, + para_id, + ) + .await; + let time = sp_timestamp::InherentDataProvider::from_system_time(); let parachain_inherent = parachain_inherent.ok_or_else(|| { @@ -491,14 +493,17 @@ where BuildAuraConsensusParams { proposer_factory, create_inherent_data_providers: move |_, (relay_parent, validation_data)| { - let parachain_inherent = - cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface_for_closure, - &validation_data, - para_id, - ); + let relay_chain_interface = relay_chain_interface_for_closure.clone(); async move { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface, + &validation_data, + para_id, + ) + .await; + let time = sp_timestamp::InherentDataProvider::from_system_time(); let slot = diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 1560d16d7d..b501dd14b6 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -17,61 +17,61 @@ codec = { package = "parity-scale-codec", version = "2.3.1" } jsonrpc-core = "18.0.0" -node-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "master"} -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } +node-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16"} +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-relay-chain-local = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } ecosystem-renvm-bridge = { path = "../../ecosystem-modules/ren/renvm-bridge" } module-collator-selection = { path = "../../modules/collator-selection" } diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 1ee8e28515..49e1c20bc2 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -540,13 +540,17 @@ where >(BuildAuraConsensusParams { proposer_factory, create_inherent_data_providers: move |_, (relay_parent, validation_data)| { - let parachain_inherent = cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( - relay_parent, - &relay_chain_interface, - &validation_data, - id, - ); + let relay_chain_interface = relay_chain_interface.clone(); async move { + let parachain_inherent = + cumulus_primitives_parachain_inherent::ParachainInherentData::create_at( + relay_parent, + &relay_chain_interface, + &validation_data, + id, + ) + .await; + let time = sp_timestamp::InherentDataProvider::from_system_time(); let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration( diff --git a/orml b/orml index b262361f45..71052f99e0 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit b262361f459ed72305689bdd371877003310699c +Subproject commit 71052f99e0e45d8d925cece481375eaaac671ea7 diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index d8720d7a3f..f18f60fcc6 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -12,13 +12,13 @@ num_enum = { version = "0.5.1", default-features = false } parity-util-mem = { version = "0.10.0", default-features = false, features = ["primitive-types"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } module-evm-utiltity = { path = "../modules/evm-utiltity", default-features = false } module-evm-utiltity-macro = { path = "../modules/evm-utiltity/macro" } diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 1a43ccdc3f..f9e2122f19 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -8,17 +8,17 @@ edition = "2021" jsonrpc-core = "18.0.0" codec = { package = "parity-scale-codec", version = "2.3.1" } primitives = { package = "acala-primitives", path = "../primitives" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } orml-oracle-rpc = { path = "../orml/oracle/rpc" } runtime-common = { path = "../runtime/common" } diff --git a/runtime/acala/Cargo.toml b/runtime/acala/Cargo.toml index 2404b7f3a7..5854416973 100644 --- a/runtime/acala/Cargo.toml +++ b/runtime/acala/Cargo.toml @@ -12,63 +12,63 @@ scale-info = { version = "1.0", default-features = false, features = ["derive"] serde = { version = "1.0.124", optional = true } hex-literal = { version = "0.3.1" } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features =false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, features = ["historical"] } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } orml-auction = { path = "../../orml/auction", default-features = false } orml-authority = { path = "../../orml/authority", default-features = false } @@ -117,13 +117,13 @@ module-evm-rpc-runtime-api = { path = "../../modules/evm/rpc/runtime_api", defa # benchmarking deps libsecp256k1 = { version = "0.6", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 95cf8cbc38..66c7d32b51 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -71,7 +71,7 @@ pub use xcm::latest::prelude::*; pub use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedRateOfFungible, FixedWeightBounds, IsConcrete, LocationInverter, - NativeAsset, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, + NativeAsset, ParentAsSuperuser, ParentIsDefault, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; @@ -1445,7 +1445,7 @@ parameter_types! { /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( // The parent (Relay-chain) origin converts to the default `AccountId`. - ParentIsPreset, + ParentIsDefault, // Sibling parachain origins convert to AccountId via the `ParaId::into`. SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. @@ -1782,6 +1782,7 @@ impl Convert for AccountIdToMultiLocation { parameter_types! { pub const BaseXcmWeight: Weight = 100_000_000; // TODO: recheck this + pub const MaxAssetsForTransfer: usize = 2; } impl orml_xtokens::Config for Runtime { @@ -1795,6 +1796,7 @@ impl orml_xtokens::Config for Runtime { type Weigher = FixedWeightBounds; type BaseXcmWeight = BaseXcmWeight; type LocationInverter = LocationInverter; + type MaxAssetsForTransfer = MaxAssetsForTransfer; } impl orml_unknown_tokens::Config for Runtime { diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 2ca05d2537..b4d20dee50 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -12,16 +12,16 @@ codec = { package = "parity-scale-codec", version = "2.3.1", default-features = ethabi = { version = "15.0.0", default-features = false } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } orml-oracle = { path = "../../orml/oracle", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } @@ -37,19 +37,19 @@ module-transaction-payment = { path = "../../modules/transaction-payment", defau module-nft = { path = "../../modules/nft", default-features = false } module-dex = { path = "../../modules/dex", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } [dev-dependencies] serde_json = "1.0.68" hex-literal = "0.3.1" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } acala-service = { path = "../../node/service", features = ["with-mandala-runtime"] } orml-tokens = { path = "../../orml/tokens" } diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 98dcc2d0a7..f33b41ccd5 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -13,62 +13,62 @@ hex = { version = "0.4" } hex-literal = { version = "0.3.1" } libsecp256k1 = { version = "0.6" } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master"} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master"} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", features = ["historical"] } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16"} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16"} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features =false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", features = ["historical"] } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master" } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } orml-auction = { path = "../../orml/auction" } orml-authority = { path = "../../orml/authority" } @@ -124,15 +124,15 @@ ecosystem-compound-cash = { path = "../../ecosystem-modules/compound-cash" } [dev-dependencies] env_logger = "0.9.0" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "master" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "master" } -kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "master" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } +kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } xcm-emulator = { git = "https://github.com/zqhxuyuan/xcm-simulator", branch = "v0.9.15_master" } diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index e1d07b86dc..d03a82ded6 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -23,7 +23,7 @@ use crate::setup::*; use frame_support::assert_ok; use sp_runtime::traits::{AccountIdConversion, TrailingZeroInput}; -use xcm_builder::ParentIsPreset; +use xcm_builder::ParentIsDefault; use karura_runtime::parachains::bifrost::BNC_KEY; use karura_runtime::{AssetRegistry, KaruraTreasuryAccount}; @@ -817,7 +817,7 @@ fn trap_assets_larger_than_ed_works() { let (ksm_asset_amount, kar_asset_amount) = (dollar(KSM), dollar(KAR)); let trader_weight_to_treasury: u128 = 96_000_000; - let parent_account: AccountId = ParentIsPreset::::convert(Parent.into()).unwrap(); + let parent_account: AccountId = ParentIsDefault::::convert(Parent.into()).unwrap(); Karura::execute_with(|| { assert_ok!(Tokens::deposit(KSM, &parent_account, 100 * dollar(KSM))); @@ -872,7 +872,7 @@ fn trap_assets_lower_than_ed_works() { let mut kar_treasury_amount = 0; let (ksm_asset_amount, kar_asset_amount) = (cent(KSM) / 100, cent(KAR)); - let parent_account: AccountId = ParentIsPreset::::convert(Parent.into()).unwrap(); + let parent_account: AccountId = ParentIsDefault::::convert(Parent.into()).unwrap(); Karura::execute_with(|| { assert_ok!(Tokens::deposit(KSM, &parent_account, dollar(KSM))); diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index c4a4280e9a..12e9d7b07a 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -12,63 +12,63 @@ scale-info = { version = "1.0", default-features = false, features = ["derive"] serde = { version = "1.0.124", optional = true } hex-literal = { version = "0.3.1" } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features =false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, features = ["historical"] } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } orml-auction = { path = "../../orml/auction", default-features = false } orml-authority = { path = "../../orml/authority", default-features = false } @@ -117,13 +117,13 @@ module-evm-rpc-runtime-api = { path = "../../modules/evm/rpc/runtime_api", defa # benchmarking deps libsecp256k1 = { version = "0.6", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 833528ac05..bb50299357 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -72,7 +72,7 @@ pub use xcm::latest::prelude::*; pub use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedRateOfFungible, FixedWeightBounds, IsConcrete, LocationInverter, - NativeAsset, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, + NativeAsset, ParentAsSuperuser, ParentIsDefault, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; @@ -1444,7 +1444,7 @@ parameter_types! { /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( // The parent (Relay-chain) origin converts to the default `AccountId`. - ParentIsPreset, + ParentIsDefault, // Sibling parachain origins convert to AccountId via the `ParaId::into`. SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. @@ -1954,6 +1954,7 @@ impl Convert for AccountIdToMultiLocation { parameter_types! { pub const BaseXcmWeight: Weight = 100_000_000; + pub const MaxAssetsForTransfer: usize = 2; } impl orml_xtokens::Config for Runtime { @@ -1967,6 +1968,7 @@ impl orml_xtokens::Config for Runtime { type Weigher = FixedWeightBounds; type BaseXcmWeight = BaseXcmWeight; type LocationInverter = LocationInverter; + type MaxAssetsForTransfer = MaxAssetsForTransfer; } impl orml_unknown_tokens::Config for Runtime { diff --git a/runtime/mandala/Cargo.toml b/runtime/mandala/Cargo.toml index c67fb1def2..f8fb3ca558 100644 --- a/runtime/mandala/Cargo.toml +++ b/runtime/mandala/Cargo.toml @@ -14,68 +14,68 @@ hex = { version = "0.4", default-features = false, optional = true } hex-literal = { version = "0.3.1" } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features =false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = ["historical"] } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features =false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, features = ["historical"] } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } libsecp256k1 = { version = "0.6", default-features = false, optional = true } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "master", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "master", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16", default-features = false } orml-auction = { path = "../../orml/auction", default-features = false } orml-authority = { path = "../../orml/authority", default-features = false } @@ -130,16 +130,16 @@ ecosystem-starport = { path = "../../ecosystem-modules/starport", default-featur ecosystem-compound-cash = { path = "../../ecosystem-modules/compound-cash", default-features = false } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [dev-dependencies] hex = "0.4.0" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "master" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "master" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } acala-service = { path = "../../node/service", features = ["with-mandala-runtime"] } diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 7476354b69..f970c0652f 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -90,7 +90,7 @@ pub use xcm::latest::prelude::*; pub use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, EnsureXcmOrigin, FixedRateOfFungible, FixedWeightBounds, IsConcrete, LocationInverter, - NativeAsset, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, + NativeAsset, ParentAsSuperuser, ParentIsDefault, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeRevenue, TakeWeightCredit, }; @@ -1595,7 +1595,7 @@ parameter_types! { /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( // The parent (Relay-chain) origin converts to the default `AccountId`. - ParentIsPreset, + ParentIsDefault, // Sibling parachain origins convert to AccountId via the `ParaId::into`. SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. @@ -1859,6 +1859,7 @@ impl Convert for AccountIdToMultiLocation { parameter_types! { pub const BaseXcmWeight: Weight = 100_000_000; + pub const MaxAssetsForTransfer: usize = 2; } impl orml_xtokens::Config for Runtime { @@ -1872,6 +1873,7 @@ impl orml_xtokens::Config for Runtime { type Weigher = FixedWeightBounds; type BaseXcmWeight = BaseXcmWeight; type LocationInverter = LocationInverter; + type MaxAssetsForTransfer = MaxAssetsForTransfer; } impl orml_unknown_tokens::Config for Runtime { From e16462b34e7c1d9a5bf39b21e6bba9e863a3c0cb Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 29 Jan 2022 01:39:20 +0800 Subject: [PATCH 25/46] rm without_storage_info for some pallet --- modules/collator-selection/src/lib.rs | 1 - modules/currencies/src/lib.rs | 1 - modules/emergency-shutdown/src/lib.rs | 1 - modules/evm-accounts/src/lib.rs | 1 - modules/session-manager/src/lib.rs | 1 - 5 files changed, 5 deletions(-) diff --git a/modules/collator-selection/src/lib.rs b/modules/collator-selection/src/lib.rs index 728e4cc805..1c1867b8f4 100644 --- a/modules/collator-selection/src/lib.rs +++ b/modules/collator-selection/src/lib.rs @@ -168,7 +168,6 @@ pub mod pallet { #[pallet::pallet] #[pallet::generate_store(pub(super) trait Store)] - #[pallet::without_storage_info] pub struct Pallet(_); /// The invulnerable, fixed collators. diff --git a/modules/currencies/src/lib.rs b/modules/currencies/src/lib.rs index d8c7dffda2..4f90e19700 100644 --- a/modules/currencies/src/lib.rs +++ b/modules/currencies/src/lib.rs @@ -147,7 +147,6 @@ pub mod module { } #[pallet::pallet] - #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::hooks] diff --git a/modules/emergency-shutdown/src/lib.rs b/modules/emergency-shutdown/src/lib.rs index 0ef070ef68..68ec17e30b 100644 --- a/modules/emergency-shutdown/src/lib.rs +++ b/modules/emergency-shutdown/src/lib.rs @@ -120,7 +120,6 @@ pub mod module { pub type CanRefund = StorageValue<_, bool, ValueQuery>; #[pallet::pallet] - #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::hooks] diff --git a/modules/evm-accounts/src/lib.rs b/modules/evm-accounts/src/lib.rs index b6b2614ff3..aa91d819b6 100644 --- a/modules/evm-accounts/src/lib.rs +++ b/modules/evm-accounts/src/lib.rs @@ -126,7 +126,6 @@ pub mod module { pub type EvmAddresses = StorageMap<_, Twox64Concat, T::AccountId, EvmAddress, OptionQuery>; #[pallet::pallet] - #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::hooks] diff --git a/modules/session-manager/src/lib.rs b/modules/session-manager/src/lib.rs index 578a5d2b68..99daf98665 100644 --- a/modules/session-manager/src/lib.rs +++ b/modules/session-manager/src/lib.rs @@ -123,7 +123,6 @@ pub mod module { } #[pallet::pallet] - #[pallet::without_storage_info] pub struct Pallet(_); #[pallet::hooks] From 1033e2356d8bc674a31e7f874c470a9581f65cc3 Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 29 Jan 2022 14:02:05 +0800 Subject: [PATCH 26/46] update orml --- orml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orml b/orml index 71052f99e0..63b32194e7 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 71052f99e0e45d8d925cece481375eaaac671ea7 +Subproject commit 63b32194e7b9aff6a6350d2d4434525de4eec7c1 From 351281d0eeb491c14c27cb598f50931a1b84106a Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 29 Jan 2022 22:09:02 +0800 Subject: [PATCH 27/46] review change --- primitives/src/currency.rs | 2 - runtime/acala/src/lib.rs | 9 +- .../relaychain/kusama_cross_chain_transfer.rs | 187 +----------------- .../karura/src/integration_tests_config.rs | 47 +++++ runtime/karura/src/lib.rs | 89 ++------- runtime/mandala/src/lib.rs | 9 +- 6 files changed, 69 insertions(+), 274 deletions(-) create mode 100644 runtime/karura/src/integration_tests_config.rs diff --git a/primitives/src/currency.rs b/primitives/src/currency.rs index e5af73d885..0771d5a9e0 100644 --- a/primitives/src/currency.rs +++ b/primitives/src/currency.rs @@ -205,8 +205,6 @@ create_currency_id! { PHA("Phala Native Token", 12) = 170, KINT("Kintsugi Native Token", 12) = 171, KBTC("Kintsugi Wrapped BTC", 8) = 172, - RMRK("Rmrk", 10) = 173, - RMRKV2("Rmrk V2", 10) = 174, } } diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 66c7d32b51..b3eddd0cc9 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -769,8 +769,6 @@ parameter_type_with_key! { TokenSymbol::KBTC | TokenSymbol::KINT | TokenSymbol::TAI | - TokenSymbol::RMRK | - TokenSymbol::RMRKV2 | TokenSymbol::CASH => Balance::max_value() // unsupported }, CurrencyId::DexShare(dex_share_0, _) => { @@ -927,8 +925,8 @@ impl orml_vesting::Config for Runtime { parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 10; - // Retry a scheduled item every 10 blocks (1 minute) until the preimage exists. - pub const NoPreimagePostponement: Option = Some(10); + // Retry a scheduled item every 25 blocks (5 minute) until the preimage exists. + pub const NoPreimagePostponement: Option = Some(25); } impl pallet_scheduler::Config for Runtime { @@ -1972,7 +1970,8 @@ pub type Executive = frame_executive::Executive< pub struct SchedulerMigrationV3; impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { fn on_runtime_upgrade() -> frame_support::weights::Weight { - Scheduler::migrate_v2_to_v3() + Scheduler::migrate_v1_to_v3(); + ::BlockWeights::get().max_block } #[cfg(feature = "try-runtime")] diff --git a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs index d03a82ded6..153d272a66 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -22,7 +22,7 @@ use crate::relaychain::kusama_test_net::*; use crate::setup::*; use frame_support::assert_ok; -use sp_runtime::traits::{AccountIdConversion, TrailingZeroInput}; +use sp_runtime::traits::AccountIdConversion; use xcm_builder::ParentIsDefault; use karura_runtime::parachains::bifrost::BNC_KEY; @@ -87,74 +87,6 @@ fn transfer_to_relay_chain() { }); } -#[test] -fn transfer_self_chain_asset() { - TestNet::reset(); - - fn sibling_reserve_account() -> AccountId { - polkadot_parachain::primitives::Sibling::from(2001).into_account() - } - - Karura::execute_with(|| { - let _ = Balances::deposit_creating(&AccountId::from(ALICE), 100_000_000_000_000); - - assert_ok!(XTokens::transfer( - Origin::signed(ALICE.into()), - KAR, - 10_000_000_000_000, - Box::new( - MultiLocation::new( - 1, - X2( - Parachain(2001), - Junction::AccountId32 { - network: NetworkId::Any, - id: BOB.into(), - } - ) - ) - .into() - ), - 1_000_000_000_000, - )); - - assert_eq!(90_000_000_000_000, Balances::free_balance(&AccountId::from(ALICE))); - assert_eq!(10_000_000_000_000, Balances::free_balance(&sibling_reserve_account())); - }); - - Sibling::execute_with(|| { - assert_eq!(0, Tokens::free_balance(KAR, &AccountId::from(BOB))); - assert_eq!(9_993_600_000_000, Balances::free_balance(&AccountId::from(BOB))); - - assert_ok!(XTokens::transfer( - Origin::signed(BOB.into()), - KAR, - 1_000_000_000_000, - Box::new( - MultiLocation::new( - 1, - X2( - Parachain(2000), - Junction::AccountId32 { - network: NetworkId::Any, - id: ALICE.into(), - } - ) - ) - .into() - ), - 1_000_000_000, - )); - - assert_eq!(8_993_600_000_000, Balances::free_balance(&AccountId::from(BOB))); - }); - - Karura::execute_with(|| { - assert_eq!(90_993_600_000_000, Balances::free_balance(&AccountId::from(ALICE))); - assert_eq!(9_000_000_000_000, Balances::free_balance(&sibling_reserve_account())); - }); -} - #[test] fn transfer_sibling_chain_asset() { TestNet::reset(); @@ -576,123 +508,6 @@ fn test_asset_registry_module() { }); } -#[test] -fn asset_registry_location_update_prefix_works() { - TestNet::reset(); - - fn karura_reserve_account() -> AccountId { - polkadot_parachain::primitives::Sibling::from(2000).into_account() - } - - Karura::execute_with(|| { - // register foreign asset - assert_ok!(AssetRegistry::register_foreign_asset( - Origin::root(), - // we use parachain 20001 mock as statemine - Box::new(MultiLocation::new(1, X2(Parachain(2001), GeneralIndex(8))).into()), - Box::new(AssetMetadata { - name: b"Statemine Asset".to_vec(), - symbol: b"RMRK".to_vec(), - decimals: 12, - minimal_balance: Balances::minimum_balance() / 10, // 10% - }) - )); - }); - - Sibling::execute_with(|| { - // the native asset of Sibling is KAR, so RMRK is consider as Token - assert_ok!(Tokens::deposit(RMRK, &AccountId::from(BOB), 100_000_000_000_000)); - - // Sibling will convert RMRK to location: (1, 2001, 8) - assert_ok!(XTokens::transfer( - Origin::signed(BOB.into()), - RMRK, - 5_000_000_000_000, - Box::new( - MultiLocation::new( - 1, - X2( - Parachain(2000), - Junction::AccountId32 { - network: NetworkId::Any, - id: ALICE.into(), - } - ) - ) - .into() - ), - 1_000_000_000, - )); - - assert_eq!(Tokens::free_balance(RMRK, &karura_reserve_account()), 5_000_000_000_000); - assert_eq!(Tokens::free_balance(RMRK, &AccountId::from(BOB)), 95_000_000_000_000); - }); - - Karura::execute_with(|| { - // Karura received (1, 2001, 8) and regard it as ForeignAsset(0) - assert_eq!( - Tokens::free_balance(CurrencyId::ForeignAsset(0), &AccountId::from(ALICE)), - 4_999_360_000_000 - ); - - // update foreign asset location with PalletInstance prefix before asset - assert_ok!(AssetRegistry::update_foreign_asset( - Origin::root(), - 0, - Box::new(MultiLocation::new(1, X3(Parachain(2001), PalletInstance(53), GeneralIndex(8))).into()), - Box::new(AssetMetadata { - name: b"Statemine Token".to_vec(), - symbol: b"RMRK".to_vec(), - decimals: 12, - minimal_balance: Balances::minimum_balance() / 10, // 10% - }) - )); - }); - - Sibling::execute_with(|| { - // Sibling will convert RMRKV2 to location: (1, 2001, 53, 8) - assert_ok!(XTokens::transfer( - Origin::signed(BOB.into()), - RMRKV2, - 5_000_000_000_000, - Box::new( - MultiLocation::new( - 1, - X2( - Parachain(2000), - Junction::AccountId32 { - network: NetworkId::Any, - id: ALICE.into(), - } - ) - ) - .into() - ), - 1_000_000_000, - )); - - assert_eq!( - 10_000_000_000_000, - Tokens::free_balance(RMRK, &karura_reserve_account()) - ); - assert_eq!(90_000_000_000_000, Tokens::free_balance(RMRK, &AccountId::from(BOB))); - }); - - Karura::execute_with(|| { - // Karura received (1, 2001, 53, 8) and also regard it as ForeignAsset(0) - assert_eq!( - Tokens::free_balance(CurrencyId::ForeignAsset(0), &AccountId::from(ALICE)), - 4_999_360_000_000 * 2 - ); - - // ToTreasury - assert_eq!( - Tokens::free_balance(CurrencyId::ForeignAsset(0), &TreasuryAccount::get()), - 640_000_000 * 2 - ); - }); -} - #[test] fn unspent_xcm_fee_is_returned_correctly() { let mut parachain_account: AccountId = AccountId::new([0u8; 32]); diff --git a/runtime/karura/src/integration_tests_config.rs b/runtime/karura/src/integration_tests_config.rs new file mode 100644 index 0000000000..0025a8df7d --- /dev/null +++ b/runtime/karura/src/integration_tests_config.rs @@ -0,0 +1,47 @@ +// This file is part of Acala. + +// Copyright (C) 2020-2022 Acala Foundation. +// 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 super::*; + +parameter_types! { + pub const ParachainIdForTest: u32 = 2000; + pub KarPerSecondOfCanonicalLocation: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(KAR.encode())), + ).into(), + kar_per_second() + ); + pub BncPerSecondOfCanonicalLocation: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(parachains::bifrost::BNC_KEY.to_vec())), + ).into(), + ksm_per_second() * 80 + ); +} + +pub type Trader = ( + TransactionFeePoolTrader, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfFungible, + FixedRateOfForeignAsset, +); diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index bb50299357..d145c0169a 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -122,6 +122,11 @@ mod authority; mod benchmarking; pub mod constants; +#[cfg(feature = "integration-tests")] +mod integration_tests_config; +#[cfg(feature = "integration-tests")] +use integration_tests_config::*; + /// This runtime version. #[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { @@ -764,7 +769,6 @@ parameter_type_with_key! { TokenSymbol::KINT => 13333 * microcent(*currency_id), // 1.33 KINT = 1 KSM TokenSymbol::KBTC => 66 * microcent(*currency_id), // 1KBTC = 150 KSM TokenSymbol::TAI => dollar(*currency_id), // 1 KUSD = 100 TAI - TokenSymbol::RMRK | TokenSymbol::RMRKV2 => cent(*currency_id), TokenSymbol::ACA | TokenSymbol::AUSD | @@ -925,8 +929,8 @@ impl orml_vesting::Config for Runtime { parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 10; - // Retry a scheduled item every 10 blocks (1 minute) until the preimage exists. - pub const NoPreimagePostponement: Option = Some(10); + // Retry a scheduled item every 25 blocks (5 minute) until the preimage exists. + pub const NoPreimagePostponement: Option = Some(25); } impl pallet_scheduler::Config for Runtime { @@ -1571,44 +1575,6 @@ parameter_types! { pub ForeignAssetUnitsPerSecond: u128 = kar_per_second(); pub KarPerSecondAsBased: u128 = kar_per_second(); } -#[cfg(feature = "integration-tests")] -parameter_types! { - pub const ParachainIdForTest: u32 = 2000; - pub KarPerSecondOfCanonicalLocation: (AssetId, u128) = ( - MultiLocation::new( - 0, - X1(GeneralKey(KAR.encode())), - ).into(), - kar_per_second() - ); - pub KarPerSecondForNativeAssetTest: (AssetId, u128) = ( - MultiLocation::new( - 1, - X2(Parachain(ParachainIdForTest::get()), GeneralKey(KAR.encode())), - ).into(), - kar_per_second() - ); - pub BncPerSecondOfCanonicalLocation: (AssetId, u128) = ( - MultiLocation::new( - 0, - X1(GeneralKey(parachains::bifrost::BNC_KEY.to_vec())), - ).into(), - // BNC:KSM = 80:1 - ksm_per_second() * 80 - ); -} - -#[cfg(feature = "integration-tests")] -pub type Trader = ( - TransactionFeePoolTrader, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfFungible, - FixedRateOfForeignAsset, -); #[cfg(not(feature = "integration-tests"))] pub type Trader = ( @@ -1774,16 +1740,12 @@ pub type LocalAssetTransactor = MultiCurrencyAdapter< DepositToAlternative, >; -//TODO: use token registry currency type encoding fn native_currency_location(id: CurrencyId) -> MultiLocation { - if cfg!(feature = "integration-tests") { - MultiLocation::new(1, X2(Parachain(ParachainIdForTest::get()), GeneralKey(id.encode()))) - } else { - MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) - } + MultiLocation::new(1, X2(Parachain(ParachainInfo::get().into()), GeneralKey(id.encode()))) } pub struct CurrencyIdConvert; + impl Convert> for CurrencyIdConvert { fn convert(id: CurrencyId) -> Option { use CurrencyId::Token; @@ -1825,18 +1787,12 @@ impl Convert> for CurrencyIdConvert { GeneralKey(parachains::kintsugi::KBTC_KEY.to_vec()), ), )), - #[cfg(feature = "integration-tests")] - Token(RMRK) => Some(MultiLocation::new(1, X2(Parachain(2001), GeneralIndex(8)))), - #[cfg(feature = "integration-tests")] - Token(RMRKV2) => Some(MultiLocation::new( - 1, - X3(Parachain(2001), PalletInstance(53), GeneralIndex(8)), - )), CurrencyId::ForeignAsset(foreign_asset_id) => AssetIdMaps::::get_multi_location(foreign_asset_id), _ => None, } } } + impl Convert> for CurrencyIdConvert { fn convert(location: MultiLocation) -> Option { use CurrencyId::Token; @@ -1851,16 +1807,6 @@ impl Convert> for CurrencyIdConvert { } match location { - #[cfg(feature = "integration-tests")] - MultiLocation { - parents: 1, - interior: X2(Parachain(2001), GeneralIndex(8)), - } => Some(Token(RMRK)), - #[cfg(feature = "integration-tests")] - MultiLocation { - parents: 1, - interior: X3(Parachain(2001), PalletInstance(53), GeneralIndex(8)), - } => Some(Token(RMRK)), MultiLocation { parents: 1, interior: X2(Parachain(para_id), GeneralKey(key)), @@ -1884,17 +1830,6 @@ impl Convert> for CurrencyIdConvert { None } } - #[cfg(feature = "integration-tests")] - (id, key) if id == ParachainIdForTest::get() => { - if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { - match currency_id { - Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), - _ => None, - } - } else { - None - } - } _ => None, } } @@ -1924,6 +1859,7 @@ impl Convert> for CurrencyIdConvert { } } } + impl Convert> for CurrencyIdConvert { fn convert(asset: MultiAsset) -> Option { if let MultiAsset { @@ -2144,7 +2080,8 @@ pub type Executive = frame_executive::Executive< pub struct SchedulerMigrationV3; impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { fn on_runtime_upgrade() -> frame_support::weights::Weight { - Scheduler::migrate_v2_to_v3() + Scheduler::migrate_v1_to_v3(); + ::BlockWeights::get().max_block } #[cfg(feature = "try-runtime")] diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index f970c0652f..d2c9cbe4a8 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -794,8 +794,6 @@ parameter_type_with_key! { TokenSymbol::TAI => 10 * millicent(*currency_id), TokenSymbol::ACA | TokenSymbol::KAR | - TokenSymbol::RMRK | - TokenSymbol::RMRKV2 | TokenSymbol::CASH => Balance::max_value() // unsupported }, CurrencyId::DexShare(dex_share_0, _) => { @@ -931,8 +929,8 @@ impl orml_vesting::Config for Runtime { parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 50; - // Retry a scheduled item every 10 blocks (1 minute) until the preimage exists. - pub const NoPreimagePostponement: Option = Some(10); + // Retry a scheduled item every 25 blocks (5 minute) until the preimage exists. + pub const NoPreimagePostponement: Option = Some(25); } impl pallet_scheduler::Config for Runtime { @@ -2076,7 +2074,8 @@ pub type Executive = frame_executive::Executive< pub struct SchedulerMigrationV3; impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { fn on_runtime_upgrade() -> frame_support::weights::Weight { - Scheduler::migrate_v2_to_v3() + Scheduler::migrate_v1_to_v3(); + ::BlockWeights::get().max_block } #[cfg(feature = "try-runtime")] From 65956471647fd75b96e25ecee47f1142a71b702c Mon Sep 17 00:00:00 2001 From: zqh Date: Sun, 30 Jan 2022 10:39:32 +0800 Subject: [PATCH 28/46] update stable-asset --- ecosystem-modules/stable-asset | 2 +- runtime/karura/src/integration_tests_config.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ecosystem-modules/stable-asset b/ecosystem-modules/stable-asset index 8844203600..d0a3fb2d67 160000 --- a/ecosystem-modules/stable-asset +++ b/ecosystem-modules/stable-asset @@ -1 +1 @@ -Subproject commit 884420360040bc963883e5dd56040fcd07b00733 +Subproject commit d0a3fb2d67eb2f6285433fd20dbe4feb413d9bbd diff --git a/runtime/karura/src/integration_tests_config.rs b/runtime/karura/src/integration_tests_config.rs index 0025a8df7d..356b83444c 100644 --- a/runtime/karura/src/integration_tests_config.rs +++ b/runtime/karura/src/integration_tests_config.rs @@ -19,7 +19,6 @@ use super::*; parameter_types! { - pub const ParachainIdForTest: u32 = 2000; pub KarPerSecondOfCanonicalLocation: (AssetId, u128) = ( MultiLocation::new( 0, From 48ea7a31be74f55d607e2f7590713e6291341b32 Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Sun, 30 Jan 2022 22:25:27 +1300 Subject: [PATCH 29/46] update NoPreimagePostponement --- Cargo.lock | 2 +- runtime/acala/src/lib.rs | 2 +- runtime/karura/src/lib.rs | 2 +- runtime/mandala/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7e142125b8..89c857fb75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2550,7 +2550,7 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" [[package]] name = "e2e-tests" -version = "2.2.2" +version = "2.2.3" dependencies = [ "test-service", ] diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index fb405aa9a5..fa353f71c7 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -926,7 +926,7 @@ parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 10; // Retry a scheduled item every 25 blocks (5 minute) until the preimage exists. - pub const NoPreimagePostponement: Option = Some(25); + pub const NoPreimagePostponement: Option = Some(5 * MINUTES); } impl pallet_scheduler::Config for Runtime { diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 7187afba3c..5e8269e40f 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -930,7 +930,7 @@ parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 10; // Retry a scheduled item every 25 blocks (5 minute) until the preimage exists. - pub const NoPreimagePostponement: Option = Some(25); + pub const NoPreimagePostponement: Option = Some(5 * MINUTES); } impl pallet_scheduler::Config for Runtime { diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 3c662a08f1..e8f3c6b8d6 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -930,7 +930,7 @@ parameter_types! { pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 50; // Retry a scheduled item every 25 blocks (5 minute) until the preimage exists. - pub const NoPreimagePostponement: Option = Some(25); + pub const NoPreimagePostponement: Option = Some(5 * MINUTES); } impl pallet_scheduler::Config for Runtime { From b4bedb2df9657a13f94d2dbef1a83ab4572f572b Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Sun, 30 Jan 2022 23:56:21 +1300 Subject: [PATCH 30/46] some clippy fix --- inspect/src/lib.rs | 2 + modules/transaction-payment/src/lib.rs | 66 +++++++++++----------- node/e2e-tests/test-service/src/builder.rs | 11 ++-- node/e2e-tests/test-service/src/lib.rs | 3 +- node/e2e-tests/test-service/src/node.rs | 8 +-- node/e2e-tests/test-service/src/service.rs | 7 ++- 6 files changed, 51 insertions(+), 46 deletions(-) diff --git a/inspect/src/lib.rs b/inspect/src/lib.rs index c541e10f7f..69febc4642 100644 --- a/inspect/src/lib.rs +++ b/inspect/src/lib.rs @@ -16,6 +16,8 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#![allow(clippy::large_enum_variant)] + pub mod cli; pub mod command; diff --git a/modules/transaction-payment/src/lib.rs b/modules/transaction-payment/src/lib.rs index 78cd503e05..360f303ec2 100644 --- a/modules/transaction-payment/src/lib.rs +++ b/modules/transaction-payment/src/lib.rs @@ -1170,41 +1170,39 @@ where len: usize, _result: &DispatchResult, ) -> Result<(), TransactionValidityError> { - if let Some((tip, who, imbalance, fee)) = pre { - if let Some(payed) = imbalance { - let actual_fee = Pallet::::compute_actual_fee(len as u32, info, post_info, tip); - let refund_fee = fee.saturating_sub(actual_fee); - let mut refund = refund_fee; - let mut actual_tip = tip; - - if !tip.is_zero() && !info.weight.is_zero() { - // tip_pre_weight * unspent_weight - let refund_tip = tip - .checked_div(info.weight.saturated_into::>()) - .expect("checked is non-zero; qed") - .saturating_mul(post_info.calc_unspent(info).saturated_into::>()); - refund = refund_fee.saturating_add(refund_tip); - actual_tip = tip.saturating_sub(refund_tip); - } - let actual_payment = match ::Currency::deposit_into_existing(&who, refund) { - Ok(refund_imbalance) => { - // The refund cannot be larger than the up front payed max weight. - // `PostDispatchInfo::calc_unspent` guards against such a case. - match payed.offset(refund_imbalance) { - SameOrOther::Same(actual_payment) => actual_payment, - SameOrOther::None => Default::default(), - _ => return Err(InvalidTransaction::Payment.into()), - } - } - // We do not recreate the account using the refund. The up front payment - // is gone in that case. - Err(_) => payed, - }; - let (tip, fee) = actual_payment.split(actual_tip); - - // distribute fee - ::OnTransactionPayment::on_unbalanceds(Some(fee).into_iter().chain(Some(tip))); + if let Some((tip, who, Some(payed), fee)) = pre { + let actual_fee = Pallet::::compute_actual_fee(len as u32, info, post_info, tip); + let refund_fee = fee.saturating_sub(actual_fee); + let mut refund = refund_fee; + let mut actual_tip = tip; + + if !tip.is_zero() && !info.weight.is_zero() { + // tip_pre_weight * unspent_weight + let refund_tip = tip + .checked_div(info.weight.saturated_into::>()) + .expect("checked is non-zero; qed") + .saturating_mul(post_info.calc_unspent(info).saturated_into::>()); + refund = refund_fee.saturating_add(refund_tip); + actual_tip = tip.saturating_sub(refund_tip); } + let actual_payment = match ::Currency::deposit_into_existing(&who, refund) { + Ok(refund_imbalance) => { + // The refund cannot be larger than the up front payed max weight. + // `PostDispatchInfo::calc_unspent` guards against such a case. + match payed.offset(refund_imbalance) { + SameOrOther::Same(actual_payment) => actual_payment, + SameOrOther::None => Default::default(), + _ => return Err(InvalidTransaction::Payment.into()), + } + } + // We do not recreate the account using the refund. The up front payment + // is gone in that case. + Err(_) => payed, + }; + let (tip, fee) = actual_payment.split(actual_tip); + + // distribute fee + ::OnTransactionPayment::on_unbalanceds(Some(fee).into_iter().chain(Some(tip))); } Ok(()) } diff --git a/node/e2e-tests/test-service/src/builder.rs b/node/e2e-tests/test-service/src/builder.rs index a5df3c03d8..de881d7352 100644 --- a/node/e2e-tests/test-service/src/builder.rs +++ b/node/e2e-tests/test-service/src/builder.rs @@ -154,7 +154,7 @@ impl TestNodeBuilder { let parachain_config = node_config( self.storage_update_func_parachain.unwrap_or_else(|| Box::new(|| ())), self.tokio_handle.clone(), - self.key.clone(), + self.key, self.parachain_nodes, self.parachain_nodes_exclusive, self.collator_key.is_some(), @@ -197,8 +197,11 @@ impl TestNodeBuilder { } }; - let peer_id = network.local_peer_id().clone(); - let addr = MultiaddrWithPeerId { multiaddr, peer_id }; + let peer_id = network.local_peer_id(); + let addr = MultiaddrWithPeerId { + multiaddr, + peer_id: *peer_id, + }; TestNode { task_manager, @@ -242,7 +245,7 @@ pub fn node_config( spec.set_storage(storage); let mut network_config = NetworkConfiguration::new( - format!("{} (parachain)", key_seed.to_string()), + format!("{} (parachain)", key_seed), "network/test/0.1", Default::default(), None, diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index 5c9cdb8770..4db4b20c9e 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -204,8 +204,7 @@ pub fn construct_extrinsic( let account: AccountId = caller.public().into(); let address: Address = account.into(); let (call, extra, _) = raw_payload.deconstruct(); - let signed_data: (Address, AcalaMultiSignature, SignedExtra) = - (address, Signature::Sr25519(signature.clone()), extra.clone()); + let signed_data: (Address, AcalaMultiSignature, SignedExtra) = (address, Signature::Sr25519(signature), extra); runtime::UncheckedExtrinsic::new(call, Some(signed_data)).unwrap() } diff --git a/node/e2e-tests/test-service/src/node.rs b/node/e2e-tests/test-service/src/node.rs index b6c560c513..37fecea101 100644 --- a/node/e2e-tests/test-service/src/node.rs +++ b/node/e2e-tests/test-service/src/node.rs @@ -59,7 +59,7 @@ impl TestNode { sender: Some(sender), }); - const ERROR: &'static str = "manual-seal authorship task is shutting down"; + const ERROR: &str = "manual-seal authorship task is shutting down"; future.await.expect(ERROR); match future_block.await.expect(ERROR) { @@ -86,7 +86,7 @@ impl TestNode { let at = self.client.info().best_hash; self.transaction_pool - .submit_one(&BlockId::Hash(at), TransactionSource::Local, extrinsic.into()) + .submit_one(&BlockId::Hash(at), TransactionSource::Local, extrinsic) .await } @@ -105,8 +105,8 @@ impl TestNode { .extensions(&id, ExecutionContext::BlockConstruction); let state_backend = self .backend - .state_at(id.clone()) - .expect(&format!("State at block {} not found", id)); + .state_at(id) + .unwrap_or_else(|_| panic!("State at block {} not found", id)); let mut ext = Ext::new(&mut overlay, &mut cache, &state_backend, Some(&mut extensions)); sp_externalities::set_and_run_with_externalities(&mut ext, closure) diff --git a/node/e2e-tests/test-service/src/service.rs b/node/e2e-tests/test-service/src/service.rs index e351d9f889..fe7a4b065b 100644 --- a/node/e2e-tests/test-service/src/service.rs +++ b/node/e2e-tests/test-service/src/service.rs @@ -16,6 +16,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#![allow(clippy::type_complexity)] +#![allow(clippy::too_many_arguments)] + use super::*; /// Starts a `ServiceBuilder` for a full service. @@ -44,7 +47,7 @@ pub fn new_partial( ); let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::(&config, None, executor)?; + sc_service::new_full_parts::(config, None, executor)?; let client = Arc::new(client); let registry = config.prometheus_registry(); @@ -360,7 +363,7 @@ where let parachain_config = prepare_node_config(parachain_config); - let params = new_partial(¶chain_config, seal_mode.clone())?; + let params = new_partial(¶chain_config, seal_mode)?; let keystore = params.keystore_container.sync_keystore(); let force_authoring = parachain_config.force_authoring; From 312a4bbc44c8e9d6ce7edca49bb15b52eb9b56ec Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 31 Jan 2022 09:08:41 +0800 Subject: [PATCH 31/46] update stable-asset --- ecosystem-modules/stable-asset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem-modules/stable-asset b/ecosystem-modules/stable-asset index d0a3fb2d67..7102b776a0 160000 --- a/ecosystem-modules/stable-asset +++ b/ecosystem-modules/stable-asset @@ -1 +1 @@ -Subproject commit d0a3fb2d67eb2f6285433fd20dbe4feb413d9bbd +Subproject commit 7102b776a0e5edf2e32d5ffa6423e2a29413e846 From bdbbb1ef07043b321db38805eaa3b4c57f4ecb13 Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 31 Jan 2022 10:20:46 +0800 Subject: [PATCH 32/46] update mock --- modules/dex-oracle/src/mock.rs | 1 + modules/evm/src/bench/mock.rs | 1 + modules/homa-lite/src/mock_no_fees.rs | 1 + runtime/common/src/mock.rs | 1 + runtime/common/src/precompile/mock.rs | 1 + 5 files changed, 5 insertions(+) diff --git a/modules/dex-oracle/src/mock.rs b/modules/dex-oracle/src/mock.rs index de37665637..11a4ce25d1 100644 --- a/modules/dex-oracle/src/mock.rs +++ b/modules/dex-oracle/src/mock.rs @@ -76,6 +76,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/modules/evm/src/bench/mock.rs b/modules/evm/src/bench/mock.rs index 7654fbb116..4ea3c91e60 100644 --- a/modules/evm/src/bench/mock.rs +++ b/modules/evm/src/bench/mock.rs @@ -72,6 +72,7 @@ impl frame_system::Config for Runtime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/modules/homa-lite/src/mock_no_fees.rs b/modules/homa-lite/src/mock_no_fees.rs index d560c7f4ce..20c8dead07 100644 --- a/modules/homa-lite/src/mock_no_fees.rs +++ b/modules/homa-lite/src/mock_no_fees.rs @@ -146,6 +146,7 @@ impl frame_system::Config for NoFeeRuntime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_type_with_key! { diff --git a/runtime/common/src/mock.rs b/runtime/common/src/mock.rs index 42dc9b0c5a..3ce837e857 100644 --- a/runtime/common/src/mock.rs +++ b/runtime/common/src/mock.rs @@ -77,6 +77,7 @@ impl frame_system::Config for TestRuntime { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/runtime/common/src/precompile/mock.rs b/runtime/common/src/precompile/mock.rs index 3ab86026c0..c68fedd7f9 100644 --- a/runtime/common/src/precompile/mock.rs +++ b/runtime/common/src/precompile/mock.rs @@ -81,6 +81,7 @@ impl frame_system::Config for Test { type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { From 8d714e3b189db36e8a8195131893dd82b0d49446 Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 31 Jan 2022 11:26:08 +0800 Subject: [PATCH 33/46] update --- modules/collator-selection/src/mock.rs | 4 ++-- ts-tests/tests/test-contract-methods.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/collator-selection/src/mock.rs b/modules/collator-selection/src/mock.rs index ce9554dbfe..e3ad725d01 100644 --- a/modules/collator-selection/src/mock.rs +++ b/modules/collator-selection/src/mock.rs @@ -23,7 +23,6 @@ use frame_support::{ traits::{Everything, FindAuthor, GenesisBuild}, PalletId, }; -use frame_system as system; use frame_system::EnsureSignedBy; use primitives::ReserveIdentifier; use sp_core::H256; @@ -58,7 +57,7 @@ parameter_types! { pub const SS58Prefix: u8 = 42; } -impl system::Config for Test { +impl frame_system::Config for Test { type BaseCallFilter = Everything; type BlockWeights = (); type BlockLength = (); @@ -82,6 +81,7 @@ impl system::Config for Test { type SystemWeightInfo = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; } parameter_types! { diff --git a/ts-tests/tests/test-contract-methods.ts b/ts-tests/tests/test-contract-methods.ts index 1e2433b54d..f474e6a1fc 100644 --- a/ts-tests/tests/test-contract-methods.ts +++ b/ts-tests/tests/test-contract-methods.ts @@ -63,9 +63,9 @@ describeWithAcala("Acala RPC (Contract Methods)", (context) => { expect((await contract.chainId()).toString()).to.eq('595'); }); - it("should get correct environmental coinbase", async function () { - expect((await contract.coinbase()).toString()).to.not.eq('0x0000000000000000000000000000000000000000'); - }); + // it("should get correct environmental coinbase", async function () { + // expect((await contract.coinbase()).toString()).to.not.eq('0x0000000000000000000000000000000000000000'); + // }); it("should get correct environmental block timestamp", async function () { expect((await contract.timestamp()).toString()).to.eq((parseInt(await context.provider.api.query.timestamp.now() / 1000)).toString()); From 1eda19feb1a1ab81d1c177238983106269f226d7 Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 1 Feb 2022 20:59:18 +0800 Subject: [PATCH 34/46] fix CI error --- Cargo.lock | 3 ++- modules/collator-selection/src/tests.rs | 20 ++++++++++++------- runtime/integration-tests/Cargo.toml | 3 ++- runtime/integration-tests/src/treasury.rs | 9 +++------ .../src/benchmarking/collator_selection.rs | 6 ++++-- 5 files changed, 24 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 89c857fb75..66d061a7d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11066,6 +11066,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", @@ -15165,7 +15166,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/zqhxuyuan/xcm-simulator?branch=v0.9.15_master#2004a1d6d7150c1d518b8dd20ab43613a6ca5f1f" +source = "git+https://github.com/shaunxw/xcm-simulator?rev=a250ffc998bac4831c5692c591dee7bc13f3aead#a250ffc998bac4831c5692c591dee7bc13f3aead" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", diff --git a/modules/collator-selection/src/tests.rs b/modules/collator-selection/src/tests.rs index b7bd4f3544..7fd157c3e0 100644 --- a/modules/collator-selection/src/tests.rs +++ b/modules/collator-selection/src/tests.rs @@ -21,7 +21,7 @@ use crate::{mock::*, Error, NonCandidates, RESERVE_ID}; use frame_support::{ assert_noop, assert_ok, storage::bounded_btree_set::BoundedBTreeSet, - traits::{Currency, GenesisBuild, NamedReservableCurrency, OnInitialize}, + traits::{ConstU32, Currency, GenesisBuild, NamedReservableCurrency, OnInitialize}, }; use pallet_balances::Error as BalancesError; use sp_runtime::{testing::UintAuthorityId, traits::BadOrigin}; @@ -150,7 +150,7 @@ fn cannot_register_dupe_candidate() { )); // can add 3 as candidate assert_ok!(CollatorSelection::register_as_candidate(Origin::signed(3))); - let mut collators = BoundedBTreeSet::new(); + let mut collators = BoundedBTreeSet::>::new(); assert_ok!(collators.try_insert(3)); assert_eq!(CollatorSelection::candidates(), collators); assert_eq!(Balances::free_balance(3), 90); @@ -206,7 +206,10 @@ fn register_as_candidate_works() { // given assert_eq!(CollatorSelection::desired_candidates(), 2); assert_eq!(CollatorSelection::candidacy_bond(), 10); - assert_eq!(CollatorSelection::candidates(), BoundedBTreeSet::new()); + assert_eq!( + CollatorSelection::candidates(), + BoundedBTreeSet::>::new() + ); assert_eq!(CollatorSelection::invulnerables(), vec![1, 2]); // take two endowed, non-invulnerables accounts. @@ -243,7 +246,10 @@ fn register_candidate_works() { // given assert_eq!(CollatorSelection::desired_candidates(), 2); assert_eq!(CollatorSelection::candidacy_bond(), 10); - assert_eq!(CollatorSelection::candidates(), BoundedBTreeSet::new()); + assert_eq!( + CollatorSelection::candidates(), + BoundedBTreeSet::>::new() + ); assert_eq!(CollatorSelection::invulnerables(), vec![1, 2]); // take two endowed, non-invulnerables accounts. @@ -405,7 +411,7 @@ fn fees_edgecases() { // triggers `note_author` Authorship::on_initialize(1); - let mut collators = BoundedBTreeSet::new(); + let mut collators = BoundedBTreeSet::>::new(); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); assert_eq!(Balances::reserved_balance_named(&RESERVE_ID, &4), 10); @@ -526,7 +532,7 @@ fn kick_mechanism() { assert_eq!(SessionChangeBlock::get(), 20); assert_eq!(CollatorSelection::candidates().len(), 2); assert_eq!(SessionHandlerCollators::get(), vec![1, 2, 3, 4]); - let mut collators = BoundedBTreeSet::new(); + let mut collators = BoundedBTreeSet::>::new(); assert_ok!(collators.try_insert(3)); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); @@ -538,7 +544,7 @@ fn kick_mechanism() { assert_eq!(SessionChangeBlock::get(), 30); assert_eq!(CollatorSelection::candidates().len(), 1); assert_eq!(SessionHandlerCollators::get(), vec![1, 2, 3, 4]); - let mut collators = BoundedBTreeSet::new(); + let mut collators = BoundedBTreeSet::>::new(); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); // kicked collator without funds back diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 6fe9fff588..dd785b863f 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -52,6 +52,7 @@ sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkad sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } # cumulus cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.16" } @@ -134,7 +135,7 @@ polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.16" } -xcm-emulator = { git = "https://github.com/zqhxuyuan/xcm-simulator", branch = "v0.9.15_master" } +xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "a250ffc998bac4831c5692c591dee7bc13f3aead" } acala-service = { path = "../../node/service", features = ["with-all-runtime"] } diff --git a/runtime/integration-tests/src/treasury.rs b/runtime/integration-tests/src/treasury.rs index edb801d223..4faa772db4 100644 --- a/runtime/integration-tests/src/treasury.rs +++ b/runtime/integration-tests/src/treasury.rs @@ -234,7 +234,7 @@ fn treasury_handles_dust_correctly() { mod mandala_only_tests { use super::*; type NegativeImbalance = >::NegativeImbalance; - use frame_support::traits::OnUnbalanced; + use frame_support::{pallet_prelude::Decode, traits::OnUnbalanced}; use pallet_authorship::EventHandler; #[test] @@ -243,11 +243,8 @@ mod mandala_only_tests { .balances(vec![(AccountId::from(ALICE), NATIVE_CURRENCY, dollar(NATIVE_CURRENCY))]) .build() .execute_with(|| { - assert_ok!(Session::set_keys( - Origin::signed(AccountId::from(ALICE)), - SessionKeys::default(), - vec![] - )); + let keys: SessionKeys = Decode::decode(&mut &[0u8; 128][..]).unwrap(); + assert_ok!(Session::set_keys(Origin::signed(AccountId::from(ALICE)), keys, vec![])); assert_ok!(CollatorSelection::set_desired_candidates(Origin::root(), 1)); assert_ok!(CollatorSelection::register_as_candidate(Origin::signed( AccountId::from(ALICE) diff --git a/runtime/mandala/src/benchmarking/collator_selection.rs b/runtime/mandala/src/benchmarking/collator_selection.rs index 56bea03769..df82f56485 100644 --- a/runtime/mandala/src/benchmarking/collator_selection.rs +++ b/runtime/mandala/src/benchmarking/collator_selection.rs @@ -111,8 +111,9 @@ runtime_benchmarks! { let caller: AccountId = whitelisted_caller(); let bond: Balance = Balances::minimum_balance().checked_mul(2u32.into()).unwrap(); Balances::make_free_balance_be(&caller, bond.clone()); + let keys: SessionKeys = Decode::decode(&mut &[0u8; 128][..]).unwrap(); - Session::set_keys(RawOrigin::Signed(caller.clone()).into(), SessionKeys::default(), vec![]).unwrap(); + Session::set_keys(RawOrigin::Signed(caller.clone()).into(), keys, vec![]).unwrap(); }: _(RawOrigin::Signed(caller.clone())) verify { assert_last_event(module_collator_selection::Event::CandidateAdded{who: caller, bond: bond.checked_div(2u32.into()).unwrap()}.into()); @@ -128,8 +129,9 @@ runtime_benchmarks! { let caller: AccountId = whitelisted_caller(); let bond: Balance = Balances::minimum_balance().checked_mul(2u32.into()).unwrap(); Balances::make_free_balance_be(&caller, bond.clone()); + let keys: SessionKeys = Decode::decode(&mut &[0u8; 128][..]).unwrap(); - Session::set_keys(RawOrigin::Signed(caller.clone()).into(), SessionKeys::default(), vec![]).unwrap(); + Session::set_keys(RawOrigin::Signed(caller.clone()).into(), keys, vec![]).unwrap(); }: _(RawOrigin::Root, caller.clone()) verify { assert_last_event(module_collator_selection::Event::CandidateAdded{who: caller, bond: 0}.into()); From c5e672488797b8814a38fdebf773bc41806bf51b Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 1 Feb 2022 22:21:43 +0800 Subject: [PATCH 35/46] cargo test normal --- modules/cdp-treasury/src/mock.rs | 6 +++--- modules/collator-selection/src/tests.rs | 10 +++++----- modules/homa-lite/src/mock.rs | 4 ++++ modules/homa-lite/src/mock_no_fees.rs | 4 ++++ modules/transaction-payment/src/tests.rs | 12 ++++++------ runtime/common/src/precompile/mock.rs | 2 ++ runtime/common/src/precompile/tests.rs | 6 +++--- runtime/mandala/src/lib.rs | 10 +++++----- 8 files changed, 32 insertions(+), 22 deletions(-) diff --git a/modules/cdp-treasury/src/mock.rs b/modules/cdp-treasury/src/mock.rs index 82fa8e106e..2038e2ab63 100644 --- a/modules/cdp-treasury/src/mock.rs +++ b/modules/cdp-treasury/src/mock.rs @@ -23,9 +23,9 @@ use super::*; use frame_support::{ construct_runtime, ord_parameter_types, parameter_types, - traits::{Everything, Nothing}, + traits::{EnsureOneOf, Everything, Nothing}, }; -use frame_system::{EnsureOneOf, EnsureRoot, EnsureSignedBy}; +use frame_system::{EnsureRoot, EnsureSignedBy}; use orml_traits::parameter_type_with_key; use primitives::{TokenSymbol, TradingPair}; use sp_core::H256; @@ -209,7 +209,7 @@ impl Config for Runtime { type Currency = Currencies; type GetStableCurrencyId = GetStableCurrencyId; type AuctionManagerHandler = MockAuctionManager; - type UpdateOrigin = EnsureOneOf, EnsureSignedBy>; + type UpdateOrigin = EnsureOneOf, EnsureSignedBy>; type DEX = DEXModule; type MaxAuctionsCount = MaxAuctionsCount; type PalletId = CDPTreasuryPalletId; diff --git a/modules/collator-selection/src/tests.rs b/modules/collator-selection/src/tests.rs index 7fd157c3e0..0442729a74 100644 --- a/modules/collator-selection/src/tests.rs +++ b/modules/collator-selection/src/tests.rs @@ -208,7 +208,7 @@ fn register_as_candidate_works() { assert_eq!(CollatorSelection::candidacy_bond(), 10); assert_eq!( CollatorSelection::candidates(), - BoundedBTreeSet::>::new() + BoundedBTreeSet::>::new() ); assert_eq!(CollatorSelection::invulnerables(), vec![1, 2]); @@ -248,7 +248,7 @@ fn register_candidate_works() { assert_eq!(CollatorSelection::candidacy_bond(), 10); assert_eq!( CollatorSelection::candidates(), - BoundedBTreeSet::>::new() + BoundedBTreeSet::>::new() ); assert_eq!(CollatorSelection::invulnerables(), vec![1, 2]); @@ -411,7 +411,7 @@ fn fees_edgecases() { // triggers `note_author` Authorship::on_initialize(1); - let mut collators = BoundedBTreeSet::>::new(); + let mut collators = BoundedBTreeSet::>::new(); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); assert_eq!(Balances::reserved_balance_named(&RESERVE_ID, &4), 10); @@ -532,7 +532,7 @@ fn kick_mechanism() { assert_eq!(SessionChangeBlock::get(), 20); assert_eq!(CollatorSelection::candidates().len(), 2); assert_eq!(SessionHandlerCollators::get(), vec![1, 2, 3, 4]); - let mut collators = BoundedBTreeSet::>::new(); + let mut collators = BoundedBTreeSet::>::new(); assert_ok!(collators.try_insert(3)); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); @@ -544,7 +544,7 @@ fn kick_mechanism() { assert_eq!(SessionChangeBlock::get(), 30); assert_eq!(CollatorSelection::candidates().len(), 1); assert_eq!(SessionHandlerCollators::get(), vec![1, 2, 3, 4]); - let mut collators = BoundedBTreeSet::>::new(); + let mut collators = BoundedBTreeSet::>::new(); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); // kicked collator without funds back diff --git a/modules/homa-lite/src/mock.rs b/modules/homa-lite/src/mock.rs index 8714d4466a..c4f041a487 100644 --- a/modules/homa-lite/src/mock.rs +++ b/modules/homa-lite/src/mock.rs @@ -105,6 +105,10 @@ impl XcmTransfer for MockXcm { } } impl InvertLocation for MockXcm { + fn ancestry() -> MultiLocation { + todo!() + } + fn invert_location(l: &MultiLocation) -> Result { Ok(l.clone()) } diff --git a/modules/homa-lite/src/mock_no_fees.rs b/modules/homa-lite/src/mock_no_fees.rs index 20c8dead07..9145cc19a6 100644 --- a/modules/homa-lite/src/mock_no_fees.rs +++ b/modules/homa-lite/src/mock_no_fees.rs @@ -53,6 +53,10 @@ impl XcmTransfer for MockXcm { } } impl InvertLocation for MockXcm { + fn ancestry() -> MultiLocation { + todo!() + } + fn invert_location(l: &MultiLocation) -> Result { Ok(l.clone()) } diff --git a/modules/transaction-payment/src/tests.rs b/modules/transaction-payment/src/tests.rs index 6c193d845c..645738f6fe 100644 --- a/modules/transaction-payment/src/tests.rs +++ b/modules/transaction-payment/src/tests.rs @@ -213,7 +213,7 @@ fn signed_extension_transaction_payment_work() { .unwrap(); assert_eq!(Currencies::free_balance(ACA, &ALICE), 100000 - fee); assert_ok!(ChargeTransactionPayment::::post_dispatch( - pre, + Some(pre), &INFO, &POST_INFO, 23, @@ -232,7 +232,7 @@ fn signed_extension_transaction_payment_work() { .unwrap(); assert_eq!(Currencies::free_balance(ACA, &CHARLIE), 100000 - fee - 5); assert_ok!(ChargeTransactionPayment::::post_dispatch( - pre, + Some(pre), &INFO, &POST_INFO, 23, @@ -265,7 +265,7 @@ fn refund_fee_according_to_actual_when_post_dispatch_and_native_currency_is_enou assert_eq!(Currencies::free_balance(ACA, &ALICE), 100000 - fee); let refund = 200; // 1000 - 800 - assert!(ChargeTransactionPayment::::post_dispatch(pre, &INFO, &POST_INFO, 23, &Ok(())).is_ok()); + assert!(ChargeTransactionPayment::::post_dispatch(Some(pre), &INFO, &POST_INFO, 23, &Ok(())).is_ok()); assert_eq!(Currencies::free_balance(ACA, &ALICE), 100000 - fee + refund); }); } @@ -281,7 +281,7 @@ fn refund_tip_according_to_actual_when_post_dispatch_and_native_currency_is_enou assert_eq!(Currencies::free_balance(ACA, &ALICE), 100000 - fee); let refund = 200; // 1000 - 800 - assert!(ChargeTransactionPayment::::post_dispatch(pre, &INFO, &POST_INFO, 23, &Ok(())).is_ok()); + assert!(ChargeTransactionPayment::::post_dispatch(Some(pre), &INFO, &POST_INFO, 23, &Ok(())).is_ok()); assert_eq!(Currencies::free_balance(ACA, &ALICE), 100000 - fee + refund); // tip = 1000 @@ -294,7 +294,7 @@ fn refund_tip_according_to_actual_when_post_dispatch_and_native_currency_is_enou let refund_fee = 200; // 1000 - 800 let refund_tip = 200; // 1000 - 800 - assert!(ChargeTransactionPayment::::post_dispatch(pre, &INFO, &POST_INFO, 23, &Ok(())).is_ok()); + assert!(ChargeTransactionPayment::::post_dispatch(Some(pre), &INFO, &POST_INFO, 23, &Ok(())).is_ok()); assert_eq!( Currencies::free_balance(ACA, &CHARLIE), 100000 - fee - tip + refund_fee + refund_tip @@ -318,7 +318,7 @@ fn refund_should_not_works() { pays_fee: Pays::Yes, }; - assert!(ChargeTransactionPayment::::post_dispatch(pre, &INFO, &POST_INFO, 23, &Ok(())).is_ok()); + assert!(ChargeTransactionPayment::::post_dispatch(Some(pre), &INFO, &POST_INFO, 23, &Ok(())).is_ok()); assert_eq!(Currencies::free_balance(ACA, &ALICE), 100000 - fee - tip); }); } diff --git a/runtime/common/src/precompile/mock.rs b/runtime/common/src/precompile/mock.rs index c68fedd7f9..70d316768e 100644 --- a/runtime/common/src/precompile/mock.rs +++ b/runtime/common/src/precompile/mock.rs @@ -350,6 +350,8 @@ impl pallet_scheduler::Config for Test { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = (); type OriginPrivilegeCmp = EqualPrivilegeOnly; + type PreimageProvider = (); + type NoPreimagePostponement = (); } pub struct MockDEXIncentives; diff --git a/runtime/common/src/precompile/tests.rs b/runtime/common/src/precompile/tests.rs index 91c1253aa7..36c8167b59 100644 --- a/runtime/common/src/precompile/tests.rs +++ b/runtime/common/src/precompile/tests.rs @@ -414,7 +414,7 @@ fn schedule_call_precompile_should_work() { let resp = ScheduleCallPrecompile::execute(&input, None, &context).unwrap(); assert_eq!(resp.exit_status, ExitSucceed::Returned); assert_eq!(resp.cost, 0); - let event = TestEvent::Scheduler(pallet_scheduler::Event::::Scheduled(3, 0)); + let event = TestEvent::Scheduler(pallet_scheduler::Event::::Scheduled { when: 3, index: 0 }); assert!(System::events().iter().any(|record| record.event == event)); // cancel schedule @@ -433,7 +433,7 @@ fn schedule_call_precompile_should_work() { let resp = ScheduleCallPrecompile::execute(&cancel_input, None, &context).unwrap(); assert_eq!(resp.exit_status, ExitSucceed::Returned); assert_eq!(resp.cost, 0); - let event = TestEvent::Scheduler(pallet_scheduler::Event::::Canceled(3, 0)); + let event = TestEvent::Scheduler(pallet_scheduler::Event::::Canceled { when: 3, index: 0 }); assert!(System::events().iter().any(|record| record.event == event)); let resp = ScheduleCallPrecompile::execute(&input, None, &context).unwrap(); @@ -460,7 +460,7 @@ fn schedule_call_precompile_should_work() { let resp = ScheduleCallPrecompile::execute(&reschedule_input, None, &context).unwrap(); assert_eq!(resp.exit_status, ExitSucceed::Returned); assert_eq!(resp.cost, 0); - let event = TestEvent::Scheduler(pallet_scheduler::Event::::Scheduled(5, 0)); + let event = TestEvent::Scheduler(pallet_scheduler::Event::::Scheduled { when: 5, index: 0 }); assert!(System::events().iter().any(|record| record.event == event)); let from_account = ::AddressMapping::get_account_id(&alice_evm_addr()); diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index e8f3c6b8d6..9525a79336 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -2680,7 +2680,7 @@ mod tests { ); let mut expected_extra = extra.clone(); - expected_extra.4.mark_as_ethereum_tx(30); + expected_extra.5.mark_as_ethereum_tx(30); assert_eq!( ConvertEthereumTx::convert((call.clone(), extra.clone())).unwrap(), @@ -2705,7 +2705,7 @@ mod tests { // valid tx in future assert_eq!( - extra.4.validate(&alice, &call, &info, 0), + extra.5.validate(&alice, &call, &info, 0), Ok(sp_runtime::transaction_validity::ValidTransaction { priority: 0, requires: vec![Encode::encode(&(alice.clone(), 2u32))], @@ -2716,7 +2716,7 @@ mod tests { ); // valid evm tx assert_eq!( - expected_extra.4.validate(&alice, &call, &info, 0), + expected_extra.5.validate(&alice, &call, &info, 0), Ok(sp_runtime::transaction_validity::ValidTransaction { priority: 0, requires: vec![], @@ -2727,9 +2727,9 @@ mod tests { ); // valid evm tx in future - expected_extra.4.nonce = 4; + expected_extra.5.nonce = 4; assert_eq!( - expected_extra.4.validate(&alice, &call, &info, 0), + expected_extra.5.validate(&alice, &call, &info, 0), Ok(sp_runtime::transaction_validity::ValidTransaction { priority: 0, requires: vec![Encode::encode(&(address, 3u32))], From be0d83c86ac1bb751395aa25e0bf2243f700061c Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 2 Feb 2022 11:09:34 +0800 Subject: [PATCH 36/46] update substrate and fix review --- Cargo.lock | 454 +++++++++--------- Cargo.toml | 312 ++++++------ modules/collator-selection/src/tests.rs | 20 +- modules/homa-lite/src/mock.rs | 2 +- modules/homa-lite/src/mock_no_fees.rs | 2 +- .../test-service/tests/standalone.rs | 2 + primitives/src/signature.rs | 24 +- runtime/acala/src/lib.rs | 11 +- runtime/karura/src/lib.rs | 11 +- 9 files changed, 414 insertions(+), 424 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 66d061a7d4..3fb44449ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1041,7 +1041,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "finality-grandpa", "frame-support", @@ -1057,7 +1057,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-runtime", "frame-support", @@ -1069,7 +1069,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitvec 0.20.4", "bp-runtime", @@ -1085,7 +1085,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-messages", "bp-runtime", @@ -1103,7 +1103,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1120,7 +1120,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "hash-db", @@ -1138,7 +1138,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -1153,7 +1153,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1168,7 +1168,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -3306,7 +3306,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", ] @@ -3324,7 +3324,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -3345,7 +3345,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "Inflector", "chrono", @@ -3371,7 +3371,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -3385,7 +3385,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -3413,7 +3413,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "bitflags", "frame-metadata", @@ -3442,7 +3442,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -3454,7 +3454,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", @@ -3466,7 +3466,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro2", "quote", @@ -3476,7 +3476,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "log", @@ -3493,7 +3493,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -3508,7 +3508,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "sp-api", @@ -3517,7 +3517,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "sp-api", @@ -4665,7 +4665,7 @@ dependencies = [ [[package]] name = "kusama-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -4753,7 +4753,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "polkadot-primitives", @@ -5805,7 +5805,7 @@ dependencies = [ [[package]] name = "metered-channel" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "derive_more", "futures 0.3.19", @@ -7523,7 +7523,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -7539,7 +7539,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -7555,7 +7555,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -7570,7 +7570,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7614,7 +7614,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7670,7 +7670,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7688,7 +7688,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -7705,7 +7705,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7727,7 +7727,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitvec 0.20.4", "bp-message-dispatch", @@ -7766,7 +7766,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7848,7 +7848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7864,7 +7864,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7888,7 +7888,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7906,7 +7906,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7921,7 +7921,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7944,7 +7944,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7960,7 +7960,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -7980,7 +7980,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8010,7 +8010,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8027,7 +8027,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -8045,7 +8045,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8061,7 +8061,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8078,7 +8078,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8093,7 +8093,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8107,7 +8107,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8124,7 +8124,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8163,7 +8163,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8192,7 +8192,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8206,7 +8206,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8222,7 +8222,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8243,7 +8243,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8259,7 +8259,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8273,7 +8273,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8296,7 +8296,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -8307,7 +8307,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "log", "sp-arithmetic", @@ -8316,7 +8316,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8330,7 +8330,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8348,7 +8348,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8367,7 +8367,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-support", "frame-system", @@ -8384,7 +8384,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -8401,7 +8401,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8430,7 +8430,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8462,7 +8462,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8478,7 +8478,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8493,7 +8493,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "frame-system", @@ -8511,7 +8511,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-benchmarking", "frame-support", @@ -8959,7 +8959,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8973,7 +8973,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8986,7 +8986,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "derive_more", "futures 0.3.19", @@ -9008,7 +9008,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "lru 0.7.2", @@ -9028,7 +9028,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-benchmarking-cli", "futures 0.3.19", @@ -9051,7 +9051,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -9082,7 +9082,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "always-assert", "derive_more", @@ -9103,7 +9103,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "derive_more", "futures 0.3.19", @@ -9138,7 +9138,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9152,7 +9152,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9172,7 +9172,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-trait", "futures 0.3.19", @@ -9191,7 +9191,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "parity-scale-codec", @@ -9209,7 +9209,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitvec 0.20.4", "derive_more", @@ -9237,7 +9237,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9257,7 +9257,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9275,7 +9275,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -9290,7 +9290,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-trait", "futures 0.3.19", @@ -9308,7 +9308,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -9323,7 +9323,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9340,7 +9340,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "kvdb", @@ -9358,7 +9358,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-trait", "futures 0.3.19", @@ -9375,7 +9375,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9392,7 +9392,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "always-assert", "assert_matches", @@ -9422,7 +9422,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "polkadot-node-primitives", @@ -9438,7 +9438,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "memory-lru", @@ -9456,7 +9456,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-std", "lazy_static", @@ -9474,7 +9474,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bs58", "futures 0.3.19", @@ -9493,7 +9493,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-trait", "derive_more", @@ -9511,7 +9511,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bounded-vec", "futures 0.3.19", @@ -9533,7 +9533,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9543,7 +9543,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "derive_more", "futures 0.3.19", @@ -9562,7 +9562,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-trait", "derive_more", @@ -9590,7 +9590,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9611,7 +9611,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-trait", "futures 0.3.19", @@ -9628,7 +9628,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -9639,7 +9639,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "derive_more", "frame-support", @@ -9656,7 +9656,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -9671,7 +9671,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitvec 0.20.4", "frame-system", @@ -9732,7 +9732,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -9763,7 +9763,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -9847,7 +9847,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -9894,7 +9894,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "polkadot-primitives", @@ -9906,7 +9906,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bs58", "parity-scale-codec", @@ -9918,7 +9918,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "bitflags", "bitvec 0.20.4", @@ -9959,7 +9959,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "async-trait", "beefy-gadget", @@ -10005,7 +10005,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain", "polkadot-primitives", - "polkadot-rpc 0.9.16 (git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966)", + "polkadot-rpc 0.9.16 (git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7)", "polkadot-runtime", "polkadot-runtime-constants", "polkadot-runtime-parachains", @@ -10060,7 +10060,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "arrayvec 0.5.2", "derive_more", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10674,7 +10674,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -10814,7 +10814,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "beefy-primitives", "bp-messages", @@ -10889,7 +10889,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "polkadot-primitives", @@ -11248,7 +11248,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "log", "sp-core", @@ -11259,7 +11259,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "derive_more", @@ -11286,7 +11286,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "futures-timer", @@ -11309,7 +11309,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11325,7 +11325,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-trait-for-tuples 0.2.1", "memmap2 0.5.2", @@ -11342,7 +11342,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -11353,7 +11353,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "chrono", "fdlimit", @@ -11391,7 +11391,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "fnv", "futures 0.3.19", @@ -11419,7 +11419,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "hash-db", "kvdb", @@ -11444,7 +11444,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "futures 0.3.19", @@ -11468,7 +11468,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "derive_more", @@ -11497,7 +11497,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "derive_more", @@ -11540,7 +11540,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "derive_more", "futures 0.3.19", @@ -11564,7 +11564,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11577,7 +11577,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "assert_matches", "async-trait", @@ -11613,7 +11613,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "futures 0.3.19", @@ -11638,7 +11638,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "sc-client-api", "sp-authorship", @@ -11649,7 +11649,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "lazy_static", "libsecp256k1 0.7.0", @@ -11677,7 +11677,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "derive_more", "environmental", @@ -11695,7 +11695,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "log", "parity-scale-codec", @@ -11711,7 +11711,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "cfg-if 1.0.0", "libc", @@ -11729,7 +11729,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "derive_more", @@ -11767,7 +11767,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "derive_more", "finality-grandpa", @@ -11791,7 +11791,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "ansi_term", "futures 0.3.19", @@ -11808,7 +11808,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "derive_more", @@ -11823,7 +11823,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-std", "async-trait", @@ -11874,7 +11874,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "futures-timer", @@ -11890,7 +11890,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "bytes 1.1.0", "fnv", @@ -11918,7 +11918,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "libp2p", @@ -11931,7 +11931,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11940,7 +11940,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "hash-db", @@ -11971,7 +11971,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -11996,7 +11996,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "jsonrpc-core", @@ -12013,7 +12013,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "directories", @@ -12063,7 +12063,7 @@ dependencies = [ "sp-storage", "sp-tracing", "sp-transaction-pool", - "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a)", + "sp-transaction-storage-proof 4.0.0-dev (git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5)", "sp-trie", "sp-version", "substrate-prometheus-endpoint", @@ -12077,7 +12077,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "log", "parity-scale-codec", @@ -12091,7 +12091,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -12113,7 +12113,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "chrono", "futures 0.3.19", @@ -12131,7 +12131,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "ansi_term", "atty", @@ -12162,7 +12162,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -12173,7 +12173,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "futures-timer", @@ -12200,7 +12200,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "derive_more", "futures 0.3.19", @@ -12214,7 +12214,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "futures-timer", @@ -12636,7 +12636,7 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "enumn", "parity-scale-codec", @@ -12724,7 +12724,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "hash-db", "log", @@ -12741,7 +12741,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", @@ -12753,7 +12753,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -12766,7 +12766,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "integer-sqrt", "num-traits", @@ -12781,7 +12781,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -12794,7 +12794,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "parity-scale-codec", @@ -12806,7 +12806,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "sp-api", @@ -12818,7 +12818,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "log", @@ -12836,7 +12836,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "futures 0.3.19", @@ -12855,7 +12855,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "parity-scale-codec", @@ -12873,7 +12873,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "merlin", @@ -12896,7 +12896,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -12908,7 +12908,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -12920,7 +12920,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "base58 0.2.0", "bitflags", @@ -12968,7 +12968,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "blake2-rfc", "byteorder", @@ -12981,7 +12981,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro2", "quote", @@ -12992,7 +12992,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "kvdb", "parking_lot 0.11.2", @@ -13001,7 +13001,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro2", "quote", @@ -13011,7 +13011,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "environmental", "parity-scale-codec", @@ -13022,7 +13022,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "finality-grandpa", "log", @@ -13040,7 +13040,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "impl-trait-for-tuples 0.2.1", @@ -13054,7 +13054,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "futures 0.3.19", "hash-db", @@ -13078,7 +13078,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "lazy_static", "sp-core", @@ -13089,7 +13089,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "derive_more", @@ -13106,7 +13106,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "zstd", ] @@ -13114,7 +13114,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -13129,7 +13129,7 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -13140,7 +13140,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "sp-api", "sp-core", @@ -13150,7 +13150,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "backtrace", "lazy_static", @@ -13160,7 +13160,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "rustc-hash", "serde", @@ -13170,7 +13170,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "either", "hash256-std-hasher", @@ -13192,7 +13192,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-trait-for-tuples 0.2.1", "parity-scale-codec", @@ -13209,7 +13209,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", @@ -13235,7 +13235,7 @@ dependencies = [ [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "serde", "serde_json", @@ -13244,7 +13244,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -13258,7 +13258,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "scale-info", @@ -13269,7 +13269,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "hash-db", "log", @@ -13292,12 +13292,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" [[package]] name = "sp-storage" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13310,7 +13310,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "log", "sp-core", @@ -13323,7 +13323,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "futures-timer", @@ -13339,7 +13339,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "sp-std", @@ -13351,7 +13351,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "sp-api", "sp-runtime", @@ -13372,7 +13372,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-trait", "log", @@ -13388,7 +13388,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "hash-db", "memory-db", @@ -13403,7 +13403,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13420,7 +13420,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13431,7 +13431,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "impl-trait-for-tuples 0.2.1", "log", @@ -13609,7 +13609,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "platforms 2.0.0", ] @@ -13617,7 +13617,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.19", @@ -13639,7 +13639,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "async-std", "derive_more", @@ -13700,7 +13700,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "ansi_term", "build-helper", @@ -14291,7 +14291,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=1c2332db8b6784d10bba55db794c5476aa49732a#1c2332db8b6784d10bba55db794c5476aa49732a" +source = "git+https://github.com/paritytech//substrate?rev=4aeb95f7f38fcd519e2628f32f79044a8fef99d5#4aeb95f7f38fcd519e2628f32f79044a8fef99d5" dependencies = [ "jsonrpsee", "log", @@ -14912,7 +14912,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -14998,7 +14998,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "polkadot-primitives", @@ -15133,7 +15133,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "derivative", "impl-trait-for-tuples 0.2.1", @@ -15146,7 +15146,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "frame-system", @@ -15190,7 +15190,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-benchmarking", "frame-support", @@ -15208,7 +15208,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "Inflector", "proc-macro2", @@ -15219,7 +15219,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=192586a2c8e7a742f38522c7f2425badc73d5966#192586a2c8e7a742f38522c7f2425badc73d5966" +source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/Cargo.toml b/Cargo.toml index c85f4079e2..3313eda1a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,164 +121,164 @@ yamux = { opt-level = 3 } zeroize = { opt-level = 3 } [patch."https://github.com/paritytech/substrate"] -frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-executive = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-support = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-system = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-session = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-society = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-cli = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-executor = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-informant = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-network = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-service = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sc-utils = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-api = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-core = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-io = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-session = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-staking = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-std = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-storage = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-trie = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-version = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } -try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "1c2332db8b6784d10bba55db794c5476aa49732a" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-executive = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-support = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-system = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-session = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-society = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-cli = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-executor = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-informant = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-network = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-service = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sc-utils = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-api = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-core = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-io = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-session = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-staking = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-std = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-storage = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-trie = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-version = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } +try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } [patch."https://github.com/paritytech/polkadot"] -kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -xcm = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } -xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "192586a2c8e7a742f38522c7f2425badc73d5966" } +kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +xcm = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } [patch."https://github.com/paritytech/cumulus"] cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } diff --git a/modules/collator-selection/src/tests.rs b/modules/collator-selection/src/tests.rs index 0442729a74..b2d8e6e87d 100644 --- a/modules/collator-selection/src/tests.rs +++ b/modules/collator-selection/src/tests.rs @@ -26,6 +26,8 @@ use frame_support::{ use pallet_balances::Error as BalancesError; use sp_runtime::{testing::UintAuthorityId, traits::BadOrigin}; +type Collators = BoundedBTreeSet>; + #[test] fn basic_setup_works() { new_test_ext().execute_with(|| { @@ -150,7 +152,7 @@ fn cannot_register_dupe_candidate() { )); // can add 3 as candidate assert_ok!(CollatorSelection::register_as_candidate(Origin::signed(3))); - let mut collators = BoundedBTreeSet::>::new(); + let mut collators = Collators::new(); assert_ok!(collators.try_insert(3)); assert_eq!(CollatorSelection::candidates(), collators); assert_eq!(Balances::free_balance(3), 90); @@ -206,10 +208,7 @@ fn register_as_candidate_works() { // given assert_eq!(CollatorSelection::desired_candidates(), 2); assert_eq!(CollatorSelection::candidacy_bond(), 10); - assert_eq!( - CollatorSelection::candidates(), - BoundedBTreeSet::>::new() - ); + assert_eq!(CollatorSelection::candidates(), Collators::new()); assert_eq!(CollatorSelection::invulnerables(), vec![1, 2]); // take two endowed, non-invulnerables accounts. @@ -246,10 +245,7 @@ fn register_candidate_works() { // given assert_eq!(CollatorSelection::desired_candidates(), 2); assert_eq!(CollatorSelection::candidacy_bond(), 10); - assert_eq!( - CollatorSelection::candidates(), - BoundedBTreeSet::>::new() - ); + assert_eq!(CollatorSelection::candidates(), Collators::new()); assert_eq!(CollatorSelection::invulnerables(), vec![1, 2]); // take two endowed, non-invulnerables accounts. @@ -411,7 +407,7 @@ fn fees_edgecases() { // triggers `note_author` Authorship::on_initialize(1); - let mut collators = BoundedBTreeSet::>::new(); + let mut collators = Collators::new(); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); assert_eq!(Balances::reserved_balance_named(&RESERVE_ID, &4), 10); @@ -532,7 +528,7 @@ fn kick_mechanism() { assert_eq!(SessionChangeBlock::get(), 20); assert_eq!(CollatorSelection::candidates().len(), 2); assert_eq!(SessionHandlerCollators::get(), vec![1, 2, 3, 4]); - let mut collators = BoundedBTreeSet::>::new(); + let mut collators = Collators::new(); assert_ok!(collators.try_insert(3)); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); @@ -544,7 +540,7 @@ fn kick_mechanism() { assert_eq!(SessionChangeBlock::get(), 30); assert_eq!(CollatorSelection::candidates().len(), 1); assert_eq!(SessionHandlerCollators::get(), vec![1, 2, 3, 4]); - let mut collators = BoundedBTreeSet::>::new(); + let mut collators = Collators::new(); assert_ok!(collators.try_insert(4)); assert_eq!(CollatorSelection::candidates(), collators); // kicked collator without funds back diff --git a/modules/homa-lite/src/mock.rs b/modules/homa-lite/src/mock.rs index c4f041a487..876742e86a 100644 --- a/modules/homa-lite/src/mock.rs +++ b/modules/homa-lite/src/mock.rs @@ -106,7 +106,7 @@ impl XcmTransfer for MockXcm { } impl InvertLocation for MockXcm { fn ancestry() -> MultiLocation { - todo!() + Parachain(2000).into() } fn invert_location(l: &MultiLocation) -> Result { diff --git a/modules/homa-lite/src/mock_no_fees.rs b/modules/homa-lite/src/mock_no_fees.rs index 9145cc19a6..f562f7d6a9 100644 --- a/modules/homa-lite/src/mock_no_fees.rs +++ b/modules/homa-lite/src/mock_no_fees.rs @@ -54,7 +54,7 @@ impl XcmTransfer for MockXcm { } impl InvertLocation for MockXcm { fn ancestry() -> MultiLocation { - todo!() + Parachain(2000).into() } fn invert_location(l: &MultiLocation) -> Result { diff --git a/node/e2e-tests/test-service/tests/standalone.rs b/node/e2e-tests/test-service/tests/standalone.rs index 4aee83687a..2b5d17f0f1 100644 --- a/node/e2e-tests/test-service/tests/standalone.rs +++ b/node/e2e-tests/test-service/tests/standalone.rs @@ -26,6 +26,7 @@ use sp_runtime::{traits::IdentifyAccount, MultiAddress, MultiSigner}; use test_service::SealMode; #[substrate_test_utils::test] +#[ignore] // TODO: Wasm binary must be built for testing, polkadot/node/test/service/src/chain_spec.rs:117:40 async fn simple_balances_dev_test() { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_colors(true); @@ -59,6 +60,7 @@ async fn simple_balances_dev_test() { } #[substrate_test_utils::test] +#[ignore] async fn transaction_pool_priority_order_test() { let mut builder = sc_cli::LoggerBuilder::new(""); builder.with_colors(true); diff --git a/primitives/src/signature.rs b/primitives/src/signature.rs index 693eb9912b..8663520fd2 100644 --- a/primitives/src/signature.rs +++ b/primitives/src/signature.rs @@ -94,24 +94,22 @@ impl TryFrom for ecdsa::Signature { } } -// impl Default for AcalaMultiSignature { -// fn default() -> Self { -// Self::Ed25519(Default::default()) -// } -// } +impl Default for AcalaMultiSignature { + fn default() -> Self { + Self::Ed25519(ed25519::Signature([0u8; 64])) + } +} impl Verify for AcalaMultiSignature { type Signer = MultiSigner; fn verify>(&self, mut msg: L, signer: &AccountId32) -> bool { match (self, signer) { - (Self::Ed25519(ref sig), who) => match ed25519::Public::from_slice(who.as_ref()) { - Ok(signer) => sig.verify(msg, &signer), - Err(()) => false, - }, - (Self::Sr25519(ref sig), who) => match sr25519::Public::from_slice(who.as_ref()) { - Ok(signer) => sig.verify(msg, &signer), - Err(()) => false, - }, + (Self::Ed25519(ref sig), who) => { + ed25519::Public::from_slice(who.as_ref()).map_or(false, |signer| sig.verify(msg, &signer)) + } + (Self::Sr25519(ref sig), who) => { + sr25519::Public::from_slice(who.as_ref()).map_or(false, |signer| sig.verify(msg, &signer)) + } (Self::Ecdsa(ref sig), who) => { let m = sp_io::hashing::blake2_256(msg.get()); match sp_io::crypto::secp256k1_ecdsa_recover_compressed(sig.as_ref(), &m) { diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index fa353f71c7..e4c9809de2 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -1737,13 +1737,10 @@ impl Convert> for CurrencyIdConvert { interior: X1(GeneralKey(key)), } => { let key = &key[..]; - if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { - match currency_id { - Token(ACA) | Token(AUSD) | Token(LDOT) => Some(currency_id), - _ => None, - } - } else { - None + let currency_id = CurrencyId::decode(&mut &*key).ok()?; + match currency_id { + Token(ACA) | Token(AUSD) | Token(LDOT) => Some(currency_id), + _ => None, } } _ => None, diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 5e8269e40f..7602169455 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1845,13 +1845,10 @@ impl Convert> for CurrencyIdConvert { #[cfg(feature = "integration-tests")] parachains::bifrost::BNC_KEY => Some(Token(BNC)), key => { - if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { - match currency_id { - Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), - _ => None, - } - } else { - None + let currency_id = CurrencyId::decode(&mut &*key).ok()?; + match currency_id { + Token(KAR) | Token(KUSD) | Token(LKSM) => Some(currency_id), + _ => None, } } }, From 6834394b4070b882b430bad1adc8626894f4dcf0 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 2 Feb 2022 16:17:53 +0800 Subject: [PATCH 37/46] fix --- modules/evm/src/lib.rs | 4 ++-- runtime/acala/src/lib.rs | 1 + runtime/karura/src/lib.rs | 1 + runtime/mandala/src/lib.rs | 1 + ts-tests/tests/test-contract-methods.ts | 6 +++--- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/evm/src/lib.rs b/modules/evm/src/lib.rs index 1e355add82..af7bc344b9 100644 --- a/modules/evm/src/lib.rs +++ b/modules/evm/src/lib.rs @@ -40,8 +40,8 @@ use frame_support::{ pallet_prelude::*, parameter_types, traits::{ - tokens::fungible::Inspect, BalanceStatus, Currency, EnsureOneOf, EnsureOrigin, ExistenceRequirement, FindAuthor, Get, - NamedReservableCurrency, OnKilledAccount, + tokens::fungible::Inspect, BalanceStatus, Currency, EnsureOneOf, EnsureOrigin, ExistenceRequirement, + FindAuthor, Get, NamedReservableCurrency, OnKilledAccount, }, transactional, weights::{Pays, PostDispatchInfo, Weight}, diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 37919ab5de..18b0c22838 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -944,6 +944,7 @@ impl pallet_scheduler::Config for Runtime { } parameter_types! { + /// Max size 4MB allowed for a preimage. pub const PreimageMaxSize: u32 = 4096 * 1024; pub PreimageBaseDeposit: Balance = deposit(2, 64); pub PreimageByteDeposit: Balance = deposit(0, 1); diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 9a55f5684d..70e637db3d 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -948,6 +948,7 @@ impl pallet_scheduler::Config for Runtime { } parameter_types! { + /// Max size 4MB allowed for a preimage. pub const PreimageMaxSize: u32 = 4096 * 1024; pub PreimageBaseDeposit: Balance = deposit(2, 64); pub PreimageByteDeposit: Balance = deposit(0, 1); diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 4ff0072193..81528c4144 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -948,6 +948,7 @@ impl pallet_scheduler::Config for Runtime { } parameter_types! { + /// Max size 4MB allowed for a preimage. pub const PreimageMaxSize: u32 = 4096 * 1024; pub PreimageBaseDeposit: Balance = deposit(2, 64); pub PreimageByteDeposit: Balance = deposit(0, 1); diff --git a/ts-tests/tests/test-contract-methods.ts b/ts-tests/tests/test-contract-methods.ts index f474e6a1fc..d1adb11df4 100644 --- a/ts-tests/tests/test-contract-methods.ts +++ b/ts-tests/tests/test-contract-methods.ts @@ -63,9 +63,9 @@ describeWithAcala("Acala RPC (Contract Methods)", (context) => { expect((await contract.chainId()).toString()).to.eq('595'); }); - // it("should get correct environmental coinbase", async function () { - // expect((await contract.coinbase()).toString()).to.not.eq('0x0000000000000000000000000000000000000000'); - // }); + it("should get correct environmental coinbase", async function () { + expect((await contract.coinbase()).toString()).to.eq('0x0000000000000000000000000000000000000000'); + }); it("should get correct environmental block timestamp", async function () { expect((await contract.timestamp()).toString()).to.eq((parseInt(await context.provider.api.query.timestamp.now() / 1000)).toString()); From bd5d6c585d6649aded287437d7a43a9dc4ff6865 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 2 Feb 2022 20:21:59 +0800 Subject: [PATCH 38/46] update evm-tests --- evm-tests | 2 +- modules/currencies/src/lib.rs | 3 ++- modules/dex-oracle/Cargo.toml | 18 +++++++++--------- orml | 2 +- primitives/src/currency.rs | 8 ++++---- runtime/mandala/src/lib.rs | 6 +++--- 6 files changed, 20 insertions(+), 19 deletions(-) diff --git a/evm-tests b/evm-tests index e9b97b5df1..755a4a52ca 160000 --- a/evm-tests +++ b/evm-tests @@ -1 +1 @@ -Subproject commit e9b97b5df1b7b7e05777702c3ab3d19566c6bee0 +Subproject commit 755a4a52cadecba211f15bb8cffd6a2b9fbdc165 diff --git a/modules/currencies/src/lib.rs b/modules/currencies/src/lib.rs index 4f90e19700..fbd98bbba0 100644 --- a/modules/currencies/src/lib.rs +++ b/modules/currencies/src/lib.rs @@ -838,7 +838,8 @@ where + Copy + MaybeSerializeDeserialize + Debug - + Default, + + Default + + MaxEncodedLen, Currency: PalletCurrency, T: Config, { diff --git a/modules/dex-oracle/Cargo.toml b/modules/dex-oracle/Cargo.toml index cd561e1a9e..55292eb05a 100644 --- a/modules/dex-oracle/Cargo.toml +++ b/modules/dex-oracle/Cargo.toml @@ -8,20 +8,20 @@ edition = "2021" serde = { version = "1.0.124", optional = true } codec = { package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "1.0", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } support = { package = "module-support", path = "../support", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.15" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.16" } [features] default = ["std"] diff --git a/orml b/orml index 63b32194e7..a51c4f7f04 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 63b32194e7b9aff6a6350d2d4434525de4eec7c1 +Subproject commit a51c4f7f04ec909dc14b3841de9014dfbc8d3600 diff --git a/primitives/src/currency.rs b/primitives/src/currency.rs index 0771d5a9e0..456de4a0ff 100644 --- a/primitives/src/currency.rs +++ b/primitives/src/currency.rs @@ -20,7 +20,7 @@ use crate::{evm::EvmAddress, *}; use bstringify::bstringify; -use codec::{Decode, Encode}; +use codec::{Decode, Encode, MaxEncodedLen}; use num_enum::{IntoPrimitive, TryFromPrimitive}; pub use nutsfinance_stable_asset::StableAssetPoolId; use scale_info::TypeInfo; @@ -176,7 +176,7 @@ create_currency_id! { // 128 - 147: Karura & Kusama native tokens // 148 - 167: External tokens (e.g. bridged) // 168 - 255: Kusama parachain tokens - #[derive(Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, PartialOrd, Ord, TypeInfo)] + #[derive(Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, PartialOrd, Ord, TypeInfo, MaxEncodedLen)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] #[repr(u8)] pub enum TokenSymbol { @@ -219,7 +219,7 @@ pub type ForeignAssetId = u16; pub type Erc20Id = u32; pub type Lease = BlockNumber; -#[derive(Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, PartialOrd, Ord, TypeInfo)] +#[derive(Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, PartialOrd, Ord, TypeInfo, MaxEncodedLen)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] #[cfg_attr(feature = "std", serde(rename_all = "camelCase"))] pub enum DexShare { @@ -229,7 +229,7 @@ pub enum DexShare { ForeignAsset(ForeignAssetId), } -#[derive(Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, PartialOrd, Ord, TypeInfo)] +#[derive(Encode, Decode, Eq, PartialEq, Copy, Clone, RuntimeDebug, PartialOrd, Ord, TypeInfo, MaxEncodedLen)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] #[cfg_attr(feature = "std", serde(rename_all = "camelCase"))] pub enum CurrencyId { diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 81528c4144..1a910ba5b9 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -1774,7 +1774,7 @@ impl Convert> for CurrencyIdConvert { use TokenSymbol::*; match id { Token(DOT) => Some(MultiLocation::parent()), - Token(ACA) | Token(AUSD) | Token(LDOT) | Token(RENBTC) => Some(native_currency_location(id)), + Token(ACA) | Token(AUSD) | Token(LDOT) | Token(RENBTC) | Token(TAI) => Some(native_currency_location(id)), CurrencyId::ForeignAsset(foreign_asset_id) => AssetIdMaps::::get_multi_location(foreign_asset_id), _ => None, } @@ -1802,7 +1802,7 @@ impl Convert> for CurrencyIdConvert { if let Ok(currency_id) = CurrencyId::decode(&mut &key[..]) { // check if `currency_id` is cross-chain asset match currency_id { - Token(ACA) | Token(AUSD) | Token(LDOT) | Token(RENBTC) => Some(currency_id), + Token(ACA) | Token(AUSD) | Token(LDOT) | Token(RENBTC) | Token(TAI) => Some(currency_id), _ => None, } } else { @@ -1817,7 +1817,7 @@ impl Convert> for CurrencyIdConvert { let key = &key[..]; if let Ok(currency_id) = CurrencyId::decode(&mut &*key) { match currency_id { - Token(ACA) | Token(AUSD) | Token(LDOT) | Token(RENBTC) => Some(currency_id), + Token(ACA) | Token(AUSD) | Token(LDOT) | Token(RENBTC) | Token(TAI) => Some(currency_id), _ => None, } } else { From dfaec0ffd69d02bfe3981679946ab1383ad51369 Mon Sep 17 00:00:00 2001 From: zqh Date: Thu, 3 Feb 2022 08:50:05 +0800 Subject: [PATCH 39/46] update state_version to 0 --- orml | 2 +- runtime/acala/src/lib.rs | 2 +- runtime/karura/src/lib.rs | 2 +- runtime/mandala/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/orml b/orml index a51c4f7f04..2b1c9fb367 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit a51c4f7f04ec909dc14b3841de9014dfbc8d3600 +Subproject commit 2b1c9fb367ccb8e13601b2da43d1c5d9737b93c6 diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 18b0c22838..4576469ecc 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -131,7 +131,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, - state_version: 1, + state_version: 0, }; /// The version infromation used to identify this runtime when compiled diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index 70e637db3d..1379b3fa24 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -137,7 +137,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, - state_version: 1, + state_version: 0, }; /// The version infromation used to identify this runtime when compiled diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index 1a910ba5b9..7a4f46dae1 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -143,7 +143,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, - state_version: 1, + state_version: 0, }; /// The version infromation used to identify this runtime when compiled From 91733da0794604248a3796d5b60e57476b8d5e67 Mon Sep 17 00:00:00 2001 From: Roy Yang Date: Thu, 3 Feb 2022 14:55:56 +1300 Subject: [PATCH 40/46] Renamed the NFT trait to InspectExtended --- modules/nft/src/lib.rs | 8 +++----- runtime/common/src/precompile/nft.rs | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/nft/src/lib.rs b/modules/nft/src/lib.rs index 207bb0cd87..e382e5cd83 100644 --- a/modules/nft/src/lib.rs +++ b/modules/nft/src/lib.rs @@ -33,7 +33,7 @@ use frame_support::{ transactional, PalletId, }; use frame_system::pallet_prelude::*; -use orml_traits::NFT; +use orml_traits::InspectExtended; use primitives::{ nft::{Attributes, ClassProperty, NFTBalance, Properties, CID}, ReserveIdentifier, @@ -506,16 +506,14 @@ impl Pallet { } } -impl NFT for Pallet { - type ClassId = ClassIdOf; - type TokenId = TokenIdOf; +impl InspectExtended for Pallet { type Balance = NFTBalance; fn balance(who: &T::AccountId) -> Self::Balance { orml_nft::TokensByOwner::::iter_prefix((who,)).count() as u128 } - fn next_token_id(class: Self::ClassId) -> Self::TokenId { + fn next_token_id(class: Self::ClassId) -> Self::InstanceId { orml_nft::Pallet::::next_token_id(class) } } diff --git a/runtime/common/src/precompile/nft.rs b/runtime/common/src/precompile/nft.rs index 2d597399ff..4fc4149364 100644 --- a/runtime/common/src/precompile/nft.rs +++ b/runtime/common/src/precompile/nft.rs @@ -27,7 +27,7 @@ use sp_core::H160; use sp_runtime::RuntimeDebug; use sp_std::{borrow::Cow, marker::PhantomData, prelude::*, result}; -use orml_traits::NFT as NFTT; +use orml_traits::InspectExtended; use super::input::{Input, InputT, Output}; use num_enum::{IntoPrimitive, TryFromPrimitive}; @@ -55,7 +55,7 @@ pub enum Action { impl Precompile for NFTPrecompile where Runtime: module_evm::Config + module_prices::Config + module_nft::Config, - module_nft::Pallet: NFTT + module_nft::Pallet: InspectExtended + Inspect + Transfer, { From 61e6d430050692d603d7b8765f541a405571649e Mon Sep 17 00:00:00 2001 From: Roy Yang Date: Thu, 3 Feb 2022 15:02:26 +1300 Subject: [PATCH 41/46] Updated orml reference --- orml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orml b/orml index 419ac91d7e..30122ff1d5 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 419ac91d7e116765f747b3acdbf3c49502dc5d6c +Subproject commit 30122ff1d5470d94bf07bbb06ed3c3ee8ffb0501 From 315e66e0601313c6ea155d82d92c8f4bb6ef2264 Mon Sep 17 00:00:00 2001 From: Roy Yang Date: Thu, 3 Feb 2022 17:04:02 +1300 Subject: [PATCH 42/46] Update orml version --- orml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orml b/orml index 30122ff1d5..6796bbd95c 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 30122ff1d5470d94bf07bbb06ed3c3ee8ffb0501 +Subproject commit 6796bbd95c5f35be1f20df18e9fd33400d8896c3 From e9502a36e77da1baaa65499c8f8194ed68bce880 Mon Sep 17 00:00:00 2001 From: zqh Date: Fri, 4 Feb 2022 10:45:11 +0800 Subject: [PATCH 43/46] update polkadot-rc10 --- Cargo.toml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3313eda1a0..e2a4f84c02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -256,29 +256,29 @@ substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "4aeb95f7f38fcd519e2628f32f79044a8fef99d5" } [patch."https://github.com/paritytech/polkadot"] -kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -xcm = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } -xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" } +kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +xcm = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } +xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "41ab002d7451766324a9f314fee11c9c53314350" } [patch."https://github.com/paritytech/cumulus"] cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "867bfcd8f87cc986d1a3e9eeaf16c8b4e9a27790" } From e2a734d685951164ee082239f0bbad6c6dd29e04 Mon Sep 17 00:00:00 2001 From: zqh Date: Fri, 4 Feb 2022 11:05:50 +0800 Subject: [PATCH 44/46] update polkadot-rc10 --- Cargo.lock | 152 ++++++++++++++++++++++++++--------------------------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9c7985dc72..fb502215d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1042,7 +1042,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "finality-grandpa", "frame-support", @@ -1058,7 +1058,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-runtime", "frame-support", @@ -1070,7 +1070,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitvec 0.20.4", "bp-runtime", @@ -1086,7 +1086,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-messages", "bp-runtime", @@ -1104,7 +1104,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1121,7 +1121,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "hash-db", @@ -1139,7 +1139,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -1154,7 +1154,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1169,7 +1169,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -4666,7 +4666,7 @@ dependencies = [ [[package]] name = "kusama-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "polkadot-primitives", @@ -5806,7 +5806,7 @@ dependencies = [ [[package]] name = "metered-channel" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "derive_more", "futures 0.3.19", @@ -7688,7 +7688,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -7705,7 +7705,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7727,7 +7727,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitvec 0.20.4", "bp-message-dispatch", @@ -8493,7 +8493,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "frame-system", @@ -8511,7 +8511,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-benchmarking", "frame-support", @@ -8959,7 +8959,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8973,7 +8973,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "polkadot-node-network-protocol", @@ -8986,7 +8986,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "derive_more", "futures 0.3.19", @@ -9008,7 +9008,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "lru 0.7.2", @@ -9028,7 +9028,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-benchmarking-cli", "futures 0.3.19", @@ -9051,7 +9051,7 @@ dependencies = [ [[package]] name = "polkadot-client" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -9082,7 +9082,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "always-assert", "derive_more", @@ -9103,7 +9103,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "derive_more", "futures 0.3.19", @@ -9138,7 +9138,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9152,7 +9152,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9172,7 +9172,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-trait", "futures 0.3.19", @@ -9191,7 +9191,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "parity-scale-codec", @@ -9209,7 +9209,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitvec 0.20.4", "derive_more", @@ -9237,7 +9237,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9257,7 +9257,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9275,7 +9275,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -9290,7 +9290,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-trait", "futures 0.3.19", @@ -9308,7 +9308,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "polkadot-node-subsystem", @@ -9323,7 +9323,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9340,7 +9340,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "kvdb", @@ -9358,7 +9358,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-trait", "futures 0.3.19", @@ -9375,7 +9375,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitvec 0.20.4", "futures 0.3.19", @@ -9392,7 +9392,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "always-assert", "assert_matches", @@ -9422,7 +9422,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "polkadot-node-primitives", @@ -9438,7 +9438,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "memory-lru", @@ -9456,7 +9456,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-std", "lazy_static", @@ -9474,7 +9474,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bs58", "futures 0.3.19", @@ -9493,7 +9493,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-trait", "derive_more", @@ -9511,7 +9511,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bounded-vec", "futures 0.3.19", @@ -9533,7 +9533,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9543,7 +9543,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "derive_more", "futures 0.3.19", @@ -9562,7 +9562,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-trait", "derive_more", @@ -9590,7 +9590,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "futures 0.3.19", "futures-timer", @@ -9611,7 +9611,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-trait", "futures 0.3.19", @@ -9628,7 +9628,7 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2", @@ -9639,7 +9639,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "derive_more", "frame-support", @@ -9656,7 +9656,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -9671,7 +9671,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitvec 0.20.4", "frame-system", @@ -9732,7 +9732,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -9763,7 +9763,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -9847,7 +9847,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -9894,7 +9894,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "polkadot-primitives", @@ -9906,7 +9906,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bs58", "parity-scale-codec", @@ -9918,7 +9918,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "bitflags", "bitvec 0.20.4", @@ -9959,7 +9959,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "async-trait", "beefy-gadget", @@ -10005,7 +10005,7 @@ dependencies = [ "polkadot-overseer", "polkadot-parachain", "polkadot-primitives", - "polkadot-rpc 0.9.16 (git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7)", + "polkadot-rpc 0.9.16 (git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350)", "polkadot-runtime", "polkadot-runtime-constants", "polkadot-runtime-parachains", @@ -10060,7 +10060,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "arrayvec 0.5.2", "derive_more", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -10814,7 +10814,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "beefy-primitives", "bp-messages", @@ -10889,7 +10889,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "polkadot-primitives", @@ -12636,7 +12636,7 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "enumn", "parity-scale-codec", @@ -14912,7 +14912,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "beefy-primitives", "bitvec 0.20.4", @@ -14998,7 +14998,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "polkadot-primitives", @@ -15133,7 +15133,7 @@ dependencies = [ [[package]] name = "xcm" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "derivative", "impl-trait-for-tuples 0.2.1", @@ -15146,7 +15146,7 @@ dependencies = [ [[package]] name = "xcm-builder" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "frame-system", @@ -15190,7 +15190,7 @@ dependencies = [ [[package]] name = "xcm-executor" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-benchmarking", "frame-support", @@ -15208,7 +15208,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "Inflector", "proc-macro2", @@ -15219,7 +15219,7 @@ dependencies = [ [[package]] name = "xcm-simulator" version = "0.9.16" -source = "git+https://github.com/paritytech//polkadot?rev=6e3e9e60c2615f1cd715923aea9816ac6b9b59f7#6e3e9e60c2615f1cd715923aea9816ac6b9b59f7" +source = "git+https://github.com/paritytech//polkadot?rev=41ab002d7451766324a9f314fee11c9c53314350#41ab002d7451766324a9f314fee11c9c53314350" dependencies = [ "frame-support", "parity-scale-codec", From 9c795d6b6902395e20ae510b5313917c5a08624c Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Sat, 5 Feb 2022 08:58:45 +1300 Subject: [PATCH 45/46] change migration --- runtime/acala/src/lib.rs | 2 +- runtime/karura/src/lib.rs | 2 +- runtime/mandala/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/acala/src/lib.rs b/runtime/acala/src/lib.rs index 1461980393..ab07104cb6 100644 --- a/runtime/acala/src/lib.rs +++ b/runtime/acala/src/lib.rs @@ -1970,7 +1970,7 @@ pub type Executive = frame_executive::Executive< pub struct SchedulerMigrationV3; impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { fn on_runtime_upgrade() -> frame_support::weights::Weight { - Scheduler::migrate_v1_to_v3(); + Scheduler::migrate_v2_to_v3(); ::BlockWeights::get().max_block } diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index a542b26617..b8c12b6ec0 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -2080,7 +2080,7 @@ pub type Executive = frame_executive::Executive< pub struct SchedulerMigrationV3; impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { fn on_runtime_upgrade() -> frame_support::weights::Weight { - Scheduler::migrate_v1_to_v3(); + Scheduler::migrate_v2_to_v3(); ::BlockWeights::get().max_block } diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index a2b3854c0f..cf844bc558 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -2075,7 +2075,7 @@ pub type Executive = frame_executive::Executive< pub struct SchedulerMigrationV3; impl frame_support::traits::OnRuntimeUpgrade for SchedulerMigrationV3 { fn on_runtime_upgrade() -> frame_support::weights::Weight { - Scheduler::migrate_v1_to_v3(); + Scheduler::migrate_v2_to_v3(); ::BlockWeights::get().max_block } From 10f1ffa5023ff0ac930cc2e6bb844c4890c35320 Mon Sep 17 00:00:00 2001 From: zqh Date: Mon, 7 Feb 2022 00:45:47 +0800 Subject: [PATCH 46/46] fix Trader --- .../karura/src/integration_tests_config.rs | 7 ----- runtime/karura/src/lib.rs | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/runtime/karura/src/integration_tests_config.rs b/runtime/karura/src/integration_tests_config.rs index 356b83444c..83de0845b9 100644 --- a/runtime/karura/src/integration_tests_config.rs +++ b/runtime/karura/src/integration_tests_config.rs @@ -19,13 +19,6 @@ use super::*; parameter_types! { - pub KarPerSecondOfCanonicalLocation: (AssetId, u128) = ( - MultiLocation::new( - 0, - X1(GeneralKey(KAR.encode())), - ).into(), - kar_per_second() - ); pub BncPerSecondOfCanonicalLocation: (AssetId, u128) = ( MultiLocation::new( 0, diff --git a/runtime/karura/src/lib.rs b/runtime/karura/src/lib.rs index b8c12b6ec0..ecfac40b97 100644 --- a/runtime/karura/src/lib.rs +++ b/runtime/karura/src/lib.rs @@ -1517,6 +1517,14 @@ parameter_types! { // kUSD:KSM = 400:1 ksm_per_second() * 400 ); + pub KusdPerSecondOfCanonicalLocation: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(KUSD.encode())), + ).into(), + // kUSD:KSM = 400:1 + ksm_per_second() * 400 + ); pub KarPerSecond: (AssetId, u128) = ( MultiLocation::new( 1, @@ -1524,6 +1532,13 @@ parameter_types! { ).into(), kar_per_second() ); + pub KarPerSecondOfCanonicalLocation: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(KAR.encode())), + ).into(), + kar_per_second() + ); pub LksmPerSecond: (AssetId, u128) = ( MultiLocation::new( 1, @@ -1532,6 +1547,14 @@ parameter_types! { // LKSM:KSM = 10:1 ksm_per_second() * 10 ); + pub LksmPerSecondOfCanonicalLocation: (AssetId, u128) = ( + MultiLocation::new( + 0, + X1(GeneralKey(LKSM.encode())), + ).into(), + // LKSM:KSM = 10:1 + ksm_per_second() * 10 + ); pub PHAPerSecond: (AssetId, u128) = ( MultiLocation::new( 1, @@ -1582,8 +1605,11 @@ pub type Trader = ( TransactionFeePoolTrader, FixedRateOfFungible, FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfFungible, + FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible, FixedRateOfFungible,