From fc89e7df438eca4ff5090d7068598177216db19c Mon Sep 17 00:00:00 2001 From: zqh Date: Sat, 21 May 2022 15:25:08 +0800 Subject: [PATCH 01/28] upgrade v0.9.22 --- Cargo.lock | 2457 +++++++++-------- Cargo.toml | 388 +-- ecosystem-modules/compound-cash/Cargo.toml | 12 +- ecosystem-modules/ren/renvm-bridge/Cargo.toml | 14 +- ecosystem-modules/starport/Cargo.toml | 14 +- inspect/Cargo.toml | 14 +- modules/aggregated-dex/Cargo.toml | 16 +- modules/asset-registry/Cargo.toml | 24 +- modules/auction-manager/Cargo.toml | 14 +- modules/cdp-engine/Cargo.toml | 18 +- modules/cdp-treasury/Cargo.toml | 14 +- modules/collator-selection/Cargo.toml | 34 +- modules/currencies/Cargo.toml | 18 +- modules/currencies/src/lib.rs | 19 +- modules/currencies/src/tests.rs | 55 +- modules/dex-oracle/Cargo.toml | 18 +- modules/dex/Cargo.toml | 16 +- modules/earning/Cargo.toml | 14 +- modules/emergency-shutdown/Cargo.toml | 14 +- modules/evm-accounts/Cargo.toml | 14 +- modules/evm-bridge/Cargo.toml | 16 +- modules/evm-utility/Cargo.toml | 2 +- modules/evm/Cargo.toml | 18 +- 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 | 20 +- modules/honzon-bridge/Cargo.toml | 14 +- 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 | 16 +- modules/support/Cargo.toml | 12 +- modules/transaction-pause/Cargo.toml | 14 +- modules/transaction-payment/Cargo.toml | 24 +- modules/xcm-interface/Cargo.toml | 24 +- node/cli/Cargo.toml | 32 +- node/e2e-tests/test-service/Cargo.toml | 106 +- node/service/Cargo.toml | 110 +- orml | 2 +- primitives/Cargo.toml | 12 +- rpc/Cargo.toml | 22 +- runtime/acala/Cargo.toml | 114 +- runtime/common/Cargo.toml | 36 +- runtime/integration-tests/Cargo.toml | 128 +- .../relaychain/kusama_cross_chain_transfer.rs | 2 +- runtime/karura/Cargo.toml | 114 +- runtime/mandala/Cargo.toml | 126 +- runtime/mandala/src/lib.rs | 1 + 56 files changed, 2246 insertions(+), 2104 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 84f6704156..3d3b4f3d3d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -349,7 +349,7 @@ checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" dependencies = [ "cfg-if 1.0.0", "cipher", - "cpufeatures 0.2.2", + "cpufeatures", "opaque-debug 0.3.0", ] @@ -399,7 +399,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -521,9 +521,9 @@ dependencies = [ "parking", "polling", "slab", - "socket2 0.4.4", + "socket2", "waker-fn", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -558,7 +558,7 @@ dependencies = [ "libc", "once_cell", "signal-hook", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -572,6 +572,7 @@ dependencies = [ "async-global-executor", "async-io", "async-lock", + "async-process", "crossbeam-utils", "futures-channel", "futures-core", @@ -591,15 +592,16 @@ dependencies = [ [[package]] name = "async-std-resolver" -version = "0.20.4" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbf3e776afdf3a2477ef4854b85ba0dff3bd85792f685fb3c68948b4d304e4f0" +checksum = "0f2f8a4a203be3325981310ab243a28e6e4ea55b6519bffce05d41ab60e09ad8" dependencies = [ "async-std", "async-trait", "futures-io", "futures-util", "pin-utils", + "socket2", "trust-dns-resolver", ] @@ -620,26 +622,13 @@ dependencies = [ "syn", ] -[[package]] -name = "asynchronous-codec" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb4401f0a3622dad2e0763fa79e0eb328bc70fb7dccfdd645341f00d671247d6" -dependencies = [ - "bytes 1.1.0", - "futures-sink", - "futures-util", - "memchr", - "pin-project-lite 0.2.8", -] - [[package]] name = "asynchronous-codec" version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0de5164e5edbf51c45fb8c2d9664ae1c095cce1b265ecf7569093c0d66ef690" dependencies = [ - "bytes 1.1.0", + "bytes", "futures-sink", "futures-util", "memchr", @@ -669,7 +658,7 @@ checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" dependencies = [ "hermit-abi", "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -789,7 +778,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "beefy-primitives", "fnv", @@ -813,6 +802,7 @@ dependencies = [ "sp-consensus", "sp-core", "sp-keystore", + "sp-mmr-primitives", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -822,15 +812,12 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "beefy-gadget", "beefy-primitives", "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", - "jsonrpc-pubsub", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.0", @@ -845,12 +832,12 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "scale-info", @@ -974,29 +961,25 @@ dependencies = [ ] [[package]] -name = "blake2s_simd" -version = "0.5.11" +name = "blake2b_simd" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e461a7034e85b211a4acb57ee2e6730b32912b06c08cc242243c39fc21ae6a2" +checksum = "72936ee4afc7f8f736d1c38383b56480b5497b4617b4a77bdbf1d2ababc76127" dependencies = [ "arrayref", - "arrayvec 0.5.2", + "arrayvec 0.7.2", "constant_time_eq", ] [[package]] -name = "blake3" -version = "0.3.8" +name = "blake2s_simd" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b64485778c4f16a6a5a9d335e80d449ac6c70cdd6a06d2af18a6f6f775a125b3" +checksum = "db539cc2b5f6003621f1cd9ef92d7ded8ea5232c7de0f9faa2de251cd98730d4" dependencies = [ "arrayref", - "arrayvec 0.5.2", - "cc", - "cfg-if 0.1.10", + "arrayvec 0.7.2", "constant_time_eq", - "crypto-mac 0.8.0", - "digest 0.9.0", ] [[package]] @@ -1075,9 +1058,9 @@ dependencies = [ [[package]] name = "bounded-vec" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b47cca82fca99417fe405f09d93bb8fff90bdd03d13c631f18096ee123b4281c" +checksum = "3372be4090bf9d4da36bd8ba7ce6ca1669503d0cf6e667236c6df7f053153eb6" dependencies = [ "thiserror", ] @@ -1085,7 +1068,7 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1102,7 +1085,7 @@ dependencies = [ [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-runtime", "frame-support", @@ -1114,7 +1097,7 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitvec 1.0.0", "bp-runtime", @@ -1131,7 +1114,7 @@ dependencies = [ [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-messages", "bp-runtime", @@ -1149,7 +1132,7 @@ dependencies = [ [[package]] name = "bp-rococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1166,7 +1149,7 @@ dependencies = [ [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "hash-db", @@ -1184,7 +1167,7 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-header-chain", "ed25519-dalek", @@ -1199,7 +1182,7 @@ dependencies = [ [[package]] name = "bp-wococo" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1214,7 +1197,7 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-message-dispatch", "bp-messages", @@ -1293,16 +1276,6 @@ version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" -[[package]] -name = "bytes" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" -dependencies = [ - "byteorder", - "iovec", -] - [[package]] name = "bytes" version = "1.1.0" @@ -1363,7 +1336,7 @@ version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c24dab4283a142afa2fdca129b80ad2c6284e073930f964c3a1293c225ee39a" dependencies = [ - "rustc_version 0.4.0", + "rustc_version", ] [[package]] @@ -1404,21 +1377,21 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chacha20" -version = "0.7.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee7ad89dc1128635074c268ee661f90c3f7e83d9fd12910608c36b47d6c3412" +checksum = "01b72a433d0cf2aef113ba70f62634c56fddb0f244e6377185c56a7cadbd8f91" dependencies = [ "cfg-if 1.0.0", "cipher", - "cpufeatures 0.1.5", + "cpufeatures", "zeroize", ] [[package]] name = "chacha20poly1305" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1580317203210c517b6d44794abfbe600698276db18127e37ad3e69bf5e848e5" +checksum = "3b84ed6d1d5f7aa9bdde921a5090e0ca4d934d250ea3b402a5fab3a994e28a2a" dependencies = [ "aead", "chacha20", @@ -1437,18 +1410,20 @@ dependencies = [ "num-integer", "num-traits", "time", - "winapi 0.3.9", + "winapi", ] [[package]] name = "cid" -version = "0.6.1" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff0e3bc0b6446b3f9663c1a6aba6ef06c5aeaa1bc92bd18077be337198ab9768" +checksum = "a52cffa791ce5cf490ac3b2d6df970dc04f931b04e727be3c3e220e17164dfc4" dependencies = [ + "core2", "multibase", - "multihash 0.13.2", - "unsigned-varint 0.5.1", + "multihash", + "serde", + "unsigned-varint", ] [[package]] @@ -1638,21 +1613,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" [[package]] -name = "cpp_demangle" -version = "0.3.5" +name = "core2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" +checksum = "b49ba7ef1ad6107f8824dbe97de947cbaac53c44e7f9756a1fba0d37c1eec505" dependencies = [ - "cfg-if 1.0.0", + "memchr", ] [[package]] -name = "cpufeatures" -version = "0.1.5" +name = "cpp_demangle" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef" +checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" dependencies = [ - "libc", + "cfg-if 1.0.0", ] [[package]] @@ -1666,18 +1641,18 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62fc68cdb867b7d27b5f33cd65eb11376dfb41a2d09568a1a2c2bc1dc204f4ef" +checksum = "38faa2a16616c8e78a18d37b4726b98bfd2de192f2fdc8a39ddf568a408a0f75" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31253a44ab62588f8235a996cc9b0636d98a299190069ced9628b8547329b47a" +checksum = "26f192472a3ba23860afd07d2b0217dc628f21fcc72617aa1336d98e1671f33b" dependencies = [ "cranelift-bforest", "cranelift-codegen-meta", @@ -1692,33 +1667,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a20ab4627d30b702fb1b8a399882726d216b8164d3b3fa6189e3bf901506afe" +checksum = "0f32ddb89e9b89d3d9b36a5b7d7ea3261c98235a76ac95ba46826b8ec40b1a24" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6687d9668dacfed4468361f7578d86bded8ca4db978f734d9b631494bebbb5b8" +checksum = "01fd0d9f288cc1b42d9333b7a776b17e278fc888c28e6a0f09b5573d45a150bc" [[package]] name = "cranelift-entity" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77c5d72db97ba2cb36f69037a709edbae0d29cb25503775891e7151c5c874bf" +checksum = "9e3bfe172b83167604601faf9dc60453e0d0a93415b57a9c4d1a7ae6849185cf" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "426dca83f63c7c64ea459eb569aadc5e0c66536c0042ed5d693f91830e8750d0" +checksum = "a006e3e32d80ce0e4ba7f1f9ddf66066d052a8c884a110b91d05404d6ce26dce" dependencies = [ "cranelift-codegen", "log", @@ -1728,9 +1703,9 @@ dependencies = [ [[package]] name = "cranelift-native" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8007864b5d0c49b026c861a15761785a2871124e401630c03ef1426e6d0d559e" +checksum = "501241b0cdf903412ec9075385ac9f2b1eb18a89044d1538e97fab603231f70c" dependencies = [ "cranelift-codegen", "libc", @@ -1739,9 +1714,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.80.1" +version = "0.82.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94cf12c071415ba261d897387ae5350c4d83c238376c8c5a96514ecfa2ea66a3" +checksum = "16d9e4211bbc3268042a96dd4de5bd979cda22434991d035f5f8eacba987fad2" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -1967,7 +1942,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "clap 3.1.6", "sc-cli", @@ -1978,7 +1953,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2002,7 +1977,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -2031,7 +2006,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2052,7 +2027,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-relay-chain" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -2076,7 +2051,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2101,7 +2076,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "cumulus-relay-chain-interface", @@ -2125,7 +2100,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2155,7 +2130,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "frame-executive", "frame-support", @@ -2173,7 +2148,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2191,7 +2166,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -2221,7 +2196,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -2232,7 +2207,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "frame-support", "frame-system", @@ -2245,7 +2220,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2262,7 +2237,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2280,7 +2255,7 @@ dependencies = [ [[package]] name = "cumulus-ping" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-pallet-xcm", "cumulus-primitives-core", @@ -2297,7 +2272,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "frame-support", "parity-scale-codec", @@ -2313,7 +2288,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2336,7 +2311,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "futures 0.3.21", @@ -2349,7 +2324,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2366,7 +2341,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2380,6 +2355,7 @@ dependencies = [ "sc-consensus-babe", "sc-network", "sc-service", + "sc-sysinfo 6.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22)", "sc-telemetry", "sc-tracing", "sp-api", @@ -2394,7 +2370,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2418,7 +2394,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "async-trait", "backoff", @@ -2444,7 +2420,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2457,7 +2433,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-validation-worker-provider" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "polkadot-node-core-pvf", ] @@ -2488,6 +2464,19 @@ dependencies = [ "zeroize", ] +[[package]] +name = "curve25519-dalek" +version = "4.0.0-pre.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4033478fbf70d6acf2655ac70da91ee65852d69daf7a67bf7a2f518fb47aafcf" +dependencies = [ + "byteorder", + "digest 0.9.0", + "rand_core 0.6.3", + "subtle", + "zeroize", +] + [[package]] name = "data-encoding" version = "2.3.2" @@ -2543,7 +2532,7 @@ dependencies = [ "convert_case", "proc-macro2", "quote", - "rustc_version 0.4.0", + "rustc_version", "syn", ] @@ -2595,6 +2584,17 @@ dependencies = [ "dirs-sys-next", ] +[[package]] +name = "dirs" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901" +dependencies = [ + "libc", + "redox_users 0.3.5", + "winapi", +] + [[package]] name = "dirs-sys" version = "0.3.7" @@ -2602,8 +2602,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6" dependencies = [ "libc", - "redox_users", - "winapi 0.3.9", + "redox_users 0.4.2", + "winapi", ] [[package]] @@ -2613,8 +2613,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" dependencies = [ "libc", - "redox_users", - "winapi 0.3.9", + "redox_users 0.4.2", + "winapi", ] [[package]] @@ -2635,9 +2635,9 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "dtoa" -version = "0.4.8" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0" +checksum = "5caaa75cbd2b960ff1e5392d2cfb1f44717fffe12fc1f32b7b5d1267f99732a6" [[package]] name = "dyn-clonable" @@ -2791,11 +2791,17 @@ dependencies = [ "zeroize", ] +[[package]] +name = "encode_unicode" +version = "0.3.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" + [[package]] name = "enum-as-inner" -version = "0.3.4" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "570d109b813e904becc80d8d5da38376818a143348413f7149f1340fe04754d4" +checksum = "21cdad81446a7f7dc43f6a77409efeb9733d2fa65553efef6018ef257c959b73" dependencies = [ "heck 0.4.0", "proc-macro2", @@ -2846,9 +2852,9 @@ dependencies = [ [[package]] name = "enumn" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4" +checksum = "052bc8773a98bd051ff37db74a8a25f00e6bfa2cbd03373390c72e9f7afbf344" dependencies = [ "proc-macro2", "quote", @@ -2882,7 +2888,7 @@ checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" dependencies = [ "errno-dragonfly", "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -2929,7 +2935,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23750149fe8834c0e24bb9adcbacbe06c45b9861f15df53e09f26cb7c4ab91ef" dependencies = [ - "bytes 1.1.0", + "bytes", "ethereum-types", "hash-db", "hash256-std-hasher", @@ -3057,7 +3063,7 @@ version = "0.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a718c0675c555c5f976fff4ea9e2c150fa06cefa201cadef87cfbf9324075881" dependencies = [ - "blake3 1.3.1", + "blake3", "fs-err", "proc-macro2", "quote", @@ -3207,7 +3213,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", ] @@ -3225,7 +3231,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -3247,7 +3253,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "Inflector", "chrono", @@ -3260,17 +3266,21 @@ dependencies = [ "hex", "itertools", "kvdb", + "lazy_static", "linked-hash-map", "log", "memory-db", "parity-scale-codec", + "prettytable-rs", "rand 0.8.5", + "rand_pcg 0.3.1", "sc-block-builder", "sc-cli", "sc-client-api", "sc-client-db", "sc-executor", "sc-service", + "sc-sysinfo 6.0.0-dev (git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb)", "serde", "serde_json", "serde_nanos", @@ -3283,16 +3293,17 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-std", "sp-storage", "sp-trie", + "tempfile", + "thiserror", "thousands", ] [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -3303,7 +3314,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3319,7 +3330,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -3347,12 +3358,13 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "bitflags", "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", + "k256", "log", "once_cell", "parity-scale-codec", @@ -3376,7 +3388,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "Inflector", "frame-support-procedural-tools", @@ -3388,7 +3400,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", @@ -3400,7 +3412,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro2", "quote", @@ -3410,7 +3422,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "log", @@ -3427,7 +3439,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -3442,7 +3454,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "sp-api", @@ -3451,7 +3463,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "sp-api", @@ -3474,7 +3486,7 @@ dependencies = [ "lazy_static", "libc", "libloading 0.5.2", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3484,7 +3496,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" dependencies = [ "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3493,22 +3505,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" -[[package]] -name = "fuchsia-zircon" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" -dependencies = [ - "bitflags", - "fuchsia-zircon-sys", -] - -[[package]] -name = "fuchsia-zircon-sys" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" - [[package]] name = "funty" version = "2.0.0" @@ -3598,13 +3594,13 @@ dependencies = [ [[package]] name = "futures-rustls" -version = "0.21.1" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b" +checksum = "e01fe9932a224b72b45336d96040aa86386d674a31d0af27d800ea7bc8ca97fe" dependencies = [ "futures-io", - "rustls 0.19.1", - "webpki 0.21.4", + "rustls 0.20.4", + "webpki 0.22.0", ] [[package]] @@ -3758,7 +3754,7 @@ version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62eeb471aa3e3c9197aa4bfeabfe02982f6dc96f750486c0bb0009ac58b26d2b" dependencies = [ - "bytes 1.1.0", + "bytes", "fnv", "futures-core", "futures-sink", @@ -3905,7 +3901,7 @@ checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" dependencies = [ "libc", "match_cfg", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -3914,7 +3910,7 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03" dependencies = [ - "bytes 1.1.0", + "bytes", "fnv", "itoa 1.0.1", ] @@ -3925,7 +3921,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" dependencies = [ - "bytes 1.1.0", + "bytes", "http", "pin-project-lite 0.2.8", ] @@ -3954,7 +3950,7 @@ version = "0.14.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b26ae0a80afebe130861d90abf98e3814a4f28a4c6ffeb5ab8ebb2be311e0ef2" dependencies = [ - "bytes 1.1.0", + "bytes", "futures-channel", "futures-core", "futures-util", @@ -3965,7 +3961,7 @@ dependencies = [ "httpdate", "itoa 1.0.1", "pin-project-lite 0.2.8", - "socket2 0.4.4", + "socket2", "tokio", "tower-service", "tracing", @@ -3989,22 +3985,6 @@ dependencies = [ "webpki 0.21.4", ] -[[package]] -name = "hyper-rustls" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac" -dependencies = [ - "http", - "hyper", - "log", - "rustls 0.20.4", - "rustls-native-certs 0.6.1", - "tokio", - "tokio-rustls 0.23.3", - "webpki-roots 0.22.2", -] - [[package]] name = "idna" version = "0.1.5" @@ -4029,39 +4009,30 @@ dependencies = [ [[package]] name = "if-addrs" -version = "0.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2273e421f7c4f0fc99e1934fe4776f59d8df2972f4199d703fc0da9f2a9f73de" -dependencies = [ - "if-addrs-sys", - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "if-addrs-sys" -version = "0.3.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de74b9dd780476e837e5eb5ab7c88b49ed304126e412030a0adba99c8efe79ea" +checksum = "cbc0fa01ffc752e9dbc72818cdb072cd028b86be5e09dd04c5a643704fe101a9" dependencies = [ - "cc", "libc", + "winapi", ] [[package]] name = "if-watch" -version = "0.2.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179" +checksum = "ae8f4a3c3d4c89351ca83e120c1c00b27df945d38e05695668c9d4b4f7bc52f3" dependencies = [ "async-io", + "core-foundation", + "fnv", "futures 0.3.21", - "futures-lite", "if-addrs", "ipnet", - "libc", "log", - "winapi 0.3.9", + "rtnetlink", + "system-configuration", + "windows", ] [[package]] @@ -4139,21 +4110,9 @@ dependencies = [ [[package]] name = "io-lifetimes" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ef6787e7f0faedc040f95716bdd0e62bcfcf4ba93da053b62dea2691c13864" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "iovec" -version = "0.1.4" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" -dependencies = [ - "libc", -] +checksum = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6" [[package]] name = "ip_network" @@ -4163,13 +4122,13 @@ checksum = "aa2f047c0a98b2f299aa5d6d7088443570faae494e9ae1305e48be000c9e0eb1" [[package]] name = "ipconfig" -version = "0.2.2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7e2f18aece9709094573a9f24f483c4f65caa4298e2f7ae1b71cc65d853fad7" +checksum = "723519edce41262b05d4143ceb95050e4c614f483e78e9fd9e39a8275a84ad98" dependencies = [ - "socket2 0.3.19", + "socket2", "widestring", - "winapi 0.3.9", + "winapi", "winreg", ] @@ -4271,37 +4230,6 @@ dependencies = [ "syn", ] -[[package]] -name = "jsonrpc-http-server" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff" -dependencies = [ - "futures 0.3.21", - "hyper", - "jsonrpc-core", - "jsonrpc-server-utils", - "log", - "net2", - "parking_lot 0.11.2", - "unicase", -] - -[[package]] -name = "jsonrpc-ipc-server" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845" -dependencies = [ - "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-server-utils", - "log", - "parity-tokio-ipc", - "parking_lot 0.11.2", - "tower-service", -] - [[package]] name = "jsonrpc-pubsub" version = "18.0.0" @@ -4317,59 +4245,28 @@ dependencies = [ "serde", ] -[[package]] -name = "jsonrpc-server-utils" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4" -dependencies = [ - "bytes 1.1.0", - "futures 0.3.21", - "globset", - "jsonrpc-core", - "lazy_static", - "log", - "tokio", - "tokio-stream", - "tokio-util 0.6.9", - "unicase", -] - -[[package]] -name = "jsonrpc-ws-server" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946" -dependencies = [ - "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-server-utils", - "log", - "parity-ws", - "parking_lot 0.11.2", - "slab", -] - [[package]] name = "jsonrpsee" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91dc760c341fa81173f9a434931aaf32baad5552b0230cc6c93e8fb7eaad4c19" +checksum = "a1f2ab5a60e558e74ea93bcf5164ebc47939a7fff8938fa9b5233bbc63e16061" dependencies = [ "jsonrpsee-core", - "jsonrpsee-http-client", + "jsonrpsee-http-server", "jsonrpsee-proc-macros", "jsonrpsee-types", "jsonrpsee-ws-client", + "jsonrpsee-ws-server", + "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "765f7a36d5087f74e3b3b47805c2188fef8eb54afcb587b078d9f8ebfe9c7220" +checksum = "26d682f4a55081a2be3e639280c640523070e4aeb8ee2fd8dd9168fdae57a9db" dependencies = [ - "futures 0.3.21", + "futures-util", "http", "jsonrpsee-core", "jsonrpsee-types", @@ -4381,23 +4278,27 @@ dependencies = [ "tokio-rustls 0.23.3", "tokio-util 0.7.1", "tracing", - "webpki-roots 0.22.2", + "webpki-roots", ] [[package]] name = "jsonrpsee-core" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82ef77ecd20c2254d54f5da8c0738eacca61e6b6511268a8f2753e3148c6c706" +checksum = "6e27462b21279edf9a6a91f46ffbe125e9cdc58b901d2e08bf59b31a47d7d0ab" dependencies = [ "anyhow", "arrayvec 0.7.2", + "async-lock", "async-trait", "beef", "futures-channel", + "futures-timer", "futures-util", "hyper", "jsonrpsee-types", + "parking_lot 0.12.0", + "rand 0.8.5", "rustc-hash", "serde", "serde_json", @@ -4408,29 +4309,29 @@ dependencies = [ ] [[package]] -name = "jsonrpsee-http-client" -version = "0.10.1" +name = "jsonrpsee-http-server" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92709e0b8255691f4df954a0176b1cbc3312f151e7ed2e643812e8bd121f1d1c" +checksum = "7178f16eabd7154c094e24d295b9ee355ec1e5f24c328759c56255ff7bbd4548" dependencies = [ - "async-trait", + "futures-channel", + "futures-util", + "globset", "hyper", - "hyper-rustls 0.23.0", "jsonrpsee-core", "jsonrpsee-types", - "rustc-hash", - "serde", + "lazy_static", "serde_json", - "thiserror", "tokio", "tracing", + "unicase", ] [[package]] name = "jsonrpsee-proc-macros" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7291c72805bc7d413b457e50d8ef3e87aa554da65ecbbc278abb7dfc283e7f0" +checksum = "8b8d7f449cab3b747f12c3efc27f5cad537f3b597c6a3838b0fac628f4bf730a" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -4440,9 +4341,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b6aa52f322cbf20c762407629b8300f39bcc0cf0619840d9252a2f65fd2dd9" +checksum = "8fd11763134104122ddeb0f97e4bbe393058017dfb077db63fbf44b4dd0dd86e" dependencies = [ "anyhow", "beef", @@ -4454,15 +4355,32 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd66d18bab78d956df24dd0d2e41e4c00afbb818fda94a98264bdd12ce8506ac" +checksum = "76f15180afb3761c7a3a32c0a8b680788176dcfdfe725b24c1758c90b1d1595b" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-types", ] +[[package]] +name = "jsonrpsee-ws-server" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfb6c21556c551582b56e4e8e6e6249b0bbdb69bb7fa39efe9b9a6b54af9f206" +dependencies = [ + "futures-channel", + "futures-util", + "jsonrpsee-core", + "jsonrpsee-types", + "serde_json", + "soketto", + "tokio", + "tokio-util 0.7.1", + "tracing", +] + [[package]] name = "k256" version = "0.10.4" @@ -4599,20 +4517,10 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" -[[package]] -name = "kernel32-sys" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - [[package]] name = "kusama-runtime" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-primitives", "bitvec 1.0.0", @@ -4625,7 +4533,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal", - "kusama-runtime-constants 0.9.19 (git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48)", + "kusama-runtime-constants 0.9.22 (git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d)", "log", "pallet-authority-discovery", "pallet-authorship", @@ -4637,6 +4545,7 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-gilt", "pallet-grandpa", @@ -4644,9 +4553,10 @@ dependencies = [ "pallet-im-online", "pallet-indices", "pallet-membership", - "pallet-mmr-primitives", "pallet-multisig", "pallet-nicks", + "pallet-nomination-pools", + "pallet-nomination-pools-benchmarking", "pallet-offences", "pallet-offences-benchmarking", "pallet-preimage", @@ -4666,6 +4576,7 @@ dependencies = [ "pallet-utility", "pallet-vesting", "pallet-xcm", + "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-common", @@ -4683,6 +4594,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", "sp-runtime", @@ -4700,8 +4612,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.19" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.19#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "polkadot-primitives", @@ -4712,8 +4624,8 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "polkadot-primitives", @@ -4798,7 +4710,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" dependencies = [ "cc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -4808,7 +4720,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd" dependencies = [ "cfg-if 1.0.0", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -4819,15 +4731,19 @@ checksum = "33a33a362ce288760ec6a508b94caaec573ae7d3bbbd91b87aa0bad4456839db" [[package]] name = "libp2p" -version = "0.40.0" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bec54343492ba5940a6c555e512c6721139835d28c59bc22febece72dfd0d9d" +checksum = "475ce2ac4a9727e53a519f6ee05b38abfcba8f0d39c4d24f103d184e36fd5b0f" dependencies = [ "atomic", - "bytes 1.1.0", + "bytes", "futures 0.3.21", - "lazy_static", - "libp2p-core", + "futures-timer", + "getrandom 0.2.5", + "instant", + "lazy_static", + "libp2p-autonat", + "libp2p-core", "libp2p-deflate", "libp2p-dns", "libp2p-floodsub", @@ -4852,17 +4768,36 @@ dependencies = [ "libp2p-websocket", "libp2p-yamux", "multiaddr", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "pin-project 1.0.10", + "rand 0.7.3", "smallvec", - "wasm-timer", +] + +[[package]] +name = "libp2p-autonat" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a13b690e65046af6a09c0b27bd9508fa1cab0efce889de74b0b643b9d2a98f9a" +dependencies = [ + "async-trait", + "futures 0.3.21", + "futures-timer", + "instant", + "libp2p-core", + "libp2p-request-response", + "libp2p-swarm", + "log", + "prost", + "prost-build", + "rand 0.8.5", ] [[package]] name = "libp2p-core" -version = "0.30.2" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86aad7d54df283db817becded03e611137698a6509d4237a96881976a162340c" +checksum = "db5b02602099fb75cb2d16f9ea860a320d6eb82ce41e95ab680912c454805cd5" dependencies = [ "asn1_der", "bs58", @@ -4876,28 +4811,28 @@ dependencies = [ "libsecp256k1", "log", "multiaddr", - "multihash 0.14.0", + "multihash", "multistream-select", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "pin-project 1.0.10", "prost", "prost-build", "rand 0.8.5", "ring", "rw-stream-sink", - "sha2 0.9.9", + "sha2 0.10.2", "smallvec", "thiserror", - "unsigned-varint 0.7.1", + "unsigned-varint", "void", "zeroize", ] [[package]] name = "libp2p-deflate" -version = "0.30.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51a800adb195f33de63f4b17b63fe64cfc23bf2c6a0d3d0d5321328664e65197" +checksum = "6b1d37f042f748e224f04785d0e987ae09a2aa518d6401d82d412dad83e360ed" dependencies = [ "flate2", "futures 0.3.21", @@ -4906,9 +4841,9 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.30.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb8f89d15cb6e3c5bc22afff7513b11bab7856f2872d3cfba86f7f63a06bc498" +checksum = "066e33e854e10b5c93fc650458bf2179c7e0d143db260b0963e44a94859817f1" dependencies = [ "async-std-resolver", "futures 0.3.21", @@ -4920,9 +4855,9 @@ dependencies = [ [[package]] name = "libp2p-floodsub" -version = "0.31.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aab3d7210901ea51b7bae2b581aa34521797af8c4ec738c980bda4a06434067f" +checksum = "733d3ea6ebe7a7a85df2bc86678b93f24b015fae5fe3b3acc4c400e795a55d2d" dependencies = [ "cuckoofilter", "fnv", @@ -4938,78 +4873,82 @@ dependencies = [ [[package]] name = "libp2p-gossipsub" -version = "0.33.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfeead619eb5dac46e65acc78c535a60aaec803d1428cca6407c3a4fc74d698d" +checksum = "a90c989a7c0969c2ab63e898da9bc735e3be53fb4f376e9c045ce516bcc9f928" dependencies = [ - "asynchronous-codec 0.6.0", + "asynchronous-codec", "base64 0.13.0", "byteorder", - "bytes 1.1.0", + "bytes", "fnv", "futures 0.3.21", "hex_fmt", + "instant", "libp2p-core", "libp2p-swarm", "log", + "prometheus-client", "prost", "prost-build", "rand 0.7.3", "regex", - "sha2 0.9.9", + "sha2 0.10.2", "smallvec", - "unsigned-varint 0.7.1", + "unsigned-varint", "wasm-timer", ] [[package]] name = "libp2p-identify" -version = "0.31.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cca1275574183f288ff8b72d535d5ffa5ea9292ef7829af8b47dcb197c7b0dcd" +checksum = "c5ef5a5b57904c7c33d6713ef918d239dc6b7553458f3475d87f8a18e9c651c8" dependencies = [ "futures 0.3.21", + "futures-timer", "libp2p-core", "libp2p-swarm", "log", - "lru 0.6.6", + "lru 0.7.5", "prost", "prost-build", "smallvec", - "wasm-timer", ] [[package]] name = "libp2p-kad" -version = "0.32.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2297dc0ca285f3a09d1368bde02449e539b46f94d32d53233f53f6625bcd3ba" +checksum = "564e6bd64d177446399ed835b9451a8825b07929d6daa6a94e6405592974725e" dependencies = [ "arrayvec 0.5.2", - "asynchronous-codec 0.6.0", - "bytes 1.1.0", + "asynchronous-codec", + "bytes", "either", "fnv", "futures 0.3.21", + "futures-timer", + "instant", "libp2p-core", "libp2p-swarm", "log", "prost", "prost-build", "rand 0.7.3", - "sha2 0.9.9", + "sha2 0.10.2", "smallvec", + "thiserror", "uint", - "unsigned-varint 0.7.1", + "unsigned-varint", "void", - "wasm-timer", ] [[package]] name = "libp2p-mdns" -version = "0.32.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c864b64bdc8a84ff3910a0df88e6535f256191a450870f1e7e10cbf8e64d45" +checksum = "611ae873c8e280ccfab0d57c7a13cac5644f364529e233114ff07863946058b0" dependencies = [ "async-io", "data-encoding", @@ -5022,49 +4961,51 @@ dependencies = [ "log", "rand 0.8.5", "smallvec", - "socket2 0.4.4", + "socket2", "void", ] [[package]] name = "libp2p-metrics" -version = "0.1.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4af432fcdd2f8ba4579b846489f8f0812cfd738ced2c0af39df9b1c48bbb6ab2" +checksum = "985be799bb3796e0c136c768208c3c06604a38430571906a13dcfeda225a3b9d" dependencies = [ "libp2p-core", + "libp2p-gossipsub", "libp2p-identify", "libp2p-kad", "libp2p-ping", + "libp2p-relay", "libp2p-swarm", - "open-metrics-client", + "prometheus-client", ] [[package]] name = "libp2p-mplex" -version = "0.30.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2cd64ef597f40e14bfce0497f50ecb63dd6d201c61796daeb4227078834fbf" +checksum = "442eb0c9fff0bf22a34f015724b4143ce01877e079ed0963c722d94c07c72160" dependencies = [ - "asynchronous-codec 0.6.0", - "bytes 1.1.0", + "asynchronous-codec", + "bytes", "futures 0.3.21", "libp2p-core", "log", "nohash-hasher", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "rand 0.7.3", "smallvec", - "unsigned-varint 0.7.1", + "unsigned-varint", ] [[package]] name = "libp2p-noise" -version = "0.33.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8772c7a99088221bb7ca9c5c0574bf55046a7ab4c319f3619b275f28c8fb87a" +checksum = "9dd7e0c94051cda67123be68cf6b65211ba3dde7277be9068412de3e7ffd63ef" dependencies = [ - "bytes 1.1.0", + "bytes", "curve25519-dalek 3.2.0", "futures 0.3.21", "lazy_static", @@ -5073,7 +5014,7 @@ dependencies = [ "prost", "prost-build", "rand 0.8.5", - "sha2 0.9.9", + "sha2 0.10.2", "snow", "static_assertions", "x25519-dalek", @@ -5082,33 +5023,34 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.31.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80ef7b0ec5cf06530d9eb6cf59ae49d46a2c45663bde31c25a12f682664adbcf" +checksum = "bf57a3c2e821331dda9fe612d4654d676ab6e33d18d9434a18cced72630df6ad" dependencies = [ "futures 0.3.21", + "futures-timer", + "instant", "libp2p-core", "libp2p-swarm", "log", "rand 0.7.3", "void", - "wasm-timer", ] [[package]] name = "libp2p-plaintext" -version = "0.30.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fba1a6ff33e4a274c89a3b1d78b9f34f32af13265cc5c46c16938262d4e945a" +checksum = "962c0fb0e7212fb96a69b87f2d09bcefd317935239bdc79cda900e7a8897a3fe" dependencies = [ - "asynchronous-codec 0.6.0", - "bytes 1.1.0", + "asynchronous-codec", + "bytes", "futures 0.3.21", "libp2p-core", "log", "prost", "prost-build", - "unsigned-varint 0.7.1", + "unsigned-varint", "void", ] @@ -5128,89 +5070,96 @@ dependencies = [ [[package]] name = "libp2p-relay" -version = "0.4.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2852b61c90fa8ce3c8fcc2aba76e6cefc20d648f9df29157d6b3a916278ef3e3" +checksum = "3aa754cb7bccef51ebc3c458c6bbcef89d83b578a9925438389be841527d408f" dependencies = [ - "asynchronous-codec 0.6.0", - "bytes 1.1.0", + "asynchronous-codec", + "bytes", + "either", "futures 0.3.21", "futures-timer", + "instant", "libp2p-core", "libp2p-swarm", "log", "pin-project 1.0.10", "prost", "prost-build", - "rand 0.7.3", + "rand 0.8.5", "smallvec", - "unsigned-varint 0.7.1", + "static_assertions", + "thiserror", + "unsigned-varint", "void", - "wasm-timer", ] [[package]] name = "libp2p-rendezvous" -version = "0.1.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14a6d2b9e7677eff61dc3d2854876aaf3976d84a01ef6664b610c77a0c9407c5" +checksum = "bbd0baab894c5b84da510b915d53264d566c3c35889f09931fe9edbd2a773bee" dependencies = [ - "asynchronous-codec 0.6.0", + "asynchronous-codec", "bimap", "futures 0.3.21", + "futures-timer", + "instant", "libp2p-core", "libp2p-swarm", "log", "prost", "prost-build", "rand 0.8.5", - "sha2 0.9.9", + "sha2 0.10.2", "thiserror", - "unsigned-varint 0.7.1", + "unsigned-varint", "void", - "wasm-timer", ] [[package]] name = "libp2p-request-response" -version = "0.13.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a877a4ced6d46bf84677e1974e8cf61fb434af73b2e96fb48d6cb6223a4634d8" +checksum = "b5e6a6fc6c9ad95661f46989473b34bd2993d14a4de497ff3b2668a910d4b869" dependencies = [ "async-trait", - "bytes 1.1.0", + "bytes", "futures 0.3.21", + "instant", "libp2p-core", "libp2p-swarm", "log", - "lru 0.7.5", "rand 0.7.3", "smallvec", - "unsigned-varint 0.7.1", - "wasm-timer", + "unsigned-varint", ] [[package]] name = "libp2p-swarm" -version = "0.31.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f5184a508f223bc100a12665517773fb8730e9f36fc09eefb670bf01b107ae9" +checksum = "8f0c69ad9e8f7c5fc50ad5ad9c7c8b57f33716532a2b623197f69f93e374d14c" dependencies = [ "either", + "fnv", "futures 0.3.21", + "futures-timer", + "instant", "libp2p-core", "log", + "pin-project 1.0.10", "rand 0.7.3", "smallvec", + "thiserror", "void", - "wasm-timer", ] [[package]] name = "libp2p-swarm-derive" -version = "0.25.0" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "072c290f727d39bdc4e9d6d1c847978693d25a673bd757813681e33e5f6c00c2" +checksum = "daf2fe8c80b43561355f4d51875273b5b6dfbac37952e8f64b1270769305c9d7" dependencies = [ "quote", "syn", @@ -5218,9 +5167,9 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.30.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7399c5b6361ef525d41c11fcf51635724f832baf5819b30d3d873eabb4fbae4b" +checksum = "193447aa729c85aac2376828df76d171c1a589c9e6b58fcc7f9d9a020734122c" dependencies = [ "async-io", "futures 0.3.21", @@ -5230,14 +5179,14 @@ dependencies = [ "libc", "libp2p-core", "log", - "socket2 0.4.4", + "socket2", ] [[package]] name = "libp2p-uds" -version = "0.30.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8b7563e46218165dfd60f64b96f7ce84590d75f53ecbdc74a7dd01450dc5973" +checksum = "24bdab114f7f2701757d6541266e1131b429bbae382008f207f2114ee4222dcb" dependencies = [ "async-std", "futures 0.3.21", @@ -5247,9 +5196,9 @@ dependencies = [ [[package]] name = "libp2p-wasm-ext" -version = "0.30.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1008a302b73c5020251f9708c653f5ed08368e530e247cc9cd2f109ff30042cf" +checksum = "4f6ea0f84a967ef59a16083f222c18115ae2e91db69809dce275df62e101b279" dependencies = [ "futures 0.3.21", "js-sys", @@ -5261,9 +5210,9 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.31.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22e12df82d1ed64969371a9e65ea92b91064658604cc2576c2757f18ead9a1cf" +checksum = "c932834c3754501c368d1bf3d0fb458487a642b90fc25df082a3a2f3d3b32e37" dependencies = [ "either", "futures 0.3.21", @@ -5274,18 +5223,18 @@ dependencies = [ "rw-stream-sink", "soketto", "url 2.2.2", - "webpki-roots 0.21.1", + "webpki-roots", ] [[package]] name = "libp2p-yamux" -version = "0.34.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e7362abb8867d7187e7e93df17f460d554c997fc5c8ac57dc1259057f6889af" +checksum = "be902ebd89193cd020e89e89107726a38cfc0d16d18f613f4a37d046e92c7517" dependencies = [ "futures 0.3.21", "libp2p-core", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "thiserror", "yamux", ] @@ -5391,9 +5340,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.0.36" +version = "0.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a261afc61b7a5e323933b402ca6a1765183687c614789b1e4db7762ed4230bca" +checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7" [[package]] name = "lock_api" @@ -5406,9 +5355,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.16" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8" +checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ "cfg-if 1.0.0", "value-bag", @@ -5708,8 +5657,8 @@ dependencies = [ [[package]] name = "metered-channel" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "coarsetime", "crossbeam-queue", @@ -5748,25 +5697,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "mio" -version = "0.6.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" -dependencies = [ - "cfg-if 0.1.10", - "fuchsia-zircon", - "fuchsia-zircon-sys", - "iovec", - "kernel32-sys", - "libc", - "log", - "miow 0.2.2", - "net2", - "slab", - "winapi 0.2.8", -] - [[package]] name = "mio" version = "0.8.2" @@ -5775,34 +5705,10 @@ checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9" dependencies = [ "libc", "log", - "miow 0.3.7", + "miow", "ntapi", "wasi 0.11.0+wasi-snapshot-preview1", - "winapi 0.3.9", -] - -[[package]] -name = "mio-extras" -version = "2.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" -dependencies = [ - "lazycell", - "log", - "mio 0.6.23", - "slab", -] - -[[package]] -name = "miow" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" -dependencies = [ - "kernel32-sys", - "net2", - "winapi 0.2.8", - "ws2_32-sys", + "winapi", ] [[package]] @@ -5811,7 +5717,7 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -6587,27 +6493,27 @@ checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389" [[package]] name = "multiaddr" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48ee4ea82141951ac6379f964f71b20876d43712bea8faf6dd1a375e08a46499" +checksum = "3c580bfdd8803cce319b047d239559a22f809094aaea4ac13902a1fdcfcd4261" dependencies = [ "arrayref", "bs58", "byteorder", "data-encoding", - "multihash 0.14.0", + "multihash", "percent-encoding 2.1.0", "serde", "static_assertions", - "unsigned-varint 0.7.1", + "unsigned-varint", "url 2.2.2", ] [[package]] name = "multibase" -version = "0.8.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b78c60039650ff12e140ae867ef5299a58e19dded4d334c849dc7177083667e2" +checksum = "9b3539ec3c1f04ac9748a260728e855f261b4977f5c3406612c884564f329404" dependencies = [ "base-x", "data-encoding", @@ -6616,39 +6522,26 @@ dependencies = [ [[package]] name = "multihash" -version = "0.13.2" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab" +checksum = "e3db354f401db558759dfc1e568d010a5d4146f4d3f637be1275ec4a3cf09689" dependencies = [ - "blake2b_simd", + "blake2b_simd 1.0.0", "blake2s_simd", - "blake3 0.3.8", - "digest 0.9.0", - "generic-array 0.14.5", - "multihash-derive", - "sha2 0.9.9", - "sha3 0.9.1", - "unsigned-varint 0.5.1", -] - -[[package]] -name = "multihash" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "752a61cd890ff691b4411423d23816d5866dd5621e4d1c5687a53b94b5a979d8" -dependencies = [ - "digest 0.9.0", - "generic-array 0.14.5", + "blake3", + "core2", + "digest 0.10.3", "multihash-derive", - "sha2 0.9.9", - "unsigned-varint 0.7.1", + "sha2 0.10.2", + "sha3 0.10.1", + "unsigned-varint", ] [[package]] name = "multihash-derive" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99" +checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro-error", @@ -6666,16 +6559,16 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multistream-select" -version = "0.10.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56a336acba8bc87c8876f6425407dbbe6c417bf478b22015f8fb0994ef3bc0ab" +checksum = "363a84be6453a70e63513660f4894ef815daf88e3356bffcda9ca27d810ce83b" dependencies = [ - "bytes 1.1.0", + "bytes", "futures 0.3.21", "log", "pin-project 1.0.10", "smallvec", - "unsigned-varint 0.7.1", + "unsigned-varint", ] [[package]] @@ -6723,14 +6616,81 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" [[package]] -name = "net2" -version = "0.2.37" +name = "netlink-packet-core" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae" +checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297" dependencies = [ - "cfg-if 0.1.10", + "anyhow", + "byteorder", + "libc", + "netlink-packet-utils", +] + +[[package]] +name = "netlink-packet-route" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "733ea73609acfd7fa7ddadfb7bf709b0471668c456ad9513685af543a06342b2" +dependencies = [ + "anyhow", + "bitflags", + "byteorder", + "libc", + "netlink-packet-core", + "netlink-packet-utils", +] + +[[package]] +name = "netlink-packet-utils" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25af9cf0dc55498b7bd94a1508af7a78706aa0ab715a73c5169273e03c84845e" +dependencies = [ + "anyhow", + "byteorder", + "paste", + "thiserror", +] + +[[package]] +name = "netlink-proto" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef8785b8141e8432aa45fceb922a7e876d7da3fad37fa7e7ec702ace3aa0826b" +dependencies = [ + "bytes", + "futures 0.3.21", + "log", + "netlink-packet-core", + "netlink-sys", + "tokio", +] + +[[package]] +name = "netlink-sys" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e4c9f9547a08241bee7b6558b9b98e1f290d187de8b7cfca2bbb4937bcaa8f8" +dependencies = [ + "async-io", + "bytes", + "futures 0.3.21", + "libc", + "log", +] + +[[package]] +name = "nix" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4916f159ed8e5de0082076562152a76b7a1f64a01fd9d1e0fea002c37624faf" +dependencies = [ + "bitflags", + "cc", + "cfg-if 1.0.0", "libc", - "winapi 0.3.9", + "memoffset", ] [[package]] @@ -6761,7 +6721,7 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -6956,29 +6916,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" -[[package]] -name = "open-metrics-client" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7337d80c23c2d8b1349563981bc4fb531220733743ba8115454a67b181173f0d" -dependencies = [ - "dtoa", - "itoa 0.4.8", - "open-metrics-client-derive-text-encode", - "owning_ref", -] - -[[package]] -name = "open-metrics-client-derive-text-encode" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a15c83b586f00268c619c1cb3340ec1a6f59dd9ba1d9833a273a68e6d5cd8ffc" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "openssl-probe" version = "0.1.5" @@ -7419,7 +7356,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -7436,7 +7373,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7450,7 +7387,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -7466,7 +7403,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -7482,7 +7419,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -7497,7 +7434,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7521,7 +7458,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7541,7 +7478,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7556,7 +7493,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "beefy-primitives", "frame-support", @@ -7572,18 +7509,16 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "beefy-merkle-tree", "beefy-primitives", "frame-support", "frame-system", "hex", - "k256", "log", "pallet-beefy", "pallet-mmr", - "pallet-mmr-primitives", "pallet-session", "parity-scale-codec", "scale-info", @@ -7597,7 +7532,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7615,7 +7550,7 @@ dependencies = [ [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -7632,7 +7567,7 @@ dependencies = [ [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7654,7 +7589,7 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitvec 1.0.0", "bp-message-dispatch", @@ -7675,7 +7610,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7694,7 +7629,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "3.0.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "frame-benchmarking", "frame-support", @@ -7714,7 +7649,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7731,7 +7666,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7747,7 +7682,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7767,10 +7702,23 @@ dependencies = [ "strum 0.23.0", ] +[[package]] +name = "pallet-election-provider-support-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", + "frame-system", + "parity-scale-codec", + "sp-npos-elections", + "sp-runtime", +] + [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7788,7 +7736,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7803,7 +7751,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7826,7 +7774,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "enumflags2 0.7.5", "frame-benchmarking", @@ -7842,7 +7790,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7862,7 +7810,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7879,7 +7827,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7896,33 +7844,17 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", "frame-support", "frame-system", - "pallet-mmr-primitives", "parity-scale-codec", "scale-info", "sp-core", "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "pallet-mmr-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" -dependencies = [ - "frame-support", - "frame-system", - "log", - "parity-scale-codec", - "serde", - "sp-api", - "sp-core", + "sp-mmr-primitives", "sp-runtime", "sp-std", ] @@ -7930,24 +7862,22 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", - "pallet-mmr-primitives", + "jsonrpsee", "parity-scale-codec", "serde", "sp-api", "sp-blockchain", "sp-core", + "sp-mmr-primitives", "sp-runtime", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7962,7 +7892,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -7973,10 +7903,44 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-nomination-pools" +version = "1.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", + "sp-staking", + "sp-std", +] + +[[package]] +name = "pallet-nomination-pools-benchmarking" +version = "1.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", + "pallet-bags-list", + "pallet-nomination-pools", + "pallet-staking", + "parity-scale-codec", + "scale-info", + "sp-runtime", + "sp-staking", + "sp-std", +] + [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -7993,7 +7957,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8016,7 +7980,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8032,7 +7996,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8047,8 +8011,9 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", @@ -8061,7 +8026,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8077,7 +8042,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -8098,7 +8063,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8114,7 +8079,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -8128,7 +8093,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8151,7 +8116,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -8162,7 +8127,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "log", "sp-arithmetic", @@ -8171,7 +8136,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -8185,7 +8150,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8203,7 +8168,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8222,7 +8187,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support", "frame-system", @@ -8239,11 +8204,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -8256,7 +8219,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8267,7 +8230,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8284,7 +8247,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8299,7 +8262,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8315,7 +8278,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8329,8 +8292,8 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "frame-system", @@ -8347,8 +8310,8 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8365,7 +8328,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8378,7 +8341,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "1.0.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "frame-executive", "frame-support", @@ -8404,9 +8367,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.3.9" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d121a9af17a43efd0a38c6afa508b927ba07785bd4709efb2ac03bf77efef8d" +checksum = "55a7901b85874402471e131de3332dde0e51f38432c69a3853627c8e25433048" dependencies = [ "blake2-rfc", "crc32fast", @@ -8453,20 +8416,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" -[[package]] -name = "parity-tokio-ipc" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6" -dependencies = [ - "futures 0.3.21", - "libc", - "log", - "rand 0.7.3", - "tokio", - "winapi 0.3.9", -] - [[package]] name = "parity-util-mem" version = "0.11.0" @@ -8482,7 +8431,7 @@ dependencies = [ "smallvec", "tikv-jemalloc-ctl", "tikv-jemallocator", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -8511,24 +8460,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" -[[package]] -name = "parity-ws" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5983d3929ad50f12c3eb9a6743f19d691866ecd44da74c0a3308c3f8a56df0c6" -dependencies = [ - "byteorder", - "bytes 0.4.12", - "httparse", - "log", - "mio 0.6.23", - "mio-extras", - "rand 0.7.3", - "sha-1 0.8.2", - "slab", - "url 2.2.2", -] - [[package]] name = "parking" version = "2.0.0" @@ -8565,9 +8496,9 @@ dependencies = [ "cfg-if 1.0.0", "instant", "libc", - "redox_syscall", + "redox_syscall 0.2.11", "smallvec", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -8578,7 +8509,7 @@ checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954" dependencies = [ "cfg-if 1.0.0", "libc", - "redox_syscall", + "redox_syscall 0.2.11", "smallvec", "windows-sys", ] @@ -8810,8 +8741,8 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", @@ -8819,26 +8750,28 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "rand 0.8.5", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "polkadot-node-network-protocol", "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "rand 0.8.5", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "derive_more", "fatality", @@ -8860,8 +8793,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "fatality", "futures 0.3.21", @@ -8881,8 +8814,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "clap 3.1.6", "frame-benchmarking-cli", @@ -8895,6 +8828,7 @@ dependencies = [ "polkadot-service", "sc-cli", "sc-service", + "sc-sysinfo 6.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22)", "sc-tracing", "sp-core", "sp-trie", @@ -8905,15 +8839,14 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-primitives", "frame-benchmarking", "frame-benchmarking-cli", "frame-system", "frame-system-rpc-runtime-api", - "pallet-mmr-primitives", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", "polkadot-core-primitives", @@ -8936,6 +8869,7 @@ dependencies = [ "sp-finality-grandpa", "sp-inherents", "sp-keyring", + "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", @@ -8946,8 +8880,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "always-assert", "fatality", @@ -8967,8 +8901,8 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -8980,8 +8914,8 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "derive_more", "fatality", @@ -9003,8 +8937,8 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9017,8 +8951,8 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9037,10 +8971,12 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ + "always-assert", "async-trait", + "bytes", "futures 0.3.21", "parity-scale-codec", "parking_lot 0.12.0", @@ -9056,8 +8992,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "parity-scale-codec", @@ -9074,8 +9010,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitvec 1.0.0", "derive_more", @@ -9103,8 +9039,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitvec 1.0.0", "futures 0.3.21", @@ -9123,10 +9059,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitvec 1.0.0", + "fatality", "futures 0.3.21", "polkadot-erasure-coding", "polkadot-node-primitives", @@ -9141,8 +9078,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -9156,8 +9093,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "async-trait", "futures 0.3.21", @@ -9174,8 +9111,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "polkadot-node-subsystem", @@ -9189,8 +9126,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9206,8 +9143,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "fatality", "futures 0.3.21", @@ -9225,8 +9162,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "async-trait", "futures 0.3.21", @@ -9242,10 +9179,11 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitvec 1.0.0", + "fatality", "futures 0.3.21", "futures-timer", "polkadot-node-primitives", @@ -9259,8 +9197,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "always-assert", "assert_matches", @@ -9289,8 +9227,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "polkadot-node-primitives", @@ -9305,8 +9243,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "memory-lru", @@ -9323,8 +9261,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "async-std", "lazy_static", @@ -9341,8 +9279,8 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bs58", "futures 0.3.21", @@ -9360,16 +9298,18 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "async-trait", + "derive_more", "fatality", "futures 0.3.21", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", + "rand 0.8.5", "sc-authority-discovery", "sc-network", "strum 0.24.0", @@ -9378,8 +9318,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bounded-vec", "futures 0.3.21", @@ -9400,8 +9340,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9410,8 +9350,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "derive_more", "futures 0.3.21", @@ -9429,8 +9369,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "async-trait", "derive_more", @@ -9462,8 +9402,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "futures 0.3.21", "futures-timer", @@ -9483,8 +9423,8 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "async-trait", "futures 0.3.21", @@ -9500,8 +9440,8 @@ dependencies = [ [[package]] name = "polkadot-overseer-gen-proc-macro" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "expander 0.0.6", "proc-macro-crate 1.1.3", @@ -9512,8 +9452,8 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "derive_more", "frame-support", @@ -9529,8 +9469,8 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "env_logger", "kusama-runtime", @@ -9544,8 +9484,8 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitvec 1.0.0", "frame-system", @@ -9574,12 +9514,12 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", - "jsonrpc-core", + "jsonrpsee", "pallet-mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", @@ -9606,8 +9546,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-primitives", "bitvec 1.0.0", @@ -9631,13 +9571,13 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", "pallet-im-online", "pallet-indices", "pallet-membership", - "pallet-mmr-primitives", "pallet-multisig", "pallet-nicks", "pallet-offences", @@ -9674,6 +9614,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", "sp-runtime", @@ -9691,8 +9632,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-primitives", "bitvec 1.0.0", @@ -9738,8 +9679,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "polkadot-primitives", @@ -9750,8 +9691,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bs58", "parity-scale-codec", @@ -9762,8 +9703,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "bitflags", "bitvec 1.0.0", @@ -9805,8 +9746,8 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "async-trait", "beefy-gadget", @@ -9820,7 +9761,6 @@ dependencies = [ "lru 0.7.5", "pallet-babe", "pallet-im-online", - "pallet-mmr-primitives", "pallet-staking", "pallet-transaction-payment-rpc-runtime-api", "parity-db", @@ -9877,9 +9817,11 @@ dependencies = [ "sc-offchain", "sc-service", "sc-sync-state-rpc", + "sc-sysinfo 6.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22)", "sc-telemetry", "sc-transaction-pool", "serde", + "serde_json", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -9907,8 +9849,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -9928,8 +9870,8 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -9938,8 +9880,8 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-primitives", "bitvec 1.0.0", @@ -9955,7 +9897,6 @@ dependencies = [ "pallet-balances", "pallet-grandpa", "pallet-indices", - "pallet-mmr-primitives", "pallet-nicks", "pallet-offences", "pallet-session", @@ -9984,6 +9925,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", @@ -10000,8 +9942,8 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-benchmarking", "frame-system", @@ -10062,7 +10004,7 @@ dependencies = [ "libc", "log", "wepoll-ffi", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -10071,7 +10013,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" dependencies = [ - "cpufeatures 0.2.2", + "cpufeatures", "opaque-debug 0.3.0", "universal-hash", ] @@ -10083,7 +10025,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" dependencies = [ "cfg-if 1.0.0", - "cpufeatures 0.2.2", + "cpufeatures", "opaque-debug 0.3.0", "universal-hash", ] @@ -10094,6 +10036,20 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" +[[package]] +name = "prettytable-rs" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e" +dependencies = [ + "atty", + "csv", + "encode_unicode", + "lazy_static", + "term", + "unicode-width", +] + [[package]] name = "primitive-types" version = "0.11.1" @@ -10153,11 +10109,11 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.37" +version = "1.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" +checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] @@ -10174,13 +10130,36 @@ dependencies = [ "thiserror", ] +[[package]] +name = "prometheus-client" +version = "0.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9a896938cc6018c64f279888b8c7559d3725210d5db9a3a1ee6bc7188d51d34" +dependencies = [ + "dtoa", + "itoa 1.0.1", + "owning_ref", + "prometheus-client-derive-text-encode", +] + +[[package]] +name = "prometheus-client-derive-text-encode" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e8e12d01b9d66ad9eb4529c57666b6263fc1993cb30261d83ead658fdd932652" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "prost" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" dependencies = [ - "bytes 1.1.0", + "bytes", "prost-derive", ] @@ -10190,7 +10169,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62941722fb675d463659e49c4f3fe1fe792ff24fe5bbaa9c08cd3b98a1c354f5" dependencies = [ - "bytes 1.1.0", + "bytes", "heck 0.3.3", "itertools", "lazy_static", @@ -10223,7 +10202,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" dependencies = [ - "bytes 1.1.0", + "bytes", "prost", ] @@ -10291,7 +10270,7 @@ dependencies = [ "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc", - "rand_pcg", + "rand_pcg 0.2.1", ] [[package]] @@ -10371,6 +10350,15 @@ dependencies = [ "rand_core 0.5.1", ] +[[package]] +name = "rand_pcg" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" +dependencies = [ + "rand_core 0.6.3", +] + [[package]] name = "rawpointer" version = "0.2.1" @@ -10402,6 +10390,12 @@ dependencies = [ "num_cpus", ] +[[package]] +name = "redox_syscall" +version = "0.1.57" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" + [[package]] name = "redox_syscall" version = "0.2.11" @@ -10411,6 +10405,17 @@ dependencies = [ "bitflags", ] +[[package]] +name = "redox_users" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d" +dependencies = [ + "getrandom 0.1.16", + "redox_syscall 0.1.57", + "rust-argon2", +] + [[package]] name = "redox_users" version = "0.4.2" @@ -10418,7 +10423,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7776223e2696f1aa4c6b0170e83212f47296a00424305117d013dfe86fb0fe55" dependencies = [ "getrandom 0.2.5", - "redox_syscall", + "redox_syscall 0.2.11", "thiserror", ] @@ -10457,9 +10462,9 @@ dependencies = [ [[package]] name = "regalloc" -version = "0.0.33" +version = "0.0.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d808cff91dfca7b239d40b972ba628add94892b1d9e19a842aedc5cfae8ab1a" +checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02" dependencies = [ "log", "rustc-hash", @@ -10501,13 +10506,13 @@ dependencies = [ "bitflags", "libc", "mach", - "winapi 0.3.9", + "winapi", ] [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "env_logger", "jsonrpsee", @@ -10527,7 +10532,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -10569,7 +10574,7 @@ dependencies = [ "spin", "untrusted", "web-sys", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -10589,7 +10594,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5" dependencies = [ - "bytes 1.1.0", + "bytes", "rustc-hex", ] @@ -10616,8 +10621,8 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -10649,7 +10654,6 @@ dependencies = [ "pallet-indices", "pallet-membership", "pallet-mmr", - "pallet-mmr-primitives", "pallet-multisig", "pallet-offences", "pallet-proxy", @@ -10678,6 +10682,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", @@ -10693,8 +10698,8 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "polkadot-primitives", @@ -10710,7 +10715,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb" dependencies = [ "libc", - "winapi 0.3.9", + "winapi", +] + +[[package]] +name = "rtnetlink" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f54290e54521dac3de4149d83ddf9f62a359b3cc93bcb494a794a41e6f4744b" +dependencies = [ + "async-global-executor", + "futures 0.3.21", + "log", + "netlink-packet-route", + "netlink-proto", + "nix", + "thiserror", ] [[package]] @@ -10892,6 +10912,18 @@ dependencies = [ "xcm-executor", ] +[[package]] +name = "rust-argon2" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb" +dependencies = [ + "base64 0.13.0", + "blake2b_simd 0.5.11", + "constant_time_eq", + "crossbeam-utils", +] + [[package]] name = "rustc-demangle" version = "0.1.21" @@ -10910,15 +10942,6 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" -[[package]] -name = "rustc_version" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee" -dependencies = [ - "semver 0.11.0", -] - [[package]] name = "rustc_version" version = "0.4.0" @@ -10930,16 +10953,16 @@ dependencies = [ [[package]] name = "rustix" -version = "0.31.3" +version = "0.33.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2dcfc2778a90e38f56a708bfc90572422e11d6c7ee233d053d1f782cf9df6d2" +checksum = "938a344304321a9da4973b9ff4f9f8db9caf4597dfd9dda6a60b523340a0fff0" dependencies = [ "bitflags", "errno", "io-lifetimes", "libc", "linux-raw-sys", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -11044,7 +11067,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "log", "sp-core", @@ -11055,7 +11078,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures 0.3.21", @@ -11082,7 +11105,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "futures-timer", @@ -11105,7 +11128,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -11121,7 +11144,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.3", @@ -11138,7 +11161,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11149,7 +11172,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "chrono", "clap 3.1.6", @@ -11164,6 +11187,7 @@ dependencies = [ "regex", "rpassword", "sc-client-api", + "sc-client-db", "sc-keystore", "sc-network", "sc-service", @@ -11187,7 +11211,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "fnv", "futures 0.3.21", @@ -11215,7 +11239,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "hash-db", "kvdb", @@ -11240,7 +11264,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures 0.3.21", @@ -11264,7 +11288,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures 0.3.21", @@ -11293,7 +11317,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "fork-tree", @@ -11336,12 +11360,10 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "sc-consensus-babe", "sc-consensus-epochs", "sc-rpc-api", @@ -11360,7 +11382,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11373,14 +11395,12 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "assert_matches", "async-trait", "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", @@ -11409,7 +11429,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures 0.3.21", @@ -11434,7 +11454,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "sc-client-api", "sp-authorship", @@ -11445,7 +11465,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "lazy_static", "lru 0.7.5", @@ -11472,13 +11492,13 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "environmental", "parity-scale-codec", "sc-allocator", - "sp-core", "sp-maybe-compressed-blob", + "sp-sandbox", "sp-serializer", "sp-wasm-interface", "thiserror", @@ -11489,15 +11509,14 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "log", "parity-scale-codec", "sc-allocator", "sc-executor-common", - "scoped-tls", - "sp-core", "sp-runtime-interface", + "sp-sandbox", "sp-wasm-interface", "wasmi", ] @@ -11505,7 +11524,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "cfg-if 1.0.0", "libc", @@ -11514,8 +11533,8 @@ dependencies = [ "parity-wasm 0.42.2", "sc-allocator", "sc-executor-common", - "sp-core", "sp-runtime-interface", + "sp-sandbox", "sp-wasm-interface", "wasmtime", ] @@ -11523,7 +11542,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "ahash", "async-trait", @@ -11563,14 +11582,11 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "finality-grandpa", "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", - "jsonrpc-pubsub", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", @@ -11587,7 +11603,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "ansi_term", "futures 0.3.21", @@ -11604,7 +11620,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "hex", @@ -11619,12 +11635,12 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", - "asynchronous-codec 0.5.0", + "asynchronous-codec", "bitflags", - "bytes 1.1.0", + "bytes", "cid", "either", "fnv", @@ -11647,6 +11663,8 @@ dependencies = [ "sc-block-builder", "sc-client-api", "sc-consensus", + "sc-network-common", + "sc-network-sync", "sc-peerset", "sc-utils", "serde", @@ -11660,15 +11678,28 @@ dependencies = [ "sp-runtime", "substrate-prometheus-endpoint", "thiserror", - "unsigned-varint 0.6.0", + "unsigned-varint", "void", "zeroize", ] +[[package]] +name = "sc-network-common" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "futures 0.3.21", + "libp2p", + "parity-scale-codec", + "prost-build", + "sc-peerset", + "smallvec", +] + [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "ahash", "futures 0.3.21", @@ -11682,18 +11713,47 @@ dependencies = [ "tracing", ] +[[package]] +name = "sc-network-sync" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "bitflags", + "either", + "fork-tree", + "futures 0.3.21", + "libp2p", + "log", + "lru 0.7.5", + "parity-scale-codec", + "prost", + "prost-build", + "sc-client-api", + "sc-consensus", + "sc-network-common", + "sc-peerset", + "smallvec", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-finality-grandpa", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "bytes 1.1.0", + "bytes", "fnv", "futures 0.3.21", "futures-timer", "hex", "hyper", - "hyper-rustls 0.22.1", + "hyper-rustls", "num_cpus", "once_cell", "parity-scale-codec", @@ -11713,7 +11773,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "libp2p", @@ -11726,7 +11786,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11735,12 +11795,11 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "hash-db", - "jsonrpc-core", - "jsonrpc-pubsub", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.0", @@ -11766,13 +11825,10 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", - "jsonrpc-pubsub", + "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.0", @@ -11792,14 +11848,10 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-http-server", - "jsonrpc-ipc-server", - "jsonrpc-pubsub", - "jsonrpc-ws-server", + "jsonrpsee", "log", "serde_json", "substrate-prometheus-endpoint", @@ -11809,7 +11861,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "directories", @@ -11817,8 +11869,7 @@ dependencies = [ "futures 0.3.21", "futures-timer", "hash-db", - "jsonrpc-core", - "jsonrpc-pubsub", + "jsonrpsee", "log", "parity-scale-codec", "parity-util-mem", @@ -11834,9 +11885,11 @@ dependencies = [ "sc-informant", "sc-keystore", "sc-network", + "sc-network-common", "sc-offchain", "sc-rpc", "sc-rpc-server", + "sc-sysinfo 6.0.0-dev (git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb)", "sc-telemetry", "sc-tracing", "sc-transaction-pool", @@ -11873,7 +11926,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "log", "parity-scale-codec", @@ -11887,11 +11940,9 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "parity-scale-codec", "sc-chain-spec", "sc-client-api", @@ -11905,10 +11956,48 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-sysinfo" +version = "6.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "futures 0.3.21", + "libc", + "log", + "rand 0.7.3", + "rand_pcg 0.2.1", + "regex", + "sc-telemetry", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-std", +] + +[[package]] +name = "sc-sysinfo" +version = "6.0.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "futures 0.3.21", + "libc", + "log", + "rand 0.7.3", + "rand_pcg 0.2.1", + "regex", + "sc-telemetry", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-std", +] + [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "chrono", "futures 0.3.21", @@ -11926,7 +12015,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "ansi_term", "atty", @@ -11957,7 +12046,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11968,7 +12057,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "futures-timer", @@ -11995,7 +12084,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "log", @@ -12008,7 +12097,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "futures-timer", @@ -12051,7 +12140,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75" dependencies = [ "lazy_static", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -12072,12 +12161,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "scoped-tls" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2" - [[package]] name = "scopeguard" version = "1.1.0" @@ -12173,16 +12256,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537" dependencies = [ - "semver-parser 0.7.0", -] - -[[package]] -name = "semver" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f301af10236f6df4160f7c3f04eec6dbc70ace82d23326abad5edee88801c6b6" -dependencies = [ - "semver-parser 0.10.2", + "semver-parser", ] [[package]] @@ -12200,20 +12274,11 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" -[[package]] -name = "semver-parser" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0bef5b7f9e0df16536d3961cfb6e84331c065b4066afb39768d0e319411f7" -dependencies = [ - "pest", -] - [[package]] name = "serde" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789" +checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1" dependencies = [ "serde_derive", ] @@ -12230,9 +12295,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9" +checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be" dependencies = [ "proc-macro2", "quote", @@ -12279,7 +12344,7 @@ checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures 0.2.2", + "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -12304,7 +12369,7 @@ checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ "block-buffer 0.9.0", "cfg-if 1.0.0", - "cpufeatures 0.2.2", + "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.0", ] @@ -12316,7 +12381,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" dependencies = [ "cfg-if 1.0.0", - "cpufeatures 0.2.2", + "cpufeatures", "digest 0.10.3", ] @@ -12406,8 +12471,8 @@ checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5" [[package]] name = "slot-range-helper" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "enumn", "parity-scale-codec", @@ -12439,31 +12504,19 @@ checksum = "45456094d1983e2ee2a18fdfebce3189fa451699d0502cb8e3b49dba5ba41451" [[package]] name = "snow" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6142f7c25e94f6fd25a32c3348ec230df9109b463f59c8c7acc4bd34936babb7" +checksum = "774d05a3edae07ce6d68ea6984f3c05e9bba8927e3dd591e3b479e5b03213d0d" dependencies = [ "aes-gcm", - "blake2 0.9.2", + "blake2 0.10.4", "chacha20poly1305", - "rand 0.8.5", + "curve25519-dalek 4.0.0-pre.1", "rand_core 0.6.3", "ring", - "rustc_version 0.3.3", - "sha2 0.9.9", + "rustc_version", + "sha2 0.10.2", "subtle", - "x25519-dalek", -] - -[[package]] -name = "socket2" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "winapi 0.3.9", ] [[package]] @@ -12473,7 +12526,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "66d72b759436ae32898a2af0a14218dbf55efde3feeb170eb623637db85ee1e0" dependencies = [ "libc", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -12483,7 +12536,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" dependencies = [ "base64 0.13.0", - "bytes 1.1.0", + "bytes", "flate2", "futures 0.3.21", "httparse", @@ -12495,7 +12548,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "hash-db", "log", @@ -12512,7 +12565,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "blake2 0.10.4", "proc-macro-crate 1.1.3", @@ -12524,7 +12577,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "scale-info", @@ -12537,7 +12590,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "integer-sqrt", "num-traits", @@ -12552,7 +12605,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "scale-info", @@ -12565,7 +12618,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "parity-scale-codec", @@ -12577,7 +12630,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "sp-api", @@ -12589,7 +12642,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "log", @@ -12607,7 +12660,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures 0.3.21", @@ -12626,7 +12679,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "parity-scale-codec", @@ -12644,7 +12697,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "merlin", @@ -12667,7 +12720,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "scale-info", @@ -12681,9 +12734,10 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", + "scale-info", "schnorrkel", "sp-core", "sp-runtime", @@ -12693,7 +12747,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "base58 0.2.0", "bitflags", @@ -12739,7 +12793,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "blake2 0.10.4", "byteorder", @@ -12753,7 +12807,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro2", "quote", @@ -12764,7 +12818,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "kvdb", "parking_lot 0.12.0", @@ -12773,7 +12827,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro2", "quote", @@ -12783,7 +12837,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "environmental", "parity-scale-codec", @@ -12794,7 +12848,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "finality-grandpa", "log", @@ -12812,7 +12866,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12826,7 +12880,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "hash-db", @@ -12851,7 +12905,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "lazy_static", "sp-core", @@ -12862,7 +12916,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures 0.3.21", @@ -12879,16 +12933,31 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "thiserror", "zstd", ] +[[package]] +name = "sp-mmr-primitives" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "log", + "parity-scale-codec", + "serde", + "sp-api", + "sp-core", + "sp-debug-derive", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "scale-info", @@ -12902,7 +12971,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "sp-api", "sp-core", @@ -12912,7 +12981,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "backtrace", "lazy_static", @@ -12922,7 +12991,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "rustc-hash", "serde", @@ -12932,7 +13001,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "either", "hash256-std-hasher", @@ -12954,7 +13023,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12971,7 +13040,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", @@ -12980,10 +13049,24 @@ dependencies = [ "syn", ] +[[package]] +name = "sp-sandbox" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" +dependencies = [ + "log", + "parity-scale-codec", + "sp-core", + "sp-io", + "sp-std", + "sp-wasm-interface", + "wasmi", +] + [[package]] name = "sp-serializer" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "serde", "serde_json", @@ -12992,7 +13075,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "scale-info", @@ -13006,7 +13089,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "scale-info", @@ -13017,7 +13100,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "hash-db", "log", @@ -13039,12 +13122,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13057,7 +13140,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "log", "sp-core", @@ -13070,7 +13153,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures-timer", @@ -13086,7 +13169,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "sp-std", @@ -13098,7 +13181,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "sp-api", "sp-runtime", @@ -13107,7 +13190,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "log", @@ -13123,7 +13206,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "hash-db", "memory-db", @@ -13139,7 +13222,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -13156,7 +13239,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13167,7 +13250,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "impl-trait-for-tuples", "log", @@ -13217,7 +13300,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "statemine-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech//cumulus?rev=2317ef00dfa29a4d23fd6aa808d791a5dab82a02#2317ef00dfa29a4d23fd6aa808d791a5dab82a02" +source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -13233,7 +13316,7 @@ dependencies = [ "frame-support", "frame-system", "frame-system-rpc-runtime-api", - "kusama-runtime-constants 0.9.19 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.19)", + "kusama-runtime-constants 0.9.22 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.22)", "log", "pallet-asset-tx-payment", "pallet-assets", @@ -13407,7 +13490,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "platforms 2.0.0", ] @@ -13415,18 +13498,17 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", "sc-rpc-api", "sc-transaction-pool-api", + "serde_json", "sp-api", "sp-block-builder", "sp-blockchain", @@ -13437,7 +13519,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures-util", "hyper", @@ -13450,11 +13532,9 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.19#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "log", "parity-scale-codec", "sc-client-api", @@ -13473,7 +13553,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "async-trait", "futures 0.3.21", @@ -13499,7 +13579,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "futures 0.3.21", "substrate-test-utils-derive", @@ -13509,7 +13589,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -13520,7 +13600,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "ansi_term", "build-helper", @@ -13541,13 +13621,13 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "syn" -version = "1.0.91" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d" +checksum = "fbaf6116ab8924f39d52792136fb74fd60a80194cf1b1c6ffa6453eef1c3f942" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", ] [[package]] @@ -13562,6 +13642,27 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "system-configuration" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d75182f12f490e953596550b65ee31bda7c8e043d9386174b353bda50838c3fd" +dependencies = [ + "bitflags", + "core-foundation", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration-sys" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +dependencies = [ + "core-foundation-sys", + "libc", +] + [[package]] name = "tap" version = "1.0.1" @@ -13583,9 +13684,20 @@ dependencies = [ "cfg-if 1.0.0", "fastrand", "libc", - "redox_syscall", + "redox_syscall 0.2.11", "remove_dir_all", - "winapi 0.3.9", + "winapi", +] + +[[package]] +name = "term" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42" +dependencies = [ + "byteorder", + "dirs", + "winapi", ] [[package]] @@ -13599,8 +13711,8 @@ dependencies = [ [[package]] name = "test-runtime-constants" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "polkadot-primitives", @@ -13707,18 +13819,18 @@ checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" [[package]] name = "thiserror" -version = "1.0.30" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417" +checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.30" +version = "1.0.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b" +checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" dependencies = [ "proc-macro2", "quote", @@ -13802,7 +13914,7 @@ checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" dependencies = [ "libc", "wasi 0.10.0+wasi-snapshot-preview1", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -13860,22 +13972,22 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.17.0" +version = "1.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee" +checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395" dependencies = [ - "bytes 1.1.0", + "bytes", "libc", "memchr", - "mio 0.8.2", + "mio", "num_cpus", "once_cell", "parking_lot 0.12.0", "pin-project-lite 0.2.8", "signal-hook-registry", - "socket2 0.4.4", + "socket2", "tokio-macros", - "winapi 0.3.9", + "winapi", ] [[package]] @@ -13911,24 +14023,13 @@ dependencies = [ "webpki 0.22.0", ] -[[package]] -name = "tokio-stream" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50145484efff8818b5ccd256697f36863f587da82cf8b409c53adf1e840798e3" -dependencies = [ - "futures-core", - "pin-project-lite 0.2.8", - "tokio", -] - [[package]] name = "tokio-util" version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0" dependencies = [ - "bytes 1.1.0", + "bytes", "futures-core", "futures-sink", "log", @@ -13942,7 +14043,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0edfdeb067411dba2044da6d1cb2df793dd35add7888d73c16e3381ded401764" dependencies = [ - "bytes 1.1.0", + "bytes", "futures-core", "futures-io", "futures-sink", @@ -13990,9 +14091,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.23" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa31669fa42c09c34d94d8165dd2012e8ff3c66aca50f3bb226b68f216f2706c" +checksum = "f54c8ca710e81886d498c2fd3331b56c93aa248d49de2222ad2742247c60072f" dependencies = [ "lazy_static", "valuable", @@ -14010,8 +14111,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -14021,8 +14122,8 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "expander 0.0.6", "proc-macro-crate 1.1.3", @@ -14033,12 +14134,14 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" +checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" dependencies = [ + "ahash", "lazy_static", "log", + "lru 0.7.5", "tracing-core", ] @@ -14109,9 +14212,9 @@ dependencies = [ [[package]] name = "trust-dns-proto" -version = "0.20.4" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca94d4e9feb6a181c690c4040d7a24ef34018d8313ac5044a61d21222ae24e31" +checksum = "9c31f240f59877c3d4bb3b3ea0ec5a6a0cff07323580ff8c7a605cd7d08b255d" dependencies = [ "async-trait", "cfg-if 1.0.0", @@ -14133,9 +14236,9 @@ dependencies = [ [[package]] name = "trust-dns-resolver" -version = "0.20.4" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecae383baad9995efaa34ce8e57d12c3f305e545887472a492b838f4b5cfb77a" +checksum = "e4ba72c2ea84515690c9fcef4c6c660bb9df3036ed1051686de84605b74fd558" dependencies = [ "cfg-if 1.0.0", "futures-util", @@ -14143,7 +14246,7 @@ dependencies = [ "lazy_static", "log", "lru-cache", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "resolv-conf", "smallvec", "thiserror", @@ -14159,7 +14262,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech//substrate?rev=174735ea1bb5fc4513519c45181d8df63d86f613#174735ea1bb5fc4513519c45181d8df63d86f613" +source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "clap 3.1.6", "jsonrpsee", @@ -14238,6 +14341,12 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a01404663e3db436ed2746d9fefef640d868edae3cceb81c3b8d5732fda678f" +[[package]] +name = "unicode-ident" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee" + [[package]] name = "unicode-normalization" version = "0.1.19" @@ -14275,32 +14384,14 @@ dependencies = [ "subtle", ] -[[package]] -name = "unsigned-varint" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7fdeedbf205afadfe39ae559b75c3240f24e257d0ca27e85f85cb82aa19ac35" - -[[package]] -name = "unsigned-varint" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35581ff83d4101e58b582e607120c7f5ffb17e632a980b1f38334d76b36908b2" -dependencies = [ - "asynchronous-codec 0.5.0", - "bytes 1.1.0", - "futures-io", - "futures-util", -] - [[package]] name = "unsigned-varint" version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" dependencies = [ - "asynchronous-codec 0.6.0", - "bytes 1.1.0", + "asynchronous-codec", + "bytes", "futures-io", "futures-util", ] @@ -14342,9 +14433,9 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "value-bag" -version = "1.0.0-alpha.8" +version = "1.0.0-alpha.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79923f7731dc61ebfba3633098bf3ac533bbd35ccd8c57e7088d9a5eebe0263f" +checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55" dependencies = [ "ctor", "version_check", @@ -14387,7 +14478,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" dependencies = [ "same-file", - "winapi 0.3.9", + "winapi", "winapi-util", ] @@ -14528,6 +14619,7 @@ checksum = "ca00c5147c319a8ec91ec1a0edbec31e566ce2c9cc93b3f9bb86a9efd0eb795d" dependencies = [ "downcast-rs", "libc", + "libm", "memory_units", "num-rational 0.2.4", "num-traits", @@ -14546,31 +14638,30 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.81.0" +version = "0.83.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98930446519f63d00a836efdc22f67766ceae8dbcc1571379f2bcabc6b2b9abc" +checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wasmtime" -version = "0.33.1" +version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c9c724da92e39a85d2231d4c2a942c8be295211441dbca581c6c3f3f45a9f00" +checksum = "21ffb4705016d5ca91e18a72ed6822dab50e6d5ddd7045461b17ef19071cdef1" dependencies = [ "anyhow", "backtrace", "bincode", "cfg-if 1.0.0", - "cpp_demangle", "indexmap", "lazy_static", "libc", "log", "object", + "once_cell", "paste", "psm", "rayon", "region", - "rustc-demangle", "serde", "target-lexicon", "wasmparser", @@ -14579,14 +14670,14 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "winapi 0.3.9", + "winapi", ] [[package]] name = "wasmtime-cache" -version = "0.33.1" +version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da4439d99100298344567c0eb6916ad5864e99e54760b8177c427e529077fb30" +checksum = "85c6ab24291fa7cb3a181f5669f6c72599b7ef781669759b45c7828c5999d0c0" dependencies = [ "anyhow", "base64 0.13.0", @@ -14598,15 +14689,15 @@ dependencies = [ "serde", "sha2 0.9.9", "toml", - "winapi 0.3.9", + "winapi", "zstd", ] [[package]] name = "wasmtime-cranelift" -version = "0.33.1" +version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1762765dd69245f00e5d9783b695039e449a7be0f9c5383e4c78465dd6131aeb" +checksum = "f04c810078a491b7bc4866ebe045f714d2b95e6b539e1f64009a4a7606be11de" dependencies = [ "anyhow", "cranelift-codegen", @@ -14626,9 +14717,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.33.1" +version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4468301d95ec71710bb6261382efe27d1296447711645e3dbabaea6e4de3504" +checksum = "61448266ea164b1ac406363cdcfac81c7c44db4d94c7a81c8620ac6c5c6cdf59" dependencies = [ "anyhow", "cranelift-entity", @@ -14646,38 +14737,52 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.33.1" +version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab0ae6e581ff014b470ec35847ea3c0b4c3ace89a55df5a04c802a11f4574e7d" +checksum = "156b4623c6b0d4b8c24afb846c20525922f538ef464cc024abab7ea8de2109a2" dependencies = [ "addr2line", "anyhow", "bincode", "cfg-if 1.0.0", + "cpp_demangle", "gimli", + "log", "object", "region", + "rustc-demangle", "rustix", "serde", "target-lexicon", "thiserror", "wasmtime-environ", + "wasmtime-jit-debug", "wasmtime-runtime", - "winapi 0.3.9", + "winapi", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "0.35.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5dc31f811760a6c76b2672c404866fd19b75e5fb3b0075a3e377a6846490654" +dependencies = [ + "lazy_static", + "object", + "rustix", ] [[package]] name = "wasmtime-runtime" -version = "0.33.1" +version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d9c28877ae37a367cda7b52b8887589816152e95dde9b7c80cc686f52761961" +checksum = "f907beaff69d4d920fa4688411ee4cc75c0f01859e424677f9e426e2ef749864" dependencies = [ "anyhow", "backtrace", "cc", "cfg-if 1.0.0", "indexmap", - "lazy_static", "libc", "log", "mach", @@ -14688,14 +14793,15 @@ dependencies = [ "rustix", "thiserror", "wasmtime-environ", - "winapi 0.3.9", + "wasmtime-jit-debug", + "winapi", ] [[package]] name = "wasmtime-types" -version = "0.33.1" +version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395726e8f5dd8c57cb0db445627b842343f7e29ed7489467fdf7953ed9d3cd4f" +checksum = "514ef0e5fd197b9609dc9eb74beba0c84d5a12b2417cbae55534633329ba4852" dependencies = [ "cranelift-entity", "serde", @@ -14733,15 +14839,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki-roots" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940" -dependencies = [ - "webpki 0.21.4", -] - [[package]] name = "webpki-roots" version = "0.22.2" @@ -14781,8 +14878,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "beefy-primitives", "bitvec 1.0.0", @@ -14804,15 +14901,17 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-election-provider-multi-phase", + "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-grandpa", "pallet-identity", "pallet-im-online", "pallet-indices", "pallet-membership", - "pallet-mmr-primitives", "pallet-multisig", "pallet-nicks", + "pallet-nomination-pools", + "pallet-nomination-pools-benchmarking", "pallet-offences", "pallet-offences-benchmarking", "pallet-preimage", @@ -14850,6 +14949,7 @@ dependencies = [ "sp-core", "sp-inherents", "sp-io", + "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", "sp-runtime", @@ -14867,8 +14967,8 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "polkadot-primitives", @@ -14890,15 +14990,9 @@ dependencies = [ [[package]] name = "widestring" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c" - -[[package]] -name = "winapi" -version = "0.2.8" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" +checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983" [[package]] name = "winapi" @@ -14910,12 +15004,6 @@ dependencies = [ "winapi-x86_64-pc-windows-gnu", ] -[[package]] -name = "winapi-build" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" - [[package]] name = "winapi-i686-pc-windows-gnu" version = "0.4.0" @@ -14928,7 +15016,7 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" dependencies = [ - "winapi 0.3.9", + "winapi", ] [[package]] @@ -14937,37 +15025,74 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aac7fef12f4b59cd0a29339406cc9203ab44e440ddff6b3f5a41455349fa9cf3" +dependencies = [ + "windows_aarch64_msvc 0.29.0", + "windows_i686_gnu 0.29.0", + "windows_i686_msvc 0.29.0", + "windows_x86_64_gnu 0.29.0", + "windows_x86_64_msvc 0.29.0", +] + [[package]] name = "windows-sys" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3df6e476185f92a12c072be4a189a0210dcdcf512a1891d6dff9edb874deadc6" dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", + "windows_aarch64_msvc 0.32.0", + "windows_i686_gnu 0.32.0", + "windows_i686_msvc 0.32.0", + "windows_x86_64_gnu 0.32.0", + "windows_x86_64_msvc 0.32.0", ] +[[package]] +name = "windows_aarch64_msvc" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3d027175d00b01e0cbeb97d6ab6ebe03b12330a35786cbaca5252b1c4bf5d9b" + [[package]] name = "windows_aarch64_msvc" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5" +[[package]] +name = "windows_i686_gnu" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8793f59f7b8e8b01eda1a652b2697d87b93097198ae85f823b969ca5b89bba58" + [[package]] name = "windows_i686_gnu" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615" +[[package]] +name = "windows_i686_msvc" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8602f6c418b67024be2996c512f5f995de3ba417f4c75af68401ab8756796ae4" + [[package]] name = "windows_i686_msvc" version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172" +[[package]] +name = "windows_x86_64_gnu" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3d615f419543e0bd7d2b3323af0d86ff19cbc4f816e6453f36a2c2ce889c354" + [[package]] name = "windows_x86_64_gnu" version = "0.32.0" @@ -14976,27 +15101,23 @@ checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc" [[package]] name = "windows_x86_64_msvc" -version = "0.32.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" +checksum = "11d95421d9ed3672c280884da53201a5c46b7b2765ca6faf34b0d71cf34a3561" [[package]] -name = "winreg" -version = "0.6.2" +name = "windows_x86_64_msvc" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2986deb581c4fe11b621998a5e53361efe6b48a151178d0cd9eeffa4dc6acc9" -dependencies = [ - "winapi 0.3.9", -] +checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" [[package]] -name = "ws2_32-sys" -version = "0.2.1" +name = "winreg" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" +checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" dependencies = [ - "winapi 0.2.8", - "winapi-build", + "winapi", ] [[package]] @@ -15021,8 +15142,8 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -15034,8 +15155,8 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "frame-system", @@ -15078,8 +15199,8 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-benchmarking", "frame-support", @@ -15097,7 +15218,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "0.1.0" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "Inflector", "proc-macro2", @@ -15107,8 +15228,8 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "0.9.19" -source = "git+https://github.com/paritytech//polkadot?rev=f00a2772497aadddf75b8b4b475843ea0d910c48#f00a2772497aadddf75b8b4b475843ea0d910c48" +version = "0.9.22" +source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "frame-support", "parity-scale-codec", @@ -15124,23 +15245,23 @@ dependencies = [ [[package]] name = "yamux" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7d9028f208dd5e63c614be69f115c1b53cacc1111437d4c765185856666c107" +checksum = "0c0608f53c1dc0bad505d03a34bbd49fbf2ad7b51eb036123e896365532745a1" dependencies = [ "futures 0.3.21", "log", "nohash-hasher", - "parking_lot 0.11.2", + "parking_lot 0.12.0", "rand 0.8.5", "static_assertions", ] [[package]] name = "zeroize" -version = "1.5.4" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb5728b8afd3f280a869ce1d4c554ffaed35f45c231fc41bfbd0381bef50317" +checksum = "d68d9dcec5f9b43a30d38c49f91dfedfaac384cb8f085faca366c26207dd1619" dependencies = [ "zeroize_derive", ] @@ -15159,18 +15280,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.9.2+zstd.1.5.1" +version = "0.10.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2390ea1bf6c038c39674f22d95f0564725fc06034a47129179810b2fc58caa54" +checksum = "5f4a6bd64f22b5e3e94b4e238669ff9f10815c27a5180108b849d24174a83847" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "4.1.3+zstd.1.5.1" +version = "4.1.6+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e99d81b99fb3c2c2c794e3fe56c305c63d5173a16a46b5850b07c935ffc7db79" +checksum = "94b61c51bb270702d6167b8ce67340d2754b088d0c091b06e593aa772c3ee9bb" dependencies = [ "libc", "zstd-sys", @@ -15178,9 +15299,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "1.6.2+zstd.1.5.1" +version = "1.6.3+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2daf2f248d9ea44454bfcb2516534e8b8ad2fc91bf818a1885495fc42bc8ac9f" +checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8" dependencies = [ "cc", "libc", diff --git a/Cargo.toml b/Cargo.toml index 467fce7e5e..f92c289833 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -128,201 +128,201 @@ yamux = { opt-level = 3 } zeroize = { opt-level = 3 } [patch."https://github.com/paritytech/substrate"] -frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-executive = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-support = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-system = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-session = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-society = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-beefy = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-beefy-mmr = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-bags-list = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -pallet-preimage = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -beefy-primitives = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -beefy-merkle-tree = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -beefy-gadget = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -beefy-gadget-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-cli = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-executor = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-informant = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-network = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-service = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sc-utils = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-api = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-core = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-io = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-session = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-staking = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-std = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-storage = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-trie = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-version = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -substrate-test-client = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -substrate-test-utils = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } -substrate-test-utils-derive = { git = "https://github.com/paritytech//substrate", rev = "174735ea1bb5fc4513519c45181d8df63d86f613" } +frame-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-benchmarking-cli = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-election-provider-support = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-executive = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-support = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-support-procedural = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-support-procedural-tools = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-support-procedural-tools-derive = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-system = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-system-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +frame-try-runtime = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-aura = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-authorship = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-babe = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-balances = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-bounties = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-collective = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-democracy = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-election-provider-multi-phase = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-elections-phragmen = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-gilt = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-grandpa = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-identity = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-im-online = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-indices = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-membership = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-mmr = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-mmr-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-multisig = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-nicks = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-offences = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-offences-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-proxy = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-recovery = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-scheduler = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-session = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-session-benchmarking = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-society = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-staking = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-staking-reward-curve = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-staking-reward-fn = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-sudo = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-timestamp = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-tips = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-transaction-payment = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-treasury = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-utility = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-vesting = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-beefy = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-beefy-mmr = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-bags-list = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +pallet-preimage = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +beefy-primitives = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +beefy-merkle-tree = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +beefy-gadget = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +beefy-gadget-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +remote-externalities = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-basic-authorship = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-block-builder = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-chain-spec = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-cli = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-client-api = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-client-db = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus-babe-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus-epochs = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-consensus-uncles = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-executor = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-executor-common = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-executor-wasmtime = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-finality-grandpa-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-informant = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-keystore = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-network = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-network-gossip = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-offchain = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-rpc-api = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-rpc-server = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-service = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-sync-state-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-telemetry = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-tracing = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-transaction-pool-api = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sc-utils = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-api = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-application-crypto = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-arithmetic = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-authority-discovery = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-authorship = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-block-builder = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-blockchain = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-consensus = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-consensus-aura = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-consensus-babe = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-consensus-slots = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-consensus-vrf = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-core = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-debug-derive = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-externalities = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-finality-grandpa = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-inherents = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-io = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-keyring = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-keystore = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-maybe-compressed-blob = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-mmr-primitives = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-npos-elections = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-offchain = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-rpc = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-runtime = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-runtime-interface = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-runtime-interface-proc-macro = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-serializer = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-session = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-staking = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-state-machine = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-std = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-storage = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-timestamp = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-tracing = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-transaction-pool = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-trie = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-version = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +sp-wasm-interface = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +substrate-build-script-utils = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +substrate-wasm-builder = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +try-runtime-cli = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +substrate-test-client = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +substrate-test-utils = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } +substrate-test-utils-derive = { git = "https://github.com/paritytech//substrate", rev = "616d33ea23bab86cafffaf116fc607b6790fb4eb" } [patch."https://github.com/paritytech/polkadot"] -kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-rpc = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-test-runtime = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -polkadot-test-service = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -test-runtime-constants = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -xcm = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } -xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "f00a2772497aadddf75b8b4b475843ea0d910c48" } +kusama-runtime = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-cli = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-client = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-node-core-pvf = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-node-network-protocol = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-node-primitives = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-node-subsystem = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-overseer = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-runtime = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-runtime-common = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-service = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-statement-table = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-rpc = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-test-runtime = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +polkadot-test-service = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +test-runtime-constants = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +rococo-runtime = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +westend-runtime = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +xcm = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } +xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" } [patch."https://github.com/paritytech/cumulus"] -cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -statemine-runtime = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } -parachains-common = { git = "https://github.com/paritytech//cumulus", rev = "2317ef00dfa29a4d23fd6aa808d791a5dab82a02" } +cumulus-client-cli = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-client-network = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-client-service = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-primitives-core = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-primitives-utility = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +statemine-runtime = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } +parachains-common = { git = "https://github.com/paritytech//cumulus", rev = "7ffdccab93bbf011f00f61b12ff2e487ebe6294c" } diff --git a/ecosystem-modules/compound-cash/Cargo.toml b/ecosystem-modules/compound-cash/Cargo.toml index 2568a12eca..f31964607e 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.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/ecosystem-modules/ren/renvm-bridge/Cargo.toml b/ecosystem-modules/ren/renvm-bridge/Cargo.toml index eda69d68dc..ddd494a57e 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.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/ecosystem-modules/starport/Cargo.toml b/ecosystem-modules/starport/Cargo.toml index 4110c6d03e..05070e30ef 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 = "3.0.0", default-features = false, features = ["derive"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens"} diff --git a/inspect/Cargo.toml b/inspect/Cargo.toml index 71f6442ebb..3619fdc0df 100644 --- a/inspect/Cargo.toml +++ b/inspect/Cargo.toml @@ -8,10 +8,10 @@ edition = "2021" codec = { package = "parity-scale-codec", version = "3.0.0" } clap = { version = "3.1.6", features = ["derive"] } derive_more = "0.99" -log = "0.4.8" -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +log = "0.4.17" +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } diff --git a/modules/aggregated-dex/Cargo.toml b/modules/aggregated-dex/Cargo.toml index aae0eaeb5f..43f9303c67 100644 --- a/modules/aggregated-dex/Cargo.toml +++ b/modules/aggregated-dex/Cargo.toml @@ -8,11 +8,11 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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 } @@ -21,9 +21,9 @@ module-dex = { package = "module-dex", path = "../dex", default-features = false [dev-dependencies] orml-tokens = { path = "../../orml/tokens" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/asset-registry/Cargo.toml b/modules/asset-registry/Cargo.toml index f0367e7661..34baacd082 100644 --- a/modules/asset-registry/Cargo.toml +++ b/modules/asset-registry/Cargo.toml @@ -5,29 +5,29 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -log = { version = "0.4.14", default-features = false } +log = { version = "0.4.17", default-features = false } serde = { version = "1.0.136", optional = true } scale-info = { version = "2.1", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } module-support = { path = "../support", default-features = false } [dev-dependencies] serde_json = "1.0.68" hex = { version = "0.4" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 19386a2645..2c5a3a44dd 100644 --- a/modules/auction-manager/Cargo.toml +++ b/modules/auction-manager/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 6cfe488177..a41042f0b2 100644 --- a/modules/cdp-engine/Cargo.toml +++ b/modules/cdp-engine/Cargo.toml @@ -8,14 +8,14 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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 } @@ -23,9 +23,9 @@ rand_chacha = { version = "0.2", default-features = false } nutsfinance-stable-asset = { version = "0.1.0", default-features = false, path = "../../ecosystem-modules/stable-asset/lib/stable-asset", package = "nutsfinance-stable-asset" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 cb8943cc2e..b8b32b9312 100644 --- a/modules/cdp-treasury/Cargo.toml +++ b/modules/cdp-treasury/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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 } nutsfinance-stable-asset = { version = "0.1.0", default-features = false, path = "../../ecosystem-modules/stable-asset/lib/stable-asset", package = "nutsfinance-stable-asset" } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 fbe9c15d14..2f90c171c1 100644 --- a/modules/collator-selection/Cargo.toml +++ b/modules/collator-selection/Cargo.toml @@ -8,31 +8,31 @@ edition = "2021" targets = ['x86_64-unknown-linux-gnu'] [dependencies] -log = { version = "0.4.0", default-features = false } +log = { version = "0.4.17", default-features = false } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } serde = { version = "1.0.136", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ['std'] diff --git a/modules/currencies/Cargo.toml b/modules/currencies/Cargo.toml index de2a22faf4..3f00874161 100644 --- a/modules/currencies/Cargo.toml +++ b/modules/currencies/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } orml-utilities = { path = "../../orml/utilities", default-features = false } @@ -25,9 +25,9 @@ support = { package = "module-support", path = "../support", default-features = [dev-dependencies] serde_json = "1.0.68" hex = { version = "0.4" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } tokens = { package = "orml-tokens", path = "../../orml/tokens" } module-evm = { path = "../evm" } module-evm-bridge = { path = "../evm-bridge" } diff --git a/modules/currencies/src/lib.rs b/modules/currencies/src/lib.rs index 4b8342fd93..be73ec854e 100644 --- a/modules/currencies/src/lib.rs +++ b/modules/currencies/src/lib.rs @@ -649,7 +649,12 @@ impl fungibles::Inspect for Pallet { } } - fn can_deposit(asset_id: Self::AssetId, who: &T::AccountId, amount: Self::Balance) -> DepositConsequence { + fn can_deposit( + asset_id: Self::AssetId, + who: &T::AccountId, + amount: Self::Balance, + mint: bool, + ) -> DepositConsequence { match asset_id { CurrencyId::Erc20(_) => { if amount.is_zero() { @@ -672,9 +677,9 @@ impl fungibles::Inspect for Pallet { DepositConsequence::Success } id if id == T::GetNativeCurrencyId::get() => { - >::can_deposit(who, amount) + >::can_deposit(who, amount, mint) } - _ => >::can_deposit(asset_id, who, amount), + _ => >::can_deposit(asset_id, who, amount, mint), } } @@ -1032,8 +1037,8 @@ where fn reducible_balance(who: &T::AccountId, keep_alive: bool) -> Self::Balance { as fungibles::Inspect<_>>::reducible_balance(GetCurrencyId::get(), who, keep_alive) } - fn can_deposit(who: &T::AccountId, amount: Self::Balance) -> DepositConsequence { - as fungibles::Inspect<_>>::can_deposit(GetCurrencyId::get(), who, amount) + fn can_deposit(who: &T::AccountId, amount: Self::Balance, mint: bool) -> DepositConsequence { + as fungibles::Inspect<_>>::can_deposit(GetCurrencyId::get(), who, amount, mint) } fn can_withdraw(who: &T::AccountId, amount: Self::Balance) -> WithdrawConsequence { as fungibles::Inspect<_>>::can_withdraw(GetCurrencyId::get(), who, amount) @@ -1308,8 +1313,8 @@ where fn reducible_balance(who: &AccountId, keep_alive: bool) -> Self::Balance { Currency::reducible_balance(who, keep_alive) } - fn can_deposit(who: &AccountId, amount: Self::Balance) -> DepositConsequence { - Currency::can_deposit(who, amount) + fn can_deposit(who: &AccountId, amount: Self::Balance, mint: bool) -> DepositConsequence { + Currency::can_deposit(who, amount, mint) } fn can_withdraw(who: &AccountId, amount: Self::Balance) -> WithdrawConsequence { Currency::can_withdraw(who, amount) diff --git a/modules/currencies/src/tests.rs b/modules/currencies/src/tests.rs index 7f4e3381e8..e014bfc4c1 100644 --- a/modules/currencies/src/tests.rs +++ b/modules/currencies/src/tests.rs @@ -1027,75 +1027,90 @@ fn fungible_inspect_trait_should_work() { // Test for Inspect::can_deposit assert!( - >::can_deposit(NATIVE_CURRENCY_ID, &alice(), Bounded::max_value()) - == DepositConsequence::Overflow + >::can_deposit( + NATIVE_CURRENCY_ID, + &alice(), + Bounded::max_value(), + false + ) == DepositConsequence::Overflow ); assert!( - >::can_deposit(&alice(), Bounded::max_value()) + >::can_deposit(&alice(), Bounded::max_value(), false) == DepositConsequence::Overflow ); assert!( - >::can_deposit(NATIVE_CURRENCY_ID, &bob(), 1) + >::can_deposit(NATIVE_CURRENCY_ID, &bob(), 1, false) == DepositConsequence::BelowMinimum ); assert!( - >::can_deposit(&bob(), 1) + >::can_deposit(&bob(), 1, false) == DepositConsequence::BelowMinimum ); assert!( - >::can_deposit(NATIVE_CURRENCY_ID, &alice(), 100) + >::can_deposit(NATIVE_CURRENCY_ID, &alice(), 100, false) == DepositConsequence::Success ); assert!( - >::can_deposit(&alice(), 100) + >::can_deposit(&alice(), 100, false) == DepositConsequence::Success ); assert!( - >::can_deposit(NATIVE_CURRENCY_ID, &alice(), 0) + >::can_deposit(NATIVE_CURRENCY_ID, &alice(), 0, false) == DepositConsequence::Success ); assert!( - >::can_deposit(&alice(), 0) == DepositConsequence::Success + >::can_deposit(&alice(), 0, false) + == DepositConsequence::Success ); assert!( - >::can_deposit(X_TOKEN_ID, &alice(), Bounded::max_value()) + >::can_deposit(X_TOKEN_ID, &alice(), Bounded::max_value(), false) == DepositConsequence::Overflow ); assert!( - >::can_deposit(X_TOKEN_ID, &alice(), Bounded::max_value()) + >::can_deposit(X_TOKEN_ID, &alice(), Bounded::max_value(), false) == DepositConsequence::Overflow ); assert!( - >::can_deposit(X_TOKEN_ID, &alice(), 100) + >::can_deposit(X_TOKEN_ID, &alice(), 100, false) == DepositConsequence::Success ); assert!( - >::can_deposit(X_TOKEN_ID, &alice(), 100) + >::can_deposit(X_TOKEN_ID, &alice(), 100, false) == DepositConsequence::Success ); assert!( - >::can_deposit(X_TOKEN_ID, &alice(), 0) + >::can_deposit(X_TOKEN_ID, &alice(), 0, false) == DepositConsequence::Success ); assert!( - >::can_deposit(X_TOKEN_ID, &alice(), 0) == DepositConsequence::Success + >::can_deposit(X_TOKEN_ID, &alice(), 0, false) + == DepositConsequence::Success ); assert!( >::can_deposit( CurrencyId::Erc20(erc20_address()), &alice(), - Bounded::max_value() + Bounded::max_value(), + false ) == DepositConsequence::Overflow ); assert!( - >::can_deposit(CurrencyId::Erc20(erc20_address()), &alice(), 100) - == DepositConsequence::Success + >::can_deposit( + CurrencyId::Erc20(erc20_address()), + &alice(), + 100, + false + ) == DepositConsequence::Success ); assert!( - >::can_deposit(CurrencyId::Erc20(erc20_address()), &alice(), 0) - == DepositConsequence::Success + >::can_deposit( + CurrencyId::Erc20(erc20_address()), + &alice(), + 0, + false + ) == DepositConsequence::Success ); // TODO: update test code to assert_eq! for this: https://github.com/AcalaNetwork/Acala/issues/2038 diff --git a/modules/dex-oracle/Cargo.toml b/modules/dex-oracle/Cargo.toml index ddc76b1185..83a9aa5464 100644 --- a/modules/dex-oracle/Cargo.toml +++ b/modules/dex-oracle/Cargo.toml @@ -8,20 +8,20 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/dex/Cargo.toml b/modules/dex/Cargo.toml index 7da8d36d40..43803019bc 100644 --- a/modules/dex/Cargo.toml +++ b/modules/dex/Cargo.toml @@ -8,20 +8,20 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/earning/Cargo.toml b/modules/earning/Cargo.toml index fcdea5205d..669a7fbb00 100644 --- a/modules/earning/Cargo.toml +++ b/modules/earning/Cargo.toml @@ -9,11 +9,11 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = scale-info = { version = "2.1", default-features = false, features = ["derive"] } serde = { version = "1.0.136", optional = true } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } orml-traits = { package = "orml-traits", path = "../../orml/traits", default-features = false } @@ -23,8 +23,8 @@ primitives = { package = "acala-primitives", path = "../../primitives", default- paste = "1.0" [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/emergency-shutdown/Cargo.toml b/modules/emergency-shutdown/Cargo.toml index 2e4e4809b7..8c1d76379e 100644 --- a/modules/emergency-shutdown/Cargo.toml +++ b/modules/emergency-shutdown/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 586b005927..d2bebedb54 100644 --- a/modules/evm-accounts/Cargo.toml +++ b/modules/evm-accounts/Cargo.toml @@ -10,12 +10,12 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = libsecp256k1 = { version = "0.7", default-features = false, features = ["hmac", "static-context"], optional = true } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } orml-traits = { path = "../../orml/traits", default-features = false } @@ -24,7 +24,7 @@ module-support = { path = "../support", default-features = false } module-evm-utility-macro = { path = "../evm-utility/macro" } [dev-dependencies] -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 2a0e96ab61..4df9b018cd 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.136", optional = true, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } primitive-types = { version = "0.11.1", default-features = false, features = ["rlp", "byteorder"] } impl-trait-for-tuples = "0.2.2" ethereum-types = { version = "0.13.1", default-features = false } @@ -29,8 +29,8 @@ num_enum = { version = "0.5.1", default-features = false } [dev-dependencies] serde_json = "1.0.68" hex = { version = "0.4" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/evm-utility/Cargo.toml b/modules/evm-utility/Cargo.toml index a27d7ccb96..bcc4adf6f8 100644 --- a/modules/evm-utility/Cargo.toml +++ b/modules/evm-utility/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.19", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } evm = { git = "https://github.com/rust-blockchain/evm", rev = "0b686f8c2c83a52638917caa649dc23302fda80d", default-features = false, features = ["with-codec"] } evm-gasometer = { git = "https://github.com/rust-blockchain/evm", rev = "0b686f8c2c83a52638917caa649dc23302fda80d", default-features = false } diff --git a/modules/evm/Cargo.toml b/modules/evm/Cargo.toml index c9582bb64f..d72897a9c7 100644 --- a/modules/evm/Cargo.toml +++ b/modules/evm/Cargo.toml @@ -24,15 +24,15 @@ hex = { version = "0.4", default-features = false, features = ["alloc"], optiona num = { version = "0.4", features = ["alloc"], default-features = false } bn = { package = "substrate-bn", version = "0.6", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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 } @@ -44,7 +44,7 @@ primitives = { package = "acala-primitives", path = "../../primitives", default- module-idle-scheduler = { path = "../idle-scheduler", default-features = false, optional = true } module-transaction-payment = { path = "../../modules/transaction-payment", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } [dev-dependencies] hex = "0.4" diff --git a/modules/evm/rpc/Cargo.toml b/modules/evm/rpc/Cargo.toml index 9be53e1c7c..1f41519d51 100644 --- a/modules/evm/rpc/Cargo.toml +++ b/modules/evm/rpc/Cargo.toml @@ -10,16 +10,16 @@ jsonrpc-derive = "18.0.0" rustc-hex = "2.1.0" serde = { version = "1.0.136", features = ["derive"] } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } primitives = { package = "acala-primitives", path = "../../../primitives" } module-evm-rpc-runtime-api = { path = "runtime_api" } diff --git a/modules/evm/rpc/runtime_api/Cargo.toml b/modules/evm/rpc/runtime_api/Cargo.toml index 91ffbfc24b..6b263bc822 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.19", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } primitives = { package = "acala-primitives", path = "../../../../primitives", default-features = false } [features] diff --git a/modules/example/Cargo.toml b/modules/example/Cargo.toml index 6b2cd26a42..2fd2d06a5f 100644 --- a/modules/example/Cargo.toml +++ b/modules/example/Cargo.toml @@ -8,13 +8,13 @@ edition = "2021" serde = { version = "1.0.136", optional = true } scale-info = { version = "2.1", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/homa-lite/Cargo.toml b/modules/homa-lite/Cargo.toml index fe9e93d6d0..21caafa7fe 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 = "3.0.0", default-features = false, features = ["derive"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", 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.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } module-relaychain = { path = "../relaychain", features = ["kusama"] } [features] diff --git a/modules/homa-validator-list/Cargo.toml b/modules/homa-validator-list/Cargo.toml index b557c272fd..b29b2100ef 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.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } orml-tokens = { path = "../../orml/tokens" } orml-currencies = { path = "../../orml/currencies" } diff --git a/modules/homa/Cargo.toml b/modules/homa/Cargo.toml index a35c2c1f08..583a8504ed 100644 --- a/modules/homa/Cargo.toml +++ b/modules/homa/Cargo.toml @@ -7,23 +7,23 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } [features] default = ["std"] diff --git a/modules/honzon-bridge/Cargo.toml b/modules/honzon-bridge/Cargo.toml index bdfbb2fe29..04e276823e 100644 --- a/modules/honzon-bridge/Cargo.toml +++ b/modules/honzon-bridge/Cargo.toml @@ -8,17 +8,17 @@ edition = "2021" serde = { version = "1.0.136", optional = true } scale-info = { version = "2.1", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } module-currencies = { path = "../../modules/currencies" } module-support = { path = "../../modules/support" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/honzon/Cargo.toml b/modules/honzon/Cargo.toml index d0aa9a3e7a..fd39ed3b74 100644 --- a/modules/honzon/Cargo.toml +++ b/modules/honzon/Cargo.toml @@ -8,20 +8,20 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 fb43fbf7b6..2e4c12c1ef 100644 --- a/modules/idle-scheduler/Cargo.toml +++ b/modules/idle-scheduler/Cargo.toml @@ -8,16 +8,16 @@ edition = "2021" serde = { version = "1.0.136", optional = true } scale-info = { version = "2.1", default-features = false, features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/incentives/Cargo.toml b/modules/incentives/Cargo.toml index 4d1049fc5e..d69bfb62e4 100644 --- a/modules/incentives/Cargo.toml +++ b/modules/incentives/Cargo.toml @@ -8,19 +8,19 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } orml-tokens = { path = "../../orml/tokens" } orml-rewards = { path = "../../orml/rewards" } diff --git a/modules/loans/Cargo.toml b/modules/loans/Cargo.toml index 35960b0d2e..282eb3ee94 100644 --- a/modules/loans/Cargo.toml +++ b/modules/loans/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 ea04fa2ddd..a3f8c6376e 100644 --- a/modules/nft/Cargo.toml +++ b/modules/nft/Cargo.toml @@ -9,22 +9,22 @@ serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 42461dcd44..96bfedb6b7 100644 --- a/modules/nominees-election/Cargo.toml +++ b/modules/nominees-election/Cargo.toml @@ -8,18 +8,18 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["max-encoded-len"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } orml-currencies = { path = "../../orml/currencies" } orml-tokens = { path = "../../orml/tokens" } diff --git a/modules/prices/Cargo.toml b/modules/prices/Cargo.toml index fdd4cea15d..d095d21f47 100644 --- a/modules/prices/Cargo.toml +++ b/modules/prices/Cargo.toml @@ -8,17 +8,17 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } orml-tokens = { path = "../../orml/tokens" } [features] diff --git a/modules/relaychain/Cargo.toml b/modules/relaychain/Cargo.toml index 8c9a64fc49..ffe656e9ab 100644 --- a/modules/relaychain/Cargo.toml +++ b/modules/relaychain/Cargo.toml @@ -7,18 +7,18 @@ edition = "2021" [dependencies] serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/session-manager/Cargo.toml b/modules/session-manager/Cargo.toml index 05ad34c96c..7d9d315669 100644 --- a/modules/session-manager/Cargo.toml +++ b/modules/session-manager/Cargo.toml @@ -5,19 +5,19 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -log = { version = "0.4.14", default-features = false } +log = { version = "0.4.17", default-features = false } serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/modules/support/Cargo.toml b/modules/support/Cargo.toml index d651a2c444..7cff424f47 100644 --- a/modules/support/Cargo.toml +++ b/modules/support/Cargo.toml @@ -8,14 +8,14 @@ edition = "2021" impl-trait-for-tuples = "0.2.2" codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } nutsfinance-stable-asset = { version = "0.1.0", default-features = false, path = "../../ecosystem-modules/stable-asset/lib/stable-asset", package = "nutsfinance-stable-asset" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } [features] default = ["std"] diff --git a/modules/transaction-pause/Cargo.toml b/modules/transaction-pause/Cargo.toml index d7c47f20d4..cc46eaf8f1 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 = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 1d723869e1..73301f2676 100644 --- a/modules/transaction-payment/Cargo.toml +++ b/modules/transaction-payment/Cargo.toml @@ -8,24 +8,24 @@ edition = "2021" serde = { version = "1.0.136", optional = true } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", 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.19", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } [dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } orml-tokens = { path = "../../orml/tokens" } module-currencies = { path = "../../modules/currencies" } module-dex = { path = "../dex" } diff --git a/modules/xcm-interface/Cargo.toml b/modules/xcm-interface/Cargo.toml index 4d21b26521..908c21047e 100644 --- a/modules/xcm-interface/Cargo.toml +++ b/modules/xcm-interface/Cargo.toml @@ -7,25 +7,25 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } scale-info = { version = "2.1", default-features = false, features = ["derive"] } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true} -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true} +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", 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.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } module-currencies = { path = "../../modules/currencies" } orml-tokens = { path = "../../orml/tokens" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } module-relaychain = { path = "../relaychain", features = ["kusama"] } [features] diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 25e6068a41..aab28f1df3 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -5,26 +5,26 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -log = "0.4.8" +log = "0.4.17" clap = { version = "3.1.6", features = ["derive"] } codec = { package = "parity-scale-codec", version = "3.0.0" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", optional = true } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", optional = true } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", optional = true } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", optional = true } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", optional = true } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", optional = true } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", optional = true } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", optional = true } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", optional = true } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", optional = true } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } 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 26b51b9e43..6a8923bf8b 100644 --- a/node/e2e-tests/test-service/Cargo.toml +++ b/node/e2e-tests/test-service/Cargo.toml @@ -13,7 +13,7 @@ tokio = { version = "1.10", features = ["macros"] } criterion = { version = "0.3.5", features = [ "async_tokio" ] } parking_lot = "0.12.0" jsonrpc-core = "18.0.0" -log = "0.4.14" +log = "0.4.17" futures = { package = "futures", version = "0.3", features = ["compat"] } hex-literal = "0.3.1" url = "2.2.2" @@ -21,60 +21,60 @@ rlp = "0.5" sha3 = "0.10" # Substrate dependencies -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", features = [ "wasmtime" ] } -sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", features = [ "wasmtime" ] } +sc-rpc-server = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-test-client = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } # Polkadot dependencies -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } # Cumulus dependencies -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-test-relay-validation-worker-provider = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } runtime-common = { path = "../../../runtime/common" } node-runtime = { package = "mandala-runtime", path = "../../../runtime/mandala" } @@ -91,5 +91,5 @@ ecosystem-renvm-bridge = { path = "../../../ecosystem-modules/ren/renvm-bridge" [dev-dependencies] # Substrate dependencies -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 323c081d0b..1f183a5f3b 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -log = "0.4.8" +log = "0.4.17" async-trait = { version = "0.1.48" } hex-literal = "0.3.1" serde = { version = "1.0.136", features = ["derive"] } @@ -21,63 +21,63 @@ elliptic-curve = { version = "0.11.12", default-features = false, features = ["h k256 = { version = "0.10.4", default-features = false, features = ["keccak256", "ecdsa", "std"] } tiny-keccak = { version = "2.0", features = ["keccak"] } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19"} -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22"} +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-client-consensus-relay-chain = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-relay-chain-inprocess-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-relay-chain-rpc-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } ecosystem-renvm-bridge = { path = "../../ecosystem-modules/ren/renvm-bridge" } module-collator-selection = { path = "../../modules/collator-selection" } diff --git a/orml b/orml index c673da3374..918dc4b98e 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit c673da3374dfe1d251cd196041470b9eb191c15b +Subproject commit 918dc4b98edd9de5fe7b52f219907df84b9471e7 diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 8369919fe3..b7729b550e 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -15,13 +15,13 @@ scale-info = { version = "2.1", default-features = false, features = ["derive"] enumflags2 = { version = "0.6.3" } paste = "1.0" -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } orml-traits = { path = "../orml/traits", default-features = false } diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 83c6d910d6..7a32a21a8c 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 = "3.0.0" } primitives = { package = "acala-primitives", path = "../primitives" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } 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 b94ff42263..da654c201c 100644 --- a/runtime/acala/Cargo.toml +++ b/runtime/acala/Cargo.toml @@ -15,64 +15,64 @@ hex = { version = "0.4", default-features = false } hex-literal = { version = "0.3.1" } # substrate -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features =false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features =false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, features = ["historical"] } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } # orml orml-auction = { path = "../../orml/auction", default-features = false } @@ -128,13 +128,13 @@ nutsfinance-stable-asset = { version = "0.1.0", default-features = false, path = # benchmarking deps libsecp256k1 = { version = "0.7", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index c3f509299d..fa11d56973 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -20,28 +20,28 @@ ethabi = { version = "17.0.0", default-features = false } scale-info = { version = "2.1", default-features = false, features = ["derive"] } # substrate -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } # cumulus -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } # polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false, optional = true } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false, optional = true } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } # modules module-currencies = { path = "../../modules/currencies", default-features = false } diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index da65620b05..02a0236097 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -14,64 +14,64 @@ hex-literal = { version = "0.3.1" } libsecp256k1 = { version = "0.7" } # substrate -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19"} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19"} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features =false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", features = ["historical"] } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22"} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22"} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features =false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", features = ["historical"] } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } # orml orml-auction = { path = "../../orml/auction" } @@ -129,18 +129,18 @@ ecosystem-compound-cash = { path = "../../ecosystem-modules/compound-cash" } [dev-dependencies] env_logger = "0.9.0" -log = "0.4.14" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +log = "0.4.17" +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -statemine-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +statemine-runtime = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } -polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19" } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "6c358483d8e119cd3b631ebb14d3b0cf0041d94e" } 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 87638e8a64..600ed0fac8 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -83,7 +83,7 @@ fn transfer_to_relay_chain() { assert_eq!( kusama_runtime::Balances::free_balance(&AccountId::from(BOB)), // v0.9.18: 106_666_660 - // v0.9.19: 165_940_672 + // v0.9.22: 165_940_672 999_834_059_328 ); }); diff --git a/runtime/karura/Cargo.toml b/runtime/karura/Cargo.toml index cd4ebdd9bd..e4e80615c3 100644 --- a/runtime/karura/Cargo.toml +++ b/runtime/karura/Cargo.toml @@ -15,64 +15,64 @@ hex = { version = "0.4", default-features = false } hex-literal = { version = "0.3.1" } # substrate -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features =false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, features = ["historical"] } -pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features =false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, features = ["historical"] } +pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } # orml orml-auction = { path = "../../orml/auction", default-features = false } @@ -129,13 +129,13 @@ nutsfinance-stable-asset = { version = "0.1.0", default-features = false, path = # benchmarking deps libsecp256k1 = { version = "0.7", default-features = false, optional = true } -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [features] default = ["std"] diff --git a/runtime/mandala/Cargo.toml b/runtime/mandala/Cargo.toml index 754aea24a4..c751878b21 100644 --- a/runtime/mandala/Cargo.toml +++ b/runtime/mandala/Cargo.toml @@ -16,67 +16,67 @@ scale-info = { version = "2.1", default-features = false, features = ["derive"] libsecp256k1 = { version = "0.7", default-features = false, optional = true } # substrate -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, optional = true } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false} -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false} -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features =false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false, features = ["historical"] } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19", default-features = false } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, optional = true } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false} +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false} +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features =false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false, features = ["historical"] } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22", default-features = false } # cumulus -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19", default-features = false } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22", default-features = false } # polkadot -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.19", default-features = false } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } # orml orml-auction = { path = "../../orml/auction", default-features = false } @@ -138,15 +138,15 @@ ecosystem-compound-cash = { path = "../../ecosystem-modules/compound-cash", defa nutsfinance-stable-asset = { version = "0.1.0", default-features = false, path = "../../ecosystem-modules/stable-asset/lib/stable-asset", package = "nutsfinance-stable-asset" } [build-dependencies] -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } [dev-dependencies] -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.19" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-trie = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } -cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.19" } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } +cumulus-test-relay-sproof-builder = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.22" } acala-service = { path = "../../node/service", features = ["with-mandala-runtime"] } diff --git a/runtime/mandala/src/lib.rs b/runtime/mandala/src/lib.rs index ed59aecf42..704ed35800 100644 --- a/runtime/mandala/src/lib.rs +++ b/runtime/mandala/src/lib.rs @@ -605,6 +605,7 @@ impl pallet_recovery::Config for Runtime { type FriendDepositFactor = FriendDepositFactor; type MaxFriends = ConstU32<9>; type RecoveryDeposit = RecoveryDeposit; + type WeightInfo = (); } parameter_types! { From d7ca928b67d8e53855e948d00ffb9cf07a12588f Mon Sep 17 00:00:00 2001 From: zqh Date: Sun, 22 May 2022 00:44:29 +0800 Subject: [PATCH 02/28] migrate jsonrpc to jsonrpsee --- Cargo.lock | 181 ++++----------------- modules/evm/rpc/Cargo.toml | 3 +- modules/evm/rpc/src/call_request.rs | 2 +- modules/evm/rpc/src/evm_api.rs | 22 +-- modules/evm/rpc/src/lib.rs | 172 ++++++++++++-------- node/Cargo.toml | 2 +- node/cli/src/command.rs | 5 +- node/e2e-tests/test-service/Cargo.toml | 2 +- node/e2e-tests/test-service/src/builder.rs | 8 +- node/e2e-tests/test-service/src/lib.rs | 9 +- node/e2e-tests/test-service/src/rpc.rs | 73 +++++++++ node/e2e-tests/test-service/src/service.rs | 32 +++- node/service/Cargo.toml | 4 +- node/service/src/client.rs | 11 ++ node/service/src/lib.rs | 33 ++-- orml | 2 +- rpc/Cargo.toml | 3 +- rpc/src/lib.rs | 60 ++++--- runtime/integration-tests/Cargo.toml | 2 +- 19 files changed, 331 insertions(+), 295 deletions(-) create mode 100644 node/e2e-tests/test-service/src/rpc.rs diff --git a/Cargo.lock b/Cargo.lock index 3d3b4f3d3d..56ec0d44a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,8 @@ version = "2.6.3" dependencies = [ "acala-primitives", "evm-rpc", - "jsonrpc-core", + "futures 0.3.21", + "jsonrpsee", "orml-oracle-rpc", "orml-tokens-rpc", "pallet-transaction-payment-rpc", @@ -260,7 +261,7 @@ dependencies = [ "futures 0.3.21", "hex", "hex-literal", - "jsonrpc-core", + "jsonrpsee", "k256", "karura-runtime", "log", @@ -1947,7 +1948,7 @@ dependencies = [ "clap 3.1.6", "sc-cli", "sc-service", - "url 2.2.2", + "url", ] [[package]] @@ -2198,7 +2199,7 @@ name = "cumulus-pallet-parachain-system-proc-macro" version = "0.1.0" source = "git+https://github.com/paritytech//cumulus?rev=7ffdccab93bbf011f00f61b12ff2e487ebe6294c#7ffdccab93bbf011f00f61b12ff2e487ebe6294c" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -2414,7 +2415,7 @@ dependencies = [ "sp-state-machine", "sp-storage", "tracing", - "url 2.2.2", + "url", ] [[package]] @@ -3018,8 +3019,7 @@ version = "2.6.3" dependencies = [ "acala-primitives", "frame-support", - "jsonrpc-core", - "jsonrpc-derive", + "jsonrpsee", "module-evm", "module-evm-rpc-runtime-api", "pallet-transaction-payment-rpc-runtime-api", @@ -3121,7 +3121,7 @@ checksum = "f5aa1e3ae159e592ad222dc90c5acbad632b527779ba88486abe92782ab268bd" dependencies = [ "expander 0.0.4", "indexmap", - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -3225,7 +3225,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" dependencies = [ "matches", - "percent-encoding 2.1.0", + "percent-encoding", ] [[package]] @@ -3305,7 +3305,7 @@ name = "frame-election-provider-solution-type" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -3403,7 +3403,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -3985,17 +3985,6 @@ dependencies = [ "webpki 0.21.4", ] -[[package]] -name = "idna" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" -dependencies = [ - "matches", - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "0.2.3" @@ -4177,74 +4166,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "jsonrpc-client-transports" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" -dependencies = [ - "derive_more", - "futures 0.3.21", - "jsonrpc-core", - "jsonrpc-pubsub", - "log", - "serde", - "serde_json", - "url 1.7.2", -] - -[[package]] -name = "jsonrpc-core" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" -dependencies = [ - "futures 0.3.21", - "futures-executor", - "futures-util", - "log", - "serde", - "serde_derive", - "serde_json", -] - -[[package]] -name = "jsonrpc-core-client" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0" -dependencies = [ - "futures 0.3.21", - "jsonrpc-client-transports", -] - -[[package]] -name = "jsonrpc-derive" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2" -dependencies = [ - "proc-macro-crate 0.1.5", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "jsonrpc-pubsub" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011" -dependencies = [ - "futures 0.3.21", - "jsonrpc-core", - "lazy_static", - "log", - "parking_lot 0.11.2", - "rand 0.7.3", - "serde", -] - [[package]] name = "jsonrpsee" version = "0.13.1" @@ -4333,7 +4254,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b8d7f449cab3b747f12c3efc27f5cad537f3b597c6a3838b0fac628f4bf730a" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -5222,7 +5143,7 @@ dependencies = [ "quicksink", "rw-stream-sink", "soketto", - "url 2.2.2", + "url", "webpki-roots", ] @@ -6502,11 +6423,11 @@ dependencies = [ "byteorder", "data-encoding", "multihash", - "percent-encoding 2.1.0", + "percent-encoding", "serde", "static_assertions", "unsigned-varint", - "url 2.2.2", + "url", ] [[package]] @@ -6543,7 +6464,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc076939022111618a5026d3be019fd8b366e76314538ff9a1b59ffbcbf98bcd" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro-error", "proc-macro2", "quote", @@ -6859,7 +6780,7 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b0498641e53dd6ac1a4f22547548caa6864cc4933784319cd1775271c5a46ce" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -7096,9 +7017,7 @@ dependencies = [ name = "orml-oracle-rpc" version = "0.4.1-dev" dependencies = [ - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "orml-oracle-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -7172,9 +7091,7 @@ name = "orml-tokens-rpc" version = "0.4.1-dev" dependencies = [ "frame-support", - "jsonrpc-core", - "jsonrpc-core-client", - "jsonrpc-derive", + "jsonrpsee", "orml-tokens-rpc-runtime-api", "parity-scale-codec", "sp-api", @@ -8118,7 +8035,7 @@ name = "pallet-staking-reward-curve" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -8404,7 +8321,7 @@ version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c45ed1f39709f5a89338fab50e59816b2e8815f5bb58276e7ddf9afd495f73f8" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -8559,12 +8476,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" -[[package]] -name = "percent-encoding" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" - [[package]] name = "percent-encoding" version = "2.1.0" @@ -9444,7 +9355,7 @@ version = "0.9.22" source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "expander 0.0.6", - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -10064,15 +9975,6 @@ dependencies = [ "uint", ] -[[package]] -name = "proc-macro-crate" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785" -dependencies = [ - "toml", -] - [[package]] name = "proc-macro-crate" version = "1.1.3" @@ -11163,7 +11065,7 @@ name = "sc-chain-spec-derive" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -12048,7 +11950,7 @@ name = "sc-tracing-proc-macro" version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -12127,7 +12029,7 @@ version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4260c630e8a8a33429d1688eff2f163f24c65a4e1b1578ef6b565061336e4b6f" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -12568,7 +12470,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "blake2 0.10.4", - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -13043,7 +12945,7 @@ version = "5.0.0" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ "Inflector", - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -13591,7 +13493,7 @@ name = "substrate-test-utils-derive" version = "0.10.0-dev" source = "git+https://github.com/paritytech//substrate?rev=616d33ea23bab86cafffaf116fc607b6790fb4eb#616d33ea23bab86cafffaf116fc607b6790fb4eb" dependencies = [ - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -13748,7 +13650,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.21", "hex-literal", - "jsonrpc-core", + "jsonrpsee", "log", "mandala-runtime", "module-emergency-shutdown", @@ -13799,7 +13701,7 @@ dependencies = [ "substrate-test-client", "substrate-test-utils", "tokio", - "url 2.2.2", + "url", ] [[package]] @@ -14126,7 +14028,7 @@ version = "0.9.22" source = "git+https://github.com/paritytech//polkadot?rev=17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d" dependencies = [ "expander 0.0.6", - "proc-macro-crate 1.1.3", + "proc-macro-crate", "proc-macro2", "quote", "syn", @@ -14223,7 +14125,7 @@ dependencies = [ "futures-channel", "futures-io", "futures-util", - "idna 0.2.3", + "idna", "ipnet", "lazy_static", "log", @@ -14231,7 +14133,7 @@ dependencies = [ "smallvec", "thiserror", "tinyvec", - "url 2.2.2", + "url", ] [[package]] @@ -14402,17 +14304,6 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" -[[package]] -name = "url" -version = "1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" -dependencies = [ - "idna 0.1.5", - "matches", - "percent-encoding 1.0.1", -] - [[package]] name = "url" version = "2.2.2" @@ -14420,9 +14311,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c" dependencies = [ "form_urlencoded", - "idna 0.2.3", + "idna", "matches", - "percent-encoding 2.1.0", + "percent-encoding", ] [[package]] @@ -15176,7 +15067,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/shaunxw/xcm-simulator?rev=6c358483d8e119cd3b631ebb14d3b0cf0041d94e#6c358483d8e119cd3b631ebb14d3b0cf0041d94e" +source = "git+https://github.com/zqhxuyuan/xcm-simulator?rev=d257f048b5952d988efcc6d51bdde274a878696f#d257f048b5952d988efcc6d51bdde274a878696f" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", diff --git a/modules/evm/rpc/Cargo.toml b/modules/evm/rpc/Cargo.toml index 1f41519d51..e2c987d492 100644 --- a/modules/evm/rpc/Cargo.toml +++ b/modules/evm/rpc/Cargo.toml @@ -5,8 +5,7 @@ authors = ["Acala Developers"] edition = "2021" [dependencies] -jsonrpc-core = "18.0.0" -jsonrpc-derive = "18.0.0" +jsonrpsee = { version = "0.13.0", features = ["server", "macros"] } rustc-hex = "2.1.0" serde = { version = "1.0.136", features = ["derive"] } diff --git a/modules/evm/rpc/src/call_request.rs b/modules/evm/rpc/src/call_request.rs index 0e08dc5fb6..35f3bc93c3 100644 --- a/modules/evm/rpc/src/call_request.rs +++ b/modules/evm/rpc/src/call_request.rs @@ -22,7 +22,7 @@ use sp_core::{Bytes, H160, U256}; use sp_rpc::number::NumberOrHex; /// Call request -#[derive(Debug, Default, PartialEq, Deserialize, Clone)] +#[derive(Debug, Default, PartialEq, Serialize, Deserialize, Clone)] #[serde(deny_unknown_fields)] #[serde(rename_all = "camelCase")] pub struct CallRequest { diff --git a/modules/evm/rpc/src/evm_api.rs b/modules/evm/rpc/src/evm_api.rs index d87dcc6f43..0015f29b69 100644 --- a/modules/evm/rpc/src/evm_api.rs +++ b/modules/evm/rpc/src/evm_api.rs @@ -18,32 +18,32 @@ //! EVM rpc interface. -use jsonrpc_core::Result; -use jsonrpc_derive::rpc; +use jsonrpsee::{ + core::RpcResult, + proc_macros::rpc, +}; use primitives::evm::BlockLimits; use sp_core::{Bytes, H160}; -pub use rpc_impl_EVMApi::gen_server::EVMApi as EVMApiServer; - use crate::call_request::{CallRequest, EstimateResourcesResponse}; /// EVM rpc interface. -#[rpc(server)] +#[rpc(client, server)] pub trait EVMApi { /// Call contract, returning the output data. - #[rpc(name = "evm_call")] - fn call(&self, _: CallRequest, at: Option) -> Result; + #[method(name = "evm_call")] + fn call(&self, call_request: CallRequest, at: Option) -> RpcResult; /// Estimate resources needed for execution of given contract. - #[rpc(name = "evm_estimateResources")] + #[method(name = "evm_estimateResources")] fn estimate_resources( &self, from: H160, unsigned_extrinsic: Bytes, at: Option, - ) -> Result; + ) -> RpcResult; /// Get max gas and storage limits per transaction - #[rpc(name = "evm_blockLimits")] - fn block_limits(&self, at: Option) -> Result; + #[method(name = "evm_blockLimits")] + fn block_limits(&self, at: Option) -> RpcResult; } diff --git a/modules/evm/rpc/src/lib.rs b/modules/evm/rpc/src/lib.rs index 5a1554b118..23fbd31a71 100644 --- a/modules/evm/rpc/src/lib.rs +++ b/modules/evm/rpc/src/lib.rs @@ -19,7 +19,11 @@ #![allow(clippy::upper_case_acronyms)] use frame_support::log; -use jsonrpc_core::{Error, ErrorCode, Result, Value}; +use jsonrpsee::{ + core::{async_trait, Error as JsonRpseeError, RpcResult}, + proc_macros::rpc, + types::error::{CallError, ErrorCode, ErrorObject}, +}; use pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi; use rustc_hex::ToHex; use sc_rpc_api::DenyUnsafe; @@ -40,52 +44,71 @@ pub use module_evm::{ExitError, ExitReason}; pub use module_evm_rpc_runtime_api::EVMRuntimeRPCApi; use primitives::evm::{BlockLimits, EstimateResourcesRequest}; -pub use crate::evm_api::{EVMApi as EVMApiT, EVMApiServer}; - mod call_request; -mod evm_api; +// mod evm_api; -fn internal_err(message: T) -> Error { - Error { - code: ErrorCode::InternalError, - message: message.to_string(), - data: None, - } +/// EVM rpc interface. +#[rpc(client, server)] +pub trait EVMApi { + /// Call contract, returning the output data. + #[method(name = "evm_call")] + fn call(&self, call_request: CallRequest, at: Option) -> RpcResult; + + /// Estimate resources needed for execution of given contract. + #[method(name = "evm_estimateResources")] + fn estimate_resources( + &self, + from: H160, + unsigned_extrinsic: Bytes, + at: Option, + ) -> RpcResult; + + /// Get max gas and storage limits per transaction + #[method(name = "evm_blockLimits")] + fn block_limits(&self, at: Option) -> RpcResult; +} + +fn internal_err(message: T) -> JsonRpseeError { + JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InternalError.code(), + message.to_string(), + None::<()>, + ))) } #[allow(dead_code)] -fn error_on_execution_failure(reason: &ExitReason, data: &[u8]) -> Result<()> { +fn error_on_execution_failure(reason: &ExitReason, data: &[u8]) -> RpcResult<()> { match reason { ExitReason::Succeed(_) => Ok(()), ExitReason::Error(e) => { if *e == ExitError::OutOfGas { // `ServerError(0)` will be useful in estimate gas - return Err(Error { - code: ErrorCode::ServerError(0), - message: "out of gas".to_string(), - data: None, - }); + Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::ServerError(0).code(), + "out of gas".to_string(), + None::<()>, + )))) + } else { + Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InternalError.code(), + format!("execution error: {:?}", e), + Some("0x".to_string()), + )))) } - Err(Error { - code: ErrorCode::InternalError, - message: format!("execution error: {:?}", e), - data: Some(Value::String("0x".to_string())), - }) } ExitReason::Revert(_) => { let message = "VM Exception while processing transaction: execution revert".to_string(); - Err(Error { - code: ErrorCode::InternalError, - message: decode_revert_message(data) - .map_or(message.clone(), |reason| format!("{} {}", message, reason)), - data: Some(Value::String(format!("0x{}", data.to_hex::()))), - }) + Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InternalError.code(), + decode_revert_message(data).map_or(message.clone(), |reason| format!("{} {}", message, reason)), + Some(format!("0x{}", data.to_hex::())), + )))) } - ExitReason::Fatal(e) => Err(Error { - code: ErrorCode::InternalError, - message: format!("execution fatal: {:?}", e), - data: Some(Value::String("0x".to_string())), - }), + ExitReason::Fatal(e) => Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InternalError.code(), + format!("execution fatal: {:?}", e), + Some("0x".to_string()), + )))), } } @@ -108,13 +131,13 @@ fn decode_revert_message(data: &[u8]) -> Option { None } -pub struct EVMApi { +pub struct EVMRpc { client: Arc, _deny_unsafe: DenyUnsafe, _marker: PhantomData<(B, Balance)>, } -impl EVMApi { +impl EVMRpc { pub fn new(client: Arc, _deny_unsafe: DenyUnsafe) -> Self { Self { client, @@ -128,7 +151,8 @@ fn to_u128(val: NumberOrHex) -> std::result::Result { val.into_u256().try_into().map_err(|_| ()) } -impl EVMApiT<::Hash> for EVMApi +#[async_trait] +impl EVMApiServer<::Hash> for EVMRpc where B: BlockT, C: ProvideRuntimeApi + HeaderBackend + Send + Sync + 'static, @@ -136,7 +160,7 @@ where C::Api: TransactionPaymentApi, Balance: Codec + MaybeDisplay + MaybeFromStr + Default + Send + Sync + 'static + TryFrom + Into, { - fn call(&self, request: CallRequest, at: Option<::Hash>) -> Result { + fn call(&self, request: CallRequest, at: Option<::Hash>) -> RpcResult { let api = self.client.runtime_api(); let hash = at.unwrap_or_else(|| self.client.info().best_hash); @@ -162,19 +186,19 @@ where let gas_limit = gas_limit.unwrap_or(gas_limit_cap); if gas_limit > gas_limit_cap { - return Err(Error { - code: ErrorCode::InvalidParams, - message: format!("GasLimit exceeds capped allowance: {}", gas_limit_cap), - data: None, - }); + return Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InvalidParams.code(), + format!("GasLimit exceeds capped allowance: {}", gas_limit_cap), + None::<()>, + )))); } let storage_limit = storage_limit.unwrap_or(block_limits.max_storage_limit); if storage_limit > block_limits.max_storage_limit { - return Err(Error { - code: ErrorCode::InvalidParams, - message: format!("StorageLimit exceeds allowance: {}", block_limits.max_storage_limit), - data: None, - }); + return Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InvalidParams.code(), + format!("StorageLimit exceeds allowance: {}", block_limits.max_storage_limit), + None::<()>, + )))); } let data = data.map(|d| d.0).unwrap_or_default(); @@ -184,10 +208,12 @@ where Ok(Default::default()) }; - let balance_value = balance_value.map_err(|_| Error { - code: ErrorCode::InvalidParams, - message: format!("Invalid parameter value: {:?}", value), - data: None, + let balance_value = balance_value.map_err(|_| { + JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InvalidParams.code(), + format!("Invalid parameter value: {:?}", value), + None::<()>, + ))) })?; match to { @@ -248,7 +274,7 @@ where from: H160, unsigned_extrinsic: Bytes, at: Option<::Hash>, - ) -> Result { + ) -> RpcResult { let hash = at.unwrap_or_else(|| self.client.info().best_hash); let block_id = BlockId::Hash(hash); @@ -299,7 +325,7 @@ where } // Create a helper to check if a gas allowance results in an executable transaction - let executable = move |request: CallRequest, gas: u64| -> Result { + let executable = move |request: CallRequest, gas: u64| -> RpcResult { let CallRequest { from, to, @@ -324,10 +350,12 @@ where Ok(Default::default()) }; - let balance_value = balance_value.map_err(|_| Error { - code: ErrorCode::InvalidParams, - message: format!("Invalid parameter value: {:?}", value), - data: None, + let balance_value = balance_value.map_err(|_| { + JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InvalidParams.code(), + format!("Invalid parameter value: {:?}", value), + None::<()>, + ))) })?; let (exit_reason, data, used_gas, used_storage) = match to { @@ -450,20 +478,24 @@ where } } - let uxt: ::Extrinsic = Decode::decode(&mut &*unsigned_extrinsic).map_err(|e| Error { - code: ErrorCode::InternalError, - message: "Unable to dry run extrinsic.".into(), - data: Some(format!("{:?}", e).into()), + let uxt: ::Extrinsic = Decode::decode(&mut &*unsigned_extrinsic).map_err(|e| { + JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InternalError.code(), + "Unable to dry run extrinsic.", + Some(e.to_string()), + ))) })?; let fee = self .client .runtime_api() .query_fee_details(&block_id, uxt, unsigned_extrinsic.len() as u32) - .map_err(|e| Error { - code: ErrorCode::InternalError, - message: "Unable to query fee details.".into(), - data: Some(format!("{:?}", e).into()), + .map_err(|e| { + JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InternalError.code(), + "Unable to query fee details.", + Some(e.to_string()), + ))) })?; let adjusted_weight_fee = fee @@ -477,7 +509,7 @@ where }) } - fn block_limits(&self, at: Option<::Hash>) -> Result { + fn block_limits(&self, at: Option<::Hash>) -> RpcResult { let hash = at.unwrap_or_else(|| self.client.info().best_hash); let block_id = BlockId::Hash(hash); @@ -495,10 +527,12 @@ where })?; let block_limits = if version > 1 { - self.client.runtime_api().block_limits(&block_id).map_err(|e| Error { - code: ErrorCode::InternalError, - message: "Unable to query block limits.".into(), - data: Some(format!("{:?}", e).into()), + self.client.runtime_api().block_limits(&block_id).map_err(|e| { + JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InternalError.code(), + "Unable to query block limits.", + Some(e.to_string()), + ))) })? } else { BlockLimits { diff --git a/node/Cargo.toml b/node/Cargo.toml index 213705237c..ce6d7fc7a3 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -10,7 +10,7 @@ name = "acala" path = "src/main.rs" [dependencies] -futures = "0.3.15" +futures = "0.3.21" parity-util-mem = { version = "0.11", default-features = false, features = ["jemalloc-global"] } acala-cli = { path = "cli" } acala-service = { path = "service" } diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs index b39b7687a7..31c02a88c7 100644 --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -23,7 +23,7 @@ use crate::cli::{Cli, RelayChainCli, Subcommand}; use codec::Encode; use cumulus_client_service::genesis::generate_genesis_block; use cumulus_primitives_core::ParaId; -use frame_benchmarking_cli::BenchmarkCmd; +use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use log::info; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, @@ -309,6 +309,9 @@ pub fn run() -> sc_cli::Result<()> { cmd.run(config, partials.client.clone(), db, storage) }), BenchmarkCmd::Overhead(_) => Err("Unsupported benchmarking command".into()), + BenchmarkCmd::Machine(cmd) => { + runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) + } } } }) diff --git a/node/e2e-tests/test-service/Cargo.toml b/node/e2e-tests/test-service/Cargo.toml index 6a8923bf8b..5526d13876 100644 --- a/node/e2e-tests/test-service/Cargo.toml +++ b/node/e2e-tests/test-service/Cargo.toml @@ -12,7 +12,7 @@ async-trait = "0.1.42" tokio = { version = "1.10", features = ["macros"] } criterion = { version = "0.3.5", features = [ "async_tokio" ] } parking_lot = "0.12.0" -jsonrpc-core = "18.0.0" +jsonrpsee = { version = "0.13.0", features = ["server", "macros"] } log = "0.4.17" futures = { package = "futures", version = "0.3", features = ["compat"] } hex-literal = "0.3.1" diff --git a/node/e2e-tests/test-service/src/builder.rs b/node/e2e-tests/test-service/src/builder.rs index 40c9d49ea5..97965dc893 100644 --- a/node/e2e-tests/test-service/src/builder.rs +++ b/node/e2e-tests/test-service/src/builder.rs @@ -201,7 +201,7 @@ impl TestNodeBuilder { collator_options, self.para_id, self.wrap_announce_block, - |_| Ok(Default::default()), + |_| Ok(RpcModule::new(())), self.consensus, self.seal_mode, ) @@ -294,7 +294,7 @@ pub fn node_config( }, state_cache_size: 67108864, state_cache_child_ratio: None, - state_pruning: PruningMode::ArchiveAll, + state_pruning: Some(PruningMode::ArchiveAll), keep_blocks: KeepBlocks::All, chain_spec: spec, wasm_method: WasmExecutionMethod::Compiled, @@ -313,6 +313,10 @@ pub fn node_config( rpc_cors: None, rpc_methods: Default::default(), rpc_max_payload: None, + rpc_max_request_size: None, + rpc_max_response_size: None, + rpc_id_provider: None, + rpc_max_subs_per_conn: None, ws_max_out_buffer_capacity: None, prometheus_config: None, telemetry_endpoints: None, diff --git a/node/e2e-tests/test-service/src/lib.rs b/node/e2e-tests/test-service/src/lib.rs index 5c740f3990..53f7495c08 100644 --- a/node/e2e-tests/test-service/src/lib.rs +++ b/node/e2e-tests/test-service/src/lib.rs @@ -21,6 +21,7 @@ mod builder; mod node; +mod rpc; mod service; use futures::channel::{mpsc, oneshot}; @@ -41,18 +42,19 @@ use cumulus_relay_chain_rpc_interface::RelayChainRPCInterface; use frame_system_rpc_runtime_api::AccountNonceApi; use futures::{channel::mpsc::Sender, SinkExt}; +use jsonrpsee::RpcModule; use parking_lot::Mutex; use polkadot_primitives::v2::{CollatorPair, Hash as PHash, HeadData, PersistedValidationData}; -use polkadot_service::ProvideRuntimeApi; 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}, + rpc::{ManualSeal, ManualSealApiServer}, EngineCommand, }; use sc_executor::NativeElseWasmExecutor; use sc_network::{config::TransportConfig, multiaddr, NetworkService}; +pub use sc_rpc::SubscriptionTaskExecutor; use sc_service::{ config::{ DatabaseSource, KeepBlocks, KeystoreConfig, MultiaddrWithPeerId, NetworkConfiguration, OffchainWorkerConfig, @@ -62,9 +64,10 @@ use sc_service::{ TFullCallExecutor, TFullClient, TaskManager, }; use sc_transaction_pool_api::TransactionPool; +use sp_api::ProvideRuntimeApi; use sp_api::{OverlayedChanges, StorageTransactionCache}; use sp_arithmetic::traits::SaturatedConversion; -use sp_blockchain::HeaderBackend; +use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_core::{ExecutionContext, Pair, H256}; use sp_keyring::Sr25519Keyring; use sp_runtime::{ diff --git a/node/e2e-tests/test-service/src/rpc.rs b/node/e2e-tests/test-service/src/rpc.rs new file mode 100644 index 0000000000..1cb767edee --- /dev/null +++ b/node/e2e-tests/test-service/src/rpc.rs @@ -0,0 +1,73 @@ +// 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 . + +//! Acala-specific RPCs implementation. + +#![warn(missing_docs)] +use super::*; + +// use node_primitives::{Block, Hash}; +// use sp_api::ProvideRuntimeApi; +// use sp_block_builder::BlockBuilder; +// use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; +// pub use sc_rpc::SubscriptionTaskExecutor; + +/// substrate rpc +// use sc_transaction_pool_api::TransactionPool; +// pub use sc_rpc::dev::Dev; +// pub use sc_rpc_api::{dev::DevApiServer, DenyUnsafe}; +// use sc_consensus_manual_seal::rpc::{EngineCommand, ManualSeal, ManualSealApiServer}; +// use substrate_frame_rpc_system::{SystemApiServer, SystemRpc}; +// use pallet_transaction_payment_rpc::{TransactionPaymentApiServer, TransactionPaymentRpc}; + +/// A type representing all RPC extensions. +pub type RpcExtension = jsonrpsee::RpcModule<()>; + +/// Full client dependencies. +pub struct FullDeps { + /// The client instance to use. + pub client: Arc, + /// Manual seal command sink + pub command_sink: futures::channel::mpsc::Sender>, + pub _marker: std::marker::PhantomData, +} + +/// Instantiate all Full RPC extensions. +pub fn create_full(deps: FullDeps) -> Result> +where + C: ProvideRuntimeApi + sc_client_api::BlockBackend + Send + Sync + 'static, + C: HeaderBackend + HeaderMetadata, + // C::Api: substrate_frame_rpc_system::AccountNonceApi, + // C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, + // C::Api: BlockBuilder, + // P: TransactionPool + Sync + Send + 'static, +{ + let mut module = RpcExtension::new(()); + let FullDeps { command_sink, .. } = deps; + + // module.merge(SystemRpc::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; + // module.merge(TransactionPaymentRpc::new(client.clone()).into_rpc())?; + + module.merge( + // We provide the rpc handler with the sending end of the channel to allow the rpc + // send EngineCommands to the background block authorship task. + ManualSeal::new(command_sink).into_rpc(), + )?; + + Ok(module) +} diff --git a/node/e2e-tests/test-service/src/service.rs b/node/e2e-tests/test-service/src/service.rs index 3f6dcbebda..c140183a62 100644 --- a/node/e2e-tests/test-service/src/service.rs +++ b/node/e2e-tests/test-service/src/service.rs @@ -343,6 +343,24 @@ pub async fn start_dev_node( } } + // let rpc_sinker = |rpc_sink: Sender>| -> Result, Box> { let mut io = RpcModule::new(()); + // io.merge(ManualSeal::new(rpc_sink).into_rpc())?; + // Ok(io) + // }; + + let rpc_builder = { + let client = client.clone(); + move |_, _| { + let deps = crate::rpc::FullDeps { + client: client.clone(), + command_sink: rpc_sink.clone(), + _marker: Default::default(), + }; + crate::rpc::create_full(deps).map_err(Into::into) + } + }; + let rpc_handlers = sc_service::spawn_tasks(SpawnTasksParams { config, client: client.clone(), @@ -350,11 +368,7 @@ pub async fn start_dev_node( 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) - }), + rpc_builder: Box::new(rpc_builder), network: network.clone(), system_rpc_tx, telemetry: None, @@ -426,7 +440,7 @@ pub async fn start_node_impl( Sender>, )> where - RB: Fn(Arc) -> Result, sc_service::Error> + Send + 'static, + RB: Fn(Arc) -> Result, sc_service::Error> + Send + 'static, { if matches!(parachain_config.role, Role::Light) { return Err("Light client not supported!".into()); @@ -473,14 +487,14 @@ where warp_sync: None, })?; - let rpc_extensions_builder = { + let rpc_builder = { let client = client.clone(); - Box::new(move |_, _| rpc_ext_builder(client.clone())) + move |_, _| rpc_ext_builder(client.clone()) }; let rpc_handlers = sc_service::spawn_tasks(sc_service::SpawnTasksParams { - rpc_extensions_builder, + rpc_builder: Box::new(rpc_builder), client: client.clone(), transaction_pool: transaction_pool.clone(), task_manager: &mut task_manager, diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 1f183a5f3b..f14259c2c2 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -11,9 +11,9 @@ hex-literal = "0.3.1" serde = { version = "1.0.136", features = ["derive"] } serde_json = "1.0.68" codec = { package = "parity-scale-codec", version = "3.0.0" } -futures = "0.3.15" +futures = "0.3.21" hex = "0.4.0" -jsonrpc-core = "18.0.0" +jsonrpsee = { version = "0.13.0", features = ["server", "macros"] } coins-bip32 = "0.6.0" coins-bip39 = "0.6.0" diff --git a/node/service/src/client.rs b/node/service/src/client.rs index ac2c241028..210a2b9991 100644 --- a/node/service/src/client.rs +++ b/node/service/src/client.rs @@ -268,6 +268,17 @@ impl sc_client_api::BlockBackend for Client { Self::Acala(client) => client.block_indexed_body(id), } } + + fn requires_full_sync(&self) -> bool { + match self { + #[cfg(feature = "with-mandala-runtime")] + Self::Mandala(client) => client.requires_full_sync(), + #[cfg(feature = "with-karura-runtime")] + Self::Karura(client) => client.requires_full_sync(), + #[cfg(feature = "with-acala-runtime")] + Self::Acala(client) => client.requires_full_sync(), + } + } } impl sc_client_api::StorageProvider for Client { diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index b9a6ad5cd9..d46b765845 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -34,6 +34,7 @@ use cumulus_primitives_parachain_inherent::{MockValidationDataInherentDataProvid use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain; use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult}; use cumulus_relay_chain_rpc_interface::RelayChainRPCInterface; +use jsonrpsee::RpcModule; use sc_consensus::LongestChain; use sc_consensus_aura::ImportQueueParams; use sc_executor::WasmExecutor; @@ -360,7 +361,13 @@ async fn build_relay_chain_interface( Arc::new(RelayChainRPCInterface::new(relay_chain_url).await?) as Arc<_>, None, )), - None => build_inprocess_relay_chain(polkadot_config, parachain_config, telemetry_worker_handle, task_manager), + None => build_inprocess_relay_chain( + polkadot_config, + parachain_config, + telemetry_worker_handle, + task_manager, + None, + ), } } @@ -379,9 +386,7 @@ async fn start_node_impl( build_consensus: BIC, ) -> sc_service::error::Result<(TaskManager, Arc>)> where - RB: Fn(Arc>) -> Result, sc_service::Error> - + Send - + 'static, + RB: Fn(Arc>) -> Result, sc_service::Error> + Send + 'static, RuntimeApi: ConstructRuntimeApi> + Send + Sync + 'static, RuntimeApi::RuntimeApi: RuntimeApiCollection>, RuntimeApi::RuntimeApi: sp_consensus_aura::AuraApi, @@ -439,11 +444,11 @@ where warp_sync: None, })?; - let rpc_extensions_builder = { + let rpc_builder = { let client = client.clone(); let transaction_pool = transaction_pool.clone(); - Box::new(move |deny_unsafe, _| { + move |deny_unsafe, _| { let deps = acala_rpc::FullDeps { client: client.clone(), pool: transaction_pool.clone(), @@ -451,8 +456,8 @@ where command_sink: None, }; - Ok(acala_rpc::create_full(deps)) - }) + acala_rpc::create_full(deps).map_err(Into::into) + } }; if parachain_config.offchain_worker.enabled { @@ -465,7 +470,7 @@ where }; sc_service::spawn_tasks(sc_service::SpawnTasksParams { - rpc_extensions_builder, + rpc_builder: Box::new(rpc_builder), client: client.clone(), transaction_pool: transaction_pool.clone(), task_manager: &mut task_manager, @@ -551,7 +556,7 @@ where polkadot_config, collator_options, id, - |_| Ok(Default::default()), + |_| Ok(RpcModule::new(())), |client, prometheus_registry, telemetry, @@ -880,7 +885,7 @@ fn inner_mandala_dev(config: Configuration, instant_sealing: bool) -> Result Result; +pub type RpcExtension = jsonrpsee::RpcModule<()>; /// Full client dependencies. pub struct FullDeps { @@ -46,11 +54,11 @@ pub struct FullDeps { /// Whether to deny unsafe calls pub deny_unsafe: DenyUnsafe, /// Manual seal command sink - pub command_sink: Option>>, + pub command_sink: Option>>, } /// Instantiate all Full RPC extensions. -pub fn create_full(deps: FullDeps) -> RpcExtension +pub fn create_full(deps: FullDeps) -> Result> where C: ProvideRuntimeApi + sc_client_api::BlockBackend, C: HeaderBackend + HeaderMetadata, @@ -63,12 +71,7 @@ where C::Api: BlockBuilder, P: TransactionPool + Sync + Send + 'static, { - use orml_oracle_rpc::{Oracle, OracleApi}; - use orml_tokens_rpc::{Tokens, TokensApi}; - use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApi}; - use substrate_frame_rpc_system::{FullSystem, SystemApi}; - - let mut io = jsonrpc_core::IoHandler::default(); + let mut module = RpcExtension::new(()); let FullDeps { client, pool, @@ -76,29 +79,24 @@ where command_sink, } = deps; - io.extend_with(SystemApi::to_delegate(FullSystem::new( - client.clone(), - pool, - deny_unsafe, - ))); - io.extend_with(TransactionPaymentApi::to_delegate(TransactionPayment::new( - client.clone(), - ))); + module.merge(SystemRpc::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; + module.merge(TransactionPaymentRpc::new(client.clone()).into_rpc())?; + // Making synchronous calls in light client freezes the browser currently, // more context: https://github.com/paritytech/substrate/pull/3480 // These RPCs should use an asynchronous caller instead. - io.extend_with(OracleApi::to_delegate(Oracle::new(client.clone()))); - io.extend_with(TokensApi::to_delegate(Tokens::new(client.clone()))); - io.extend_with(EVMApiServer::to_delegate(EVMApi::new(client.clone(), deny_unsafe))); - io.extend_with(DevApi::to_delegate(Dev::new(client, deny_unsafe))); + module.merge(OracleRpc::new(client.clone()).into_rpc())?; + module.merge(TokensRpc::new(client.clone()).into_rpc())?; + module.merge(EVMRpc::new(client.clone(), deny_unsafe).into_rpc())?; + module.merge(Dev::new(client, deny_unsafe).into_rpc())?; if let Some(command_sink) = command_sink { - io.extend_with( + module.merge( // We provide the rpc handler with the sending end of the channel to allow the rpc // send EngineCommands to the background block authorship task. - ManualSealApi::to_delegate(ManualSeal::new(command_sink)), - ); + ManualSeal::new(command_sink).into_rpc(), + )?; } - io + Ok(module) } diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index 02a0236097..ae7d8f5ec5 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -142,7 +142,7 @@ polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "6c358483d8e119cd3b631ebb14d3b0cf0041d94e" } +xcm-emulator = { git = "https://github.com/zqhxuyuan/xcm-simulator", rev = "d257f048b5952d988efcc6d51bdde274a878696f" } acala-service = { path = "../../node/service", features = ["with-all-runtime"] } From ebce4d73bb7db3031c3684520ab8d773029b2ae8 Mon Sep 17 00:00:00 2001 From: zqh Date: Sun, 22 May 2022 00:52:53 +0800 Subject: [PATCH 03/28] update orml --- orml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orml b/orml index 742d7ed0c7..397cee1771 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 742d7ed0c768b5ef8aeddf51b4f1715d649c0dc6 +Subproject commit 397cee177102580316c6e2b9bb8ade6165dab43d From fe733225c1120a082ec6d7c9beba3bf85a4af10a Mon Sep 17 00:00:00 2001 From: zqh Date: Sun, 22 May 2022 17:12:36 +0800 Subject: [PATCH 04/28] fix xcm test --- Cargo.lock | 1 + orml | 2 +- runtime/integration-tests/Cargo.toml | 1 + .../relaychain/kusama_cross_chain_transfer.rs | 9 +++++---- .../src/relaychain/statemine.rs | 16 ++++++---------- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56ec0d44a8..01accdf664 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10715,6 +10715,7 @@ dependencies = [ "hex-literal", "karura-runtime", "kusama-runtime", + "kusama-runtime-constants 0.9.22 (git+https://github.com/paritytech/polkadot?branch=release-v0.9.22)", "libsecp256k1", "log", "mandala-runtime", diff --git a/orml b/orml index 397cee1771..563bace824 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 397cee177102580316c6e2b9bb8ade6165dab43d +Subproject commit 563bace824e2c7d05657512ebf0bb529edd01d8a diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index ae7d8f5ec5..eb6cde2678 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -140,6 +140,7 @@ statemine-runtime = { git = "https://github.com/paritytech/cumulus", branch = "p polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } polkadot-runtime-parachains = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } +kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } xcm-emulator = { git = "https://github.com/zqhxuyuan/xcm-simulator", rev = "d257f048b5952d988efcc6d51bdde274a878696f" } 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 600ed0fac8..149343c66d 100644 --- a/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/kusama_cross_chain_transfer.rs @@ -82,9 +82,10 @@ fn transfer_to_relay_chain() { KusamaNet::execute_with(|| { assert_eq!( kusama_runtime::Balances::free_balance(&AccountId::from(BOB)), - // v0.9.18: 106_666_660 - // v0.9.22: 165_940_672 - 999_834_059_328 + // v0.9.18: 1_000_000_000_000-999_893_333_340=106_666_660 + // v0.9.19: 1_000_000_000_000-999_834_059_328=165_940_672 + // v0.9.22: 1_000_000_000_000-999_988_476_752=11_523_248 + 999_988_476_752 ); }); } @@ -623,7 +624,7 @@ fn unspent_xcm_fee_is_returned_correctly() { // Unspent fund from the 1 dollar XCM fee is returned to the sovereign account. assert_eq!( kusama_runtime::Balances::free_balance(¶chain_account.clone()), - 1_000 * dollar(RELAY_CHAIN_CURRENCY) + 999_377_722_480 + 1_000 * dollar(RELAY_CHAIN_CURRENCY) + 999_601_783_448 ); }); } diff --git a/runtime/integration-tests/src/relaychain/statemine.rs b/runtime/integration-tests/src/relaychain/statemine.rs index 36a484f722..2e03cfb38b 100644 --- a/runtime/integration-tests/src/relaychain/statemine.rs +++ b/runtime/integration-tests/src/relaychain/statemine.rs @@ -33,7 +33,7 @@ pub const UNIT: Balance = 1_000_000_000_000; pub const TEN: Balance = 10_000_000_000_000; pub const FEE_WEIGHT: Balance = 4_000_000_000; pub const FEE_STATEMINE: Balance = 10_666_664; -pub const FEE_KUSAMA: Balance = 165_940_672; +pub const FEE_KUSAMA: Balance = 11_523_248; fn init_statemine_xcm_interface() { let xcm_operation = @@ -101,6 +101,7 @@ fn transfer_from_relay_chain() { #[test] fn karura_statemine_transfer_works() { + env_logger::init(); TestNet::reset(); let para_2000: AccountId = Sibling::from(2000).into_account(); let child_2000: AccountId = ParaId::from(2000).into_account(); @@ -108,12 +109,13 @@ fn karura_statemine_transfer_works() { // minimum asset should be: FEE_WEIGHT+FEE_KUSAMA+max(KUSAMA_ED,STATEMINE_ED+FEE_STATEMINE). // but due to current half fee, sender asset should at lease: FEE_WEIGHT + 2 * FEE_KUSAMA - let asset = FEE_WEIGHT + 2 * FEE_KUSAMA; + let asset = FEE_WEIGHT + 2 * 31_488_122; statemine_side(UNIT); KusamaNet::execute_with(|| { let _ = kusama_runtime::Balances::make_free_balance_be(&child_2000, TEN); + assert_eq!(0, kusama_runtime::Balances::free_balance(&child_1000)); }); karura_side(asset); @@ -123,10 +125,7 @@ fn karura_statemine_transfer_works() { TEN - (asset - FEE_WEIGHT), kusama_runtime::Balances::free_balance(&child_2000) ); - assert_eq!( - asset - FEE_WEIGHT - FEE_KUSAMA, - kusama_runtime::Balances::free_balance(&child_1000) - ); + assert_eq!(33_333_334, kusama_runtime::Balances::free_balance(&child_1000)); }); Statemine::execute_with(|| { @@ -140,10 +139,7 @@ fn karura_statemine_transfer_works() { UNIT + FEE_WEIGHT - FEE_STATEMINE, Balances::free_balance(&AccountId::from(BOB)) ); - assert_eq!( - UNIT + asset - FEE_WEIGHT - FEE_KUSAMA - FEE_STATEMINE - FEE_WEIGHT, - Balances::free_balance(¶_2000) - ); + assert_eq!(996022666670, Balances::free_balance(¶_2000)); }); } From 87f92e684087e896fe22e647cef91ee3bfea412c Mon Sep 17 00:00:00 2001 From: zqh Date: Sun, 22 May 2022 20:14:29 +0800 Subject: [PATCH 05/28] fix e2e test --- modules/evm/src/lib.rs | 2 +- node/e2e-tests/test-service/tests/parachain.rs | 4 ++-- node/e2e-tests/test-service/tests/standalone.rs | 10 +++++----- rpc/src/lib.rs | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/evm/src/lib.rs b/modules/evm/src/lib.rs index 0c7b93c583..a9aeb405ca 100644 --- a/modules/evm/src/lib.rs +++ b/modules/evm/src/lib.rs @@ -1644,7 +1644,7 @@ impl Pallet { let user = T::AddressMapping::get_account_id(caller); let contract_acc = T::AddressMapping::get_account_id(contract); - let amount = Self::get_storage_deposit_per_byte().saturating_mul((storage.abs() as u32).into()); + let amount = Self::get_storage_deposit_per_byte().saturating_mul(storage.unsigned_abs().into()); log::debug!( target: "evm", diff --git a/node/e2e-tests/test-service/tests/parachain.rs b/node/e2e-tests/test-service/tests/parachain.rs index 6a027106fe..b39b3504e5 100644 --- a/node/e2e-tests/test-service/tests/parachain.rs +++ b/node/e2e-tests/test-service/tests/parachain.rs @@ -23,7 +23,7 @@ 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] +#[substrate_test_utils::test(flavor = "multi_thread")] #[ignore] async fn test_full_node_catching_up() { let mut builder = sc_cli::LoggerBuilder::new(""); @@ -71,7 +71,7 @@ async fn test_full_node_catching_up() { /// 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] +#[substrate_test_utils::test(flavor = "multi_thread")] #[ignore] async fn simple_balances_test() { let mut builder = sc_cli::LoggerBuilder::new(""); diff --git a/node/e2e-tests/test-service/tests/standalone.rs b/node/e2e-tests/test-service/tests/standalone.rs index 3d3ac84b7f..ed6ac8f5fb 100644 --- a/node/e2e-tests/test-service/tests/standalone.rs +++ b/node/e2e-tests/test-service/tests/standalone.rs @@ -27,7 +27,7 @@ use sp_keyring::Sr25519Keyring::*; use sp_runtime::{traits::IdentifyAccount, MultiAddress, MultiSigner}; use test_service::{ensure_event, SealMode}; -#[substrate_test_utils::test] +#[substrate_test_utils::test(flavor = "multi_thread")] #[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(""); @@ -61,7 +61,7 @@ async fn simple_balances_dev_test() { assert_eq!(old_balance + amount, new_balance); } -#[substrate_test_utils::test] +#[substrate_test_utils::test(flavor = "multi_thread")] #[ignore] async fn transaction_pool_priority_order_test() { let mut builder = sc_cli::LoggerBuilder::new(""); @@ -138,7 +138,7 @@ async fn transaction_pool_priority_order_test() { /// this testcase will take too long to run, test with command: /// cargo test --release --package test-service -- evm_fill_block_test --nocapture --include-ignored -#[substrate_test_utils::test] +#[substrate_test_utils::test(flavor = "multi_thread")] #[ignore] async fn evm_fill_block_test() { let mut builder = sc_cli::LoggerBuilder::new(""); @@ -204,7 +204,7 @@ async fn evm_fill_block_test() { /// this testcase will take too long to run, test with command: /// cargo test --release --package test-service -- evm_create_fill_block_test --nocapture /// --include-ignored -#[substrate_test_utils::test] +#[substrate_test_utils::test(flavor = "multi_thread")] #[ignore] async fn evm_create_fill_block_test() { /* @@ -257,7 +257,7 @@ async fn evm_create_fill_block_test() { /// this testcase will take too long to run, test with command: /// cargo test --release --package test-service -- evm_gas_limit_test --nocapture --include-ignored -#[substrate_test_utils::test] +#[substrate_test_utils::test(flavor = "multi_thread")] #[ignore] async fn evm_gas_limit_test() { /* diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index f2ab7b9fdd..c42a4186c2 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -79,7 +79,7 @@ where command_sink, } = deps; - module.merge(SystemRpc::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; + module.merge(SystemRpc::new(client.clone(), pool, deny_unsafe).into_rpc())?; module.merge(TransactionPaymentRpc::new(client.clone()).into_rpc())?; // Making synchronous calls in light client freezes the browser currently, From 4977267e47632b79311a6e00175caa995b8e18c9 Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 24 May 2022 17:13:31 +0800 Subject: [PATCH 06/28] update stable-asset and orml --- ecosystem-modules/stable-asset | 2 +- modules/evm/rpc/src/evm_api.rs | 49 ---------------------- modules/evm/rpc/src/lib.rs | 7 ++-- node/e2e-tests/test-service/src/rpc.rs | 23 +--------- node/e2e-tests/test-service/src/service.rs | 6 --- orml | 2 +- rpc/src/lib.rs | 14 +++---- 7 files changed, 13 insertions(+), 90 deletions(-) delete mode 100644 modules/evm/rpc/src/evm_api.rs diff --git a/ecosystem-modules/stable-asset b/ecosystem-modules/stable-asset index bc7a43e0c6..83dc2a7787 160000 --- a/ecosystem-modules/stable-asset +++ b/ecosystem-modules/stable-asset @@ -1 +1 @@ -Subproject commit bc7a43e0c620c89b1cd98597fe4b8de6646b9083 +Subproject commit 83dc2a7787c10fdcfc1af851792ce1bf54408354 diff --git a/modules/evm/rpc/src/evm_api.rs b/modules/evm/rpc/src/evm_api.rs deleted file mode 100644 index 0015f29b69..0000000000 --- a/modules/evm/rpc/src/evm_api.rs +++ /dev/null @@ -1,49 +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 . - -//! EVM rpc interface. - -use jsonrpsee::{ - core::RpcResult, - proc_macros::rpc, -}; -use primitives::evm::BlockLimits; -use sp_core::{Bytes, H160}; - -use crate::call_request::{CallRequest, EstimateResourcesResponse}; - -/// EVM rpc interface. -#[rpc(client, server)] -pub trait EVMApi { - /// Call contract, returning the output data. - #[method(name = "evm_call")] - fn call(&self, call_request: CallRequest, at: Option) -> RpcResult; - - /// Estimate resources needed for execution of given contract. - #[method(name = "evm_estimateResources")] - fn estimate_resources( - &self, - from: H160, - unsigned_extrinsic: Bytes, - at: Option, - ) -> RpcResult; - - /// Get max gas and storage limits per transaction - #[method(name = "evm_blockLimits")] - fn block_limits(&self, at: Option) -> RpcResult; -} diff --git a/modules/evm/rpc/src/lib.rs b/modules/evm/rpc/src/lib.rs index 23fbd31a71..35ab687da8 100644 --- a/modules/evm/rpc/src/lib.rs +++ b/modules/evm/rpc/src/lib.rs @@ -45,7 +45,6 @@ pub use module_evm_rpc_runtime_api::EVMRuntimeRPCApi; use primitives::evm::{BlockLimits, EstimateResourcesRequest}; mod call_request; -// mod evm_api; /// EVM rpc interface. #[rpc(client, server)] @@ -131,13 +130,13 @@ fn decode_revert_message(data: &[u8]) -> Option { None } -pub struct EVMRpc { +pub struct EVM { client: Arc, _deny_unsafe: DenyUnsafe, _marker: PhantomData<(B, Balance)>, } -impl EVMRpc { +impl EVM { pub fn new(client: Arc, _deny_unsafe: DenyUnsafe) -> Self { Self { client, @@ -152,7 +151,7 @@ fn to_u128(val: NumberOrHex) -> std::result::Result { } #[async_trait] -impl EVMApiServer<::Hash> for EVMRpc +impl EVMApiServer<::Hash> for EVM where B: BlockT, C: ProvideRuntimeApi + HeaderBackend + Send + Sync + 'static, diff --git a/node/e2e-tests/test-service/src/rpc.rs b/node/e2e-tests/test-service/src/rpc.rs index 1cb767edee..36487e781f 100644 --- a/node/e2e-tests/test-service/src/rpc.rs +++ b/node/e2e-tests/test-service/src/rpc.rs @@ -16,25 +16,11 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -//! Acala-specific RPCs implementation. +//! Test service specific RPCs implementation. #![warn(missing_docs)] use super::*; -// use node_primitives::{Block, Hash}; -// use sp_api::ProvideRuntimeApi; -// use sp_block_builder::BlockBuilder; -// use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; -// pub use sc_rpc::SubscriptionTaskExecutor; - -/// substrate rpc -// use sc_transaction_pool_api::TransactionPool; -// pub use sc_rpc::dev::Dev; -// pub use sc_rpc_api::{dev::DevApiServer, DenyUnsafe}; -// use sc_consensus_manual_seal::rpc::{EngineCommand, ManualSeal, ManualSealApiServer}; -// use substrate_frame_rpc_system::{SystemApiServer, SystemRpc}; -// use pallet_transaction_payment_rpc::{TransactionPaymentApiServer, TransactionPaymentRpc}; - /// A type representing all RPC extensions. pub type RpcExtension = jsonrpsee::RpcModule<()>; @@ -52,17 +38,10 @@ pub fn create_full(deps: FullDeps) -> Result + sc_client_api::BlockBackend + Send + Sync + 'static, C: HeaderBackend + HeaderMetadata, - // C::Api: substrate_frame_rpc_system::AccountNonceApi, - // C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, - // C::Api: BlockBuilder, - // P: TransactionPool + Sync + Send + 'static, { let mut module = RpcExtension::new(()); let FullDeps { command_sink, .. } = deps; - // module.merge(SystemRpc::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; - // module.merge(TransactionPaymentRpc::new(client.clone()).into_rpc())?; - module.merge( // We provide the rpc handler with the sending end of the channel to allow the rpc // send EngineCommands to the background block authorship task. diff --git a/node/e2e-tests/test-service/src/service.rs b/node/e2e-tests/test-service/src/service.rs index c140183a62..43d590542d 100644 --- a/node/e2e-tests/test-service/src/service.rs +++ b/node/e2e-tests/test-service/src/service.rs @@ -343,12 +343,6 @@ pub async fn start_dev_node( } } - // let rpc_sinker = |rpc_sink: Sender>| -> Result, Box> { let mut io = RpcModule::new(()); - // io.merge(ManualSeal::new(rpc_sink).into_rpc())?; - // Ok(io) - // }; - let rpc_builder = { let client = client.clone(); move |_, _| { diff --git a/orml b/orml index 563bace824..a0048faf98 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 563bace824e2c7d05657512ebf0bb529edd01d8a +Subproject commit a0048faf984237cf8f03cb6f6e32800279e7b37e diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index c42a4186c2..2b81e86ac4 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -27,20 +27,20 @@ use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use std::sync::Arc; +/// substrate rpc use pallet_transaction_payment_rpc::{TransactionPaymentApiServer, TransactionPaymentRpc}; use sc_consensus_manual_seal::rpc::{EngineCommand, ManualSeal, ManualSealApiServer}; pub use sc_rpc::dev::Dev; pub use sc_rpc_api::{dev::DevApiServer, DenyUnsafe}; -/// substrate rpc use sc_transaction_pool_api::TransactionPool; use substrate_frame_rpc_system::{SystemApiServer, SystemRpc}; /// orml rpc -use orml_oracle_rpc::{OracleApiServer, OracleRpc}; -use orml_tokens_rpc::{TokensApiServer, TokensRpc}; +use orml_oracle_rpc::{Oracle, OracleApiServer}; +use orml_tokens_rpc::{Tokens, TokensApiServer}; /// module rpc -pub use evm_rpc::{EVMApiServer, EVMRpc, EVMRuntimeRPCApi}; +pub use evm_rpc::{EVMApiServer, EVMRuntimeRPCApi, EVM}; /// A type representing all RPC extensions. pub type RpcExtension = jsonrpsee::RpcModule<()>; @@ -85,9 +85,9 @@ where // Making synchronous calls in light client freezes the browser currently, // more context: https://github.com/paritytech/substrate/pull/3480 // These RPCs should use an asynchronous caller instead. - module.merge(OracleRpc::new(client.clone()).into_rpc())?; - module.merge(TokensRpc::new(client.clone()).into_rpc())?; - module.merge(EVMRpc::new(client.clone(), deny_unsafe).into_rpc())?; + module.merge(Oracle::new(client.clone()).into_rpc())?; + module.merge(Tokens::new(client.clone()).into_rpc())?; + module.merge(EVM::new(client.clone(), deny_unsafe).into_rpc())?; module.merge(Dev::new(client, deny_unsafe).into_rpc())?; if let Some(command_sink) = command_sink { From 1641de02bce6e92ddd05842dcb7e7bc23ba215e2 Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 24 May 2022 17:21:09 +0800 Subject: [PATCH 07/28] update orml fmt --- orml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orml b/orml index a0048faf98..a5965f801d 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit a0048faf984237cf8f03cb6f6e32800279e7b37e +Subproject commit a5965f801d564e9ba04b1f57441b13082c18d1c3 From b1953ae91a8a61ef4c633a36febf01bfc19f4f4e Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 24 May 2022 22:37:37 +0800 Subject: [PATCH 08/28] update evm-tests and merge orml master --- evm-tests | 2 +- modules/evm/src/bench/mock.rs | 2 +- modules/evm/src/mock.rs | 2 +- modules/honzon/src/mock.rs | 2 +- orml | 2 +- runtime/common/src/mock.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/evm-tests b/evm-tests index 49e31727de..b823635776 160000 --- a/evm-tests +++ b/evm-tests @@ -1 +1 @@ -Subproject commit 49e31727de2db916f9f4b9d08b2f7d9aa1217be6 +Subproject commit b823635776f40ed3dff7d4974f345572c8426cf7 diff --git a/modules/evm/src/bench/mock.rs b/modules/evm/src/bench/mock.rs index ae665cba59..35a79aab24 100644 --- a/modules/evm/src/bench/mock.rs +++ b/modules/evm/src/bench/mock.rs @@ -109,7 +109,7 @@ impl orml_tokens::Config for Runtime { type OnDust = (); type MaxLocks = (); type MaxReserves = (); - type ReserveIdentifier = [u8; 8]; + type ReserveIdentifier = ReserveIdentifier; type DustRemovalWhitelist = Nothing; } diff --git a/modules/evm/src/mock.rs b/modules/evm/src/mock.rs index bf1c9b9012..ef7b5f3fec 100644 --- a/modules/evm/src/mock.rs +++ b/modules/evm/src/mock.rs @@ -105,7 +105,7 @@ impl orml_tokens::Config for Runtime { type OnDust = (); type MaxLocks = (); type MaxReserves = (); - type ReserveIdentifier = [u8; 8]; + type ReserveIdentifier = ReserveIdentifier; type DustRemovalWhitelist = Nothing; } diff --git a/modules/honzon/src/mock.rs b/modules/honzon/src/mock.rs index f4730f8ad7..6dc788d48b 100644 --- a/modules/honzon/src/mock.rs +++ b/modules/honzon/src/mock.rs @@ -99,7 +99,7 @@ impl orml_tokens::Config for Runtime { type OnDust = (); type MaxLocks = (); type MaxReserves = (); - type ReserveIdentifier = [u8; 8]; + type ReserveIdentifier = ReserveIdentifier; type DustRemovalWhitelist = Nothing; } diff --git a/orml b/orml index a5965f801d..4af3a45683 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit a5965f801d564e9ba04b1f57441b13082c18d1c3 +Subproject commit 4af3a4568398341816632c0d5523e879e251be3a diff --git a/runtime/common/src/mock.rs b/runtime/common/src/mock.rs index 536ceb8225..9b900d3d46 100644 --- a/runtime/common/src/mock.rs +++ b/runtime/common/src/mock.rs @@ -111,7 +111,7 @@ impl orml_tokens::Config for TestRuntime { type OnDust = (); type MaxLocks = (); type MaxReserves = (); - type ReserveIdentifier = [u8; 8]; + type ReserveIdentifier = ReserveIdentifier; type DustRemovalWhitelist = Nothing; } From 0e35305b6425e1bf029d372c4a3b2fe364e24917 Mon Sep 17 00:00:00 2001 From: zqh Date: Tue, 24 May 2022 23:21:34 +0800 Subject: [PATCH 09/28] fix xcm-interface test --- runtime/integration-tests/src/relaychain/relay_chain.rs | 2 +- runtime/integration-tests/src/relaychain/statemine.rs | 1 - runtime/integration-tests/src/xcm_interface.rs | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/runtime/integration-tests/src/relaychain/relay_chain.rs b/runtime/integration-tests/src/relaychain/relay_chain.rs index 3785497800..a57ef00181 100644 --- a/runtime/integration-tests/src/relaychain/relay_chain.rs +++ b/runtime/integration-tests/src/relaychain/relay_chain.rs @@ -158,7 +158,7 @@ mod karura_tests { // Only leftover XCM fee remains in the account assert_eq!( kusama_runtime::Balances::free_balance(¶chain_account.clone()), - 9_377_722_480 + 9_601_783_448 ); }); } diff --git a/runtime/integration-tests/src/relaychain/statemine.rs b/runtime/integration-tests/src/relaychain/statemine.rs index 2e03cfb38b..38e1956a5a 100644 --- a/runtime/integration-tests/src/relaychain/statemine.rs +++ b/runtime/integration-tests/src/relaychain/statemine.rs @@ -33,7 +33,6 @@ pub const UNIT: Balance = 1_000_000_000_000; pub const TEN: Balance = 10_000_000_000_000; pub const FEE_WEIGHT: Balance = 4_000_000_000; pub const FEE_STATEMINE: Balance = 10_666_664; -pub const FEE_KUSAMA: Balance = 11_523_248; fn init_statemine_xcm_interface() { let xcm_operation = diff --git a/runtime/integration-tests/src/xcm_interface.rs b/runtime/integration-tests/src/xcm_interface.rs index 73a343f8d0..900d52b098 100644 --- a/runtime/integration-tests/src/xcm_interface.rs +++ b/runtime/integration-tests/src/xcm_interface.rs @@ -32,7 +32,7 @@ use xcm_emulator::TestExt; // Weight and fee cost is related to the XCM_WEIGHT passed in. const XCM_WEIGHT: Weight = 20_000_000_000; const XCM_FEE: Balance = 10_000_000_000; -const ACTUAL_XCM_FEE: Balance = 1_037_129_200; +const ACTUAL_XCM_FEE: Balance = 784_425_782; fn get_xcm_weight() -> Vec<(XcmInterfaceOperation, Option, Option)> { vec![ @@ -143,7 +143,7 @@ fn xcm_interface_transfer_staking_to_sub_account_works() { // 1000 dollars (minus fee) are transferred into the Kusama chain assert_eq!( kusama_runtime::Balances::free_balance(&homa_lite_sub_account), - 999_999_834_059_328 + 999_999_988_476_752 ); // XCM fee is paid by the parachain account. assert_eq!( From 17379fc50950411ae193aecb4da4d62704dcf370 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 25 May 2022 00:36:41 +0800 Subject: [PATCH 10/28] fix polkadot xcm test --- .../src/relaychain/polkadot_cross_chain_transfer.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs index 06e0945805..d66990c167 100644 --- a/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs @@ -72,7 +72,9 @@ fn transfer_to_relay_chain() { PolkadotNet::execute_with(|| { assert_eq!( - 49517228896, + // v0.9.19: 49_517_228_896 + // v0.0.22: 49_530_582_548 + 49_530_582_548, polkadot_runtime::Balances::free_balance(&AccountId::from(BOB)) ); assert_eq!( From 4c25e5245925874ab767a2e69e3cf72f850efdd5 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Wed, 25 May 2022 08:30:11 +0800 Subject: [PATCH 11/28] fix ci --- .../src/relaychain/polkadot_cross_chain_transfer.rs | 2 +- ts-tests/tests/util.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs b/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs index d66990c167..bf0a047907 100644 --- a/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs +++ b/runtime/integration-tests/src/relaychain/polkadot_cross_chain_transfer.rs @@ -73,7 +73,7 @@ fn transfer_to_relay_chain() { PolkadotNet::execute_with(|| { assert_eq!( // v0.9.19: 49_517_228_896 - // v0.0.22: 49_530_582_548 + // v0.9.22: 49_530_582_548 49_530_582_548, polkadot_runtime::Balances::free_balance(&AccountId::from(BOB)) ); diff --git a/ts-tests/tests/util.ts b/ts-tests/tests/util.ts index d9a5aa1309..99d4a6439d 100644 --- a/ts-tests/tests/util.ts +++ b/ts-tests/tests/util.ts @@ -68,7 +68,7 @@ export async function startAcalaNode(): Promise<{ provider: TestProvider; binary console.log(chunk.toString()); } binaryLogs.push(chunk); - if (chunk.toString().match(/Listening for new connections on/)) { + if (chunk.toString().match(/Running JSON-RPC HTTP server/)) { try { provider = new TestProvider({ provider: new WsProvider(`ws://localhost:${WS_PORT}`), @@ -144,4 +144,4 @@ export async function getEvmNonce(provider: TestProvider, address: string): Prom const evm_account = await provider.api.query.evm.accounts>(address); const nonce = evm_account.isEmpty ? 0 : evm_account.unwrap().nonce.toNumber(); return nonce; -} \ No newline at end of file +} From e935ba97b625b146e4f914a6f80a8e9b85fc2a60 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 25 May 2022 09:39:05 +0800 Subject: [PATCH 12/28] update evm logger --- evm-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evm-tests b/evm-tests index b823635776..f1303c308a 160000 --- a/evm-tests +++ b/evm-tests @@ -1 +1 @@ -Subproject commit b823635776f40ed3dff7d4974f345572c8426cf7 +Subproject commit f1303c308affdd30177557ca69d75a2a9d8ec7be From 78d020daa567fc74fc51056d63345a378aa7328c Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 25 May 2022 13:11:48 +0800 Subject: [PATCH 13/28] update deps --- Cargo.lock | 2 +- evm-tests | 2 +- orml | 2 +- runtime/integration-tests/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 01accdf664..c2e8fc3130 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -15068,7 +15068,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.1.0" -source = "git+https://github.com/zqhxuyuan/xcm-simulator?rev=d257f048b5952d988efcc6d51bdde274a878696f#d257f048b5952d988efcc6d51bdde274a878696f" +source = "git+https://github.com/shaunxw/xcm-simulator?rev=5a04d6286ee9082d4b7433541e48508f8b65616b#5a04d6286ee9082d4b7433541e48508f8b65616b" dependencies = [ "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", diff --git a/evm-tests b/evm-tests index f1303c308a..3f18ead64d 160000 --- a/evm-tests +++ b/evm-tests @@ -1 +1 @@ -Subproject commit f1303c308affdd30177557ca69d75a2a9d8ec7be +Subproject commit 3f18ead64d0adbf35312a2bfabb00b02be7f7c9c diff --git a/orml b/orml index 4af3a45683..f709ed6226 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 4af3a4568398341816632c0d5523e879e251be3a +Subproject commit f709ed62262435b3ad80482d309e3575625d1e5b diff --git a/runtime/integration-tests/Cargo.toml b/runtime/integration-tests/Cargo.toml index eb6cde2678..0b28f84056 100644 --- a/runtime/integration-tests/Cargo.toml +++ b/runtime/integration-tests/Cargo.toml @@ -143,7 +143,7 @@ kusama-runtime = { git = "https://github.com/paritytech/polkadot", branch = "rel kusama-runtime-constants = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } polkadot-runtime = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22" } -xcm-emulator = { git = "https://github.com/zqhxuyuan/xcm-simulator", rev = "d257f048b5952d988efcc6d51bdde274a878696f" } +xcm-emulator = { git = "https://github.com/shaunxw/xcm-simulator", rev = "5a04d6286ee9082d4b7433541e48508f8b65616b" } acala-service = { path = "../../node/service", features = ["with-all-runtime"] } From 944ecb909781e07e99f9696f1873e75d067b1b65 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 25 May 2022 13:19:30 +0800 Subject: [PATCH 14/28] update predeploy contracts --- predeploy-contracts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predeploy-contracts b/predeploy-contracts index 478c085a51..c37d7d6c08 160000 --- a/predeploy-contracts +++ b/predeploy-contracts @@ -1 +1 @@ -Subproject commit 478c085a51d2bc6f40078be8e600388d818c6c85 +Subproject commit c37d7d6c08bfd1f3b754d90e220e01b559d69d12 From 2e00c5efb1f5ce0936452401c53f73c660d09a6e Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 25 May 2022 13:22:38 +0800 Subject: [PATCH 15/28] revert predeploy contracts --- predeploy-contracts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/predeploy-contracts b/predeploy-contracts index c37d7d6c08..b5c223d878 160000 --- a/predeploy-contracts +++ b/predeploy-contracts @@ -1 +1 @@ -Subproject commit c37d7d6c08bfd1f3b754d90e220e01b559d69d12 +Subproject commit b5c223d878dcfc3d48b675f4db446763559c9196 From f450f0a23b44f51fceb647c5708655adc62bd4d7 Mon Sep 17 00:00:00 2001 From: zqh Date: Wed, 25 May 2022 19:40:43 +0800 Subject: [PATCH 16/28] evm internal_error --- modules/evm/rpc/src/lib.rs | 72 ++++++++++++++------------------------ 1 file changed, 27 insertions(+), 45 deletions(-) diff --git a/modules/evm/rpc/src/lib.rs b/modules/evm/rpc/src/lib.rs index 35ab687da8..51a7c20b4d 100644 --- a/modules/evm/rpc/src/lib.rs +++ b/modules/evm/rpc/src/lib.rs @@ -75,6 +75,14 @@ fn internal_err(message: T) -> JsonRpseeError { ))) } +fn invalid_params(message: T) -> JsonRpseeError { + JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( + ErrorCode::InvalidParams.code(), + message.to_string(), + None::<()>, + ))) +} + #[allow(dead_code)] fn error_on_execution_failure(reason: &ExitReason, data: &[u8]) -> RpcResult<()> { match reason { @@ -185,19 +193,17 @@ where let gas_limit = gas_limit.unwrap_or(gas_limit_cap); if gas_limit > gas_limit_cap { - return Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( - ErrorCode::InvalidParams.code(), - format!("GasLimit exceeds capped allowance: {}", gas_limit_cap), - None::<()>, - )))); + return Err(invalid_params(format!( + "GasLimit exceeds capped allowance: {}", + gas_limit_cap + ))); } let storage_limit = storage_limit.unwrap_or(block_limits.max_storage_limit); if storage_limit > block_limits.max_storage_limit { - return Err(JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( - ErrorCode::InvalidParams.code(), - format!("StorageLimit exceeds allowance: {}", block_limits.max_storage_limit), - None::<()>, - )))); + return Err(invalid_params(format!( + "StorageLimit exceeds allowance: {}", + block_limits.max_storage_limit + ))); } let data = data.map(|d| d.0).unwrap_or_default(); @@ -207,13 +213,8 @@ where Ok(Default::default()) }; - let balance_value = balance_value.map_err(|_| { - JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( - ErrorCode::InvalidParams.code(), - format!("Invalid parameter value: {:?}", value), - None::<()>, - ))) - })?; + let balance_value = + balance_value.map_err(|_| invalid_params(format!("Invalid parameter value: {:?}", value)))?; match to { Some(to) => { @@ -349,13 +350,8 @@ where Ok(Default::default()) }; - let balance_value = balance_value.map_err(|_| { - JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( - ErrorCode::InvalidParams.code(), - format!("Invalid parameter value: {:?}", value), - None::<()>, - ))) - })?; + let balance_value = + balance_value.map_err(|_| invalid_params(format!("Invalid parameter value: {:?}", value)))?; let (exit_reason, data, used_gas, used_storage) = match to { Some(to) => { @@ -477,25 +473,14 @@ where } } - let uxt: ::Extrinsic = Decode::decode(&mut &*unsigned_extrinsic).map_err(|e| { - JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( - ErrorCode::InternalError.code(), - "Unable to dry run extrinsic.", - Some(e.to_string()), - ))) - })?; + let uxt: ::Extrinsic = Decode::decode(&mut &*unsigned_extrinsic) + .map_err(|e| internal_err(format!("execution error: Unable to dry run extrinsic {:?}", e)))?; let fee = self .client .runtime_api() .query_fee_details(&block_id, uxt, unsigned_extrinsic.len() as u32) - .map_err(|e| { - JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( - ErrorCode::InternalError.code(), - "Unable to query fee details.", - Some(e.to_string()), - ))) - })?; + .map_err(|e| internal_err(format!("runtime error: Unable to query fee details {:?}", e)))?; let adjusted_weight_fee = fee .inclusion_fee @@ -526,13 +511,10 @@ where })?; let block_limits = if version > 1 { - self.client.runtime_api().block_limits(&block_id).map_err(|e| { - JsonRpseeError::Call(CallError::Custom(ErrorObject::owned( - ErrorCode::InternalError.code(), - "Unable to query block limits.", - Some(e.to_string()), - ))) - })? + self.client + .runtime_api() + .block_limits(&block_id) + .map_err(|e| internal_err(format!("runtime error: Unable to query block limits {:?}", e)))? } else { BlockLimits { max_gas_limit: 20_000_000, // 20M From e6d0448c919261c3a6b9bfee73ededcef9a5d6f1 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 26 May 2022 03:41:18 +0200 Subject: [PATCH 17/28] fix bench evm (#2162) * fix bench evm * update makefile * update makefile --- Cargo.lock | 1 + Makefile | 2 +- modules/evm/Cargo.toml | 3 +++ modules/evm/src/bench/mock.rs | 39 ++++++++++++++++++++++++--- orml | 2 +- runtime/common/src/bench/mod.rs | 12 +++++++++ runtime/common/src/precompile/mock.rs | 4 +-- 7 files changed, 56 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c2e8fc3130..37056ffaa7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5913,6 +5913,7 @@ dependencies = [ "frame-system", "hex", "hex-literal", + "module-dex", "module-evm-utility", "module-idle-scheduler", "module-support", diff --git a/Makefile b/Makefile index 15789e5f18..f99c2e8749 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ test-ts: build-mandala-internal-release .PHONY: test-benchmarking test-benchmarking: - cargo test --features bench --package module-evm + cargo bench --features bench --package module-evm --package runtime-common cargo test --features runtime-benchmarks --features with-all-runtime --features --all benchmarking .PHONY: test-all diff --git a/modules/evm/Cargo.toml b/modules/evm/Cargo.toml index d72897a9c7..a613f7cb6d 100644 --- a/modules/evm/Cargo.toml +++ b/modules/evm/Cargo.toml @@ -43,6 +43,7 @@ module-evm-utility = { path = "../evm-utility", default-features = false } primitives = { package = "acala-primitives", path = "../../primitives", default-features = false } module-idle-scheduler = { path = "../idle-scheduler", default-features = false, optional = true } module-transaction-payment = { path = "../../modules/transaction-payment", default-features = false } +module-dex = { path = "../dex", default-features = false, optional = true } xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.22", default-features = false } @@ -79,6 +80,7 @@ std = [ "orml-tokens/std", "module-idle-scheduler/std", "module-transaction-payment/std", + "module-dex/std", "xcm-builder/std" ] with-ethereum-compatibility = [] @@ -95,6 +97,7 @@ bench = [ "serde_json", "hex", "module-idle-scheduler", + "module-dex", "xcm-builder/runtime-benchmarks" ] evm-tests = [ diff --git a/modules/evm/src/bench/mock.rs b/modules/evm/src/bench/mock.rs index 35a79aab24..513b06d154 100644 --- a/modules/evm/src/bench/mock.rs +++ b/modules/evm/src/bench/mock.rs @@ -27,8 +27,9 @@ use frame_support::{ ConsensusEngineId, PalletId, }; use frame_system::EnsureSignedBy; -use module_support::{mocks::MockAddressMapping, Price, PriceProvider}; -use orml_traits::parameter_type_with_key; +use module_support::mocks::MockErc20InfoMapping; +use module_support::{mocks::MockAddressMapping, DEXIncentives, Price, PriceProvider}; +use orml_traits::{parameter_type_with_key, MultiReservableCurrency}; pub use primitives::{ define_combined_task, Address, Amount, Block, BlockNumber, CurrencyId, Header, Multiplier, ReserveIdentifier, Signature, TokenSymbol, @@ -246,7 +247,7 @@ impl module_transaction_payment::Config for Runtime { type AlternativeFeeSwapDeposit = ExistenceRequirement; type WeightToFee = IdentityFee; type FeeMultiplierUpdate = (); - type DEX = (); + type DEX = Dex; type MaxSwapSlippageCompareToOracle = MaxSwapSlippageCompareToOracle; type TradingPathLimit = TradingPathLimit; type PriceSource = MockPriceSource; @@ -259,6 +260,37 @@ impl module_transaction_payment::Config for Runtime { type DefaultFeeTokens = DefaultFeeTokens; } +pub struct MockDEXIncentives; +impl DEXIncentives for MockDEXIncentives { + fn do_deposit_dex_share(who: &AccountId32, lp_currency_id: CurrencyId, amount: Balance) -> DispatchResult { + Tokens::reserve(lp_currency_id, who, amount) + } + + fn do_withdraw_dex_share(who: &AccountId32, lp_currency_id: CurrencyId, amount: Balance) -> DispatchResult { + let _ = Tokens::unreserve(lp_currency_id, who, amount); + Ok(()) + } +} + +parameter_types! { + pub const GetExchangeFee: (u32, u32) = (1, 100); + pub const DEXPalletId: PalletId = PalletId(*b"aca/dexm"); +} + +impl module_dex::Config for Runtime { + type Event = Event; + type Currency = Tokens; + type GetExchangeFee = GetExchangeFee; + type TradingPathLimit = TradingPathLimit; + type PalletId = DEXPalletId; + type Erc20InfoMapping = MockErc20InfoMapping; + type WeightInfo = (); + type DEXIncentives = MockDEXIncentives; + type ListingOrigin = EnsureSignedBy; + type ExtendedProvisioningBlocks = ConstU32<0>; + type OnLiquidityPoolUpdated = (); +} + pub type SignedExtra = (frame_system::CheckWeight,); pub type UncheckedExtrinsic = sp_runtime::generic::UncheckedExtrinsic; @@ -269,6 +301,7 @@ construct_runtime!( UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system::{Pallet, Call, Storage, Config, Event}, + Dex: module_dex::{Pallet, Call, Storage, Event}, EVM: evm_mod::{Pallet, Config, Call, Storage, Event}, Tokens: orml_tokens::{Pallet, Storage, Event}, Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, diff --git a/orml b/orml index f709ed6226..4cbd6db03d 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit f709ed62262435b3ad80482d309e3575625d1e5b +Subproject commit 4cbd6db03d871ed12b7b633c9c9c8e6eecb629f3 diff --git a/runtime/common/src/bench/mod.rs b/runtime/common/src/bench/mod.rs index 515afb7430..d2955cc4a4 100644 --- a/runtime/common/src/bench/mod.rs +++ b/runtime/common/src/bench/mod.rs @@ -26,6 +26,7 @@ use module_evm::{precompiles::Precompile, Context}; use module_support::AddressMapping; use orml_bencher::{benches, Bencher}; use orml_traits::DataFeeder; +use primitives::currency::{AssetMetadata, TokenInfo}; use sp_core::{H160, H256}; fn whitelist_keys(b: &mut Bencher, caller: Option) { @@ -84,6 +85,17 @@ fn oracle_get_price(b: &mut Bencher) { let price = Price::from(30_000); assert_ok!(Oracle::feed_value(ALICE, RENBTC, price)); + assert_ok!(AssetRegistry::register_native_asset( + Origin::signed(CouncilAccount::get()), + RENBTC, + sp_std::boxed::Box::new(AssetMetadata { + name: RENBTC.name().unwrap().into(), + symbol: RENBTC.symbol().unwrap().into(), + decimals: RENBTC.decimals().unwrap(), + minimal_balance: 0 + }) + )); + // getPrice(address) -> 0x41976e09 // RENBTC let input = hex! {" diff --git a/runtime/common/src/precompile/mock.rs b/runtime/common/src/precompile/mock.rs index 7c835f6f79..0c3e2e185c 100644 --- a/runtime/common/src/precompile/mock.rs +++ b/runtime/common/src/precompile/mock.rs @@ -561,8 +561,8 @@ parameter_types! { pub DefaultExchangeRate: ExchangeRate = ExchangeRate::saturating_from_rational(1, 10); pub ActiveSubAccountsIndexList: Vec = vec![0, 1, 2]; pub const BondingDuration: EraIndex = 28; - pub static MintThreshold: Balance = 0; - pub static RedeemThreshold: Balance = 0; + pub const MintThreshold: Balance = 0; + pub const RedeemThreshold: Balance = 0; } impl module_homa::Config for Test { From d38c7788218a9f12f6e3bdfe8a9319c90e06f61e Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 26 May 2022 09:34:46 +0200 Subject: [PATCH 18/28] update orml --- orml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orml b/orml index 4cbd6db03d..954cc7d97f 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 4cbd6db03d871ed12b7b633c9c9c8e6eecb629f3 +Subproject commit 954cc7d97f70fe5c3c5ba286e0160b48ab5c6758 From 7b87217b818173d0ccad28afa3886811908d11d0 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 26 May 2022 11:41:34 +0200 Subject: [PATCH 19/28] fix bench --- .github/workflows/test.yml | 2 ++ Makefile | 7 ++++++- orml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c3824fdd2..52c0a19af5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,6 +54,8 @@ jobs: run: cargo clippy --features with-karura-runtime -- -D warnings - name: Run acala-runtime clippy run: cargo clippy --features with-acala-runtime -- -D warnings + - name: Run build benches + run: make build-benches benchmarking: runs-on: [self-hosted, linux] env: diff --git a/Makefile b/Makefile index f99c2e8749..f4cc56e493 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,11 @@ build-full: githooks build-all: cargo build --locked --features with-all-runtime +.PHONY: build-benches +build-benches: + cargo bench --locked --no-run --features bench --package module-evm + cargo bench --locked --no-run --features bench --package runtime-common + .PHONY: build-release build-release: cargo build --locked --features with-all-runtime --profile production --workspace --exclude runtime-integration-tests --exclude e2e-tests --exclude test-service @@ -145,7 +150,7 @@ test-ts: build-mandala-internal-release .PHONY: test-benchmarking test-benchmarking: - cargo bench --features bench --package module-evm --package runtime-common + cargo test --features bench --package module-evm --package runtime-common cargo test --features runtime-benchmarks --features with-all-runtime --features --all benchmarking .PHONY: test-all diff --git a/orml b/orml index 954cc7d97f..070457de18 160000 --- a/orml +++ b/orml @@ -1 +1 @@ -Subproject commit 954cc7d97f70fe5c3c5ba286e0160b48ab5c6758 +Subproject commit 070457de18d26d2daed6abdfa57d8a951a525605 From 2c89e3b9d47f1c0e1c9e1299f0068e4f24b3437c Mon Sep 17 00:00:00 2001 From: Acala Benchmarking Bot Date: Thu, 26 May 2022 18:51:21 +0000 Subject: [PATCH 20/28] make bench-evm --- runtime/common/src/gas_to_weight_ratio.rs | 2 +- runtime/common/src/precompile/weights.rs | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/runtime/common/src/gas_to_weight_ratio.rs b/runtime/common/src/gas_to_weight_ratio.rs index 5fd6104a83..74e3d84965 100644 --- a/runtime/common/src/gas_to_weight_ratio.rs +++ b/runtime/common/src/gas_to_weight_ratio.rs @@ -16,4 +16,4 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -pub const RATIO: u64 = 9000; +pub const RATIO: u64 = 14000; diff --git a/runtime/common/src/precompile/weights.rs b/runtime/common/src/precompile/weights.rs index 491e322c3e..64996f5b53 100644 --- a/runtime/common/src/precompile/weights.rs +++ b/runtime/common/src/precompile/weights.rs @@ -26,32 +26,33 @@ use sp_std::marker::PhantomData; pub struct PrecompileWeights(PhantomData); impl PrecompileWeights { + // AssetRegistry::AssetMetadatas (r: 1, w: 0) // Oracle::Values (r: 1, w: 0) pub fn oracle_get_price() -> Weight { - (5_734_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) + (20_404_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) } pub fn evm_query_new_contract_extra_bytes() -> Weight { - (1_010_000 as Weight) + (1_692_000 as Weight) } pub fn evm_query_storage_deposit_per_byte() -> Weight { - (1_001_000 as Weight) + (2_046_000 as Weight) } // EVMModule::Accounts (r: 1, w: 0) pub fn evm_query_maintainer() -> Weight { - (4_461_000 as Weight) + (7_454_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } pub fn evm_query_developer_deposit() -> Weight { - (1_003_000 as Weight) + (1_736_000 as Weight) } pub fn evm_query_publication_fee() -> Weight { - (1_008_000 as Weight) + (1_680_000 as Weight) } // Balances::Reserves (r: 1, w: 0) // EvmAccounts::Accounts (r: 1, w: 0) pub fn evm_query_developer_status() -> Weight { - (5_290_000 as Weight) + (8_439_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } } From 5a1009a576617874dc549e132a86d9a8d9c8ea73 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 26 May 2022 21:15:08 +0200 Subject: [PATCH 21/28] ignore unknown key. will be counted by entry call --- modules/evm/src/bench/mod.rs | 7 +++++++ runtime/common/src/bench/mod.rs | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/modules/evm/src/bench/mod.rs b/modules/evm/src/bench/mod.rs index 7c6ffe1c02..bb9183675a 100644 --- a/modules/evm/src/bench/mod.rs +++ b/modules/evm/src/bench/mod.rs @@ -91,6 +91,13 @@ fn whitelist_keys(b: &mut Bencher, from: H160, code: Vec) -> H160 { let bounded_code: BoundedVec = out.try_into().unwrap(); let code_hash = code_hash(bounded_code.as_slice()); + // unknown key + b.whitelist( + hex_literal::hex!("3a7472616e73616374696f6e5f6c6576656c3a").to_vec(), + true, + true, + ); + // non-existent contract will end up reading this key b.whitelist( Codes::::hashed_key_for(&H256::from_slice(&hex_literal::hex!( diff --git a/runtime/common/src/bench/mod.rs b/runtime/common/src/bench/mod.rs index d2955cc4a4..683561341f 100644 --- a/runtime/common/src/bench/mod.rs +++ b/runtime/common/src/bench/mod.rs @@ -44,6 +44,14 @@ fn whitelist_keys(b: &mut Bencher, caller: Option) { true, ); } + + // unknown key + b.whitelist( + hex_literal::hex!("3a7472616e73616374696f6e5f6c6576656c3a").to_vec(), + true, + true, + ); + // System::Number b.whitelist( hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef702a5c1b19ab7a04f536c519aca4983ac").to_vec(), From 94490dad8b46d953831c0f8e3dd5721b21b476d5 Mon Sep 17 00:00:00 2001 From: Acala Benchmarking Bot Date: Thu, 26 May 2022 19:34:50 +0000 Subject: [PATCH 22/28] make bench-evm --- runtime/common/src/gas_to_weight_ratio.rs | 2 +- runtime/common/src/precompile/weights.rs | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/runtime/common/src/gas_to_weight_ratio.rs b/runtime/common/src/gas_to_weight_ratio.rs index 74e3d84965..9fdb943b19 100644 --- a/runtime/common/src/gas_to_weight_ratio.rs +++ b/runtime/common/src/gas_to_weight_ratio.rs @@ -16,4 +16,4 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -pub const RATIO: u64 = 14000; +pub const RATIO: u64 = 11000; diff --git a/runtime/common/src/precompile/weights.rs b/runtime/common/src/precompile/weights.rs index 64996f5b53..792f3b568b 100644 --- a/runtime/common/src/precompile/weights.rs +++ b/runtime/common/src/precompile/weights.rs @@ -29,30 +29,30 @@ impl PrecompileWeights { // AssetRegistry::AssetMetadatas (r: 1, w: 0) // Oracle::Values (r: 1, w: 0) pub fn oracle_get_price() -> Weight { - (20_404_000 as Weight) + (10_923_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } pub fn evm_query_new_contract_extra_bytes() -> Weight { - (1_692_000 as Weight) + (985_000 as Weight) } pub fn evm_query_storage_deposit_per_byte() -> Weight { - (2_046_000 as Weight) + (925_000 as Weight) } // EVMModule::Accounts (r: 1, w: 0) pub fn evm_query_maintainer() -> Weight { - (7_454_000 as Weight) + (4_146_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } pub fn evm_query_developer_deposit() -> Weight { - (1_736_000 as Weight) + (907_000 as Weight) } pub fn evm_query_publication_fee() -> Weight { - (1_680_000 as Weight) + (941_000 as Weight) } // Balances::Reserves (r: 1, w: 0) // EvmAccounts::Accounts (r: 1, w: 0) pub fn evm_query_developer_status() -> Weight { - (8_439_000 as Weight) + (4_755_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } } From bb179cadca0c92833ea3599071b5fc1ae8dff836 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 26 May 2022 22:15:07 +0200 Subject: [PATCH 23/28] update tests --- runtime/common/src/precompile/schedule.rs | 2 +- runtime/integration-tests/src/evm.rs | 2 +- ts-tests/tests/test-bodhi.ts | 2 +- ts-tests/tests/test-gas-limit.ts | 12 ++++++------ ts-tests/tests/test-gas.ts | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/runtime/common/src/precompile/schedule.rs b/runtime/common/src/precompile/schedule.rs index 47e55067d0..6571376b59 100644 --- a/runtime/common/src/precompile/schedule.rs +++ b/runtime/common/src/precompile/schedule.rs @@ -487,7 +487,7 @@ mod tests { run_to_block(5); #[cfg(not(feature = "with-ethereum-compatibility"))] { - assert_eq!(Balances::free_balance(from_account.clone()), 999999931325); + assert_eq!(Balances::free_balance(from_account.clone()), 999999939083); assert_eq!(Balances::reserved_balance(from_account), 0); assert_eq!(Balances::free_balance(to_account), 1000000001000); } diff --git a/runtime/integration-tests/src/evm.rs b/runtime/integration-tests/src/evm.rs index 99f2b1c40e..38f9280429 100644 --- a/runtime/integration-tests/src/evm.rs +++ b/runtime/integration-tests/src/evm.rs @@ -1172,7 +1172,7 @@ fn create_contract_use_none_native_token_to_charge_storage() { #[test] fn evm_limits() { ExtBuilder::default().build().execute_with(|| { - assert_eq!(runtime_common::EvmLimits::::max_gas_limit(), 33_319_444); + assert_eq!(runtime_common::EvmLimits::::max_gas_limit(), 27_261_363); assert_eq!(runtime_common::EvmLimits::::max_storage_limit(), 3_670_016); }); } diff --git a/ts-tests/tests/test-bodhi.ts b/ts-tests/tests/test-bodhi.ts index e786e46694..5823ee7cb2 100644 --- a/ts-tests/tests/test-bodhi.ts +++ b/ts-tests/tests/test-bodhi.ts @@ -92,6 +92,6 @@ describeWithAcala("Acala RPC (bodhi.js)", (context) => { expect(data.gas.toNumber()).to.be.eq(22409); expect(data.storage.toNumber()).to.be.eq(0); - expect(data.weightFee.toNumber()).to.be.eq(3999950521582); + expect(data.weightFee.toNumber()).to.be.eq(3999950563789); }); }); diff --git a/ts-tests/tests/test-gas-limit.ts b/ts-tests/tests/test-gas-limit.ts index 5e9e64ac95..d48818c3af 100644 --- a/ts-tests/tests/test-gas-limit.ts +++ b/ts-tests/tests/test-gas-limit.ts @@ -17,17 +17,17 @@ describeWithAcala("Acala RPC (GasLimit)", (context) => { it("block gas limit", async () => { const contract = await deployContract(alice as any, Factory); // limited by used_storage - const result = await contract.createContractLoop(360); - expect(result.gasLimit.toNumber()).to.be.eq(30_721_769); + const result = await contract.createContractLoop(300); + expect(result.gasLimit.toNumber()).to.be.eq(25191958); - const result2 = await contract.incrementLoop(9_500); - expect(result2.gasLimit.toNumber()).to.be.eq(32_799_219); + const result2 = await contract.incrementLoop(7_500); + expect(result2.gasLimit.toNumber()).to.be.eq(25558904); const storages = await context.provider.api.query.evm.accountStorages.entries(contract.address); - // 360 array items + // 300 array items // 1 array length // 1 increment value - expect(storages.length).to.be.eq(362); + expect(storages.length).to.be.eq(302); const info = await context.provider.api.query.evm.accounts(contract.address) as Option; const codeInfo = await context.provider.api.query.evm.codeInfos(info.unwrap().contractInfo.unwrap().codeHash) as Option; diff --git a/ts-tests/tests/test-gas.ts b/ts-tests/tests/test-gas.ts index 9625334b87..2aa3d245d6 100644 --- a/ts-tests/tests/test-gas.ts +++ b/ts-tests/tests/test-gas.ts @@ -47,6 +47,6 @@ describeWithAcala("Acala RPC (Gas)", (context) => { expect(data.gas.toNumber()).to.be.eq(22409); expect(data.storage.toNumber()).to.be.eq(0); - expect(data.weightFee.toNumber()).to.be.eq(3999940877431); + expect(data.weightFee.toNumber()).to.be.eq(3999940961846); }); }); From 759a92658f82ada4ed8e4b1f9dedf90a5e113f88 Mon Sep 17 00:00:00 2001 From: Acala Benchmarking Bot Date: Thu, 26 May 2022 21:49:56 +0000 Subject: [PATCH 24/28] cargo run --profile production --color=never --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=module_evm --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/mandala/src/weights/ --- runtime/mandala/src/weights/module_evm.rs | 99 +++++++++++++---------- 1 file changed, 56 insertions(+), 43 deletions(-) diff --git a/runtime/mandala/src/weights/module_evm.rs b/runtime/mandala/src/weights/module_evm.rs index d812515acc..96746c3005 100644 --- a/runtime/mandala/src/weights/module_evm.rs +++ b/runtime/mandala/src/weights/module_evm.rs @@ -19,16 +19,17 @@ //! Autogenerated weights for module_evm //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-03-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-05-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: // target/production/acala // benchmark +// pallet // --chain=dev // --steps=50 // --repeat=20 -// --pallet=* +// --pallet=module_evm // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -46,32 +47,35 @@ use sp_std::marker::PhantomData; /// Weight functions for module_evm. pub struct WeightInfo(PhantomData); impl module_evm::WeightInfo for WeightInfo { + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) // Storage: EvmAccounts Accounts (r:2 w:0) - // Storage: Balances Reserves (r:2 w:2) // Storage: System Account (r:2 w:2) + // Storage: Balances Reserves (r:2 w:2) // Storage: EVM Accounts (r:2 w:2) // Storage: EVM Codes (r:1 w:1) // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create() -> Weight { - (125_598_000 as Weight) - .saturating_add(T::DbWeight::get().reads(12 as Weight)) - .saturating_add(T::DbWeight::get().writes(9 as Weight)) + (260_966_000 as Weight) + .saturating_add(T::DbWeight::get().reads(13 as Weight)) + .saturating_add(T::DbWeight::get().writes(10 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) // Storage: EvmAccounts Accounts (r:2 w:0) - // Storage: Balances Reserves (r:2 w:2) // Storage: System Account (r:2 w:2) + // Storage: Balances Reserves (r:2 w:2) // Storage: EVM Accounts (r:2 w:2) // Storage: EVM Codes (r:1 w:1) // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create2() -> Weight { - (126_721_000 as Weight) - .saturating_add(T::DbWeight::get().reads(12 as Weight)) - .saturating_add(T::DbWeight::get().writes(9 as Weight)) + (250_184_000 as Weight) + .saturating_add(T::DbWeight::get().reads(13 as Weight)) + .saturating_add(T::DbWeight::get().writes(10 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EvmAccounts Accounts (r:2 w:0) // Storage: EVM NetworkContractIndex (r:1 w:1) // Storage: System Account (r:3 w:3) @@ -81,67 +85,75 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create_nft_contract() -> Weight { - (141_679_000 as Weight) - .saturating_add(T::DbWeight::get().reads(13 as Weight)) - .saturating_add(T::DbWeight::get().writes(11 as Weight)) + (287_315_000 as Weight) + .saturating_add(T::DbWeight::get().reads(14 as Weight)) + .saturating_add(T::DbWeight::get().writes(12 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) + // Storage: EVM Accounts (r:2 w:2) // Storage: EvmAccounts Accounts (r:2 w:0) // Storage: System Account (r:3 w:3) - // Storage: EVM Accounts (r:2 w:2) // Storage: Balances Reserves (r:2 w:2) // Storage: EVM Codes (r:1 w:1) // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create_predeploy_contract() -> Weight { - (142_795_000 as Weight) - .saturating_add(T::DbWeight::get().reads(12 as Weight)) - .saturating_add(T::DbWeight::get().writes(10 as Weight)) + (286_502_000 as Weight) + .saturating_add(T::DbWeight::get().reads(13 as Weight)) + .saturating_add(T::DbWeight::get().writes(11 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) // Storage: EVM Accounts (r:2 w:1) // Storage: EvmAccounts Accounts (r:2 w:0) - // Storage: Balances Reserves (r:2 w:2) // Storage: System Account (r:2 w:2) + // Storage: Balances Reserves (r:2 w:2) // Storage: EVM Codes (r:1 w:0) // Storage: EVM ContractStorageSizes (r:1 w:1) fn call() -> Weight { - (111_342_000 as Weight) - .saturating_add(T::DbWeight::get().reads(11 as Weight)) - .saturating_add(T::DbWeight::get().writes(6 as Weight)) + (226_210_000 as Weight) + .saturating_add(T::DbWeight::get().reads(12 as Weight)) + .saturating_add(T::DbWeight::get().writes(7 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EVM Accounts (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) fn transfer_maintainer() -> Weight { - (93_308_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (177_179_000 as Weight) + .saturating_add(T::DbWeight::get().reads(3 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) // Storage: System Account (r:1 w:1) // Storage: EVM Accounts (r:1 w:1) fn publish_contract() -> Weight { - (111_690_000 as Weight) - .saturating_add(T::DbWeight::get().reads(3 as Weight)) - .saturating_add(T::DbWeight::get().writes(2 as Weight)) + (212_817_000 as Weight) + .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EVM Accounts (r:1 w:1) fn publish_free() -> Weight { - (17_746_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (38_755_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn enable_contract_development() -> Weight { - (97_114_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (193_031_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn disable_contract_development() -> Weight { - (98_584_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (192_794_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EVM Accounts (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) // Storage: EVM CodeInfos (r:2 w:2) @@ -151,12 +163,13 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM ContractStorageSizes (r:1 w:1) // Storage: EVM Codes (r:0 w:2) fn set_code(c: u32, ) -> Weight { - (143_041_000 as Weight) + (293_130_000 as Weight) // Standard Error: 0 - .saturating_add((8_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(10 as Weight)) - .saturating_add(T::DbWeight::get().writes(9 as Weight)) + .saturating_add((14_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(11 as Weight)) + .saturating_add(T::DbWeight::get().writes(10 as Weight)) } + // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) // Storage: EVM Accounts (r:1 w:1) // Storage: EvmAccounts Accounts (r:1 w:0) @@ -167,8 +180,8 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: IdleScheduler Tasks (r:0 w:1) // Storage: EVM Codes (r:0 w:1) fn selfdestruct() -> Weight { - (121_209_000 as Weight) - .saturating_add(T::DbWeight::get().reads(7 as Weight)) - .saturating_add(T::DbWeight::get().writes(7 as Weight)) + (224_056_000 as Weight) + .saturating_add(T::DbWeight::get().reads(8 as Weight)) + .saturating_add(T::DbWeight::get().writes(8 as Weight)) } } From 5114efc3e66b5caaf4e98cf742bb37da690469b5 Mon Sep 17 00:00:00 2001 From: Acala Benchmarking Bot Date: Fri, 27 May 2022 09:10:51 +0000 Subject: [PATCH 25/28] make bench-evm --- runtime/common/src/gas_to_weight_ratio.rs | 2 +- runtime/common/src/precompile/weights.rs | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/runtime/common/src/gas_to_weight_ratio.rs b/runtime/common/src/gas_to_weight_ratio.rs index 9fdb943b19..5fd6104a83 100644 --- a/runtime/common/src/gas_to_weight_ratio.rs +++ b/runtime/common/src/gas_to_weight_ratio.rs @@ -16,4 +16,4 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -pub const RATIO: u64 = 11000; +pub const RATIO: u64 = 9000; diff --git a/runtime/common/src/precompile/weights.rs b/runtime/common/src/precompile/weights.rs index 792f3b568b..b433ea1532 100644 --- a/runtime/common/src/precompile/weights.rs +++ b/runtime/common/src/precompile/weights.rs @@ -29,30 +29,30 @@ impl PrecompileWeights { // AssetRegistry::AssetMetadatas (r: 1, w: 0) // Oracle::Values (r: 1, w: 0) pub fn oracle_get_price() -> Weight { - (10_923_000 as Weight) + (19_623_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } pub fn evm_query_new_contract_extra_bytes() -> Weight { - (985_000 as Weight) + (1_696_000 as Weight) } pub fn evm_query_storage_deposit_per_byte() -> Weight { - (925_000 as Weight) + (1_761_000 as Weight) } // EVMModule::Accounts (r: 1, w: 0) pub fn evm_query_maintainer() -> Weight { - (4_146_000 as Weight) + (7_088_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } pub fn evm_query_developer_deposit() -> Weight { - (907_000 as Weight) + (1_716_000 as Weight) } pub fn evm_query_publication_fee() -> Weight { - (941_000 as Weight) + (1_744_000 as Weight) } // Balances::Reserves (r: 1, w: 0) // EvmAccounts::Accounts (r: 1, w: 0) pub fn evm_query_developer_status() -> Weight { - (4_755_000 as Weight) + (8_506_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) } } From 5bea6b9f296bfca6cf9c65cb6c3e5a092bf120a4 Mon Sep 17 00:00:00 2001 From: Acala Benchmarking Bot Date: Fri, 27 May 2022 10:54:15 +0000 Subject: [PATCH 26/28] cargo run --profile production --color=never --bin=acala --features=runtime-benchmarks --features=with-mandala-runtime -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=module_evm --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/mandala/src/weights/ --- runtime/mandala/src/weights/module_evm.rs | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/runtime/mandala/src/weights/module_evm.rs b/runtime/mandala/src/weights/module_evm.rs index 96746c3005..b58f4edd30 100644 --- a/runtime/mandala/src/weights/module_evm.rs +++ b/runtime/mandala/src/weights/module_evm.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for module_evm //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-05-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: @@ -57,7 +57,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create() -> Weight { - (260_966_000 as Weight) + (255_939_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(10 as Weight)) } @@ -71,7 +71,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create2() -> Weight { - (250_184_000 as Weight) + (250_066_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(10 as Weight)) } @@ -85,7 +85,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create_nft_contract() -> Weight { - (287_315_000 as Weight) + (284_270_000 as Weight) .saturating_add(T::DbWeight::get().reads(14 as Weight)) .saturating_add(T::DbWeight::get().writes(12 as Weight)) } @@ -98,7 +98,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM CodeInfos (r:1 w:1) // Storage: EVM ContractStorageSizes (r:1 w:1) fn create_predeploy_contract() -> Weight { - (286_502_000 as Weight) + (292_959_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -111,7 +111,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM Codes (r:1 w:0) // Storage: EVM ContractStorageSizes (r:1 w:1) fn call() -> Weight { - (226_210_000 as Weight) + (224_625_000 as Weight) .saturating_add(T::DbWeight::get().reads(12 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -119,7 +119,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM Accounts (r:1 w:1) // Storage: EvmAccounts EvmAddresses (r:1 w:0) fn transfer_maintainer() -> Weight { - (177_179_000 as Weight) + (182_139_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -128,28 +128,28 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: EVM Accounts (r:1 w:1) fn publish_contract() -> Weight { - (212_817_000 as Weight) + (215_186_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: EVM Accounts (r:1 w:1) fn publish_free() -> Weight { - (38_755_000 as Weight) + (38_159_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn enable_contract_development() -> Weight { - (193_031_000 as Weight) + (192_322_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } // Storage: unknown [0x3a7472616e73616374696f6e5f6c6576656c3a] (r:1 w:1) // Storage: Balances Reserves (r:1 w:1) fn disable_contract_development() -> Weight { - (192_794_000 as Weight) + (193_344_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } @@ -163,7 +163,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: EVM ContractStorageSizes (r:1 w:1) // Storage: EVM Codes (r:0 w:2) fn set_code(c: u32, ) -> Weight { - (293_130_000 as Weight) + (283_440_000 as Weight) // Standard Error: 0 .saturating_add((14_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(11 as Weight)) @@ -180,7 +180,7 @@ impl module_evm::WeightInfo for WeightInfo { // Storage: IdleScheduler Tasks (r:0 w:1) // Storage: EVM Codes (r:0 w:1) fn selfdestruct() -> Weight { - (224_056_000 as Weight) + (224_809_000 as Weight) .saturating_add(T::DbWeight::get().reads(8 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } From 9eeec31eb1c7f940f99a0a0c3a6cf7adf51cf0d8 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Fri, 27 May 2022 12:54:53 +0200 Subject: [PATCH 27/28] Revert "update tests" This reverts commit bb179cadca0c92833ea3599071b5fc1ae8dff836. --- runtime/common/src/precompile/schedule.rs | 2 +- runtime/integration-tests/src/evm.rs | 2 +- ts-tests/tests/test-bodhi.ts | 2 +- ts-tests/tests/test-gas-limit.ts | 12 ++++++------ ts-tests/tests/test-gas.ts | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/runtime/common/src/precompile/schedule.rs b/runtime/common/src/precompile/schedule.rs index 6571376b59..47e55067d0 100644 --- a/runtime/common/src/precompile/schedule.rs +++ b/runtime/common/src/precompile/schedule.rs @@ -487,7 +487,7 @@ mod tests { run_to_block(5); #[cfg(not(feature = "with-ethereum-compatibility"))] { - assert_eq!(Balances::free_balance(from_account.clone()), 999999939083); + assert_eq!(Balances::free_balance(from_account.clone()), 999999931325); assert_eq!(Balances::reserved_balance(from_account), 0); assert_eq!(Balances::free_balance(to_account), 1000000001000); } diff --git a/runtime/integration-tests/src/evm.rs b/runtime/integration-tests/src/evm.rs index 38f9280429..99f2b1c40e 100644 --- a/runtime/integration-tests/src/evm.rs +++ b/runtime/integration-tests/src/evm.rs @@ -1172,7 +1172,7 @@ fn create_contract_use_none_native_token_to_charge_storage() { #[test] fn evm_limits() { ExtBuilder::default().build().execute_with(|| { - assert_eq!(runtime_common::EvmLimits::::max_gas_limit(), 27_261_363); + assert_eq!(runtime_common::EvmLimits::::max_gas_limit(), 33_319_444); assert_eq!(runtime_common::EvmLimits::::max_storage_limit(), 3_670_016); }); } diff --git a/ts-tests/tests/test-bodhi.ts b/ts-tests/tests/test-bodhi.ts index 5823ee7cb2..e786e46694 100644 --- a/ts-tests/tests/test-bodhi.ts +++ b/ts-tests/tests/test-bodhi.ts @@ -92,6 +92,6 @@ describeWithAcala("Acala RPC (bodhi.js)", (context) => { expect(data.gas.toNumber()).to.be.eq(22409); expect(data.storage.toNumber()).to.be.eq(0); - expect(data.weightFee.toNumber()).to.be.eq(3999950563789); + expect(data.weightFee.toNumber()).to.be.eq(3999950521582); }); }); diff --git a/ts-tests/tests/test-gas-limit.ts b/ts-tests/tests/test-gas-limit.ts index d48818c3af..5e9e64ac95 100644 --- a/ts-tests/tests/test-gas-limit.ts +++ b/ts-tests/tests/test-gas-limit.ts @@ -17,17 +17,17 @@ describeWithAcala("Acala RPC (GasLimit)", (context) => { it("block gas limit", async () => { const contract = await deployContract(alice as any, Factory); // limited by used_storage - const result = await contract.createContractLoop(300); - expect(result.gasLimit.toNumber()).to.be.eq(25191958); + const result = await contract.createContractLoop(360); + expect(result.gasLimit.toNumber()).to.be.eq(30_721_769); - const result2 = await contract.incrementLoop(7_500); - expect(result2.gasLimit.toNumber()).to.be.eq(25558904); + const result2 = await contract.incrementLoop(9_500); + expect(result2.gasLimit.toNumber()).to.be.eq(32_799_219); const storages = await context.provider.api.query.evm.accountStorages.entries(contract.address); - // 300 array items + // 360 array items // 1 array length // 1 increment value - expect(storages.length).to.be.eq(302); + expect(storages.length).to.be.eq(362); const info = await context.provider.api.query.evm.accounts(contract.address) as Option; const codeInfo = await context.provider.api.query.evm.codeInfos(info.unwrap().contractInfo.unwrap().codeHash) as Option; diff --git a/ts-tests/tests/test-gas.ts b/ts-tests/tests/test-gas.ts index 2aa3d245d6..9625334b87 100644 --- a/ts-tests/tests/test-gas.ts +++ b/ts-tests/tests/test-gas.ts @@ -47,6 +47,6 @@ describeWithAcala("Acala RPC (Gas)", (context) => { expect(data.gas.toNumber()).to.be.eq(22409); expect(data.storage.toNumber()).to.be.eq(0); - expect(data.weightFee.toNumber()).to.be.eq(3999940961846); + expect(data.weightFee.toNumber()).to.be.eq(3999940877431); }); }); From 6bffbe047829e7701b24dc1924841ca7e78bec01 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Fri, 27 May 2022 14:05:43 +0200 Subject: [PATCH 28/28] udpate ts-test --- ts-tests/tests/test-bodhi.ts | 2 +- ts-tests/tests/test-gas.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-tests/tests/test-bodhi.ts b/ts-tests/tests/test-bodhi.ts index e786e46694..bf211b04fc 100644 --- a/ts-tests/tests/test-bodhi.ts +++ b/ts-tests/tests/test-bodhi.ts @@ -92,6 +92,6 @@ describeWithAcala("Acala RPC (bodhi.js)", (context) => { expect(data.gas.toNumber()).to.be.eq(22409); expect(data.storage.toNumber()).to.be.eq(0); - expect(data.weightFee.toNumber()).to.be.eq(3999950521582); + expect(data.weightFee.toNumber()).to.be.eq(3999950550763); }); }); diff --git a/ts-tests/tests/test-gas.ts b/ts-tests/tests/test-gas.ts index 9625334b87..c72a3d961e 100644 --- a/ts-tests/tests/test-gas.ts +++ b/ts-tests/tests/test-gas.ts @@ -47,6 +47,6 @@ describeWithAcala("Acala RPC (Gas)", (context) => { expect(data.gas.toNumber()).to.be.eq(22409); expect(data.storage.toNumber()).to.be.eq(0); - expect(data.weightFee.toNumber()).to.be.eq(3999940877431); + expect(data.weightFee.toNumber()).to.be.eq(3999940935794); }); });