git.delta.rocks / unique-network / refs/commits / fcefd819ab8c

difftreelog

build upgrade to polkadot v0.9.21

Yaroslav Bolyukin2022-05-11parent: #8da8a84.patch.diff
in: master

24 files changed

modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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",
@@ -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",
@@ -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",
@@ -2644,7 +2644,7 @@
 [[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",
@@ -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",
@@ -5602,7 +5602,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 +5632,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 +5648,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 +5664,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 +5679,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 +5703,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 +5723,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 +5738,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 +5753,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 +5769,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 +5793,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 +5811,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 +5828,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 +5850,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 +5871,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 +5890,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 +5926,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 +5942,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 +5965,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 +5978,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 +5996,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 +6026,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 +6146,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 +6161,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 +6184,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 +6200,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 +6220,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 +6256,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 +6273,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 +6291,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 +6308,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 +6323,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 +6337,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 +6352,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 +6391,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 +6408,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 +6431,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 +6447,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 +6462,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 +6476,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 +6507,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 +6523,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 +6544,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 +6560,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 +6574,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 +6597,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 +6608,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 +6617,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 +6631,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 +6651,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 +6669,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 +6688,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 +6705,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 +6722,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 +6733,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 +6806,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 +6822,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 +6836,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 +6854,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 +6872,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",
@@ -7241,8 +7241,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 +7256,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 +7269,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 +7292,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 +7313,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 +7337,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 +7377,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 +7398,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 +7411,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 +7434,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 +7448,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 +7468,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 +7487,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 +7505,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 +7534,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 +7554,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 +7572,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 +7587,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 +7605,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 +7620,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 +7637,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 +7656,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 +7673,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 +7690,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 +7720,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 +7736,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 +7754,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 +7772,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 +7791,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 +7809,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 +7831,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 +7841,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 +7860,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 +7893,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 +7914,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 +7931,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 +7943,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 +7960,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 +7975,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 +8005,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 +8037,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 +8123,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 +8170,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 +8182,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 +8194,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 +8237,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 +8337,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 +8358,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 +8368,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 +8430,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",
@@ -9043,7 +9043,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 +9130,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 +9207,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 +9409,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 +9420,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 +9447,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 +9470,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 +9486,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 +9503,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 +9514,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",
@@ -9552,7 +9552,7 @@
 [[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 +9580,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 +9605,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 +9629,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 +9658,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 +9701,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 +9725,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 +9738,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 +9774,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 +9799,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 +9810,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 +9837,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 +9854,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 +9870,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 +9888,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 +9928,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 +9952,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 +9969,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 +9984,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 +10033,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 +10050,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 +10078,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 +10091,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 +10100,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 +10131,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 +10157,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",
@@ -10174,7 +10174,7 @@
 [[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",
@@ -10239,7 +10239,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 +10253,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 +10274,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 +10293,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 +10311,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 +10342,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 +10353,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 +10380,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 +10393,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 +10789,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 +10878,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 +10895,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 +10907,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 +10920,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 +10935,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 +10948,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 +10960,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 +10972,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 +10990,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 +11009,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 +11027,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 +11050,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 +11064,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 +11076,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 +11122,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 +11136,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 +11147,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 +11156,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 +11166,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 +11177,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 +11195,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 +11209,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 +11234,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 +11245,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 +11262,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 +11271,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 +11286,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 +11300,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 +11310,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 +11320,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 +11330,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 +11352,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 +11369,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 +11381,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 +11390,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 +11404,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 +11415,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 +11437,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 +11455,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 +11468,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 +11484,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 +11496,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 +11505,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 +11521,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 +11537,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 +11554,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 +11565,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",
@@ -11722,7 +11722,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 +11730,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,7 +11752,7 @@
 [[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",
@@ -11765,7 +11765,7 @@
 [[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 +11788,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,7 +11814,7 @@
 [[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",
@@ -11824,7 +11824,7 @@
 [[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 +11835,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",
@@ -11925,8 +11925,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",
@@ -12239,8 +12239,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 +12250,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 +12388,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",
@@ -12817,7 +12817,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 +13281,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 +13370,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 +13524,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 +13537,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 +13557,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 +13576,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",
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
@@ -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,19 +15,19 @@
 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" }
-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" }
+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
@@ -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
@@ -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
@@ -286,8 +286,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
@@ -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
@@ -265,8 +265,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
@@ -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	traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero},37	transaction_validity::{TransactionSource, TransactionValidity},38	ApplyExtrinsicResult, RuntimeAppPublic,39};4041use sp_std::prelude::*;4243#[cfg(feature = "std")]44use sp_version::NativeVersion;45use sp_version::RuntimeVersion;46pub use pallet_transaction_payment::{47	Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,48};49// A few exports that help ease life for downstream crates.50pub use pallet_balances::Call as BalancesCall;51pub use pallet_evm::{52	EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,53};54pub use frame_support::{55	construct_runtime, match_types,56	dispatch::DispatchResult,57	PalletId, parameter_types, StorageValue, ConsensusEngineId,58	traits::{59		tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,60		Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,61		OnUnbalanced, Randomness, FindAuthor,62	},63	weights::{64		constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},65		DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,66		WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,67	},68};69use up_data_structs::*;70// use pallet_contracts::weights::WeightInfo;71// #[cfg(any(feature = "std", test))]72use frame_system::{73	self as frame_system, EnsureRoot, EnsureSigned,74	limits::{BlockWeights, BlockLength},75};76use sp_arithmetic::{77	traits::{BaseArithmetic, Unsigned},78};79use smallvec::smallvec;80use codec::{Encode, Decode};81use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};82use fp_rpc::TransactionStatus;83use sp_runtime::{84	traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},85	transaction_validity::TransactionValidityError,86	SaturatedConversion,87};8889// pub use pallet_timestamp::Call as TimestampCall;9091// Polkadot imports92use pallet_xcm::XcmPassthrough;93use polkadot_parachain::primitives::Sibling;94use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};95use xcm_builder::{96	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,97	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,98	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,99	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,100	ParentIsPreset,101};102use xcm_executor::{Config, XcmExecutor, Assets};103use sp_std::{marker::PhantomData};104105use xcm::latest::{106	//	Xcm,107	AssetId::{Concrete},108	Fungibility::Fungible as XcmFungible,109	MultiAsset,110	Error as XcmError,111};112use xcm_executor::traits::{MatchesFungible, WeightTrader};113//use xcm_executor::traits::MatchesFungible;114use sp_runtime::traits::CheckedConversion;115116use 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; 8];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}886887// parameter_types! {888// 	pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *889// 		RuntimeBlockWeights::get().max_block;890// 	pub const MaxScheduledPerBlock: u32 = 50;891// }892893type EvmSponsorshipHandler = (894	pallet_unique::UniqueEthSponsorshipHandler<Runtime>,895	pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,896);897type SponsorshipHandler = (898	pallet_unique::UniqueSponsorshipHandler<Runtime>,899	//pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,900	pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,901);902903// impl pallet_unq_scheduler::Config for Runtime {904// 	type Event = Event;905// 	type Origin = Origin;906// 	type PalletsOrigin = OriginCaller;907// 	type Call = Call;908// 	type MaximumWeight = MaximumSchedulerWeight;909// 	type ScheduleOrigin = EnsureSigned<AccountId>;910// 	type MaxScheduledPerBlock = MaxScheduledPerBlock;911// 	type SponsorshipHandler = SponsorshipHandler;912// 	type WeightInfo = ();913// }914915impl pallet_evm_transaction_payment::Config for Runtime {916	type EvmSponsorshipHandler = EvmSponsorshipHandler;917	type Currency = Balances;918}919920impl pallet_charge_transaction::Config for Runtime {921	type SponsorshipHandler = SponsorshipHandler;922}923924// impl pallet_contract_helpers::Config for Runtime {925//	 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;926// }927928parameter_types! {929	// 0x842899ECF380553E8a4de75bF534cdf6fBF64049930	pub const HelpersContractAddress: H160 = H160([931		0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,932	]);933}934935impl pallet_evm_contract_helpers::Config for Runtime {936	type ContractAddress = HelpersContractAddress;937	type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;938}939940construct_runtime!(941	pub enum Runtime where942		Block = Block,943		NodeBlock = opaque::Block,944		UncheckedExtrinsic = UncheckedExtrinsic945	{946		ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,947		ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,948949		Aura: pallet_aura::{Pallet, Config<T>} = 22,950		AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,951952		Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,953		RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,954		Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,955		TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,956		Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,957		Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,958		System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,959		Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,960		// Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,961		// Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,962963		// XCM helpers.964		XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,965		PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,966		CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,967		DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,968969		// Unique Pallets970		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,971		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,972		// Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,973		// free = 63974		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,975		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,976		Common: pallet_common::{Pallet, Storage, Event<T>} = 66,977		Fungible: pallet_fungible::{Pallet, Storage} = 67,978		Refungible: pallet_refungible::{Pallet, Storage} = 68,979		Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,980981		// Frontier982		EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,983		Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,984985		EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,986		EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,987		EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,988		EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,989	}990);991992pub struct TransactionConverter;993994impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {995	fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {996		UncheckedExtrinsic::new_unsigned(997			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),998		)999	}1000}10011002impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1003	fn convert_transaction(1004		&self,1005		transaction: pallet_ethereum::Transaction,1006	) -> opaque::UncheckedExtrinsic {1007		let extrinsic = UncheckedExtrinsic::new_unsigned(1008			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1009		);1010		let encoded = extrinsic.encode();1011		opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1012			.expect("Encoded extrinsic is always valid")1013	}1014}10151016/// The address format for describing accounts.1017pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1018/// Block header type as expected by this runtime.1019pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1020/// Block type as expected by this runtime.1021pub type Block = generic::Block<Header, UncheckedExtrinsic>;1022/// A Block signed with a Justification1023pub type SignedBlock = generic::SignedBlock<Block>;1024/// BlockId type as expected by this runtime.1025pub type BlockId = generic::BlockId<Block>;1026/// The SignedExtension to the basic transaction logic.1027pub type SignedExtra = (1028	frame_system::CheckSpecVersion<Runtime>,1029	// system::CheckTxVersion<Runtime>,1030	frame_system::CheckGenesis<Runtime>,1031	frame_system::CheckEra<Runtime>,1032	frame_system::CheckNonce<Runtime>,1033	frame_system::CheckWeight<Runtime>,1034	pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1035	//pallet_contract_helpers::ContractHelpersExtension<Runtime>,1036);1037/// Unchecked extrinsic type as expected by this runtime.1038pub type UncheckedExtrinsic =1039	fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1040/// Extrinsic type that has already been checked.1041pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1042/// Executive: handles dispatch to the various modules.1043pub type Executive = frame_executive::Executive<1044	Runtime,1045	Block,1046	frame_system::ChainContext<Runtime>,1047	Runtime,1048	AllPalletsReversedWithSystemFirst,1049>;10501051impl_opaque_keys! {1052	pub struct SessionKeys {1053		pub aura: Aura,1054	}1055}10561057impl fp_self_contained::SelfContainedCall for Call {1058	type SignedInfo = H160;10591060	fn is_self_contained(&self) -> bool {1061		match self {1062			Call::Ethereum(call) => call.is_self_contained(),1063			_ => false,1064		}1065	}10661067	fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1068		match self {1069			Call::Ethereum(call) => call.check_self_contained(),1070			_ => None,1071		}1072	}10731074	fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1075		match self {1076			Call::Ethereum(call) => call.validate_self_contained(info),1077			_ => None,1078		}1079	}10801081	fn pre_dispatch_self_contained(1082		&self,1083		info: &Self::SignedInfo,1084	) -> Option<Result<(), TransactionValidityError>> {1085		match self {1086			Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1087			_ => None,1088		}1089	}10901091	fn apply_self_contained(1092		self,1093		info: Self::SignedInfo,1094	) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1095		match self {1096			call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1097				Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1098			)),1099			_ => None,1100		}1101	}1102}11031104macro_rules! dispatch_unique_runtime {1105	($collection:ident.$method:ident($($name:ident),*)) => {{1106		use pallet_unique::dispatch::Dispatched;11071108		let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1109		let dispatch = collection.as_dyn();11101111		Ok(dispatch.$method($($name),*))1112	}};1113}11141115impl_common_runtime_apis!();11161117struct CheckInherents;11181119impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1120	fn check_inherents(1121		block: &Block,1122		relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1123	) -> sp_inherents::CheckInherentsResult {1124		let relay_chain_slot = relay_state_proof1125			.read_slot()1126			.expect("Could not read the relay chain slot from the proof");11271128		let inherent_data =1129			cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1130				relay_chain_slot,1131				sp_std::time::Duration::from_secs(6),1132			)1133			.create_inherent_data()1134			.expect("Could not create the timestamp inherent data");11351136		inherent_data.check_extrinsics(block)1137	}1138}11391140cumulus_pallet_parachain_system::register_validate_block!(1141	Runtime = Runtime,1142	BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1143	CheckInherents = CheckInherents,1144);
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	traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero},37	transaction_validity::{TransactionSource, TransactionValidity},38	ApplyExtrinsicResult, RuntimeAppPublic,39};4041use sp_std::prelude::*;4243#[cfg(feature = "std")]44use sp_version::NativeVersion;45use sp_version::RuntimeVersion;46pub use pallet_transaction_payment::{47	Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,48};49// A few exports that help ease life for downstream crates.50pub use pallet_balances::Call as BalancesCall;51pub use pallet_evm::{52	EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,53};54pub use frame_support::{55	construct_runtime, match_types,56	dispatch::DispatchResult,57	PalletId, parameter_types, StorageValue, ConsensusEngineId,58	traits::{59		tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,60		Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,61		OnUnbalanced, Randomness, FindAuthor,62	},63	weights::{64		constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},65		DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,66		WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,67	},68};69use up_data_structs::*;70// use pallet_contracts::weights::WeightInfo;71// #[cfg(any(feature = "std", test))]72use frame_system::{73	self as frame_system, EnsureRoot, EnsureSigned,74	limits::{BlockWeights, BlockLength},75};76use sp_arithmetic::{77	traits::{BaseArithmetic, Unsigned},78};79use smallvec::smallvec;80use codec::{Encode, Decode};81use pallet_evm::{Account as EVMAccount, FeeCalculator, GasWeightMapping};82use fp_rpc::TransactionStatus;83use sp_runtime::{84	traits::{BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating},85	transaction_validity::TransactionValidityError,86	SaturatedConversion,87};8889// pub use pallet_timestamp::Call as TimestampCall;9091// Polkadot imports92use pallet_xcm::XcmPassthrough;93use polkadot_parachain::primitives::Sibling;94use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};95use xcm_builder::{96	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,97	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,98	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,99	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,100	ParentIsPreset,101};102use xcm_executor::{Config, XcmExecutor, Assets};103use sp_std::{marker::PhantomData};104105use xcm::latest::{106	//	Xcm,107	AssetId::{Concrete},108	Fungibility::Fungible as XcmFungible,109	MultiAsset,110	Error as XcmError,111};112use xcm_executor::traits::{MatchesFungible, WeightTrader};113//use xcm_executor::traits::MatchesFungible;114use sp_runtime::traits::CheckedConversion;115116use 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<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; 8];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}886887// parameter_types! {888// 	pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *889// 		RuntimeBlockWeights::get().max_block;890// 	pub const MaxScheduledPerBlock: u32 = 50;891// }892893type EvmSponsorshipHandler = (894	pallet_unique::UniqueEthSponsorshipHandler<Runtime>,895	pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,896);897type SponsorshipHandler = (898	pallet_unique::UniqueSponsorshipHandler<Runtime>,899	//pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,900	pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,901);902903// impl pallet_unq_scheduler::Config for Runtime {904// 	type Event = Event;905// 	type Origin = Origin;906// 	type PalletsOrigin = OriginCaller;907// 	type Call = Call;908// 	type MaximumWeight = MaximumSchedulerWeight;909// 	type ScheduleOrigin = EnsureSigned<AccountId>;910// 	type MaxScheduledPerBlock = MaxScheduledPerBlock;911// 	type SponsorshipHandler = SponsorshipHandler;912// 	type WeightInfo = ();913// }914915impl pallet_evm_transaction_payment::Config for Runtime {916	type EvmSponsorshipHandler = EvmSponsorshipHandler;917	type Currency = Balances;918}919920impl pallet_charge_transaction::Config for Runtime {921	type SponsorshipHandler = SponsorshipHandler;922}923924// impl pallet_contract_helpers::Config for Runtime {925//	 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;926// }927928parameter_types! {929	// 0x842899ECF380553E8a4de75bF534cdf6fBF64049930	pub const HelpersContractAddress: H160 = H160([931		0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,932	]);933}934935impl pallet_evm_contract_helpers::Config for Runtime {936	type ContractAddress = HelpersContractAddress;937	type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;938}939940construct_runtime!(941	pub enum Runtime where942		Block = Block,943		NodeBlock = opaque::Block,944		UncheckedExtrinsic = UncheckedExtrinsic945	{946		ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,947		ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,948949		Aura: pallet_aura::{Pallet, Config<T>} = 22,950		AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,951952		Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,953		RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,954		Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,955		TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,956		Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,957		Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,958		System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,959		Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,960		// Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,961		// Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,962963		// XCM helpers.964		XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,965		PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,966		CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,967		DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,968969		// Unique Pallets970		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,971		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,972		// Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,973		// free = 63974		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,975		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,976		Common: pallet_common::{Pallet, Storage, Event<T>} = 66,977		Fungible: pallet_fungible::{Pallet, Storage} = 67,978		Refungible: pallet_refungible::{Pallet, Storage} = 68,979		Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,980981		// Frontier982		EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,983		Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,984985		EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,986		EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,987		EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,988		EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,989	}990);991992pub struct TransactionConverter;993994impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {995	fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {996		UncheckedExtrinsic::new_unsigned(997			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),998		)999	}1000}10011002impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1003	fn convert_transaction(1004		&self,1005		transaction: pallet_ethereum::Transaction,1006	) -> opaque::UncheckedExtrinsic {1007		let extrinsic = UncheckedExtrinsic::new_unsigned(1008			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1009		);1010		let encoded = extrinsic.encode();1011		opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1012			.expect("Encoded extrinsic is always valid")1013	}1014}10151016/// The address format for describing accounts.1017pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1018/// Block header type as expected by this runtime.1019pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1020/// Block type as expected by this runtime.1021pub type Block = generic::Block<Header, UncheckedExtrinsic>;1022/// A Block signed with a Justification1023pub type SignedBlock = generic::SignedBlock<Block>;1024/// BlockId type as expected by this runtime.1025pub type BlockId = generic::BlockId<Block>;1026/// The SignedExtension to the basic transaction logic.1027pub type SignedExtra = (1028	frame_system::CheckSpecVersion<Runtime>,1029	// system::CheckTxVersion<Runtime>,1030	frame_system::CheckGenesis<Runtime>,1031	frame_system::CheckEra<Runtime>,1032	frame_system::CheckNonce<Runtime>,1033	frame_system::CheckWeight<Runtime>,1034	pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1035	//pallet_contract_helpers::ContractHelpersExtension<Runtime>,1036);1037/// Unchecked extrinsic type as expected by this runtime.1038pub type UncheckedExtrinsic =1039	fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1040/// Extrinsic type that has already been checked.1041pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1042/// Executive: handles dispatch to the various modules.1043pub type Executive = frame_executive::Executive<1044	Runtime,1045	Block,1046	frame_system::ChainContext<Runtime>,1047	Runtime,1048	AllPalletsReversedWithSystemFirst,1049>;10501051impl_opaque_keys! {1052	pub struct SessionKeys {1053		pub aura: Aura,1054	}1055}10561057impl fp_self_contained::SelfContainedCall for Call {1058	type SignedInfo = H160;10591060	fn is_self_contained(&self) -> bool {1061		match self {1062			Call::Ethereum(call) => call.is_self_contained(),1063			_ => false,1064		}1065	}10661067	fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1068		match self {1069			Call::Ethereum(call) => call.check_self_contained(),1070			_ => None,1071		}1072	}10731074	fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1075		match self {1076			Call::Ethereum(call) => call.validate_self_contained(info),1077			_ => None,1078		}1079	}10801081	fn pre_dispatch_self_contained(1082		&self,1083		info: &Self::SignedInfo,1084	) -> Option<Result<(), TransactionValidityError>> {1085		match self {1086			Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1087			_ => None,1088		}1089	}10901091	fn apply_self_contained(1092		self,1093		info: Self::SignedInfo,1094	) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1095		match self {1096			call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1097				Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1098			)),1099			_ => None,1100		}1101	}1102}11031104macro_rules! dispatch_unique_runtime {1105	($collection:ident.$method:ident($($name:ident),*)) => {{1106		use pallet_unique::dispatch::Dispatched;11071108		let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1109		let dispatch = collection.as_dyn();11101111		Ok(dispatch.$method($($name),*))1112	}};1113}11141115impl_common_runtime_apis!();11161117struct CheckInherents;11181119impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1120	fn check_inherents(1121		block: &Block,1122		relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1123	) -> sp_inherents::CheckInherentsResult {1124		let relay_chain_slot = relay_state_proof1125			.read_slot()1126			.expect("Could not read the relay chain slot from the proof");11271128		let inherent_data =1129			cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1130				relay_chain_slot,1131				sp_std::time::Duration::from_secs(6),1132			)1133			.create_inherent_data()1134			.expect("Could not create the timestamp inherent data");11351136		inherent_data.check_extrinsics(block)1137	}1138}11391140cumulus_pallet_parachain_system::register_validate_block!(1141	Runtime = Runtime,1142	BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1143	CheckInherents = CheckInherents,1144);