git.delta.rocks / unique-network / refs/commits / 1563a47f4047

difftreelog

manual merge develop

Igor Kozyrev2022-05-12parents: #7e05ac4 #6f2ea23.patch.diff
in: master

28 files changed

modified.envdiffbeforeafterboth
--- a/.env
+++ b/.env
@@ -1,6 +1,6 @@
 RUST_TOOLCHAIN=nightly-2022-04-07
 RUST_C=1.62.0-nightly
-POLKA_VERSION=release-v0.9.20
+POLKA_VERSION=release-v0.9.21
 UNIQUE_BRANCH=develop
 USER=***
 PASS=***
modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -396,7 +396,7 @@
  "instant",
  "pin-project-lite 0.2.9",
  "rand 0.8.5",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
@@ -410,7 +410,7 @@
  "cfg-if 1.0.0",
  "libc",
  "miniz_oxide",
- "object 0.28.3",
+ "object 0.28.4",
  "rustc-demangle",
 ]
 
@@ -456,7 +456,7 @@
 [[package]]
 name = "beefy-gadget"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-primitives",
  "fnv",
@@ -490,7 +490,7 @@
 [[package]]
 name = "beefy-gadget-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-gadget",
  "beefy-primitives",
@@ -513,12 +513,12 @@
 [[package]]
 name = "beefy-merkle-tree"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 
 [[package]]
 name = "beefy-primitives"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -734,7 +734,7 @@
 [[package]]
 name = "bp-header-chain"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-runtime",
  "finality-grandpa",
@@ -751,7 +751,7 @@
 [[package]]
 name = "bp-message-dispatch"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-runtime",
  "frame-support",
@@ -763,7 +763,7 @@
 [[package]]
 name = "bp-messages"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "bp-runtime",
@@ -780,7 +780,7 @@
 [[package]]
 name = "bp-polkadot-core"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-messages",
  "bp-runtime",
@@ -798,7 +798,7 @@
 [[package]]
 name = "bp-rococo"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-messages",
  "bp-polkadot-core",
@@ -815,7 +815,7 @@
 [[package]]
 name = "bp-runtime"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "hash-db",
@@ -833,7 +833,7 @@
 [[package]]
 name = "bp-test-utils"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-header-chain",
  "ed25519-dalek",
@@ -848,7 +848,7 @@
 [[package]]
 name = "bp-wococo"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-messages",
  "bp-polkadot-core",
@@ -863,7 +863,7 @@
 [[package]]
 name = "bridge-runtime-common"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-message-dispatch",
  "bp-messages",
@@ -977,9 +977,9 @@
 
 [[package]]
 name = "camino"
-version = "1.0.7"
+version = "1.0.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f3132262930b0522068049f5870a856ab8affc80c70d08b6ecb785771a6fc23"
+checksum = "07fd178c5af4d59e83498ef15cf3f154e1a6f9d091270cb86283c65ef44e9ef0"
 dependencies = [
  "serde",
 ]
@@ -1122,9 +1122,9 @@
 
 [[package]]
 name = "clap"
-version = "3.1.16"
+version = "3.1.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f52d4f8e4a1419219935762e32913b4430f37cb0c0200ad17a89ee18c0188a9f"
+checksum = "d2dbdf4bdacb33466e854ce889eee8dfd5729abf7ccd7664d0a2d60cd384440b"
 dependencies = [
  "atty",
  "bitflags",
@@ -1139,9 +1139,9 @@
 
 [[package]]
 name = "clap_derive"
-version = "3.1.7"
+version = "3.1.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3aab4734e083b809aaf5794e14e756d1c798d2c69c7f7de7a09a2f5214993c1"
+checksum = "25320346e922cffe59c0bbc5410c8d8784509efb321488971081313cb1e1a33c"
 dependencies = [
  "heck 0.4.0",
  "proc-macro-error",
@@ -1506,7 +1506,7 @@
 [[package]]
 name = "cumulus-client-cli"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "clap",
  "sc-cli",
@@ -1517,7 +1517,7 @@
 [[package]]
 name = "cumulus-client-collator"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-client-consensus-common",
  "cumulus-client-network",
@@ -1541,7 +1541,7 @@
 [[package]]
 name = "cumulus-client-consensus-aura"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-client-consensus-common",
@@ -1570,7 +1570,7 @@
 [[package]]
 name = "cumulus-client-consensus-common"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-relay-chain-interface",
@@ -1591,7 +1591,7 @@
 [[package]]
 name = "cumulus-client-network"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-relay-chain-interface",
@@ -1616,7 +1616,7 @@
 [[package]]
 name = "cumulus-client-pov-recovery"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "cumulus-relay-chain-interface",
@@ -1640,7 +1640,7 @@
 [[package]]
 name = "cumulus-client-service"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-client-cli",
  "cumulus-client-collator",
@@ -1670,7 +1670,7 @@
 [[package]]
 name = "cumulus-pallet-aura-ext"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "frame-executive",
  "frame-support",
@@ -1688,7 +1688,7 @@
 [[package]]
 name = "cumulus-pallet-dmp-queue"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1706,7 +1706,7 @@
 [[package]]
 name = "cumulus-pallet-parachain-system"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-pallet-parachain-system-proc-macro",
  "cumulus-primitives-core",
@@ -1736,7 +1736,7 @@
 [[package]]
 name = "cumulus-pallet-parachain-system-proc-macro"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -1747,7 +1747,7 @@
 [[package]]
 name = "cumulus-pallet-xcm"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1764,7 +1764,7 @@
 [[package]]
 name = "cumulus-pallet-xcmp-queue"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1782,7 +1782,7 @@
 [[package]]
 name = "cumulus-primitives-core"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "frame-support",
  "parity-scale-codec",
@@ -1798,7 +1798,7 @@
 [[package]]
 name = "cumulus-primitives-parachain-inherent"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-primitives-core",
@@ -1821,7 +1821,7 @@
 [[package]]
 name = "cumulus-primitives-timestamp"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "futures 0.3.21",
@@ -1834,7 +1834,7 @@
 [[package]]
 name = "cumulus-primitives-utility"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1851,7 +1851,7 @@
 [[package]]
 name = "cumulus-relay-chain-inprocess-interface"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-primitives-core",
@@ -1879,7 +1879,7 @@
 [[package]]
 name = "cumulus-relay-chain-interface"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-primitives-core",
@@ -1903,7 +1903,7 @@
 [[package]]
 name = "cumulus-relay-chain-rpc-interface"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "backoff",
@@ -1929,7 +1929,7 @@
 [[package]]
 name = "cumulus-test-relay-sproof-builder"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "parity-scale-codec",
@@ -2202,9 +2202,9 @@
 
 [[package]]
 name = "ed25519"
-version = "1.4.1"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d5c4b5e5959dc2c2b89918d8e2cc40fcdd623cef026ed09d2f0ee05199dc8e4"
+checksum = "d916019f70ae3a1faa1195685e290287f39207d38e6dfee727197cffcc002214"
 dependencies = [
  "signature",
 ]
@@ -2555,7 +2555,7 @@
 [[package]]
 name = "fc-consensus"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "async-trait",
  "fc-db",
@@ -2574,7 +2574,7 @@
 [[package]]
 name = "fc-db"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "fp-storage",
  "kvdb-rocksdb",
@@ -2588,7 +2588,7 @@
 [[package]]
 name = "fc-mapping-sync"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "fc-db",
  "fp-consensus",
@@ -2605,7 +2605,7 @@
 [[package]]
 name = "fc-rpc"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -2638,13 +2638,13 @@
  "sp-io",
  "sp-runtime",
  "sp-storage",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "fc-rpc-core"
 version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -2759,7 +2759,7 @@
 [[package]]
 name = "fork-tree"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
 ]
@@ -2777,7 +2777,7 @@
 [[package]]
 name = "fp-consensus"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "parity-scale-codec",
@@ -2789,7 +2789,7 @@
 [[package]]
 name = "fp-evm"
 version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "evm",
  "impl-trait-for-tuples",
@@ -2802,7 +2802,7 @@
 [[package]]
 name = "fp-evm-mapping"
 version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "frame-support",
  "sp-core",
@@ -2811,7 +2811,7 @@
 [[package]]
 name = "fp-rpc"
 version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -2828,7 +2828,7 @@
 [[package]]
 name = "fp-self-contained"
 version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "frame-support",
@@ -2844,7 +2844,7 @@
 [[package]]
 name = "fp-storage"
 version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "parity-scale-codec",
 ]
@@ -2852,7 +2852,7 @@
 [[package]]
 name = "frame-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -2874,7 +2874,7 @@
 [[package]]
 name = "frame-benchmarking-cli"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "Inflector",
  "chrono",
@@ -2922,7 +2922,7 @@
 [[package]]
 name = "frame-election-provider-solution-type"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -2933,7 +2933,7 @@
 [[package]]
 name = "frame-election-provider-support"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-election-provider-solution-type",
  "frame-support",
@@ -2949,7 +2949,7 @@
 [[package]]
 name = "frame-executive"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -2977,7 +2977,7 @@
 [[package]]
 name = "frame-support"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "bitflags",
  "frame-metadata",
@@ -3006,7 +3006,7 @@
 [[package]]
 name = "frame-support-procedural"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "Inflector",
  "frame-support-procedural-tools",
@@ -3018,7 +3018,7 @@
 [[package]]
 name = "frame-support-procedural-tools"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support-procedural-tools-derive",
  "proc-macro-crate 1.1.3",
@@ -3030,7 +3030,7 @@
 [[package]]
 name = "frame-support-procedural-tools-derive"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -3040,7 +3040,7 @@
 [[package]]
 name = "frame-system"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "log",
@@ -3057,7 +3057,7 @@
 [[package]]
 name = "frame-system-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -3072,7 +3072,7 @@
 [[package]]
 name = "frame-system-rpc-runtime-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -3081,7 +3081,7 @@
 [[package]]
 name = "frame-try-runtime"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "sp-api",
@@ -3394,7 +3394,7 @@
  "http",
  "indexmap",
  "slab",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-util 0.7.1",
  "tracing",
 ]
@@ -3588,7 +3588,7 @@
  "itoa 1.0.1",
  "pin-project-lite 0.2.9",
  "socket2 0.4.4",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tower-service",
  "tracing",
  "want",
@@ -3606,7 +3606,7 @@
  "log",
  "rustls 0.19.1",
  "rustls-native-certs 0.5.0",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-rustls 0.22.0",
  "webpki 0.21.4",
 ]
@@ -3622,7 +3622,7 @@
  "log",
  "rustls 0.20.4",
  "rustls-native-certs 0.6.2",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-rustls 0.23.4",
  "webpki-roots 0.22.3",
 ]
@@ -3954,7 +3954,7 @@
  "jsonrpc-core",
  "lazy_static",
  "log",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-stream",
  "tokio-util 0.6.9",
  "unicase",
@@ -4002,7 +4002,7 @@
  "rustls-native-certs 0.6.2",
  "soketto",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-rustls 0.23.4",
  "tokio-util 0.7.1",
  "tracing",
@@ -4028,7 +4028,7 @@
  "serde_json",
  "soketto",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
 ]
 
@@ -4047,7 +4047,7 @@
  "serde",
  "serde_json",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
 ]
 
@@ -4118,8 +4118,8 @@
 
 [[package]]
 name = "kusama-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -4209,8 +4209,8 @@
 
 [[package]]
 name = "kusama-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -5074,8 +5074,8 @@
 
 [[package]]
 name = "metered-channel"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "coarsetime",
  "crossbeam-queue",
@@ -5126,7 +5126,7 @@
  "kernel32-sys",
  "libc",
  "log",
- "miow 0.2.2",
+ "miow",
  "net2",
  "slab",
  "winapi 0.2.8",
@@ -5134,16 +5134,14 @@
 
 [[package]]
 name = "mio"
-version = "0.8.2"
+version = "0.8.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9"
+checksum = "713d550d9b44d89174e066b7a6217ae06234c10cb47819a88290d2b353c31799"
 dependencies = [
  "libc",
  "log",
- "miow 0.3.7",
- "ntapi",
  "wasi 0.11.0+wasi-snapshot-preview1",
- "winapi 0.3.9",
+ "windows-sys",
 ]
 
 [[package]]
@@ -5168,15 +5166,6 @@
  "net2",
  "winapi 0.2.8",
  "ws2_32-sys",
-]
-
-[[package]]
-name = "miow"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
-dependencies = [
- "winapi 0.3.9",
 ]
 
 [[package]]
@@ -5353,15 +5342,6 @@
 dependencies = [
  "memchr",
  "minimal-lexical",
-]
-
-[[package]]
-name = "ntapi"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f"
-dependencies = [
- "winapi 0.3.9",
 ]
 
 [[package]]
@@ -5460,9 +5440,9 @@
 
 [[package]]
 name = "object"
-version = "0.28.3"
+version = "0.28.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40bec70ba014595f99f7aa110b84331ffe1ee9aece7fe6f387cc7e3ecda4d456"
+checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
 dependencies = [
  "memchr",
 ]
@@ -5475,7 +5455,7 @@
 
 [[package]]
 name = "opal-runtime"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "cumulus-pallet-aura-ext",
  "cumulus-pallet-dmp-queue",
@@ -5602,7 +5582,7 @@
 [[package]]
 name = "orml-vesting"
 version = "0.4.1-dev"
-source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.20#3ffcc1b1917f37b9bb8ece700cbbf97893e54391"
+source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.21#ab76865610924c07212a9dc788a45d659c603a4a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5632,7 +5612,7 @@
 [[package]]
 name = "pallet-aura"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5648,7 +5628,7 @@
 [[package]]
 name = "pallet-authority-discovery"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5664,7 +5644,7 @@
 [[package]]
 name = "pallet-authorship"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5679,7 +5659,7 @@
 [[package]]
 name = "pallet-babe"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5703,7 +5683,7 @@
 [[package]]
 name = "pallet-bags-list"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -5723,7 +5703,7 @@
 [[package]]
 name = "pallet-balances"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5738,7 +5718,7 @@
 [[package]]
 name = "pallet-base-fee"
 version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "fp-evm",
  "frame-support",
@@ -5753,7 +5733,7 @@
 [[package]]
 name = "pallet-beefy"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-primitives",
  "frame-support",
@@ -5769,7 +5749,7 @@
 [[package]]
 name = "pallet-beefy-mmr"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-merkle-tree",
  "beefy-primitives",
@@ -5793,7 +5773,7 @@
 [[package]]
 name = "pallet-bounties"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5811,7 +5791,7 @@
 [[package]]
 name = "pallet-bridge-dispatch"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-message-dispatch",
  "bp-runtime",
@@ -5828,7 +5808,7 @@
 [[package]]
 name = "pallet-bridge-grandpa"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-header-chain",
  "bp-runtime",
@@ -5850,7 +5830,7 @@
 [[package]]
 name = "pallet-bridge-messages"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "bp-message-dispatch",
@@ -5871,7 +5851,7 @@
 [[package]]
 name = "pallet-child-bounties"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5890,7 +5870,7 @@
 [[package]]
 name = "pallet-collective"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5926,7 +5906,7 @@
 [[package]]
 name = "pallet-democracy"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5942,7 +5922,7 @@
 [[package]]
 name = "pallet-election-provider-multi-phase"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -5965,7 +5945,7 @@
 [[package]]
 name = "pallet-election-provider-support-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -5978,7 +5958,7 @@
 [[package]]
 name = "pallet-elections-phragmen"
 version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5996,7 +5976,7 @@
 [[package]]
 name = "pallet-ethereum"
 version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -6026,7 +6006,7 @@
 [[package]]
 name = "pallet-evm"
 version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "evm",
  "fp-evm",
@@ -6146,7 +6126,7 @@
 [[package]]
 name = "pallet-gilt"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6161,7 +6141,7 @@
 [[package]]
 name = "pallet-grandpa"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6184,7 +6164,7 @@
 [[package]]
 name = "pallet-identity"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "enumflags2",
  "frame-benchmarking",
@@ -6200,7 +6180,7 @@
 [[package]]
 name = "pallet-im-online"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6220,7 +6200,7 @@
 [[package]]
 name = "pallet-indices"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6256,7 +6236,7 @@
 [[package]]
 name = "pallet-membership"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6273,7 +6253,7 @@
 [[package]]
 name = "pallet-mmr"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ckb-merkle-mountain-range",
  "frame-benchmarking",
@@ -6291,7 +6271,7 @@
 [[package]]
 name = "pallet-mmr-rpc"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -6308,7 +6288,7 @@
 [[package]]
 name = "pallet-multisig"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6323,7 +6303,7 @@
 [[package]]
 name = "pallet-nicks"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6337,7 +6317,7 @@
 [[package]]
 name = "pallet-nomination-pools"
 version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6352,7 +6332,7 @@
 [[package]]
 name = "pallet-nomination-pools-benchmarking"
 version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -6391,7 +6371,7 @@
 [[package]]
 name = "pallet-offences"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6408,7 +6388,7 @@
 [[package]]
 name = "pallet-offences-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -6431,7 +6411,7 @@
 [[package]]
 name = "pallet-preimage"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6447,7 +6427,7 @@
 [[package]]
 name = "pallet-proxy"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6462,7 +6442,7 @@
 [[package]]
 name = "pallet-randomness-collective-flip"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6476,7 +6456,7 @@
 [[package]]
 name = "pallet-recovery"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6507,7 +6487,7 @@
 [[package]]
 name = "pallet-scheduler"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6523,7 +6503,7 @@
 [[package]]
 name = "pallet-session"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6544,7 +6524,7 @@
 [[package]]
 name = "pallet-session-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6560,7 +6540,7 @@
 [[package]]
 name = "pallet-society"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6574,7 +6554,7 @@
 [[package]]
 name = "pallet-staking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -6597,7 +6577,7 @@
 [[package]]
 name = "pallet-staking-reward-curve"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -6608,7 +6588,7 @@
 [[package]]
 name = "pallet-staking-reward-fn"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "sp-arithmetic",
@@ -6617,7 +6597,7 @@
 [[package]]
 name = "pallet-sudo"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6631,7 +6611,7 @@
 [[package]]
 name = "pallet-template-transaction-payment"
 version = "3.0.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.20#fa1a51fcccf488d3d41f0ae7864b9b6455b64d77"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.21#d48fbd3cd0a8261014c8a8b6904d10ddb37ae2d4"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6651,7 +6631,7 @@
 [[package]]
 name = "pallet-timestamp"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6669,7 +6649,7 @@
 [[package]]
 name = "pallet-tips"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6688,7 +6668,7 @@
 [[package]]
 name = "pallet-transaction-payment"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6705,7 +6685,7 @@
 [[package]]
 name = "pallet-transaction-payment-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -6722,7 +6702,7 @@
 [[package]]
 name = "pallet-transaction-payment-rpc-runtime-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "pallet-transaction-payment",
  "parity-scale-codec",
@@ -6733,7 +6713,7 @@
 [[package]]
 name = "pallet-treasury"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6806,7 +6786,7 @@
 [[package]]
 name = "pallet-utility"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6822,7 +6802,7 @@
 [[package]]
 name = "pallet-vesting"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6836,8 +6816,8 @@
 
 [[package]]
 name = "pallet-xcm"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6854,8 +6834,8 @@
 
 [[package]]
 name = "pallet-xcm-benchmarks"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6872,7 +6852,7 @@
 [[package]]
 name = "parachain-info"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -6884,9 +6864,9 @@
 
 [[package]]
 name = "parity-db"
-version = "0.3.12"
+version = "0.3.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e73cd0b0a78045276b19eaae8eaaa20e44a1da9a0217ff934a810d9492ae701"
+checksum = "55a7901b85874402471e131de3332dde0e51f38432c69a3853627c8e25433048"
 dependencies = [
  "blake2-rfc",
  "crc32fast",
@@ -6943,7 +6923,7 @@
  "libc",
  "log",
  "rand 0.7.3",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "winapi 0.3.9",
 ]
 
@@ -7241,8 +7221,8 @@
 
 [[package]]
 name = "polkadot-approval-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-network-protocol",
@@ -7256,8 +7236,8 @@
 
 [[package]]
 name = "polkadot-availability-bitfield-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-network-protocol",
@@ -7269,8 +7249,8 @@
 
 [[package]]
 name = "polkadot-availability-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "fatality",
@@ -7292,8 +7272,8 @@
 
 [[package]]
 name = "polkadot-availability-recovery"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "fatality",
  "futures 0.3.21",
@@ -7313,8 +7293,8 @@
 
 [[package]]
 name = "polkadot-cli"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "clap",
  "frame-benchmarking-cli",
@@ -7337,8 +7317,8 @@
 
 [[package]]
 name = "polkadot-client"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "frame-benchmarking",
@@ -7377,8 +7357,8 @@
 
 [[package]]
 name = "polkadot-collator-protocol"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "always-assert",
  "fatality",
@@ -7398,8 +7378,8 @@
 
 [[package]]
 name = "polkadot-core-primitives"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "parity-scale-codec",
  "parity-util-mem",
@@ -7411,8 +7391,8 @@
 
 [[package]]
 name = "polkadot-dispute-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "fatality",
@@ -7434,8 +7414,8 @@
 
 [[package]]
 name = "polkadot-erasure-coding"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "parity-scale-codec",
  "polkadot-node-primitives",
@@ -7448,8 +7428,8 @@
 
 [[package]]
 name = "polkadot-gossip-support"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -7468,8 +7448,8 @@
 
 [[package]]
 name = "polkadot-network-bridge"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7487,8 +7467,8 @@
 
 [[package]]
 name = "polkadot-node-collation-generation"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "parity-scale-codec",
@@ -7505,8 +7485,8 @@
 
 [[package]]
 name = "polkadot-node-core-approval-voting"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "derive_more",
@@ -7534,8 +7514,8 @@
 
 [[package]]
 name = "polkadot-node-core-av-store"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "futures 0.3.21",
@@ -7554,8 +7534,8 @@
 
 [[package]]
 name = "polkadot-node-core-backing"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "futures 0.3.21",
@@ -7572,8 +7552,8 @@
 
 [[package]]
 name = "polkadot-node-core-bitfield-signing"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-subsystem",
@@ -7587,8 +7567,8 @@
 
 [[package]]
 name = "polkadot-node-core-candidate-validation"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7605,8 +7585,8 @@
 
 [[package]]
 name = "polkadot-node-core-chain-api"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-subsystem",
@@ -7620,8 +7600,8 @@
 
 [[package]]
 name = "polkadot-node-core-chain-selection"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -7637,8 +7617,8 @@
 
 [[package]]
 name = "polkadot-node-core-dispute-coordinator"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "fatality",
  "futures 0.3.21",
@@ -7656,8 +7636,8 @@
 
 [[package]]
 name = "polkadot-node-core-parachains-inherent"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7673,8 +7653,8 @@
 
 [[package]]
 name = "polkadot-node-core-provisioner"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "futures 0.3.21",
@@ -7690,8 +7670,8 @@
 
 [[package]]
 name = "polkadot-node-core-pvf"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "always-assert",
  "assert_matches",
@@ -7720,8 +7700,8 @@
 
 [[package]]
 name = "polkadot-node-core-pvf-checker"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-primitives",
@@ -7736,8 +7716,8 @@
 
 [[package]]
 name = "polkadot-node-core-runtime-api"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "memory-lru",
@@ -7754,8 +7734,8 @@
 
 [[package]]
 name = "polkadot-node-jaeger"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-std",
  "lazy_static",
@@ -7772,8 +7752,8 @@
 
 [[package]]
 name = "polkadot-node-metrics"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bs58",
  "futures 0.3.21",
@@ -7791,8 +7771,8 @@
 
 [[package]]
 name = "polkadot-node-network-protocol"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "fatality",
@@ -7809,8 +7789,8 @@
 
 [[package]]
 name = "polkadot-node-primitives"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bounded-vec",
  "futures 0.3.21",
@@ -7831,8 +7811,8 @@
 
 [[package]]
 name = "polkadot-node-subsystem"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "polkadot-node-jaeger",
  "polkadot-node-subsystem-types",
@@ -7841,8 +7821,8 @@
 
 [[package]]
 name = "polkadot-node-subsystem-types"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "futures 0.3.21",
@@ -7860,8 +7840,8 @@
 
 [[package]]
 name = "polkadot-node-subsystem-util"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "derive_more",
@@ -7893,8 +7873,8 @@
 
 [[package]]
 name = "polkadot-overseer"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -7914,8 +7894,8 @@
 
 [[package]]
 name = "polkadot-overseer-gen"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7931,8 +7911,8 @@
 
 [[package]]
 name = "polkadot-overseer-gen-proc-macro"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "expander 0.0.6",
  "proc-macro-crate 1.1.3",
@@ -7943,8 +7923,8 @@
 
 [[package]]
 name = "polkadot-parachain"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "frame-support",
@@ -7960,8 +7940,8 @@
 
 [[package]]
 name = "polkadot-performance-test"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "env_logger",
  "kusama-runtime",
@@ -7975,8 +7955,8 @@
 
 [[package]]
 name = "polkadot-primitives"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "frame-system",
@@ -8005,8 +7985,8 @@
 
 [[package]]
 name = "polkadot-rpc"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-gadget",
  "beefy-gadget-rpc",
@@ -8037,8 +8017,8 @@
 
 [[package]]
 name = "polkadot-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -8123,8 +8103,8 @@
 
 [[package]]
 name = "polkadot-runtime-common"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -8170,8 +8150,8 @@
 
 [[package]]
 name = "polkadot-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -8182,8 +8162,8 @@
 
 [[package]]
 name = "polkadot-runtime-metrics"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bs58",
  "parity-scale-codec",
@@ -8194,8 +8174,8 @@
 
 [[package]]
 name = "polkadot-runtime-parachains"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitflags",
  "bitvec",
@@ -8237,8 +8217,8 @@
 
 [[package]]
 name = "polkadot-service"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "beefy-gadget",
@@ -8337,8 +8317,8 @@
 
 [[package]]
 name = "polkadot-statement-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "arrayvec 0.5.2",
  "fatality",
@@ -8358,8 +8338,8 @@
 
 [[package]]
 name = "polkadot-statement-table"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "parity-scale-codec",
  "polkadot-primitives",
@@ -8368,8 +8348,8 @@
 
 [[package]]
 name = "polkadot-test-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -8430,8 +8410,8 @@
 
 [[package]]
 name = "polkadot-test-service"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-benchmarking",
  "frame-system",
@@ -8478,7 +8458,7 @@
  "substrate-test-client",
  "tempfile",
  "test-runtime-constants",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing-gum",
 ]
 
@@ -8682,7 +8662,7 @@
 
 [[package]]
 name = "quartz-runtime"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "cumulus-pallet-aura-ext",
  "cumulus-pallet-dmp-queue",
@@ -9043,7 +9023,7 @@
 [[package]]
 name = "remote-externalities"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "env_logger",
  "jsonrpsee",
@@ -9130,8 +9110,8 @@
 
 [[package]]
 name = "rococo-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-merkle-tree",
  "beefy-primitives",
@@ -9207,8 +9187,8 @@
 
 [[package]]
 name = "rococo-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -9409,7 +9389,7 @@
 [[package]]
 name = "sc-allocator"
 version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "sp-core",
@@ -9420,7 +9400,7 @@
 [[package]]
 name = "sc-authority-discovery"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9447,7 +9427,7 @@
 [[package]]
 name = "sc-basic-authorship"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -9470,7 +9450,7 @@
 [[package]]
 name = "sc-block-builder"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sc-client-api",
@@ -9486,7 +9466,7 @@
 [[package]]
 name = "sc-chain-spec"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-trait-for-tuples",
  "memmap2 0.5.3",
@@ -9503,7 +9483,7 @@
 [[package]]
 name = "sc-chain-spec-derive"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -9514,7 +9494,7 @@
 [[package]]
 name = "sc-cli"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "chrono",
  "clap",
@@ -9546,13 +9526,13 @@
  "sp-version",
  "thiserror",
  "tiny-bip39",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "sc-client-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "fnv",
  "futures 0.3.21",
@@ -9580,7 +9560,7 @@
 [[package]]
 name = "sc-client-db"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "kvdb",
@@ -9605,7 +9585,7 @@
 [[package]]
 name = "sc-consensus"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9629,7 +9609,7 @@
 [[package]]
 name = "sc-consensus-aura"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9658,7 +9638,7 @@
 [[package]]
 name = "sc-consensus-babe"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "fork-tree",
@@ -9701,7 +9681,7 @@
 [[package]]
 name = "sc-consensus-babe-rpc"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "jsonrpc-core",
@@ -9725,7 +9705,7 @@
 [[package]]
 name = "sc-consensus-epochs"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "fork-tree",
  "parity-scale-codec",
@@ -9738,7 +9718,7 @@
 [[package]]
 name = "sc-consensus-manual-seal"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "assert_matches",
  "async-trait",
@@ -9774,7 +9754,7 @@
 [[package]]
 name = "sc-consensus-slots"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9799,7 +9779,7 @@
 [[package]]
 name = "sc-consensus-uncles"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "sc-client-api",
  "sp-authorship",
@@ -9810,7 +9790,7 @@
 [[package]]
 name = "sc-executor"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "lazy_static",
  "lru 0.7.5",
@@ -9837,7 +9817,7 @@
 [[package]]
 name = "sc-executor-common"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "environmental",
  "parity-scale-codec",
@@ -9854,7 +9834,7 @@
 [[package]]
 name = "sc-executor-wasmi"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -9870,7 +9850,7 @@
 [[package]]
 name = "sc-executor-wasmtime"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "cfg-if 1.0.0",
  "libc",
@@ -9888,7 +9868,7 @@
 [[package]]
 name = "sc-finality-grandpa"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ahash",
  "async-trait",
@@ -9928,7 +9908,7 @@
 [[package]]
 name = "sc-finality-grandpa-rpc"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "finality-grandpa",
  "futures 0.3.21",
@@ -9952,7 +9932,7 @@
 [[package]]
 name = "sc-informant"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ansi_term",
  "futures 0.3.21",
@@ -9969,7 +9949,7 @@
 [[package]]
 name = "sc-keystore"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "hex",
@@ -9984,7 +9964,7 @@
 [[package]]
 name = "sc-network"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "asynchronous-codec 0.5.0",
@@ -10033,7 +10013,7 @@
 [[package]]
 name = "sc-network-gossip"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ahash",
  "futures 0.3.21",
@@ -10050,7 +10030,7 @@
 [[package]]
 name = "sc-offchain"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "bytes 1.1.0",
  "fnv",
@@ -10078,7 +10058,7 @@
 [[package]]
 name = "sc-peerset"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "libp2p",
@@ -10091,7 +10071,7 @@
 [[package]]
 name = "sc-proposer-metrics"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "substrate-prometheus-endpoint",
@@ -10100,7 +10080,7 @@
 [[package]]
 name = "sc-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "hash-db",
@@ -10131,7 +10111,7 @@
 [[package]]
 name = "sc-rpc-api"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "jsonrpc-core",
@@ -10157,7 +10137,7 @@
 [[package]]
 name = "sc-rpc-server"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "jsonrpc-core",
@@ -10168,13 +10148,13 @@
  "log",
  "serde_json",
  "substrate-prometheus-endpoint",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "sc-service"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "directories",
@@ -10231,7 +10211,7 @@
  "substrate-prometheus-endpoint",
  "tempfile",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
  "tracing-futures",
 ]
@@ -10239,7 +10219,7 @@
 [[package]]
 name = "sc-state-db"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -10253,7 +10233,7 @@
 [[package]]
 name = "sc-sync-state-rpc"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -10274,7 +10254,7 @@
 [[package]]
 name = "sc-sysinfo"
 version = "6.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "libc",
@@ -10293,7 +10273,7 @@
 [[package]]
 name = "sc-telemetry"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "chrono",
  "futures 0.3.21",
@@ -10311,7 +10291,7 @@
 [[package]]
 name = "sc-tracing"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ansi_term",
  "atty",
@@ -10342,7 +10322,7 @@
 [[package]]
 name = "sc-tracing-proc-macro"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -10353,7 +10333,7 @@
 [[package]]
 name = "sc-transaction-pool"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -10380,7 +10360,7 @@
 [[package]]
 name = "sc-transaction-pool-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "log",
@@ -10393,7 +10373,7 @@
 [[package]]
 name = "sc-utils"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -10789,8 +10769,8 @@
 
 [[package]]
 name = "slot-range-helper"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "enumn",
  "parity-scale-codec",
@@ -10878,7 +10858,7 @@
 [[package]]
 name = "sp-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "log",
@@ -10895,7 +10875,7 @@
 [[package]]
 name = "sp-api-proc-macro"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "blake2 0.10.4",
  "proc-macro-crate 1.1.3",
@@ -10907,7 +10887,7 @@
 [[package]]
 name = "sp-application-crypto"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -10920,7 +10900,7 @@
 [[package]]
 name = "sp-arithmetic"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "integer-sqrt",
  "num-traits",
@@ -10935,7 +10915,7 @@
 [[package]]
 name = "sp-authority-discovery"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -10948,7 +10928,7 @@
 [[package]]
 name = "sp-authorship"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "parity-scale-codec",
@@ -10960,7 +10940,7 @@
 [[package]]
 name = "sp-block-builder"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -10972,7 +10952,7 @@
 [[package]]
 name = "sp-blockchain"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "log",
@@ -10990,7 +10970,7 @@
 [[package]]
 name = "sp-consensus"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -11009,7 +10989,7 @@
 [[package]]
 name = "sp-consensus-aura"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "parity-scale-codec",
@@ -11027,7 +11007,7 @@
 [[package]]
 name = "sp-consensus-babe"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "merlin",
@@ -11050,7 +11030,7 @@
 [[package]]
 name = "sp-consensus-slots"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11064,7 +11044,7 @@
 [[package]]
 name = "sp-consensus-vrf"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "schnorrkel",
@@ -11076,7 +11056,7 @@
 [[package]]
 name = "sp-core"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "base58",
  "bitflags",
@@ -11122,7 +11102,7 @@
 [[package]]
 name = "sp-core-hashing"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "blake2 0.10.4",
  "byteorder",
@@ -11136,7 +11116,7 @@
 [[package]]
 name = "sp-core-hashing-proc-macro"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -11147,7 +11127,7 @@
 [[package]]
 name = "sp-database"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "kvdb",
  "parking_lot 0.12.0",
@@ -11156,7 +11136,7 @@
 [[package]]
 name = "sp-debug-derive"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -11166,7 +11146,7 @@
 [[package]]
 name = "sp-externalities"
 version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "environmental",
  "parity-scale-codec",
@@ -11177,7 +11157,7 @@
 [[package]]
 name = "sp-finality-grandpa"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "finality-grandpa",
  "log",
@@ -11195,7 +11175,7 @@
 [[package]]
 name = "sp-inherents"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "impl-trait-for-tuples",
@@ -11209,7 +11189,7 @@
 [[package]]
 name = "sp-io"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "hash-db",
@@ -11234,7 +11214,7 @@
 [[package]]
 name = "sp-keyring"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "lazy_static",
  "sp-core",
@@ -11245,7 +11225,7 @@
 [[package]]
 name = "sp-keystore"
 version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -11262,7 +11242,7 @@
 [[package]]
 name = "sp-maybe-compressed-blob"
 version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "thiserror",
  "zstd",
@@ -11271,7 +11251,7 @@
 [[package]]
 name = "sp-mmr-primitives"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -11286,7 +11266,7 @@
 [[package]]
 name = "sp-npos-elections"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11300,7 +11280,7 @@
 [[package]]
 name = "sp-offchain"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "sp-api",
  "sp-core",
@@ -11310,7 +11290,7 @@
 [[package]]
 name = "sp-panic-handler"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "backtrace",
  "lazy_static",
@@ -11320,7 +11300,7 @@
 [[package]]
 name = "sp-rpc"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "rustc-hash",
  "serde",
@@ -11330,7 +11310,7 @@
 [[package]]
 name = "sp-runtime"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "either",
  "hash256-std-hasher",
@@ -11352,7 +11332,7 @@
 [[package]]
 name = "sp-runtime-interface"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-trait-for-tuples",
  "parity-scale-codec",
@@ -11369,7 +11349,7 @@
 [[package]]
 name = "sp-runtime-interface-proc-macro"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "Inflector",
  "proc-macro-crate 1.1.3",
@@ -11381,7 +11361,7 @@
 [[package]]
 name = "sp-serializer"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "serde",
  "serde_json",
@@ -11390,7 +11370,7 @@
 [[package]]
 name = "sp-session"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11404,7 +11384,7 @@
 [[package]]
 name = "sp-staking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11415,7 +11395,7 @@
 [[package]]
 name = "sp-state-machine"
 version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "log",
@@ -11437,12 +11417,12 @@
 [[package]]
 name = "sp-std"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 
 [[package]]
 name = "sp-storage"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-serde",
  "parity-scale-codec",
@@ -11455,7 +11435,7 @@
 [[package]]
 name = "sp-tasks"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "sp-core",
@@ -11468,7 +11448,7 @@
 [[package]]
 name = "sp-timestamp"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures-timer",
@@ -11484,7 +11464,7 @@
 [[package]]
 name = "sp-tracing"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sp-std",
@@ -11496,7 +11476,7 @@
 [[package]]
 name = "sp-transaction-pool"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "sp-api",
  "sp-runtime",
@@ -11505,7 +11485,7 @@
 [[package]]
 name = "sp-transaction-storage-proof"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "log",
@@ -11521,7 +11501,7 @@
 [[package]]
 name = "sp-trie"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "memory-db",
@@ -11537,7 +11517,7 @@
 [[package]]
 name = "sp-version"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-serde",
  "parity-scale-codec",
@@ -11554,7 +11534,7 @@
 [[package]]
 name = "sp-version-proc-macro"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "proc-macro2",
@@ -11565,7 +11545,7 @@
 [[package]]
 name = "sp-wasm-interface"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-trait-for-tuples",
  "log",
@@ -11593,9 +11573,9 @@
 
 [[package]]
 name = "ss58-registry"
-version = "1.17.0"
+version = "1.18.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b84a70894df7a73666e0694f44b41a9571625e9546fb58a0818a565d2c7e084"
+checksum = "ceb8b72a924ccfe7882d0e26144c114503760a4d1248bb5cd06c8ab2d55404cc"
 dependencies = [
  "Inflector",
  "num-format",
@@ -11722,7 +11702,7 @@
 [[package]]
 name = "substrate-build-script-utils"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "platforms",
 ]
@@ -11730,7 +11710,7 @@
 [[package]]
 name = "substrate-frame-rpc-system"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-system-rpc-runtime-api",
  "futures 0.3.21",
@@ -11752,20 +11732,20 @@
 [[package]]
 name = "substrate-prometheus-endpoint"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures-util",
  "hyper",
  "log",
  "prometheus",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "substrate-state-trie-migration-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -11788,7 +11768,7 @@
 [[package]]
 name = "substrate-test-client"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -11814,17 +11794,17 @@
 [[package]]
 name = "substrate-test-utils"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "substrate-test-utils-derive",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "substrate-test-utils-derive"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -11835,7 +11815,7 @@
 [[package]]
 name = "substrate-wasm-builder"
 version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ansi_term",
  "build-helper",
@@ -11856,9 +11836,9 @@
 
 [[package]]
 name = "syn"
-version = "1.0.92"
+version = "1.0.93"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52"
+checksum = "04066589568b72ec65f42d65a1a52436e954b168773148893c020269563decf2"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -11925,8 +11905,8 @@
 
 [[package]]
 name = "test-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -12077,14 +12057,14 @@
 
 [[package]]
 name = "tokio"
-version = "1.18.1"
+version = "1.18.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce653fb475565de9f6fb0614b28bca8df2c430c0cf84bcd9c843f15de5414cc"
+checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395"
 dependencies = [
  "bytes 1.1.0",
  "libc",
  "memchr",
- "mio 0.8.2",
+ "mio 0.8.3",
  "num_cpus",
  "once_cell",
  "parking_lot 0.12.0",
@@ -12124,7 +12104,7 @@
 checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
 dependencies = [
  "rustls 0.19.1",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "webpki 0.21.4",
 ]
 
@@ -12135,7 +12115,7 @@
 checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
 dependencies = [
  "rustls 0.20.4",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "webpki 0.22.0",
 ]
 
@@ -12147,7 +12127,7 @@
 dependencies = [
  "futures-core",
  "pin-project-lite 0.2.9",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
@@ -12161,7 +12141,7 @@
  "futures-sink",
  "log",
  "pin-project-lite 0.2.9",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
@@ -12175,7 +12155,7 @@
  "futures-io",
  "futures-sink",
  "pin-project-lite 0.2.9",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
 ]
 
@@ -12239,8 +12219,8 @@
 
 [[package]]
 name = "tracing-gum"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "polkadot-node-jaeger",
  "polkadot-primitives",
@@ -12250,8 +12230,8 @@
 
 [[package]]
 name = "tracing-gum-proc-macro"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "expander 0.0.6",
  "proc-macro-crate 1.1.3",
@@ -12388,7 +12368,7 @@
 [[package]]
 name = "try-runtime-cli"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "clap",
  "jsonrpsee",
@@ -12515,7 +12495,7 @@
 
 [[package]]
 name = "unique-node"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "clap",
  "cumulus-client-cli",
@@ -12591,7 +12571,7 @@
  "substrate-build-script-utils",
  "substrate-frame-rpc-system",
  "substrate-prometheus-endpoint",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "unique-rpc",
  "unique-runtime",
  "unique-runtime-common",
@@ -12649,7 +12629,7 @@
 
 [[package]]
 name = "unique-runtime"
-version = "0.9.18"
+version = "0.9.21"
 dependencies = [
  "cumulus-pallet-aura-ext",
  "cumulus-pallet-dmp-queue",
@@ -12725,7 +12705,7 @@
 
 [[package]]
 name = "unique-runtime-common"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "fp-rpc",
  "frame-support",
@@ -12817,7 +12797,7 @@
 [[package]]
 name = "up-sponsorship"
 version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.20#fa1a51fcccf488d3d41f0ae7864b9b6455b64d77"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.21#d48fbd3cd0a8261014c8a8b6904d10ddb37ae2d4"
 dependencies = [
  "impl-trait-for-tuples",
 ]
@@ -13281,8 +13261,8 @@
 
 [[package]]
 name = "westend-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -13370,8 +13350,8 @@
 
 [[package]]
 name = "westend-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -13524,8 +13504,8 @@
 
 [[package]]
 name = "xcm"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derivative",
  "impl-trait-for-tuples",
@@ -13537,8 +13517,8 @@
 
 [[package]]
 name = "xcm-builder"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -13557,8 +13537,8 @@
 
 [[package]]
 name = "xcm-executor"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -13576,7 +13556,7 @@
 [[package]]
 name = "xcm-procedural"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "Inflector",
  "proc-macro2",
@@ -13627,18 +13607,18 @@
 
 [[package]]
 name = "zstd"
-version = "0.10.0+zstd.1.5.2"
+version = "0.10.2+zstd.1.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b1365becbe415f3f0fcd024e2f7b45bacfb5bdd055f0dc113571394114e7bdd"
+checksum = "5f4a6bd64f22b5e3e94b4e238669ff9f10815c27a5180108b849d24174a83847"
 dependencies = [
  "zstd-safe",
 ]
 
 [[package]]
 name = "zstd-safe"
-version = "4.1.4+zstd.1.5.2"
+version = "4.1.6+zstd.1.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f7cd17c9af1a4d6c24beb1cc54b17e2ef7b593dc92f19e9d9acad8b182bbaee"
+checksum = "94b61c51bb270702d6167b8ce67340d2754b088d0c091b06e593aa772c3ee9bb"
 dependencies = [
  "libc",
  "zstd-sys",
modifiedDockerfile-parachaindiffbeforeafterboth
--- a/Dockerfile-parachain
+++ b/Dockerfile-parachain
@@ -4,7 +4,7 @@
 
 ARG RUST_TOOLCHAIN=nightly-2022-04-07
 #ARG RUST_C=1.62.0-nightly
-ARG POLKA_VERSION=release-v0.9.20
+ARG POLKA_VERSION=release-v0.9.21
 ARG UNIQUE_BRANCH=develop
 
 #ARG USER=***
modifiedREADME.mddiffbeforeafterboth
--- a/README.md
+++ b/README.md
@@ -81,7 +81,7 @@
 ```
 git clone https://github.com/paritytech/polkadot.git
 cd polkadot
-git checkout release-v0.9.20
+git checkout release-v0.9.21
 cargo build --release
 ```
 
modifiedclient/rpc/Cargo.tomldiffbeforeafterboth
--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -13,9 +13,9 @@
 jsonrpc-core-client = "18.0.0"
 jsonrpc-derive = "18.0.0"
 
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
modifiednode/cli/Cargo.tomldiffbeforeafterboth
--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -3,7 +3,7 @@
 
 [build-dependencies.substrate-build-script-utils]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Substrate Dependecies
@@ -16,150 +16,150 @@
 
 [dependencies.frame-benchmarking]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-benchmarking-cli]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.substrate-prometheus-endpoint]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-basic-authorship]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-chain-spec]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-cli]
 features = ['wasmtime']
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-client-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-consensus]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-consensus-aura]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-executor]
 features = ['wasmtime']
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-finality-grandpa]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-keystore]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-rpc]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-rpc-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-service]
 features = ['wasmtime']
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-telemetry]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-transaction-pool]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-tracing]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-blockchain]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-finality-grandpa]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-keystore]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-timestamp]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-trie]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.substrate-frame-rpc-system]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-network]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.serde]
 features = ['derive']
@@ -170,76 +170,76 @@
 
 [dependencies.sc-consensus-manual-seal]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Cumulus dependencies
 
 [dependencies.cumulus-client-consensus-aura]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-consensus-common]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-collator]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-cli]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-network]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-primitives-parachain-inherent]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-service]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-relay-chain-interface]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-relay-chain-inprocess-interface]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-relay-chain-rpc-interface]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Polkadot dependencies
 [dependencies.polkadot-primitives]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-service]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-cli]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-test-service]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 
 ################################################################################
@@ -269,7 +269,7 @@
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Package
@@ -283,7 +283,7 @@
 license = 'GPLv3'
 name = 'unique-node'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [[bin]]
 name = 'unique-collator'
@@ -302,13 +302,13 @@
 jsonrpc-pubsub = "18.0.0"
 tokio = { version = "1.17.0", features = ["time"] }
 
-fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 unique-rpc = { default-features = false, path = "../rpc" }
 
modifiednode/rpc/Cargo.tomldiffbeforeafterboth
--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -14,40 +14,40 @@
 jsonrpc-core = "18.0.0"
 jsonrpc-pubsub = "18.0.0"
 # pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'master' }
-pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 tokio = { version = "0.2.25", features = ["macros", "sync"] }
 
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 pallet-common = { default-features = false, path = "../../pallets/common" }
 unique-runtime-common = { default-features = false, path = "../../runtime/common" }
modifiedpallets/common/Cargo.tomldiffbeforeafterboth
--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -11,16 +11,16 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
 pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 serde = { version = "1.0.130", default-features = false }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
modifiedpallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-coder-substrate/Cargo.toml
+++ b/pallets/evm-coder-substrate/Cargo.toml
@@ -8,15 +8,15 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 ethereum = { version = "0.12.0", default-features = false }
 evm-coder = { default-features = false, path = "../../crates/evm-coder" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
 [dependencies.codec]
 default-features = false
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -8,16 +8,16 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
 pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
 log = "0.4.14"
 
 [dependencies.codec]
modifiedpallets/evm-migration/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -8,15 +8,15 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 [dependencies.codec]
 default-features = false
modifiedpallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-transaction-payment/Cargo.toml
+++ b/pallets/evm-transaction-payment/Cargo.toml
@@ -8,17 +8,17 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 [dependencies.codec]
 default-features = false
modifiedpallets/fungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/fungible/Cargo.toml
+++ b/pallets/fungible/Cargo.toml
@@ -11,18 +11,18 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 pallet-common = { default-features = false, path = '../common' }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
 pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
 ethereum = { version = "0.12.0", default-features = false }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
modifiedpallets/inflation/Cargo.tomldiffbeforeafterboth
--- a/pallets/inflation/Cargo.toml
+++ b/pallets/inflation/Cargo.toml
@@ -43,37 +43,37 @@
 default-features = false
 optional = true
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.serde]
 default-features = false
@@ -83,17 +83,17 @@
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies]
 scale-info = { version = "2.0.1", default-features = false, features = [
modifiedpallets/nonfungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -11,18 +11,18 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-common = { default-features = false, path = '../common' }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
 pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
 ethereum = { version = "0.12.0", default-features = false }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
modifiedpallets/refungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/Cargo.toml
@@ -11,15 +11,15 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-common = { default-features = false, path = '../common' }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -15,20 +15,20 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
 	"derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.20' }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.21' }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
 log = { version = "0.4.14", default-features = false }
 
 [dev-dependencies]
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
 [features]
 default = ["std"]
modifiedpallets/unique/Cargo.tomldiffbeforeafterboth
--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -61,42 +61,42 @@
 default-features = false
 optional = true
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.serde]
 default-features = false
@@ -106,17 +106,17 @@
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 
 ################################################################################
@@ -129,19 +129,19 @@
 ] }
 ethereum = { version = "0.12.0", default-features = false }
 rlp = { default-features = false, version = "0.5.0" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 evm-coder = { default-features = false, path = "../../crates/evm-coder" }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
 primitive-types = { version = "0.11.1", default-features = false, features = [
     "serde_no_std",
 ] }
 
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 hex-literal = "0.3.3"
 
 pallet-common = { default-features = false, path = "../common" }
modifiedprimitives/data-structs/Cargo.tomldiffbeforeafterboth
--- a/primitives/data-structs/Cargo.toml
+++ b/primitives/data-structs/Cargo.toml
@@ -18,11 +18,11 @@
 serde = { version = "1.0.130", features = [
   'derive',
 ], default-features = false, optional = true }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 derivative = "2.2.0"
 
 [features]
modifiedprimitives/rpc/Cargo.tomldiffbeforeafterboth
--- a/primitives/rpc/Cargo.toml
+++ b/primitives/rpc/Cargo.toml
@@ -10,11 +10,11 @@
 codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
 	"derive",
 ] }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 [features]
 default = ["std"]
modifiedruntime/common/Cargo.tomldiffbeforeafterboth
--- a/runtime/common/Cargo.toml
+++ b/runtime/common/Cargo.toml
@@ -6,7 +6,7 @@
 license = 'All Rights Reserved'
 name = 'unique-runtime-common'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [features]
 default = ['std']
@@ -29,12 +29,12 @@
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.codec]
 default-features = false
@@ -50,12 +50,12 @@
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-common]
 default-features = false
@@ -64,12 +64,12 @@
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.fp-rpc]
 default-features = false
 git = "https://github.com/uniquenetwork/frontier"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 
 [dependencies]
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -10,7 +10,7 @@
 license = 'GPLv3'
 name = 'opal-runtime'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [package.metadata.docs.rs]
 targets = ['x86_64-unknown-linux-gnu']
@@ -119,33 +119,33 @@
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-executive]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-benchmarking]
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.hex-literal]
 optional = true
@@ -160,12 +160,12 @@
 [dependencies.pallet-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # Contracts specific packages
 # [dependencies.pallet-contracts]
@@ -189,32 +189,32 @@
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-sudo]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-treasury]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # [dependencies.pallet-vesting]
 # default-features = false
@@ -224,67 +224,67 @@
 [dependencies.sp-arithmetic]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-version]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.smallvec]
 version = '1.6.1'
@@ -294,47 +294,47 @@
 
 [dependencies.parachain-info]
 default-features = false
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-pallet-aura-ext]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-parachain-system]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcm]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-dmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-utility]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-timestamp]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 ################################################################################
@@ -342,32 +342,32 @@
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-builder]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-executor]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.pallet-xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.orml-vesting]
 git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 version = "0.4.1-dev"
 default-features = false
 
@@ -382,7 +382,7 @@
 derivative = "2.2.0"
 pallet-unique = { path = '../../pallets/unique', default-features = false }
 up-rpc = { path = "../../primitives/rpc", default-features = false }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-inflation = { path = '../../pallets/inflation', default-features = false }
 up-data-structs = { path = '../../primitives/data-structs', default-features = false }
 pallet-common = { default-features = false, path = "../../pallets/common" }
@@ -391,20 +391,20 @@
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
 pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
 pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 ################################################################################
 # Build Dependencies
 
 [build-dependencies.substrate-wasm-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -176,7 +176,7 @@
 	spec_name: create_runtime_str!(RUNTIME_NAME),
 	impl_name: create_runtime_str!(RUNTIME_NAME),
 	authoring_version: 1,
-	spec_version: 920000,
+	spec_version: 921000,
 	impl_version: 0,
 	apis: RUNTIME_API_VERSIONS,
 	transaction_version: 1,
@@ -293,8 +293,8 @@
 	type FeeCalculator = FixedFee;
 	type GasWeightMapping = FixedGasWeightMapping;
 	type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;
-	type CallOrigin = EnsureAddressTruncated;
-	type WithdrawOrigin = EnsureAddressTruncated;
+	type CallOrigin = EnsureAddressTruncated<Self>;
+	type WithdrawOrigin = EnsureAddressTruncated<Self>;
 	type AddressMapping = HashedAddressMapping<Self::Hashing>;
 	type PrecompilesType = ();
 	type PrecompilesValue = ();
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -10,7 +10,7 @@
 license = 'GPLv3'
 name = 'quartz-runtime'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [package.metadata.docs.rs]
 targets = ['x86_64-unknown-linux-gnu']
@@ -119,33 +119,33 @@
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-executive]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-benchmarking]
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.hex-literal]
 optional = true
@@ -160,12 +160,12 @@
 [dependencies.pallet-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # Contracts specific packages
 # [dependencies.pallet-contracts]
@@ -189,32 +189,32 @@
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-sudo]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-treasury]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # [dependencies.pallet-vesting]
 # default-features = false
@@ -224,67 +224,67 @@
 [dependencies.sp-arithmetic]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-version]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.smallvec]
 version = '1.6.1'
@@ -294,47 +294,47 @@
 
 [dependencies.parachain-info]
 default-features = false
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-pallet-aura-ext]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-parachain-system]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcm]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-dmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-utility]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-timestamp]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 ################################################################################
@@ -342,32 +342,32 @@
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-builder]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-executor]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.pallet-xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.orml-vesting]
 git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 version = "0.4.1-dev"
 default-features = false
 
@@ -382,7 +382,7 @@
 derivative = "2.2.0"
 pallet-unique = { path = '../../pallets/unique', default-features = false }
 up-rpc = { path = "../../primitives/rpc", default-features = false }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-inflation = { path = '../../pallets/inflation', default-features = false }
 up-data-structs = { path = '../../primitives/data-structs', default-features = false }
 pallet-common = { default-features = false, path = "../../pallets/common" }
@@ -391,20 +391,20 @@
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
 pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
 pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 ################################################################################
 # Build Dependencies
 
 [build-dependencies.substrate-wasm-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -159,7 +159,7 @@
 	spec_name: create_runtime_str!(RUNTIME_NAME),
 	impl_name: create_runtime_str!(RUNTIME_NAME),
 	authoring_version: 1,
-	spec_version: 920000,
+	spec_version: 921000,
 	impl_version: 0,
 	apis: RUNTIME_API_VERSIONS,
 	transaction_version: 1,
@@ -270,8 +270,8 @@
 	type FeeCalculator = FixedFee;
 	type GasWeightMapping = FixedGasWeightMapping;
 	type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;
-	type CallOrigin = EnsureAddressTruncated;
-	type WithdrawOrigin = EnsureAddressTruncated;
+	type CallOrigin = EnsureAddressTruncated<Self>;
+	type WithdrawOrigin = EnsureAddressTruncated<Self>;
 	type AddressMapping = HashedAddressMapping<Self::Hashing>;
 	type PrecompilesType = ();
 	type PrecompilesValue = ();
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -10,7 +10,7 @@
 license = 'GPLv3'
 name = 'unique-runtime'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.18'
+version = '0.9.21'
 
 [package.metadata.docs.rs]
 targets = ['x86_64-unknown-linux-gnu']
@@ -119,33 +119,33 @@
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-executive]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-benchmarking]
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.hex-literal]
 optional = true
@@ -160,12 +160,12 @@
 [dependencies.pallet-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # Contracts specific packages
 # [dependencies.pallet-contracts]
@@ -189,32 +189,32 @@
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-sudo]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-treasury]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # [dependencies.pallet-vesting]
 # default-features = false
@@ -224,67 +224,67 @@
 [dependencies.sp-arithmetic]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-version]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.smallvec]
 version = '1.6.1'
@@ -294,47 +294,47 @@
 
 [dependencies.parachain-info]
 default-features = false
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-pallet-aura-ext]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-parachain-system]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcm]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-dmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-utility]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-timestamp]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 ################################################################################
@@ -342,32 +342,32 @@
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-builder]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-executor]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.pallet-xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.orml-vesting]
 git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 version = "0.4.1-dev"
 default-features = false
 
@@ -390,21 +390,21 @@
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
 pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
 pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 ################################################################################
 # Build Dependencies
 
 [build-dependencies.substrate-wasm-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
before · runtime/unique/src/lib.rs
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617//! The Substrate Node Template runtime. This can be compiled with `#[no_std]`, ready for Wasm.1819#![cfg_attr(not(feature = "std"), no_std)]20// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.21#![recursion_limit = "1024"]22#![allow(clippy::from_over_into, clippy::identity_op)]23#![allow(clippy::fn_to_numeric_cast_with_truncation)]24// Make the WASM binary available.25#[cfg(feature = "std")]26include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));2728use sp_api::impl_runtime_apis;29use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160};30use sp_runtime::DispatchError;31// #[cfg(any(feature = "std", test))]32// pub use sp_runtime::BuildStorage;3334use sp_runtime::{35	Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys,36	generic::Era,37	traits::{38		Applyable, BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating,39		CheckedConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion,40		Zero, Member,41	},42	transaction_validity::{TransactionSource, TransactionValidity, TransactionValidityError},43	ApplyExtrinsicResult, RuntimeAppPublic, SaturatedConversion, DispatchErrorWithPostInfo,44};4546use fp_self_contained::{SelfContainedCall, CheckedSignature};47use sp_std::{cmp::Ordering, marker::PhantomData};48use pallet_unq_scheduler::DispatchCall;4950use sp_std::prelude::*;5152#[cfg(feature = "std")]53use sp_version::NativeVersion;54use sp_version::RuntimeVersion;55pub use pallet_transaction_payment::{56	Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,57};58// A few exports that help ease life for downstream crates.59pub use pallet_balances::Call as BalancesCall;60pub use pallet_evm::{61	EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,62};63pub use frame_support::{64	construct_runtime, match_types,65	dispatch::DispatchResult,66	PalletId, parameter_types, StorageValue, ConsensusEngineId,67	traits::{68		tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,69		Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,70		OnUnbalanced, Randomness, FindAuthor, PrivilegeCmp,71	},72	weights::{73		constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},74		DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,75		WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,76	},77};78use up_data_structs::*;79// use pallet_contracts::weights::WeightInfo;80// #[cfg(any(feature = "std", test))]81use frame_system::{82	self as frame_system, EnsureRoot, EnsureSigned,83	limits::{BlockWeights, BlockLength},84};85use sp_arithmetic::{86	traits::{BaseArithmetic, Unsigned},87};88use smallvec::smallvec;89use codec::{Encode, Decode};90use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};91use fp_rpc::TransactionStatus;9293// pub use pallet_timestamp::Call as TimestampCall;9495// Polkadot imports96use pallet_xcm::XcmPassthrough;97use polkadot_parachain::primitives::Sibling;98use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};99use xcm_builder::{100	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,101	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,102	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,103	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,104	ParentIsPreset,105};106use xcm_executor::{Config, XcmExecutor, Assets};107108use xcm::latest::{109	//	Xcm,110	AssetId::{Concrete},111	Fungibility::Fungible as XcmFungible,112	MultiAsset,113	Error as XcmError,114};115use xcm_executor::traits::{MatchesFungible, WeightTrader};116use unique_runtime_common::{impl_common_runtime_apis, types::*, constants::*};117118pub const RUNTIME_NAME: &str = "unique";119pub const TOKEN_SYMBOL: &str = "UNQ";120121type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;122123impl RuntimeInstance for Runtime {124	type CrossAccountId = self::CrossAccountId;125126	type TransactionConverter = self::TransactionConverter;127128	fn get_transaction_converter() -> TransactionConverter {129		TransactionConverter130	}131}132133/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know134/// the specifics of the runtime. They can then be made to be agnostic over specific formats135/// of data like extrinsics, allowing for them to continue syncing the network through upgrades136/// to even the core data structures.137pub mod opaque {138	use sp_std::prelude::*;139	use sp_runtime::impl_opaque_keys;140	use super::Aura;141142	pub use unique_runtime_common::types::*;143144	impl_opaque_keys! {145		pub struct SessionKeys {146			pub aura: Aura,147		}148	}149}150151/// This runtime version.152pub const VERSION: RuntimeVersion = RuntimeVersion {153	spec_name: create_runtime_str!(RUNTIME_NAME),154	impl_name: create_runtime_str!(RUNTIME_NAME),155	authoring_version: 1,156	spec_version: 920000,157	impl_version: 0,158	apis: RUNTIME_API_VERSIONS,159	transaction_version: 1,160	state_version: 0,161};162163#[derive(codec::Encode, codec::Decode)]164pub enum XCMPMessage<XAccountId, XBalance> {165	/// Transfer tokens to the given account from the Parachain account.166	TransferToken(XAccountId, XBalance),167}168169/// The version information used to identify this runtime when compiled natively.170#[cfg(feature = "std")]171pub fn native_version() -> NativeVersion {172	NativeVersion {173		runtime_version: VERSION,174		can_author_with: Default::default(),175	}176}177178type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;179180pub struct DealWithFees;181impl OnUnbalanced<NegativeImbalance> for DealWithFees {182	fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {183		if let Some(fees) = fees_then_tips.next() {184			// for fees, 100% to treasury185			let mut split = fees.ration(100, 0);186			if let Some(tips) = fees_then_tips.next() {187				// for tips, if any, 100% to treasury188				tips.ration_merge_into(100, 0, &mut split);189			}190			Treasury::on_unbalanced(split.0);191			// Author::on_unbalanced(split.1);192		}193	}194}195196parameter_types! {197	pub const BlockHashCount: BlockNumber = 2400;198	pub RuntimeBlockLength: BlockLength =199		BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);200	pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);201	pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;202	pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()203		.base_block(BlockExecutionWeight::get())204		.for_class(DispatchClass::all(), |weights| {205			weights.base_extrinsic = ExtrinsicBaseWeight::get();206		})207		.for_class(DispatchClass::Normal, |weights| {208			weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);209		})210		.for_class(DispatchClass::Operational, |weights| {211			weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);212			// Operational transactions have some extra reserved space, so that they213			// are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.214			weights.reserved = Some(215				MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT216			);217		})218		.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)219		.build_or_panic();220	pub const Version: RuntimeVersion = VERSION;221	pub const SS58Prefix: u16 = 7391;222}223224parameter_types! {225	pub const ChainId: u64 = 8880;226}227228pub struct FixedFee;229impl FeeCalculator for FixedFee {230	fn min_gas_price() -> U256 {231		MIN_GAS_PRICE.into()232	}233}234235// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case236// (contract, which only writes a lot of data),237// approximating on top of our real store write weight238parameter_types! {239	pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;240	pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;241	pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();242}243244/// Limiting EVM execution to 50% of block for substrate users and management tasks245/// EVM transaction consumes more weight than substrate's, so we can't rely on them being246/// scheduled fairly247const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);248parameter_types! {249	pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());250}251252pub enum FixedGasWeightMapping {}253impl GasWeightMapping for FixedGasWeightMapping {254	fn gas_to_weight(gas: u64) -> Weight {255		gas.saturating_mul(WeightPerGas::get())256	}257	fn weight_to_gas(weight: Weight) -> u64 {258		weight / WeightPerGas::get()259	}260}261262impl pallet_evm::Config for Runtime {263	type BlockGasLimit = BlockGasLimit;264	type FeeCalculator = FixedFee;265	type GasWeightMapping = FixedGasWeightMapping;266	type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;267	type CallOrigin = EnsureAddressTruncated;268	type WithdrawOrigin = EnsureAddressTruncated;269	type AddressMapping = HashedAddressMapping<Self::Hashing>;270	type PrecompilesType = ();271	type PrecompilesValue = ();272	type Currency = Balances;273	type Event = Event;274	type OnMethodCall = (275		pallet_evm_migration::OnMethodCall<Self>,276		pallet_unique::UniqueErcSupport<Self>,277		pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,278	);279	type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;280	type ChainId = ChainId;281	type Runner = pallet_evm::runner::stack::Runner<Self>;282	type OnChargeTransaction = pallet_evm::EVMCurrencyAdapter<Balances, DealWithFees>;283	type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;284	type FindAuthor = EthereumFindAuthor<Aura>;285}286287impl pallet_evm_migration::Config for Runtime {288	type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;289}290291pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);292impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {293	fn find_author<'a, I>(digests: I) -> Option<H160>294	where295		I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,296	{297		if let Some(author_index) = F::find_author(digests) {298			let authority_id = Aura::authorities()[author_index as usize].clone();299			return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));300		}301		None302	}303}304305impl pallet_ethereum::Config for Runtime {306	type Event = Event;307	type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;308}309310impl pallet_randomness_collective_flip::Config for Runtime {}311312impl frame_system::Config for Runtime {313	/// The data to be stored in an account.314	type AccountData = pallet_balances::AccountData<Balance>;315	/// The identifier used to distinguish between accounts.316	type AccountId = AccountId;317	/// The basic call filter to use in dispatchable.318	type BaseCallFilter = Everything;319	/// Maximum number of block number to block hash mappings to keep (oldest pruned first).320	type BlockHashCount = BlockHashCount;321	/// The maximum length of a block (in bytes).322	type BlockLength = RuntimeBlockLength;323	/// The index type for blocks.324	type BlockNumber = BlockNumber;325	/// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.326	type BlockWeights = RuntimeBlockWeights;327	/// The aggregated dispatch type that is available for extrinsics.328	type Call = Call;329	/// The weight of database operations that the runtime can invoke.330	type DbWeight = RocksDbWeight;331	/// The ubiquitous event type.332	type Event = Event;333	/// The type for hashing blocks and tries.334	type Hash = Hash;335	/// The hashing algorithm used.336	type Hashing = BlakeTwo256;337	/// The header type.338	type Header = generic::Header<BlockNumber, BlakeTwo256>;339	/// The index type for storing how many extrinsics an account has signed.340	type Index = Index;341	/// The lookup mechanism to get account ID from whatever is passed in dispatchers.342	type Lookup = AccountIdLookup<AccountId, ()>;343	/// What to do if an account is fully reaped from the system.344	type OnKilledAccount = ();345	/// What to do if a new account is created.346	type OnNewAccount = ();347	type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;348	/// The ubiquitous origin type.349	type Origin = Origin;350	/// This type is being generated by `construct_runtime!`.351	type PalletInfo = PalletInfo;352	/// This is used as an identifier of the chain. 42 is the generic substrate prefix.353	type SS58Prefix = SS58Prefix;354	/// Weight information for the extrinsics of this pallet.355	type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;356	/// Version of the runtime.357	type Version = Version;358	type MaxConsumers = ConstU32<16>;359}360361parameter_types! {362	pub const MinimumPeriod: u64 = SLOT_DURATION / 2;363}364365impl pallet_timestamp::Config for Runtime {366	/// A timestamp: milliseconds since the unix epoch.367	type Moment = u64;368	type OnTimestampSet = ();369	type MinimumPeriod = MinimumPeriod;370	type WeightInfo = ();371}372373parameter_types! {374	// pub const ExistentialDeposit: u128 = 500;375	pub const ExistentialDeposit: u128 = 0;376	pub const MaxLocks: u32 = 50;377}378379impl pallet_balances::Config for Runtime {380	type MaxLocks = MaxLocks;381	type MaxReserves = ();382	type ReserveIdentifier = [u8; 16];383	/// The type for recording an account's balance.384	type Balance = Balance;385	/// The ubiquitous event type.386	type Event = Event;387	type DustRemoval = Treasury;388	type ExistentialDeposit = ExistentialDeposit;389	type AccountStore = System;390	type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;391}392393pub const fn deposit(items: u32, bytes: u32) -> Balance {394	items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE395}396397/*398parameter_types! {399	pub TombstoneDeposit: Balance = deposit(400		1,401		sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,402	);403	pub DepositPerContract: Balance = TombstoneDeposit::get();404	pub const DepositPerStorageByte: Balance = deposit(0, 1);405	pub const DepositPerStorageItem: Balance = deposit(1, 0);406	pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);407	pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;408	pub const SignedClaimHandicap: u32 = 2;409	pub const MaxDepth: u32 = 32;410	pub const MaxValueSize: u32 = 16 * 1024;411	pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb412	// The lazy deletion runs inside on_initialize.413	pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *414		RuntimeBlockWeights::get().max_block;415	// The weight needed for decoding the queue should be less or equal than a fifth416	// of the overall weight dedicated to the lazy deletion.417	pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (418			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -419			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)420		)) / 5) as u32;421	pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();422}423424impl pallet_contracts::Config for Runtime {425	type Time = Timestamp;426	type Randomness = RandomnessCollectiveFlip;427	type Currency = Balances;428	type Event = Event;429	type RentPayment = ();430	type SignedClaimHandicap = SignedClaimHandicap;431	type TombstoneDeposit = TombstoneDeposit;432	type DepositPerContract = DepositPerContract;433	type DepositPerStorageByte = DepositPerStorageByte;434	type DepositPerStorageItem = DepositPerStorageItem;435	type RentFraction = RentFraction;436	type SurchargeReward = SurchargeReward;437	type WeightPrice = pallet_transaction_payment::Pallet<Self>;438	type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;439	type ChainExtension = NFTExtension;440	type DeletionQueueDepth = DeletionQueueDepth;441	type DeletionWeightLimit = DeletionWeightLimit;442	type Schedule = Schedule;443	type CallStack = [pallet_contracts::Frame<Self>; 31];444}445*/446447parameter_types! {448	/// This value increases the priority of `Operational` transactions by adding449	/// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.450	pub const OperationalFeeMultiplier: u8 = 5;451}452453/// Linear implementor of `WeightToFeePolynomial`454pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);455456impl<T> WeightToFeePolynomial for LinearFee<T>457where458	T: BaseArithmetic + From<u32> + Copy + Unsigned,459{460	type Balance = T;461462	fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {463		smallvec!(WeightToFeeCoefficient {464			// Targeting 0.1 Unique per NFT transfer465			coeff_integer: WEIGHT_TO_FEE_COEFF.into(),466			coeff_frac: Perbill::zero(),467			negative: false,468			degree: 1,469		})470	}471}472473impl pallet_transaction_payment::Config for Runtime {474	type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;475	type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;476	type OperationalFeeMultiplier = OperationalFeeMultiplier;477	type WeightToFee = LinearFee<Balance>;478	type FeeMultiplierUpdate = ();479}480481parameter_types! {482	pub const ProposalBond: Permill = Permill::from_percent(5);483	pub const ProposalBondMinimum: Balance = 1 * UNIQUE;484	pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;485	pub const SpendPeriod: BlockNumber = 5 * MINUTES;486	pub const Burn: Permill = Permill::from_percent(0);487	pub const TipCountdown: BlockNumber = 1 * DAYS;488	pub const TipFindersFee: Percent = Percent::from_percent(20);489	pub const TipReportDepositBase: Balance = 1 * UNIQUE;490	pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;491	pub const BountyDepositBase: Balance = 1 * UNIQUE;492	pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;493	pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");494	pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;495	pub const MaximumReasonLength: u32 = 16384;496	pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);497	pub const BountyValueMinimum: Balance = 5 * UNIQUE;498	pub const MaxApprovals: u32 = 100;499}500501impl pallet_treasury::Config for Runtime {502	type PalletId = TreasuryModuleId;503	type Currency = Balances;504	type ApproveOrigin = EnsureRoot<AccountId>;505	type RejectOrigin = EnsureRoot<AccountId>;506	type Event = Event;507	type OnSlash = ();508	type ProposalBond = ProposalBond;509	type ProposalBondMinimum = ProposalBondMinimum;510	type ProposalBondMaximum = ProposalBondMaximum;511	type SpendPeriod = SpendPeriod;512	type Burn = Burn;513	type BurnDestination = ();514	type SpendFunds = ();515	type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;516	type MaxApprovals = MaxApprovals;517}518519impl pallet_sudo::Config for Runtime {520	type Event = Event;521	type Call = Call;522}523524pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);525526impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider527	for RelayChainBlockNumberProvider<T>528{529	type BlockNumber = BlockNumber;530531	fn current_block_number() -> Self::BlockNumber {532		cumulus_pallet_parachain_system::Pallet::<T>::validation_data()533			.map(|d| d.relay_parent_number)534			.unwrap_or_default()535	}536}537538parameter_types! {539	pub const MinVestedTransfer: Balance = 10 * UNIQUE;540	pub const MaxVestingSchedules: u32 = 28;541}542543impl orml_vesting::Config for Runtime {544	type Event = Event;545	type Currency = pallet_balances::Pallet<Runtime>;546	type MinVestedTransfer = MinVestedTransfer;547	type VestedTransferOrigin = EnsureSigned<AccountId>;548	type WeightInfo = ();549	type MaxVestingSchedules = MaxVestingSchedules;550	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;551}552553parameter_types! {554	pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;555	pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;556}557558impl cumulus_pallet_parachain_system::Config for Runtime {559	type Event = Event;560	type SelfParaId = parachain_info::Pallet<Self>;561	type OnSystemEvent = ();562	// type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<563	// 	MaxDownwardMessageWeight,564	// 	XcmExecutor<XcmConfig>,565	// 	Call,566	// >;567	type OutboundXcmpMessageSource = XcmpQueue;568	type DmpMessageHandler = DmpQueue;569	type ReservedDmpWeight = ReservedDmpWeight;570	type ReservedXcmpWeight = ReservedXcmpWeight;571	type XcmpMessageHandler = XcmpQueue;572}573574impl parachain_info::Config for Runtime {}575576impl cumulus_pallet_aura_ext::Config for Runtime {}577578parameter_types! {579	pub const RelayLocation: MultiLocation = MultiLocation::parent();580	pub const RelayNetwork: NetworkId = NetworkId::Polkadot;581	pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();582	pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();583}584585/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used586/// when determining ownership of accounts for asset transacting and when attempting to use XCM587/// `Transact` in order to determine the dispatch Origin.588pub type LocationToAccountId = (589	// The parent (Relay-chain) origin converts to the default `AccountId`.590	ParentIsPreset<AccountId>,591	// Sibling parachain origins convert to AccountId via the `ParaId::into`.592	SiblingParachainConvertsVia<Sibling, AccountId>,593	// Straight up local `AccountId32` origins just alias directly to `AccountId`.594	AccountId32Aliases<RelayNetwork, AccountId>,595);596597pub struct OnlySelfCurrency;598impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {599	fn matches_fungible(a: &MultiAsset) -> Option<B> {600		match (&a.id, &a.fun) {601			(Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),602			_ => None,603		}604	}605}606607/// Means for transacting assets on this chain.608pub type LocalAssetTransactor = CurrencyAdapter<609	// Use this currency:610	Balances,611	// Use this currency when it is a fungible asset matching the given location or name:612	OnlySelfCurrency,613	// Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:614	LocationToAccountId,615	// Our chain's account ID type (we can't get away without mentioning it explicitly):616	AccountId,617	// We don't track any teleports.618	(),619>;620621/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,622/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can623/// biases the kind of local `Origin` it will become.624pub type XcmOriginToTransactDispatchOrigin = (625	// Sovereign account converter; this attempts to derive an `AccountId` from the origin location626	// using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for627	// foreign chains who want to have a local sovereign account on this chain which they control.628	SovereignSignedViaLocation<LocationToAccountId, Origin>,629	// Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when630	// recognised.631	RelayChainAsNative<RelayOrigin, Origin>,632	// Native converter for sibling Parachains; will convert to a `SiblingPara` origin when633	// recognised.634	SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,635	// Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a636	// transaction from the Root origin.637	ParentAsSuperuser<Origin>,638	// Native signed account converter; this just converts an `AccountId32` origin into a normal639	// `Origin::Signed` origin of the same 32-byte value.640	SignedAccountId32AsNative<RelayNetwork, Origin>,641	// Xcm origins can be represented natively under the Xcm pallet's Xcm origin.642	XcmPassthrough<Origin>,643);644645parameter_types! {646	// One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.647	pub UnitWeightCost: Weight = 1_000_000;648	// 1200 UNIQUEs buy 1 second of weight.649	pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);650	pub const MaxInstructions: u32 = 100;651	pub const MaxAuthorities: u32 = 100_000;652}653654match_types! {655	pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {656		MultiLocation { parents: 1, interior: Here } |657		MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }658	};659}660661pub type Barrier = (662	TakeWeightCredit,663	AllowTopLevelPaidExecutionFrom<Everything>,664	AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,665	// ^^^ Parent & its unit plurality gets free execution666);667668pub struct UsingOnlySelfCurrencyComponents<669	WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,670	AssetId: Get<MultiLocation>,671	AccountId,672	Currency: CurrencyT<AccountId>,673	OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,674>(675	Weight,676	Currency::Balance,677	PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,678);679impl<680		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,681		AssetId: Get<MultiLocation>,682		AccountId,683		Currency: CurrencyT<AccountId>,684		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,685	> WeightTrader686	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>687{688	fn new() -> Self {689		Self(0, Zero::zero(), PhantomData)690	}691692	fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {693		let amount = WeightToFee::calc(&weight);694		let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;695696		// location to this parachain through relay chain697		let option1: xcm::v1::AssetId = Concrete(MultiLocation {698			parents: 1,699			interior: X1(Parachain(ParachainInfo::parachain_id().into())),700		});701		// direct location702		let option2: xcm::v1::AssetId = Concrete(MultiLocation {703			parents: 0,704			interior: Here,705		});706707		let required = if payment.fungible.contains_key(&option1) {708			(option1, u128_amount).into()709		} else if payment.fungible.contains_key(&option2) {710			(option2, u128_amount).into()711		} else {712			(Concrete(MultiLocation::default()), u128_amount).into()713		};714715		let unused = payment716			.checked_sub(required)717			.map_err(|_| XcmError::TooExpensive)?;718		self.0 = self.0.saturating_add(weight);719		self.1 = self.1.saturating_add(amount);720		Ok(unused)721	}722723	fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {724		let weight = weight.min(self.0);725		let amount = WeightToFee::calc(&weight);726		self.0 -= weight;727		self.1 = self.1.saturating_sub(amount);728		let amount: u128 = amount.saturated_into();729		if amount > 0 {730			Some((AssetId::get(), amount).into())731		} else {732			None733		}734	}735}736impl<737		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,738		AssetId: Get<MultiLocation>,739		AccountId,740		Currency: CurrencyT<AccountId>,741		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,742	> Drop743	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>744{745	fn drop(&mut self) {746		OnUnbalanced::on_unbalanced(Currency::issue(self.1));747	}748}749750pub struct XcmConfig;751impl Config for XcmConfig {752	type Call = Call;753	type XcmSender = XcmRouter;754	// How to withdraw and deposit an asset.755	type AssetTransactor = LocalAssetTransactor;756	type OriginConverter = XcmOriginToTransactDispatchOrigin;757	type IsReserve = NativeAsset;758	type IsTeleporter = (); // Teleportation is disabled759	type LocationInverter = LocationInverter<Ancestry>;760	type Barrier = Barrier;761	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;762	type Trader = UsingOnlySelfCurrencyComponents<763		IdentityFee<Balance>,764		RelayLocation,765		AccountId,766		Balances,767		(),768	>;769	type ResponseHandler = (); // Don't handle responses for now.770	type SubscriptionService = PolkadotXcm;771772	type AssetTrap = PolkadotXcm;773	type AssetClaims = PolkadotXcm;774}775776// parameter_types! {777// 	pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;778// }779780/// No local origins on this chain are allowed to dispatch XCM sends/executions.781pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);782783/// The means for routing XCM messages which are not for local execution into the right message784/// queues.785pub type XcmRouter = (786	// Two routers - use UMP to communicate with the relay chain:787	cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,788	// ..and XCMP to communicate with the sibling chains.789	XcmpQueue,790);791792impl pallet_evm_coder_substrate::Config for Runtime {793	type EthereumTransactionSender = pallet_ethereum::Pallet<Self>;794	type GasWeightMapping = FixedGasWeightMapping;795}796797impl pallet_xcm::Config for Runtime {798	type Event = Event;799	type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;800	type XcmRouter = XcmRouter;801	type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;802	type XcmExecuteFilter = Everything;803	type XcmExecutor = XcmExecutor<XcmConfig>;804	type XcmTeleportFilter = Everything;805	type XcmReserveTransferFilter = Everything;806	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;807	type LocationInverter = LocationInverter<Ancestry>;808	type Origin = Origin;809	type Call = Call;810	const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;811	type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;812}813814impl cumulus_pallet_xcm::Config for Runtime {815	type Event = Event;816	type XcmExecutor = XcmExecutor<XcmConfig>;817}818819impl cumulus_pallet_xcmp_queue::Config for Runtime {820	type WeightInfo = ();821	type Event = Event;822	type XcmExecutor = XcmExecutor<XcmConfig>;823	type ChannelInfo = ParachainSystem;824	type VersionWrapper = ();825	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;826	type ControllerOrigin = EnsureRoot<AccountId>;827	type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;828}829830impl cumulus_pallet_dmp_queue::Config for Runtime {831	type Event = Event;832	type XcmExecutor = XcmExecutor<XcmConfig>;833	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;834}835836impl pallet_aura::Config for Runtime {837	type AuthorityId = AuraId;838	type DisabledValidators = ();839	type MaxAuthorities = MaxAuthorities;840}841842parameter_types! {843	pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();844	pub const CollectionCreationPrice: Balance = 2 * UNIQUE;845}846847impl pallet_common::Config for Runtime {848	type Event = Event;849	type Currency = Balances;850	type CollectionCreationPrice = CollectionCreationPrice;851	type TreasuryAccountId = TreasuryAccountId;852}853854impl pallet_evm::account::Config for Runtime {855	type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;856	type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;857	type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;858}859860impl pallet_fungible::Config for Runtime {861	type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;862}863impl pallet_refungible::Config for Runtime {864	type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;865}866impl pallet_nonfungible::Config for Runtime {867	type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;868}869870impl pallet_unique::Config for Runtime {871	type Event = Event;872	type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;873}874875parameter_types! {876	pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied877}878879/// Used for the pallet inflation880impl pallet_inflation::Config for Runtime {881	type Currency = Balances;882	type TreasuryAccountId = TreasuryAccountId;883	type InflationBlockInterval = InflationBlockInterval;884	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;885}886887parameter_types! {888	pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *889		RuntimeBlockWeights::get().max_block;890	pub const MaxScheduledPerBlock: u32 = 50;891}892893parameter_types! {894	pub const NoPreimagePostponement: Option<u32> = Some(10);895	pub const Preimage: Option<u32> = Some(10);896}897898/// Used the compare the privilege of an origin inside the scheduler.899pub struct OriginPrivilegeCmp;900impl PrivilegeCmp<OriginCaller> for OriginPrivilegeCmp {901	fn cmp_privilege(_left: &OriginCaller, _right: &OriginCaller) -> Option<Ordering> {902		Some(Ordering::Equal)903	}904}905906impl pallet_unq_scheduler::Config for Runtime {907	type Event = Event;908	type Origin = Origin;909	type Currency = Balances;910	type PalletsOrigin = OriginCaller;911	type Call = Call;912	type MaximumWeight = MaximumSchedulerWeight;913	type ScheduleOrigin = EnsureSigned<AccountId>;914	type MaxScheduledPerBlock = MaxScheduledPerBlock;915	type WeightInfo = ();916	type CallExecutor = SchedulerPaymentExecutor;917	type OriginPrivilegeCmp = OriginPrivilegeCmp;918	type PreimageProvider = ();919	type NoPreimagePostponement = NoPreimagePostponement;920}921922type ChargeTransactionPayment = pallet_charge_transaction::ChargeTransactionPayment<Runtime>;923use frame_support::traits::NamedReservableCurrency;924925fn get_signed_extras(from: <Runtime as frame_system::Config>::AccountId) -> SignedExtraScheduler {926	(927		frame_system::CheckSpecVersion::<Runtime>::new(),928		frame_system::CheckGenesis::<Runtime>::new(),929		frame_system::CheckEra::<Runtime>::from(Era::Immortal),930		frame_system::CheckNonce::<Runtime>::from(frame_system::Pallet::<Runtime>::account_nonce(931			from,932		)),933		frame_system::CheckWeight::<Runtime>::new(),934		// sponsoring transaction logic935		// pallet_charge_transaction::ChargeTransactionPayment::<Runtime>::new(0),936	)937}938939pub struct SchedulerPaymentExecutor;940impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>941	DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor942where943	<T as frame_system::Config>::Call: Member944		+ Dispatchable<Origin = Origin, Info = DispatchInfo>945		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>946		+ GetDispatchInfo947		+ From<frame_system::Call<Runtime>>,948	SelfContainedSignedInfo: Send + Sync + 'static,949	Call: From<<T as frame_system::Config>::Call>950		+ From<<T as pallet_unq_scheduler::Config>::Call>951		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,952	sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,953{954	fn dispatch_call(955		signer: <T as frame_system::Config>::AccountId,956		call: <T as pallet_unq_scheduler::Config>::Call,957	) -> Result<958		Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,959		TransactionValidityError,960	> {961		let dispatch_info = call.get_dispatch_info();962		let extrinsic = fp_self_contained::CheckedExtrinsic::<963			AccountId,964			Call,965			SignedExtraScheduler,966			SelfContainedSignedInfo,967		> {968			signed:969				CheckedSignature::<AccountId, SignedExtraScheduler, SelfContainedSignedInfo>::Signed(970					signer.clone().into(),971					get_signed_extras(signer.into()),972				),973			function: call.into(),974		};975976		extrinsic.apply::<Runtime>(&dispatch_info, 0)977	}978979	fn reserve_balance(980		id: [u8; 16],981		sponsor: <T as frame_system::Config>::AccountId,982		call: <T as pallet_unq_scheduler::Config>::Call,983		count: u32,984	) -> Result<(), DispatchError> {985		let dispatch_info = call.get_dispatch_info();986		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0)987			.saturating_mul(count.into());988989		<Balances as NamedReservableCurrency<AccountId>>::reserve_named(990			&id,991			&(sponsor.into()),992			weight.into(),993		)994	}995996	fn pay_for_call(997		id: [u8; 16],998		sponsor: <T as frame_system::Config>::AccountId,999		call: <T as pallet_unq_scheduler::Config>::Call,1000	) -> Result<u128, DispatchError> {1001		let dispatch_info = call.get_dispatch_info();1002		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1003		Ok(1004			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1005				&id,1006				&(sponsor.into()),1007				weight.into(),1008			),1009		)1010	}10111012	fn cancel_reserve(1013		id: [u8; 16],1014		sponsor: <T as frame_system::Config>::AccountId,1015	) -> Result<u128, DispatchError> {1016		Ok(1017			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1018				&id,1019				&(sponsor.into()),1020				u128::MAX,1021			),1022		)1023	}1024}10251026type EvmSponsorshipHandler = (1027	pallet_unique::UniqueEthSponsorshipHandler<Runtime>,1028	pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,1029);1030type SponsorshipHandler = (1031	pallet_unique::UniqueSponsorshipHandler<Runtime>,1032	//pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,1033	pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,1034);10351036impl pallet_evm_transaction_payment::Config for Runtime {1037	type EvmSponsorshipHandler = EvmSponsorshipHandler;1038	type Currency = Balances;1039}10401041impl pallet_charge_transaction::Config for Runtime {1042	type SponsorshipHandler = SponsorshipHandler;1043}10441045// impl pallet_contract_helpers::Config for Runtime {1046//	 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1047// }10481049parameter_types! {1050	// 0x842899ECF380553E8a4de75bF534cdf6fBF640491051	pub const HelpersContractAddress: H160 = H160([1052		0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,1053	]);1054}10551056impl pallet_evm_contract_helpers::Config for Runtime {1057	type ContractAddress = HelpersContractAddress;1058	type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1059}10601061construct_runtime!(1062	pub enum Runtime where1063		Block = Block,1064		NodeBlock = opaque::Block,1065		UncheckedExtrinsic = UncheckedExtrinsic1066	{1067		ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,1068		ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,10691070		Aura: pallet_aura::{Pallet, Config<T>} = 22,1071		AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,10721073		Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,1074		RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,1075		Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,1076		TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,1077		Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,1078		Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,1079		System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,1080		Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,1081		// Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,1082		// Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,10831084		// XCM helpers.1085		XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1086		PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1087		CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1088		DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,10891090		// Unique Pallets1091		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1092		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1093		Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1094		// free = 631095		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1096		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1097		Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1098		Fungible: pallet_fungible::{Pallet, Storage} = 67,1099		Refungible: pallet_refungible::{Pallet, Storage} = 68,1100		Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,11011102		// Frontier1103		EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1104		Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,11051106		EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1107		EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1108		EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1109		EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1110	}1111);11121113pub struct TransactionConverter;11141115impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1116	fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1117		UncheckedExtrinsic::new_unsigned(1118			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1119		)1120	}1121}11221123impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1124	fn convert_transaction(1125		&self,1126		transaction: pallet_ethereum::Transaction,1127	) -> opaque::UncheckedExtrinsic {1128		let extrinsic = UncheckedExtrinsic::new_unsigned(1129			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1130		);1131		let encoded = extrinsic.encode();1132		opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1133			.expect("Encoded extrinsic is always valid")1134	}1135}11361137/// The address format for describing accounts.1138pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1139/// Block header type as expected by this runtime.1140pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1141/// Block type as expected by this runtime.1142pub type Block = generic::Block<Header, UncheckedExtrinsic>;1143/// A Block signed with a Justification1144pub type SignedBlock = generic::SignedBlock<Block>;1145/// BlockId type as expected by this runtime.1146pub type BlockId = generic::BlockId<Block>;1147/// The SignedExtension to the basic transaction logic.1148pub type SignedExtra = (1149	frame_system::CheckSpecVersion<Runtime>,1150	// system::CheckTxVersion<Runtime>,1151	frame_system::CheckGenesis<Runtime>,1152	frame_system::CheckEra<Runtime>,1153	frame_system::CheckNonce<Runtime>,1154	frame_system::CheckWeight<Runtime>,1155	pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1156	//pallet_contract_helpers::ContractHelpersExtension<Runtime>,1157);1158pub type SignedExtraScheduler = (1159	frame_system::CheckSpecVersion<Runtime>,1160	frame_system::CheckGenesis<Runtime>,1161	frame_system::CheckEra<Runtime>,1162	frame_system::CheckNonce<Runtime>,1163	frame_system::CheckWeight<Runtime>,1164	// pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1165);1166/// Unchecked extrinsic type as expected by this runtime.1167pub type UncheckedExtrinsic =1168	fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1169/// Extrinsic type that has already been checked.1170pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1171/// Executive: handles dispatch to the various modules.1172pub type Executive = frame_executive::Executive<1173	Runtime,1174	Block,1175	frame_system::ChainContext<Runtime>,1176	Runtime,1177	AllPalletsReversedWithSystemFirst,1178>;11791180impl_opaque_keys! {1181	pub struct SessionKeys {1182		pub aura: Aura,1183	}1184}11851186impl fp_self_contained::SelfContainedCall for Call {1187	type SignedInfo = H160;11881189	fn is_self_contained(&self) -> bool {1190		match self {1191			Call::Ethereum(call) => call.is_self_contained(),1192			_ => false,1193		}1194	}11951196	fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1197		match self {1198			Call::Ethereum(call) => call.check_self_contained(),1199			_ => None,1200		}1201	}12021203	fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1204		match self {1205			Call::Ethereum(call) => call.validate_self_contained(info),1206			_ => None,1207		}1208	}12091210	fn pre_dispatch_self_contained(1211		&self,1212		info: &Self::SignedInfo,1213	) -> Option<Result<(), TransactionValidityError>> {1214		match self {1215			Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1216			_ => None,1217		}1218	}12191220	fn apply_self_contained(1221		self,1222		info: Self::SignedInfo,1223	) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1224		match self {1225			call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1226				Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1227			)),1228			_ => None,1229		}1230	}1231}12321233macro_rules! dispatch_unique_runtime {1234	($collection:ident.$method:ident($($name:ident),*)) => {{1235		use pallet_unique::dispatch::Dispatched;12361237		let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1238		let dispatch = collection.as_dyn();12391240		Ok(dispatch.$method($($name),*))1241	}};1242}12431244impl_common_runtime_apis!();12451246struct CheckInherents;12471248impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1249	fn check_inherents(1250		block: &Block,1251		relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1252	) -> sp_inherents::CheckInherentsResult {1253		let relay_chain_slot = relay_state_proof1254			.read_slot()1255			.expect("Could not read the relay chain slot from the proof");12561257		let inherent_data =1258			cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1259				relay_chain_slot,1260				sp_std::time::Duration::from_secs(6),1261			)1262			.create_inherent_data()1263			.expect("Could not create the timestamp inherent data");12641265		inherent_data.check_extrinsics(block)1266	}1267}12681269cumulus_pallet_parachain_system::register_validate_block!(1270	Runtime = Runtime,1271	BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1272	CheckInherents = CheckInherents,1273);
after · runtime/unique/src/lib.rs
1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617//! The Substrate Node Template runtime. This can be compiled with `#[no_std]`, ready for Wasm.1819#![cfg_attr(not(feature = "std"), no_std)]20// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.21#![recursion_limit = "1024"]22#![allow(clippy::from_over_into, clippy::identity_op)]23#![allow(clippy::fn_to_numeric_cast_with_truncation)]24// Make the WASM binary available.25#[cfg(feature = "std")]26include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));2728use sp_api::impl_runtime_apis;29use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H256, U256, H160};30use sp_runtime::DispatchError;31// #[cfg(any(feature = "std", test))]32// pub use sp_runtime::BuildStorage;3334use sp_runtime::{35	Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys,36	generic::Era,37	traits::{38		Applyable, BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating,39		CheckedConversion, AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion,40		Zero, Member,41	},42	transaction_validity::{TransactionSource, TransactionValidity, TransactionValidityError},43	ApplyExtrinsicResult, RuntimeAppPublic, SaturatedConversion, DispatchErrorWithPostInfo,44};4546use fp_self_contained::{SelfContainedCall, CheckedSignature};47use sp_std::{cmp::Ordering, marker::PhantomData};48use pallet_unq_scheduler::DispatchCall;4950use sp_std::prelude::*;5152#[cfg(feature = "std")]53use sp_version::NativeVersion;54use sp_version::RuntimeVersion;55pub use pallet_transaction_payment::{56	Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,57};58// A few exports that help ease life for downstream crates.59pub use pallet_balances::Call as BalancesCall;60pub use pallet_evm::{61	EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,62};63pub use frame_support::{64	construct_runtime, match_types,65	dispatch::DispatchResult,66	PalletId, parameter_types, StorageValue, ConsensusEngineId,67	traits::{68		tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,69		Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,70		OnUnbalanced, Randomness, FindAuthor, PrivilegeCmp,71	},72	weights::{73		constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},74		DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,75		WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,76	},77};78use up_data_structs::*;79// use pallet_contracts::weights::WeightInfo;80// #[cfg(any(feature = "std", test))]81use frame_system::{82	self as frame_system, EnsureRoot, EnsureSigned,83	limits::{BlockWeights, BlockLength},84};85use sp_arithmetic::{86	traits::{BaseArithmetic, Unsigned},87};88use smallvec::smallvec;89use codec::{Encode, Decode};90use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};91use fp_rpc::TransactionStatus;9293// pub use pallet_timestamp::Call as TimestampCall;9495// Polkadot imports96use pallet_xcm::XcmPassthrough;97use polkadot_parachain::primitives::Sibling;98use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};99use xcm_builder::{100	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,101	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,102	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,103	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,104	ParentIsPreset,105};106use xcm_executor::{Config, XcmExecutor, Assets};107108use xcm::latest::{109	//	Xcm,110	AssetId::{Concrete},111	Fungibility::Fungible as XcmFungible,112	MultiAsset,113	Error as XcmError,114};115use xcm_executor::traits::{MatchesFungible, WeightTrader};116use unique_runtime_common::{impl_common_runtime_apis, types::*, constants::*};117118pub const RUNTIME_NAME: &str = "unique";119pub const TOKEN_SYMBOL: &str = "UNQ";120121type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;122123impl RuntimeInstance for Runtime {124	type CrossAccountId = self::CrossAccountId;125126	type TransactionConverter = self::TransactionConverter;127128	fn get_transaction_converter() -> TransactionConverter {129		TransactionConverter130	}131}132133/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know134/// the specifics of the runtime. They can then be made to be agnostic over specific formats135/// of data like extrinsics, allowing for them to continue syncing the network through upgrades136/// to even the core data structures.137pub mod opaque {138	use sp_std::prelude::*;139	use sp_runtime::impl_opaque_keys;140	use super::Aura;141142	pub use unique_runtime_common::types::*;143144	impl_opaque_keys! {145		pub struct SessionKeys {146			pub aura: Aura,147		}148	}149}150151/// This runtime version.152pub const VERSION: RuntimeVersion = RuntimeVersion {153	spec_name: create_runtime_str!(RUNTIME_NAME),154	impl_name: create_runtime_str!(RUNTIME_NAME),155	authoring_version: 1,156	spec_version: 921000,157	impl_version: 0,158	apis: RUNTIME_API_VERSIONS,159	transaction_version: 1,160	state_version: 0,161};162163#[derive(codec::Encode, codec::Decode)]164pub enum XCMPMessage<XAccountId, XBalance> {165	/// Transfer tokens to the given account from the Parachain account.166	TransferToken(XAccountId, XBalance),167}168169/// The version information used to identify this runtime when compiled natively.170#[cfg(feature = "std")]171pub fn native_version() -> NativeVersion {172	NativeVersion {173		runtime_version: VERSION,174		can_author_with: Default::default(),175	}176}177178type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;179180pub struct DealWithFees;181impl OnUnbalanced<NegativeImbalance> for DealWithFees {182	fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {183		if let Some(fees) = fees_then_tips.next() {184			// for fees, 100% to treasury185			let mut split = fees.ration(100, 0);186			if let Some(tips) = fees_then_tips.next() {187				// for tips, if any, 100% to treasury188				tips.ration_merge_into(100, 0, &mut split);189			}190			Treasury::on_unbalanced(split.0);191			// Author::on_unbalanced(split.1);192		}193	}194}195196parameter_types! {197	pub const BlockHashCount: BlockNumber = 2400;198	pub RuntimeBlockLength: BlockLength =199		BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);200	pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);201	pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;202	pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()203		.base_block(BlockExecutionWeight::get())204		.for_class(DispatchClass::all(), |weights| {205			weights.base_extrinsic = ExtrinsicBaseWeight::get();206		})207		.for_class(DispatchClass::Normal, |weights| {208			weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);209		})210		.for_class(DispatchClass::Operational, |weights| {211			weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);212			// Operational transactions have some extra reserved space, so that they213			// are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.214			weights.reserved = Some(215				MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT216			);217		})218		.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)219		.build_or_panic();220	pub const Version: RuntimeVersion = VERSION;221	pub const SS58Prefix: u16 = 7391;222}223224parameter_types! {225	pub const ChainId: u64 = 8880;226}227228pub struct FixedFee;229impl FeeCalculator for FixedFee {230	fn min_gas_price() -> U256 {231		MIN_GAS_PRICE.into()232	}233}234235// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case236// (contract, which only writes a lot of data),237// approximating on top of our real store write weight238parameter_types! {239	pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;240	pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;241	pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();242}243244/// Limiting EVM execution to 50% of block for substrate users and management tasks245/// EVM transaction consumes more weight than substrate's, so we can't rely on them being246/// scheduled fairly247const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);248parameter_types! {249	pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());250}251252pub enum FixedGasWeightMapping {}253impl GasWeightMapping for FixedGasWeightMapping {254	fn gas_to_weight(gas: u64) -> Weight {255		gas.saturating_mul(WeightPerGas::get())256	}257	fn weight_to_gas(weight: Weight) -> u64 {258		weight / WeightPerGas::get()259	}260}261262impl pallet_evm::Config for Runtime {263	type BlockGasLimit = BlockGasLimit;264	type FeeCalculator = FixedFee;265	type GasWeightMapping = FixedGasWeightMapping;266	type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;267	type CallOrigin = EnsureAddressTruncated<Self>;268	type WithdrawOrigin = EnsureAddressTruncated<Self>;269	type AddressMapping = HashedAddressMapping<Self::Hashing>;270	type PrecompilesType = ();271	type PrecompilesValue = ();272	type Currency = Balances;273	type Event = Event;274	type OnMethodCall = (275		pallet_evm_migration::OnMethodCall<Self>,276		pallet_unique::UniqueErcSupport<Self>,277		pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,278	);279	type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;280	type ChainId = ChainId;281	type Runner = pallet_evm::runner::stack::Runner<Self>;282	type OnChargeTransaction = pallet_evm::EVMCurrencyAdapter<Balances, DealWithFees>;283	type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;284	type FindAuthor = EthereumFindAuthor<Aura>;285}286287impl pallet_evm_migration::Config for Runtime {288	type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;289}290291pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);292impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {293	fn find_author<'a, I>(digests: I) -> Option<H160>294	where295		I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,296	{297		if let Some(author_index) = F::find_author(digests) {298			let authority_id = Aura::authorities()[author_index as usize].clone();299			return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));300		}301		None302	}303}304305impl pallet_ethereum::Config for Runtime {306	type Event = Event;307	type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;308}309310impl pallet_randomness_collective_flip::Config for Runtime {}311312impl frame_system::Config for Runtime {313	/// The data to be stored in an account.314	type AccountData = pallet_balances::AccountData<Balance>;315	/// The identifier used to distinguish between accounts.316	type AccountId = AccountId;317	/// The basic call filter to use in dispatchable.318	type BaseCallFilter = Everything;319	/// Maximum number of block number to block hash mappings to keep (oldest pruned first).320	type BlockHashCount = BlockHashCount;321	/// The maximum length of a block (in bytes).322	type BlockLength = RuntimeBlockLength;323	/// The index type for blocks.324	type BlockNumber = BlockNumber;325	/// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.326	type BlockWeights = RuntimeBlockWeights;327	/// The aggregated dispatch type that is available for extrinsics.328	type Call = Call;329	/// The weight of database operations that the runtime can invoke.330	type DbWeight = RocksDbWeight;331	/// The ubiquitous event type.332	type Event = Event;333	/// The type for hashing blocks and tries.334	type Hash = Hash;335	/// The hashing algorithm used.336	type Hashing = BlakeTwo256;337	/// The header type.338	type Header = generic::Header<BlockNumber, BlakeTwo256>;339	/// The index type for storing how many extrinsics an account has signed.340	type Index = Index;341	/// The lookup mechanism to get account ID from whatever is passed in dispatchers.342	type Lookup = AccountIdLookup<AccountId, ()>;343	/// What to do if an account is fully reaped from the system.344	type OnKilledAccount = ();345	/// What to do if a new account is created.346	type OnNewAccount = ();347	type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;348	/// The ubiquitous origin type.349	type Origin = Origin;350	/// This type is being generated by `construct_runtime!`.351	type PalletInfo = PalletInfo;352	/// This is used as an identifier of the chain. 42 is the generic substrate prefix.353	type SS58Prefix = SS58Prefix;354	/// Weight information for the extrinsics of this pallet.355	type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;356	/// Version of the runtime.357	type Version = Version;358	type MaxConsumers = ConstU32<16>;359}360361parameter_types! {362	pub const MinimumPeriod: u64 = SLOT_DURATION / 2;363}364365impl pallet_timestamp::Config for Runtime {366	/// A timestamp: milliseconds since the unix epoch.367	type Moment = u64;368	type OnTimestampSet = ();369	type MinimumPeriod = MinimumPeriod;370	type WeightInfo = ();371}372373parameter_types! {374	// pub const ExistentialDeposit: u128 = 500;375	pub const ExistentialDeposit: u128 = 0;376	pub const MaxLocks: u32 = 50;377}378379impl pallet_balances::Config for Runtime {380	type MaxLocks = MaxLocks;381	type MaxReserves = ();382	type ReserveIdentifier = [u8; 16];383	/// The type for recording an account's balance.384	type Balance = Balance;385	/// The ubiquitous event type.386	type Event = Event;387	type DustRemoval = Treasury;388	type ExistentialDeposit = ExistentialDeposit;389	type AccountStore = System;390	type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;391}392393pub const fn deposit(items: u32, bytes: u32) -> Balance {394	items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE395}396397/*398parameter_types! {399	pub TombstoneDeposit: Balance = deposit(400		1,401		sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,402	);403	pub DepositPerContract: Balance = TombstoneDeposit::get();404	pub const DepositPerStorageByte: Balance = deposit(0, 1);405	pub const DepositPerStorageItem: Balance = deposit(1, 0);406	pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);407	pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;408	pub const SignedClaimHandicap: u32 = 2;409	pub const MaxDepth: u32 = 32;410	pub const MaxValueSize: u32 = 16 * 1024;411	pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb412	// The lazy deletion runs inside on_initialize.413	pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *414		RuntimeBlockWeights::get().max_block;415	// The weight needed for decoding the queue should be less or equal than a fifth416	// of the overall weight dedicated to the lazy deletion.417	pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (418			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -419			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)420		)) / 5) as u32;421	pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();422}423424impl pallet_contracts::Config for Runtime {425	type Time = Timestamp;426	type Randomness = RandomnessCollectiveFlip;427	type Currency = Balances;428	type Event = Event;429	type RentPayment = ();430	type SignedClaimHandicap = SignedClaimHandicap;431	type TombstoneDeposit = TombstoneDeposit;432	type DepositPerContract = DepositPerContract;433	type DepositPerStorageByte = DepositPerStorageByte;434	type DepositPerStorageItem = DepositPerStorageItem;435	type RentFraction = RentFraction;436	type SurchargeReward = SurchargeReward;437	type WeightPrice = pallet_transaction_payment::Pallet<Self>;438	type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;439	type ChainExtension = NFTExtension;440	type DeletionQueueDepth = DeletionQueueDepth;441	type DeletionWeightLimit = DeletionWeightLimit;442	type Schedule = Schedule;443	type CallStack = [pallet_contracts::Frame<Self>; 31];444}445*/446447parameter_types! {448	/// This value increases the priority of `Operational` transactions by adding449	/// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.450	pub const OperationalFeeMultiplier: u8 = 5;451}452453/// Linear implementor of `WeightToFeePolynomial`454pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);455456impl<T> WeightToFeePolynomial for LinearFee<T>457where458	T: BaseArithmetic + From<u32> + Copy + Unsigned,459{460	type Balance = T;461462	fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {463		smallvec!(WeightToFeeCoefficient {464			// Targeting 0.1 Unique per NFT transfer465			coeff_integer: WEIGHT_TO_FEE_COEFF.into(),466			coeff_frac: Perbill::zero(),467			negative: false,468			degree: 1,469		})470	}471}472473impl pallet_transaction_payment::Config for Runtime {474	type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;475	type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;476	type OperationalFeeMultiplier = OperationalFeeMultiplier;477	type WeightToFee = LinearFee<Balance>;478	type FeeMultiplierUpdate = ();479}480481parameter_types! {482	pub const ProposalBond: Permill = Permill::from_percent(5);483	pub const ProposalBondMinimum: Balance = 1 * UNIQUE;484	pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;485	pub const SpendPeriod: BlockNumber = 5 * MINUTES;486	pub const Burn: Permill = Permill::from_percent(0);487	pub const TipCountdown: BlockNumber = 1 * DAYS;488	pub const TipFindersFee: Percent = Percent::from_percent(20);489	pub const TipReportDepositBase: Balance = 1 * UNIQUE;490	pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;491	pub const BountyDepositBase: Balance = 1 * UNIQUE;492	pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;493	pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");494	pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;495	pub const MaximumReasonLength: u32 = 16384;496	pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);497	pub const BountyValueMinimum: Balance = 5 * UNIQUE;498	pub const MaxApprovals: u32 = 100;499}500501impl pallet_treasury::Config for Runtime {502	type PalletId = TreasuryModuleId;503	type Currency = Balances;504	type ApproveOrigin = EnsureRoot<AccountId>;505	type RejectOrigin = EnsureRoot<AccountId>;506	type Event = Event;507	type OnSlash = ();508	type ProposalBond = ProposalBond;509	type ProposalBondMinimum = ProposalBondMinimum;510	type ProposalBondMaximum = ProposalBondMaximum;511	type SpendPeriod = SpendPeriod;512	type Burn = Burn;513	type BurnDestination = ();514	type SpendFunds = ();515	type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;516	type MaxApprovals = MaxApprovals;517}518519impl pallet_sudo::Config for Runtime {520	type Event = Event;521	type Call = Call;522}523524pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);525526impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider527	for RelayChainBlockNumberProvider<T>528{529	type BlockNumber = BlockNumber;530531	fn current_block_number() -> Self::BlockNumber {532		cumulus_pallet_parachain_system::Pallet::<T>::validation_data()533			.map(|d| d.relay_parent_number)534			.unwrap_or_default()535	}536}537538parameter_types! {539	pub const MinVestedTransfer: Balance = 10 * UNIQUE;540	pub const MaxVestingSchedules: u32 = 28;541}542543impl orml_vesting::Config for Runtime {544	type Event = Event;545	type Currency = pallet_balances::Pallet<Runtime>;546	type MinVestedTransfer = MinVestedTransfer;547	type VestedTransferOrigin = EnsureSigned<AccountId>;548	type WeightInfo = ();549	type MaxVestingSchedules = MaxVestingSchedules;550	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;551}552553parameter_types! {554	pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;555	pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;556}557558impl cumulus_pallet_parachain_system::Config for Runtime {559	type Event = Event;560	type SelfParaId = parachain_info::Pallet<Self>;561	type OnSystemEvent = ();562	// type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<563	// 	MaxDownwardMessageWeight,564	// 	XcmExecutor<XcmConfig>,565	// 	Call,566	// >;567	type OutboundXcmpMessageSource = XcmpQueue;568	type DmpMessageHandler = DmpQueue;569	type ReservedDmpWeight = ReservedDmpWeight;570	type ReservedXcmpWeight = ReservedXcmpWeight;571	type XcmpMessageHandler = XcmpQueue;572}573574impl parachain_info::Config for Runtime {}575576impl cumulus_pallet_aura_ext::Config for Runtime {}577578parameter_types! {579	pub const RelayLocation: MultiLocation = MultiLocation::parent();580	pub const RelayNetwork: NetworkId = NetworkId::Polkadot;581	pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();582	pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();583}584585/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used586/// when determining ownership of accounts for asset transacting and when attempting to use XCM587/// `Transact` in order to determine the dispatch Origin.588pub type LocationToAccountId = (589	// The parent (Relay-chain) origin converts to the default `AccountId`.590	ParentIsPreset<AccountId>,591	// Sibling parachain origins convert to AccountId via the `ParaId::into`.592	SiblingParachainConvertsVia<Sibling, AccountId>,593	// Straight up local `AccountId32` origins just alias directly to `AccountId`.594	AccountId32Aliases<RelayNetwork, AccountId>,595);596597pub struct OnlySelfCurrency;598impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {599	fn matches_fungible(a: &MultiAsset) -> Option<B> {600		match (&a.id, &a.fun) {601			(Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),602			_ => None,603		}604	}605}606607/// Means for transacting assets on this chain.608pub type LocalAssetTransactor = CurrencyAdapter<609	// Use this currency:610	Balances,611	// Use this currency when it is a fungible asset matching the given location or name:612	OnlySelfCurrency,613	// Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:614	LocationToAccountId,615	// Our chain's account ID type (we can't get away without mentioning it explicitly):616	AccountId,617	// We don't track any teleports.618	(),619>;620621/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,622/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can623/// biases the kind of local `Origin` it will become.624pub type XcmOriginToTransactDispatchOrigin = (625	// Sovereign account converter; this attempts to derive an `AccountId` from the origin location626	// using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for627	// foreign chains who want to have a local sovereign account on this chain which they control.628	SovereignSignedViaLocation<LocationToAccountId, Origin>,629	// Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when630	// recognised.631	RelayChainAsNative<RelayOrigin, Origin>,632	// Native converter for sibling Parachains; will convert to a `SiblingPara` origin when633	// recognised.634	SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,635	// Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a636	// transaction from the Root origin.637	ParentAsSuperuser<Origin>,638	// Native signed account converter; this just converts an `AccountId32` origin into a normal639	// `Origin::Signed` origin of the same 32-byte value.640	SignedAccountId32AsNative<RelayNetwork, Origin>,641	// Xcm origins can be represented natively under the Xcm pallet's Xcm origin.642	XcmPassthrough<Origin>,643);644645parameter_types! {646	// One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.647	pub UnitWeightCost: Weight = 1_000_000;648	// 1200 UNIQUEs buy 1 second of weight.649	pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);650	pub const MaxInstructions: u32 = 100;651	pub const MaxAuthorities: u32 = 100_000;652}653654match_types! {655	pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {656		MultiLocation { parents: 1, interior: Here } |657		MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }658	};659}660661pub type Barrier = (662	TakeWeightCredit,663	AllowTopLevelPaidExecutionFrom<Everything>,664	AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,665	// ^^^ Parent & its unit plurality gets free execution666);667668pub struct UsingOnlySelfCurrencyComponents<669	WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,670	AssetId: Get<MultiLocation>,671	AccountId,672	Currency: CurrencyT<AccountId>,673	OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,674>(675	Weight,676	Currency::Balance,677	PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,678);679impl<680		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,681		AssetId: Get<MultiLocation>,682		AccountId,683		Currency: CurrencyT<AccountId>,684		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,685	> WeightTrader686	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>687{688	fn new() -> Self {689		Self(0, Zero::zero(), PhantomData)690	}691692	fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {693		let amount = WeightToFee::calc(&weight);694		let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;695696		// location to this parachain through relay chain697		let option1: xcm::v1::AssetId = Concrete(MultiLocation {698			parents: 1,699			interior: X1(Parachain(ParachainInfo::parachain_id().into())),700		});701		// direct location702		let option2: xcm::v1::AssetId = Concrete(MultiLocation {703			parents: 0,704			interior: Here,705		});706707		let required = if payment.fungible.contains_key(&option1) {708			(option1, u128_amount).into()709		} else if payment.fungible.contains_key(&option2) {710			(option2, u128_amount).into()711		} else {712			(Concrete(MultiLocation::default()), u128_amount).into()713		};714715		let unused = payment716			.checked_sub(required)717			.map_err(|_| XcmError::TooExpensive)?;718		self.0 = self.0.saturating_add(weight);719		self.1 = self.1.saturating_add(amount);720		Ok(unused)721	}722723	fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {724		let weight = weight.min(self.0);725		let amount = WeightToFee::calc(&weight);726		self.0 -= weight;727		self.1 = self.1.saturating_sub(amount);728		let amount: u128 = amount.saturated_into();729		if amount > 0 {730			Some((AssetId::get(), amount).into())731		} else {732			None733		}734	}735}736impl<737		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,738		AssetId: Get<MultiLocation>,739		AccountId,740		Currency: CurrencyT<AccountId>,741		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,742	> Drop743	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>744{745	fn drop(&mut self) {746		OnUnbalanced::on_unbalanced(Currency::issue(self.1));747	}748}749750pub struct XcmConfig;751impl Config for XcmConfig {752	type Call = Call;753	type XcmSender = XcmRouter;754	// How to withdraw and deposit an asset.755	type AssetTransactor = LocalAssetTransactor;756	type OriginConverter = XcmOriginToTransactDispatchOrigin;757	type IsReserve = NativeAsset;758	type IsTeleporter = (); // Teleportation is disabled759	type LocationInverter = LocationInverter<Ancestry>;760	type Barrier = Barrier;761	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;762	type Trader = UsingOnlySelfCurrencyComponents<763		IdentityFee<Balance>,764		RelayLocation,765		AccountId,766		Balances,767		(),768	>;769	type ResponseHandler = (); // Don't handle responses for now.770	type SubscriptionService = PolkadotXcm;771772	type AssetTrap = PolkadotXcm;773	type AssetClaims = PolkadotXcm;774}775776// parameter_types! {777// 	pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;778// }779780/// No local origins on this chain are allowed to dispatch XCM sends/executions.781pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);782783/// The means for routing XCM messages which are not for local execution into the right message784/// queues.785pub type XcmRouter = (786	// Two routers - use UMP to communicate with the relay chain:787	cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,788	// ..and XCMP to communicate with the sibling chains.789	XcmpQueue,790);791792impl pallet_evm_coder_substrate::Config for Runtime {793	type EthereumTransactionSender = pallet_ethereum::Pallet<Self>;794	type GasWeightMapping = FixedGasWeightMapping;795}796797impl pallet_xcm::Config for Runtime {798	type Event = Event;799	type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;800	type XcmRouter = XcmRouter;801	type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;802	type XcmExecuteFilter = Everything;803	type XcmExecutor = XcmExecutor<XcmConfig>;804	type XcmTeleportFilter = Everything;805	type XcmReserveTransferFilter = Everything;806	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;807	type LocationInverter = LocationInverter<Ancestry>;808	type Origin = Origin;809	type Call = Call;810	const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;811	type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;812}813814impl cumulus_pallet_xcm::Config for Runtime {815	type Event = Event;816	type XcmExecutor = XcmExecutor<XcmConfig>;817}818819impl cumulus_pallet_xcmp_queue::Config for Runtime {820	type WeightInfo = ();821	type Event = Event;822	type XcmExecutor = XcmExecutor<XcmConfig>;823	type ChannelInfo = ParachainSystem;824	type VersionWrapper = ();825	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;826	type ControllerOrigin = EnsureRoot<AccountId>;827	type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;828}829830impl cumulus_pallet_dmp_queue::Config for Runtime {831	type Event = Event;832	type XcmExecutor = XcmExecutor<XcmConfig>;833	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;834}835836impl pallet_aura::Config for Runtime {837	type AuthorityId = AuraId;838	type DisabledValidators = ();839	type MaxAuthorities = MaxAuthorities;840}841842parameter_types! {843	pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();844	pub const CollectionCreationPrice: Balance = 2 * UNIQUE;845}846847impl pallet_common::Config for Runtime {848	type Event = Event;849	type Currency = Balances;850	type CollectionCreationPrice = CollectionCreationPrice;851	type TreasuryAccountId = TreasuryAccountId;852}853854impl pallet_evm::account::Config for Runtime {855	type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;856	type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;857	type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;858}859860impl pallet_fungible::Config for Runtime {861	type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;862}863impl pallet_refungible::Config for Runtime {864	type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;865}866impl pallet_nonfungible::Config for Runtime {867	type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;868}869870impl pallet_unique::Config for Runtime {871	type Event = Event;872	type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;873}874875parameter_types! {876	pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied877}878879/// Used for the pallet inflation880impl pallet_inflation::Config for Runtime {881	type Currency = Balances;882	type TreasuryAccountId = TreasuryAccountId;883	type InflationBlockInterval = InflationBlockInterval;884	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;885}886887parameter_types! {888	pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *889		RuntimeBlockWeights::get().max_block;890	pub const MaxScheduledPerBlock: u32 = 50;891}892893parameter_types! {894	pub const NoPreimagePostponement: Option<u32> = Some(10);895	pub const Preimage: Option<u32> = Some(10);896}897898/// Used the compare the privilege of an origin inside the scheduler.899pub struct OriginPrivilegeCmp;900impl PrivilegeCmp<OriginCaller> for OriginPrivilegeCmp {901	fn cmp_privilege(_left: &OriginCaller, _right: &OriginCaller) -> Option<Ordering> {902		Some(Ordering::Equal)903	}904}905906impl pallet_unq_scheduler::Config for Runtime {907	type Event = Event;908	type Origin = Origin;909	type Currency = Balances;910	type PalletsOrigin = OriginCaller;911	type Call = Call;912	type MaximumWeight = MaximumSchedulerWeight;913	type ScheduleOrigin = EnsureSigned<AccountId>;914	type MaxScheduledPerBlock = MaxScheduledPerBlock;915	type WeightInfo = ();916	type CallExecutor = SchedulerPaymentExecutor;917	type OriginPrivilegeCmp = OriginPrivilegeCmp;918	type PreimageProvider = ();919	type NoPreimagePostponement = NoPreimagePostponement;920}921922type ChargeTransactionPayment = pallet_charge_transaction::ChargeTransactionPayment<Runtime>;923use frame_support::traits::NamedReservableCurrency;924925fn get_signed_extras(from: <Runtime as frame_system::Config>::AccountId) -> SignedExtraScheduler {926	(927		frame_system::CheckSpecVersion::<Runtime>::new(),928		frame_system::CheckGenesis::<Runtime>::new(),929		frame_system::CheckEra::<Runtime>::from(Era::Immortal),930		frame_system::CheckNonce::<Runtime>::from(frame_system::Pallet::<Runtime>::account_nonce(931			from,932		)),933		frame_system::CheckWeight::<Runtime>::new(),934		// sponsoring transaction logic935		// pallet_charge_transaction::ChargeTransactionPayment::<Runtime>::new(0),936	)937}938939pub struct SchedulerPaymentExecutor;940impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>941	DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor942where943	<T as frame_system::Config>::Call: Member944		+ Dispatchable<Origin = Origin, Info = DispatchInfo>945		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>946		+ GetDispatchInfo947		+ From<frame_system::Call<Runtime>>,948	SelfContainedSignedInfo: Send + Sync + 'static,949	Call: From<<T as frame_system::Config>::Call>950		+ From<<T as pallet_unq_scheduler::Config>::Call>951		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,952	sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,953{954	fn dispatch_call(955		signer: <T as frame_system::Config>::AccountId,956		call: <T as pallet_unq_scheduler::Config>::Call,957	) -> Result<958		Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,959		TransactionValidityError,960	> {961		let dispatch_info = call.get_dispatch_info();962		let extrinsic = fp_self_contained::CheckedExtrinsic::<963			AccountId,964			Call,965			SignedExtraScheduler,966			SelfContainedSignedInfo,967		> {968			signed:969				CheckedSignature::<AccountId, SignedExtraScheduler, SelfContainedSignedInfo>::Signed(970					signer.clone().into(),971					get_signed_extras(signer.into()),972				),973			function: call.into(),974		};975976		extrinsic.apply::<Runtime>(&dispatch_info, 0)977	}978979	fn reserve_balance(980		id: [u8; 16],981		sponsor: <T as frame_system::Config>::AccountId,982		call: <T as pallet_unq_scheduler::Config>::Call,983		count: u32,984	) -> Result<(), DispatchError> {985		let dispatch_info = call.get_dispatch_info();986		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0)987			.saturating_mul(count.into());988989		<Balances as NamedReservableCurrency<AccountId>>::reserve_named(990			&id,991			&(sponsor.into()),992			weight.into(),993		)994	}995996	fn pay_for_call(997		id: [u8; 16],998		sponsor: <T as frame_system::Config>::AccountId,999		call: <T as pallet_unq_scheduler::Config>::Call,1000	) -> Result<u128, DispatchError> {1001		let dispatch_info = call.get_dispatch_info();1002		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1003		Ok(1004			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1005				&id,1006				&(sponsor.into()),1007				weight.into(),1008			),1009		)1010	}10111012	fn cancel_reserve(1013		id: [u8; 16],1014		sponsor: <T as frame_system::Config>::AccountId,1015	) -> Result<u128, DispatchError> {1016		Ok(1017			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1018				&id,1019				&(sponsor.into()),1020				u128::MAX,1021			),1022		)1023	}1024}10251026type EvmSponsorshipHandler = (1027	pallet_unique::UniqueEthSponsorshipHandler<Runtime>,1028	pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,1029);1030type SponsorshipHandler = (1031	pallet_unique::UniqueSponsorshipHandler<Runtime>,1032	//pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,1033	pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,1034);10351036impl pallet_evm_transaction_payment::Config for Runtime {1037	type EvmSponsorshipHandler = EvmSponsorshipHandler;1038	type Currency = Balances;1039}10401041impl pallet_charge_transaction::Config for Runtime {1042	type SponsorshipHandler = SponsorshipHandler;1043}10441045// impl pallet_contract_helpers::Config for Runtime {1046//	 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1047// }10481049parameter_types! {1050	// 0x842899ECF380553E8a4de75bF534cdf6fBF640491051	pub const HelpersContractAddress: H160 = H160([1052		0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,1053	]);1054}10551056impl pallet_evm_contract_helpers::Config for Runtime {1057	type ContractAddress = HelpersContractAddress;1058	type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1059}10601061construct_runtime!(1062	pub enum Runtime where1063		Block = Block,1064		NodeBlock = opaque::Block,1065		UncheckedExtrinsic = UncheckedExtrinsic1066	{1067		ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,1068		ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,10691070		Aura: pallet_aura::{Pallet, Config<T>} = 22,1071		AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,10721073		Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,1074		RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,1075		Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,1076		TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,1077		Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,1078		Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,1079		System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,1080		Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,1081		// Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,1082		// Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,10831084		// XCM helpers.1085		XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1086		PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1087		CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1088		DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,10891090		// Unique Pallets1091		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1092		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1093		Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1094		// free = 631095		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1096		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1097		Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1098		Fungible: pallet_fungible::{Pallet, Storage} = 67,1099		Refungible: pallet_refungible::{Pallet, Storage} = 68,1100		Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,11011102		// Frontier1103		EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1104		Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,11051106		EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1107		EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1108		EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1109		EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1110	}1111);11121113pub struct TransactionConverter;11141115impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1116	fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1117		UncheckedExtrinsic::new_unsigned(1118			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1119		)1120	}1121}11221123impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1124	fn convert_transaction(1125		&self,1126		transaction: pallet_ethereum::Transaction,1127	) -> opaque::UncheckedExtrinsic {1128		let extrinsic = UncheckedExtrinsic::new_unsigned(1129			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1130		);1131		let encoded = extrinsic.encode();1132		opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1133			.expect("Encoded extrinsic is always valid")1134	}1135}11361137/// The address format for describing accounts.1138pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1139/// Block header type as expected by this runtime.1140pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1141/// Block type as expected by this runtime.1142pub type Block = generic::Block<Header, UncheckedExtrinsic>;1143/// A Block signed with a Justification1144pub type SignedBlock = generic::SignedBlock<Block>;1145/// BlockId type as expected by this runtime.1146pub type BlockId = generic::BlockId<Block>;1147/// The SignedExtension to the basic transaction logic.1148pub type SignedExtra = (1149	frame_system::CheckSpecVersion<Runtime>,1150	// system::CheckTxVersion<Runtime>,1151	frame_system::CheckGenesis<Runtime>,1152	frame_system::CheckEra<Runtime>,1153	frame_system::CheckNonce<Runtime>,1154	frame_system::CheckWeight<Runtime>,1155	pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1156	//pallet_contract_helpers::ContractHelpersExtension<Runtime>,1157);1158pub type SignedExtraScheduler = (1159	frame_system::CheckSpecVersion<Runtime>,1160	frame_system::CheckGenesis<Runtime>,1161	frame_system::CheckEra<Runtime>,1162	frame_system::CheckNonce<Runtime>,1163	frame_system::CheckWeight<Runtime>,1164	// pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1165);1166/// Unchecked extrinsic type as expected by this runtime.1167pub type UncheckedExtrinsic =1168	fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1169/// Extrinsic type that has already been checked.1170pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1171/// Executive: handles dispatch to the various modules.1172pub type Executive = frame_executive::Executive<1173	Runtime,1174	Block,1175	frame_system::ChainContext<Runtime>,1176	Runtime,1177	AllPalletsReversedWithSystemFirst,1178>;11791180impl_opaque_keys! {1181	pub struct SessionKeys {1182		pub aura: Aura,1183	}1184}11851186impl fp_self_contained::SelfContainedCall for Call {1187	type SignedInfo = H160;11881189	fn is_self_contained(&self) -> bool {1190		match self {1191			Call::Ethereum(call) => call.is_self_contained(),1192			_ => false,1193		}1194	}11951196	fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1197		match self {1198			Call::Ethereum(call) => call.check_self_contained(),1199			_ => None,1200		}1201	}12021203	fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1204		match self {1205			Call::Ethereum(call) => call.validate_self_contained(info),1206			_ => None,1207		}1208	}12091210	fn pre_dispatch_self_contained(1211		&self,1212		info: &Self::SignedInfo,1213	) -> Option<Result<(), TransactionValidityError>> {1214		match self {1215			Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1216			_ => None,1217		}1218	}12191220	fn apply_self_contained(1221		self,1222		info: Self::SignedInfo,1223	) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1224		match self {1225			call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1226				Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1227			)),1228			_ => None,1229		}1230	}1231}12321233macro_rules! dispatch_unique_runtime {1234	($collection:ident.$method:ident($($name:ident),*)) => {{1235		use pallet_unique::dispatch::Dispatched;12361237		let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1238		let dispatch = collection.as_dyn();12391240		Ok(dispatch.$method($($name),*))1241	}};1242}12431244impl_common_runtime_apis!();12451246struct CheckInherents;12471248impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1249	fn check_inherents(1250		block: &Block,1251		relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1252	) -> sp_inherents::CheckInherentsResult {1253		let relay_chain_slot = relay_state_proof1254			.read_slot()1255			.expect("Could not read the relay chain slot from the proof");12561257		let inherent_data =1258			cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1259				relay_chain_slot,1260				sp_std::time::Duration::from_secs(6),1261			)1262			.create_inherent_data()1263			.expect("Could not create the timestamp inherent data");12641265		inherent_data.check_extrinsics(block)1266	}1267}12681269cumulus_pallet_parachain_system::register_validate_block!(1270	Runtime = Runtime,1271	BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1272	CheckInherents = CheckInherents,1273);
modifiedtests/README.mddiffbeforeafterboth
--- a/tests/README.md
+++ b/tests/README.md
@@ -5,7 +5,7 @@
 1. Checkout polkadot in sibling folder with this project
 ```bash
 git clone https://github.com/paritytech/polkadot.git && cd polkadot
-git checkout release-v0.9.20
+git checkout release-v0.9.21
 ```
 
 2. Build with nightly-2021-11-11