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

difftreelog

manual merge develop

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

28 files changed

modified.envdiffbeforeafterboth
--- a/.env
+++ b/.env
@@ -1,6 +1,6 @@
 RUST_TOOLCHAIN=nightly-2022-04-07
 RUST_C=1.62.0-nightly
-POLKA_VERSION=release-v0.9.20
+POLKA_VERSION=release-v0.9.21
 UNIQUE_BRANCH=develop
 USER=***
 PASS=***
modifiedCargo.lockdiffbeforeafterboth
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -396,7 +396,7 @@
  "instant",
  "pin-project-lite 0.2.9",
  "rand 0.8.5",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
@@ -410,7 +410,7 @@
  "cfg-if 1.0.0",
  "libc",
  "miniz_oxide",
- "object 0.28.3",
+ "object 0.28.4",
  "rustc-demangle",
 ]
 
@@ -456,7 +456,7 @@
 [[package]]
 name = "beefy-gadget"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-primitives",
  "fnv",
@@ -490,7 +490,7 @@
 [[package]]
 name = "beefy-gadget-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-gadget",
  "beefy-primitives",
@@ -513,12 +513,12 @@
 [[package]]
 name = "beefy-merkle-tree"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 
 [[package]]
 name = "beefy-primitives"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -734,7 +734,7 @@
 [[package]]
 name = "bp-header-chain"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-runtime",
  "finality-grandpa",
@@ -751,7 +751,7 @@
 [[package]]
 name = "bp-message-dispatch"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-runtime",
  "frame-support",
@@ -763,7 +763,7 @@
 [[package]]
 name = "bp-messages"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "bp-runtime",
@@ -780,7 +780,7 @@
 [[package]]
 name = "bp-polkadot-core"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-messages",
  "bp-runtime",
@@ -798,7 +798,7 @@
 [[package]]
 name = "bp-rococo"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-messages",
  "bp-polkadot-core",
@@ -815,7 +815,7 @@
 [[package]]
 name = "bp-runtime"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "hash-db",
@@ -833,7 +833,7 @@
 [[package]]
 name = "bp-test-utils"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-header-chain",
  "ed25519-dalek",
@@ -848,7 +848,7 @@
 [[package]]
 name = "bp-wococo"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-messages",
  "bp-polkadot-core",
@@ -863,7 +863,7 @@
 [[package]]
 name = "bridge-runtime-common"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-message-dispatch",
  "bp-messages",
@@ -977,9 +977,9 @@
 
 [[package]]
 name = "camino"
-version = "1.0.7"
+version = "1.0.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f3132262930b0522068049f5870a856ab8affc80c70d08b6ecb785771a6fc23"
+checksum = "07fd178c5af4d59e83498ef15cf3f154e1a6f9d091270cb86283c65ef44e9ef0"
 dependencies = [
  "serde",
 ]
@@ -1122,9 +1122,9 @@
 
 [[package]]
 name = "clap"
-version = "3.1.16"
+version = "3.1.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f52d4f8e4a1419219935762e32913b4430f37cb0c0200ad17a89ee18c0188a9f"
+checksum = "d2dbdf4bdacb33466e854ce889eee8dfd5729abf7ccd7664d0a2d60cd384440b"
 dependencies = [
  "atty",
  "bitflags",
@@ -1139,9 +1139,9 @@
 
 [[package]]
 name = "clap_derive"
-version = "3.1.7"
+version = "3.1.18"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3aab4734e083b809aaf5794e14e756d1c798d2c69c7f7de7a09a2f5214993c1"
+checksum = "25320346e922cffe59c0bbc5410c8d8784509efb321488971081313cb1e1a33c"
 dependencies = [
  "heck 0.4.0",
  "proc-macro-error",
@@ -1506,7 +1506,7 @@
 [[package]]
 name = "cumulus-client-cli"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "clap",
  "sc-cli",
@@ -1517,7 +1517,7 @@
 [[package]]
 name = "cumulus-client-collator"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-client-consensus-common",
  "cumulus-client-network",
@@ -1541,7 +1541,7 @@
 [[package]]
 name = "cumulus-client-consensus-aura"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-client-consensus-common",
@@ -1570,7 +1570,7 @@
 [[package]]
 name = "cumulus-client-consensus-common"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-relay-chain-interface",
@@ -1591,7 +1591,7 @@
 [[package]]
 name = "cumulus-client-network"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-relay-chain-interface",
@@ -1616,7 +1616,7 @@
 [[package]]
 name = "cumulus-client-pov-recovery"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "cumulus-relay-chain-interface",
@@ -1640,7 +1640,7 @@
 [[package]]
 name = "cumulus-client-service"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-client-cli",
  "cumulus-client-collator",
@@ -1670,7 +1670,7 @@
 [[package]]
 name = "cumulus-pallet-aura-ext"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "frame-executive",
  "frame-support",
@@ -1688,7 +1688,7 @@
 [[package]]
 name = "cumulus-pallet-dmp-queue"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1706,7 +1706,7 @@
 [[package]]
 name = "cumulus-pallet-parachain-system"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-pallet-parachain-system-proc-macro",
  "cumulus-primitives-core",
@@ -1736,7 +1736,7 @@
 [[package]]
 name = "cumulus-pallet-parachain-system-proc-macro"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -1747,7 +1747,7 @@
 [[package]]
 name = "cumulus-pallet-xcm"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1764,7 +1764,7 @@
 [[package]]
 name = "cumulus-pallet-xcmp-queue"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1782,7 +1782,7 @@
 [[package]]
 name = "cumulus-primitives-core"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "frame-support",
  "parity-scale-codec",
@@ -1798,7 +1798,7 @@
 [[package]]
 name = "cumulus-primitives-parachain-inherent"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-primitives-core",
@@ -1821,7 +1821,7 @@
 [[package]]
 name = "cumulus-primitives-timestamp"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "futures 0.3.21",
@@ -1834,7 +1834,7 @@
 [[package]]
 name = "cumulus-primitives-utility"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -1851,7 +1851,7 @@
 [[package]]
 name = "cumulus-relay-chain-inprocess-interface"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-primitives-core",
@@ -1879,7 +1879,7 @@
 [[package]]
 name = "cumulus-relay-chain-interface"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "cumulus-primitives-core",
@@ -1903,7 +1903,7 @@
 [[package]]
 name = "cumulus-relay-chain-rpc-interface"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "async-trait",
  "backoff",
@@ -1929,7 +1929,7 @@
 [[package]]
 name = "cumulus-test-relay-sproof-builder"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "parity-scale-codec",
@@ -2202,9 +2202,9 @@
 
 [[package]]
 name = "ed25519"
-version = "1.4.1"
+version = "1.5.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d5c4b5e5959dc2c2b89918d8e2cc40fcdd623cef026ed09d2f0ee05199dc8e4"
+checksum = "d916019f70ae3a1faa1195685e290287f39207d38e6dfee727197cffcc002214"
 dependencies = [
  "signature",
 ]
@@ -2555,7 +2555,7 @@
 [[package]]
 name = "fc-consensus"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "async-trait",
  "fc-db",
@@ -2574,7 +2574,7 @@
 [[package]]
 name = "fc-db"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "fp-storage",
  "kvdb-rocksdb",
@@ -2588,7 +2588,7 @@
 [[package]]
 name = "fc-mapping-sync"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "fc-db",
  "fp-consensus",
@@ -2605,7 +2605,7 @@
 [[package]]
 name = "fc-rpc"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -2638,13 +2638,13 @@
  "sp-io",
  "sp-runtime",
  "sp-storage",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "fc-rpc-core"
 version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -2759,7 +2759,7 @@
 [[package]]
 name = "fork-tree"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
 ]
@@ -2777,7 +2777,7 @@
 [[package]]
 name = "fp-consensus"
 version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "parity-scale-codec",
@@ -2789,7 +2789,7 @@
 [[package]]
 name = "fp-evm"
 version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "evm",
  "impl-trait-for-tuples",
@@ -2802,7 +2802,7 @@
 [[package]]
 name = "fp-evm-mapping"
 version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "frame-support",
  "sp-core",
@@ -2811,7 +2811,7 @@
 [[package]]
 name = "fp-rpc"
 version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -2828,7 +2828,7 @@
 [[package]]
 name = "fp-self-contained"
 version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "frame-support",
@@ -2844,7 +2844,7 @@
 [[package]]
 name = "fp-storage"
 version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "parity-scale-codec",
 ]
@@ -2852,7 +2852,7 @@
 [[package]]
 name = "frame-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -2874,7 +2874,7 @@
 [[package]]
 name = "frame-benchmarking-cli"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "Inflector",
  "chrono",
@@ -2922,7 +2922,7 @@
 [[package]]
 name = "frame-election-provider-solution-type"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -2933,7 +2933,7 @@
 [[package]]
 name = "frame-election-provider-support"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-election-provider-solution-type",
  "frame-support",
@@ -2949,7 +2949,7 @@
 [[package]]
 name = "frame-executive"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -2977,7 +2977,7 @@
 [[package]]
 name = "frame-support"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "bitflags",
  "frame-metadata",
@@ -3006,7 +3006,7 @@
 [[package]]
 name = "frame-support-procedural"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "Inflector",
  "frame-support-procedural-tools",
@@ -3018,7 +3018,7 @@
 [[package]]
 name = "frame-support-procedural-tools"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support-procedural-tools-derive",
  "proc-macro-crate 1.1.3",
@@ -3030,7 +3030,7 @@
 [[package]]
 name = "frame-support-procedural-tools-derive"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -3040,7 +3040,7 @@
 [[package]]
 name = "frame-system"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "log",
@@ -3057,7 +3057,7 @@
 [[package]]
 name = "frame-system-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -3072,7 +3072,7 @@
 [[package]]
 name = "frame-system-rpc-runtime-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -3081,7 +3081,7 @@
 [[package]]
 name = "frame-try-runtime"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "sp-api",
@@ -3394,7 +3394,7 @@
  "http",
  "indexmap",
  "slab",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-util 0.7.1",
  "tracing",
 ]
@@ -3588,7 +3588,7 @@
  "itoa 1.0.1",
  "pin-project-lite 0.2.9",
  "socket2 0.4.4",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tower-service",
  "tracing",
  "want",
@@ -3606,7 +3606,7 @@
  "log",
  "rustls 0.19.1",
  "rustls-native-certs 0.5.0",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-rustls 0.22.0",
  "webpki 0.21.4",
 ]
@@ -3622,7 +3622,7 @@
  "log",
  "rustls 0.20.4",
  "rustls-native-certs 0.6.2",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-rustls 0.23.4",
  "webpki-roots 0.22.3",
 ]
@@ -3954,7 +3954,7 @@
  "jsonrpc-core",
  "lazy_static",
  "log",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-stream",
  "tokio-util 0.6.9",
  "unicase",
@@ -4002,7 +4002,7 @@
  "rustls-native-certs 0.6.2",
  "soketto",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tokio-rustls 0.23.4",
  "tokio-util 0.7.1",
  "tracing",
@@ -4028,7 +4028,7 @@
  "serde_json",
  "soketto",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
 ]
 
@@ -4047,7 +4047,7 @@
  "serde",
  "serde_json",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
 ]
 
@@ -4118,8 +4118,8 @@
 
 [[package]]
 name = "kusama-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -4209,8 +4209,8 @@
 
 [[package]]
 name = "kusama-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -5074,8 +5074,8 @@
 
 [[package]]
 name = "metered-channel"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "coarsetime",
  "crossbeam-queue",
@@ -5126,7 +5126,7 @@
  "kernel32-sys",
  "libc",
  "log",
- "miow 0.2.2",
+ "miow",
  "net2",
  "slab",
  "winapi 0.2.8",
@@ -5134,16 +5134,14 @@
 
 [[package]]
 name = "mio"
-version = "0.8.2"
+version = "0.8.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9"
+checksum = "713d550d9b44d89174e066b7a6217ae06234c10cb47819a88290d2b353c31799"
 dependencies = [
  "libc",
  "log",
- "miow 0.3.7",
- "ntapi",
  "wasi 0.11.0+wasi-snapshot-preview1",
- "winapi 0.3.9",
+ "windows-sys",
 ]
 
 [[package]]
@@ -5168,15 +5166,6 @@
  "net2",
  "winapi 0.2.8",
  "ws2_32-sys",
-]
-
-[[package]]
-name = "miow"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
-dependencies = [
- "winapi 0.3.9",
 ]
 
 [[package]]
@@ -5353,15 +5342,6 @@
 dependencies = [
  "memchr",
  "minimal-lexical",
-]
-
-[[package]]
-name = "ntapi"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f"
-dependencies = [
- "winapi 0.3.9",
 ]
 
 [[package]]
@@ -5460,9 +5440,9 @@
 
 [[package]]
 name = "object"
-version = "0.28.3"
+version = "0.28.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40bec70ba014595f99f7aa110b84331ffe1ee9aece7fe6f387cc7e3ecda4d456"
+checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
 dependencies = [
  "memchr",
 ]
@@ -5475,7 +5455,7 @@
 
 [[package]]
 name = "opal-runtime"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "cumulus-pallet-aura-ext",
  "cumulus-pallet-dmp-queue",
@@ -5602,7 +5582,7 @@
 [[package]]
 name = "orml-vesting"
 version = "0.4.1-dev"
-source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.20#3ffcc1b1917f37b9bb8ece700cbbf97893e54391"
+source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.21#ab76865610924c07212a9dc788a45d659c603a4a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5632,7 +5612,7 @@
 [[package]]
 name = "pallet-aura"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5648,7 +5628,7 @@
 [[package]]
 name = "pallet-authority-discovery"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5664,7 +5644,7 @@
 [[package]]
 name = "pallet-authorship"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -5679,7 +5659,7 @@
 [[package]]
 name = "pallet-babe"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5703,7 +5683,7 @@
 [[package]]
 name = "pallet-bags-list"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -5723,7 +5703,7 @@
 [[package]]
 name = "pallet-balances"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5738,7 +5718,7 @@
 [[package]]
 name = "pallet-base-fee"
 version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "fp-evm",
  "frame-support",
@@ -5753,7 +5733,7 @@
 [[package]]
 name = "pallet-beefy"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-primitives",
  "frame-support",
@@ -5769,7 +5749,7 @@
 [[package]]
 name = "pallet-beefy-mmr"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "beefy-merkle-tree",
  "beefy-primitives",
@@ -5793,7 +5773,7 @@
 [[package]]
 name = "pallet-bounties"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5811,7 +5791,7 @@
 [[package]]
 name = "pallet-bridge-dispatch"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-message-dispatch",
  "bp-runtime",
@@ -5828,7 +5808,7 @@
 [[package]]
 name = "pallet-bridge-grandpa"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bp-header-chain",
  "bp-runtime",
@@ -5850,7 +5830,7 @@
 [[package]]
 name = "pallet-bridge-messages"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "bp-message-dispatch",
@@ -5871,7 +5851,7 @@
 [[package]]
 name = "pallet-child-bounties"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5890,7 +5870,7 @@
 [[package]]
 name = "pallet-collective"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5926,7 +5906,7 @@
 [[package]]
 name = "pallet-democracy"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5942,7 +5922,7 @@
 [[package]]
 name = "pallet-election-provider-multi-phase"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -5965,7 +5945,7 @@
 [[package]]
 name = "pallet-election-provider-support-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -5978,7 +5958,7 @@
 [[package]]
 name = "pallet-elections-phragmen"
 version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -5996,7 +5976,7 @@
 [[package]]
 name = "pallet-ethereum"
 version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "ethereum",
  "ethereum-types",
@@ -6026,7 +6006,7 @@
 [[package]]
 name = "pallet-evm"
 version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.20#de4fa0f04d07395296a3a6df3b8afba931febb25"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.21#4c0dea347d0388a7b261cbc36568170e288f3e7a"
 dependencies = [
  "evm",
  "fp-evm",
@@ -6146,7 +6126,7 @@
 [[package]]
 name = "pallet-gilt"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6161,7 +6141,7 @@
 [[package]]
 name = "pallet-grandpa"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6184,7 +6164,7 @@
 [[package]]
 name = "pallet-identity"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "enumflags2",
  "frame-benchmarking",
@@ -6200,7 +6180,7 @@
 [[package]]
 name = "pallet-im-online"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6220,7 +6200,7 @@
 [[package]]
 name = "pallet-indices"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6256,7 +6236,7 @@
 [[package]]
 name = "pallet-membership"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6273,7 +6253,7 @@
 [[package]]
 name = "pallet-mmr"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ckb-merkle-mountain-range",
  "frame-benchmarking",
@@ -6291,7 +6271,7 @@
 [[package]]
 name = "pallet-mmr-rpc"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -6308,7 +6288,7 @@
 [[package]]
 name = "pallet-multisig"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6323,7 +6303,7 @@
 [[package]]
 name = "pallet-nicks"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6337,7 +6317,7 @@
 [[package]]
 name = "pallet-nomination-pools"
 version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6352,7 +6332,7 @@
 [[package]]
 name = "pallet-nomination-pools-benchmarking"
 version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -6391,7 +6371,7 @@
 [[package]]
 name = "pallet-offences"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6408,7 +6388,7 @@
 [[package]]
 name = "pallet-offences-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -6431,7 +6411,7 @@
 [[package]]
 name = "pallet-preimage"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6447,7 +6427,7 @@
 [[package]]
 name = "pallet-proxy"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6462,7 +6442,7 @@
 [[package]]
 name = "pallet-randomness-collective-flip"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6476,7 +6456,7 @@
 [[package]]
 name = "pallet-recovery"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6507,7 +6487,7 @@
 [[package]]
 name = "pallet-scheduler"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6523,7 +6503,7 @@
 [[package]]
 name = "pallet-session"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6544,7 +6524,7 @@
 [[package]]
 name = "pallet-session-benchmarking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6560,7 +6540,7 @@
 [[package]]
 name = "pallet-society"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6574,7 +6554,7 @@
 [[package]]
 name = "pallet-staking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-election-provider-support",
@@ -6597,7 +6577,7 @@
 [[package]]
 name = "pallet-staking-reward-curve"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -6608,7 +6588,7 @@
 [[package]]
 name = "pallet-staking-reward-fn"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "sp-arithmetic",
@@ -6617,7 +6597,7 @@
 [[package]]
 name = "pallet-sudo"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6631,7 +6611,7 @@
 [[package]]
 name = "pallet-template-transaction-payment"
 version = "3.0.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.20#fa1a51fcccf488d3d41f0ae7864b9b6455b64d77"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.21#d48fbd3cd0a8261014c8a8b6904d10ddb37ae2d4"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6651,7 +6631,7 @@
 [[package]]
 name = "pallet-timestamp"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6669,7 +6649,7 @@
 [[package]]
 name = "pallet-tips"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6688,7 +6668,7 @@
 [[package]]
 name = "pallet-transaction-payment"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6705,7 +6685,7 @@
 [[package]]
 name = "pallet-transaction-payment-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -6722,7 +6702,7 @@
 [[package]]
 name = "pallet-transaction-payment-rpc-runtime-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "pallet-transaction-payment",
  "parity-scale-codec",
@@ -6733,7 +6713,7 @@
 [[package]]
 name = "pallet-treasury"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6806,7 +6786,7 @@
 [[package]]
 name = "pallet-utility"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6822,7 +6802,7 @@
 [[package]]
 name = "pallet-vesting"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6836,8 +6816,8 @@
 
 [[package]]
 name = "pallet-xcm"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -6854,8 +6834,8 @@
 
 [[package]]
 name = "pallet-xcm-benchmarks"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -6872,7 +6852,7 @@
 [[package]]
 name = "parachain-info"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.20#4bbedb30b1478494b410477498bd0a2221177a11"
+source = "git+https://github.com/uniquenetwork/cumulus?branch=polkadot-v0.9.21#4ce5950ac3efbdbbf6c88c90e2a9ad4c7cb8d334"
 dependencies = [
  "cumulus-primitives-core",
  "frame-support",
@@ -6884,9 +6864,9 @@
 
 [[package]]
 name = "parity-db"
-version = "0.3.12"
+version = "0.3.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e73cd0b0a78045276b19eaae8eaaa20e44a1da9a0217ff934a810d9492ae701"
+checksum = "55a7901b85874402471e131de3332dde0e51f38432c69a3853627c8e25433048"
 dependencies = [
  "blake2-rfc",
  "crc32fast",
@@ -6943,7 +6923,7 @@
  "libc",
  "log",
  "rand 0.7.3",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "winapi 0.3.9",
 ]
 
@@ -7241,8 +7221,8 @@
 
 [[package]]
 name = "polkadot-approval-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-network-protocol",
@@ -7256,8 +7236,8 @@
 
 [[package]]
 name = "polkadot-availability-bitfield-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-network-protocol",
@@ -7269,8 +7249,8 @@
 
 [[package]]
 name = "polkadot-availability-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "fatality",
@@ -7292,8 +7272,8 @@
 
 [[package]]
 name = "polkadot-availability-recovery"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "fatality",
  "futures 0.3.21",
@@ -7313,8 +7293,8 @@
 
 [[package]]
 name = "polkadot-cli"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "clap",
  "frame-benchmarking-cli",
@@ -7337,8 +7317,8 @@
 
 [[package]]
 name = "polkadot-client"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "frame-benchmarking",
@@ -7377,8 +7357,8 @@
 
 [[package]]
 name = "polkadot-collator-protocol"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "always-assert",
  "fatality",
@@ -7398,8 +7378,8 @@
 
 [[package]]
 name = "polkadot-core-primitives"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "parity-scale-codec",
  "parity-util-mem",
@@ -7411,8 +7391,8 @@
 
 [[package]]
 name = "polkadot-dispute-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "fatality",
@@ -7434,8 +7414,8 @@
 
 [[package]]
 name = "polkadot-erasure-coding"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "parity-scale-codec",
  "polkadot-node-primitives",
@@ -7448,8 +7428,8 @@
 
 [[package]]
 name = "polkadot-gossip-support"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -7468,8 +7448,8 @@
 
 [[package]]
 name = "polkadot-network-bridge"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7487,8 +7467,8 @@
 
 [[package]]
 name = "polkadot-node-collation-generation"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "parity-scale-codec",
@@ -7505,8 +7485,8 @@
 
 [[package]]
 name = "polkadot-node-core-approval-voting"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "derive_more",
@@ -7534,8 +7514,8 @@
 
 [[package]]
 name = "polkadot-node-core-av-store"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "futures 0.3.21",
@@ -7554,8 +7534,8 @@
 
 [[package]]
 name = "polkadot-node-core-backing"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "futures 0.3.21",
@@ -7572,8 +7552,8 @@
 
 [[package]]
 name = "polkadot-node-core-bitfield-signing"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-subsystem",
@@ -7587,8 +7567,8 @@
 
 [[package]]
 name = "polkadot-node-core-candidate-validation"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7605,8 +7585,8 @@
 
 [[package]]
 name = "polkadot-node-core-chain-api"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-subsystem",
@@ -7620,8 +7600,8 @@
 
 [[package]]
 name = "polkadot-node-core-chain-selection"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -7637,8 +7617,8 @@
 
 [[package]]
 name = "polkadot-node-core-dispute-coordinator"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "fatality",
  "futures 0.3.21",
@@ -7656,8 +7636,8 @@
 
 [[package]]
 name = "polkadot-node-core-parachains-inherent"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7673,8 +7653,8 @@
 
 [[package]]
 name = "polkadot-node-core-provisioner"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "futures 0.3.21",
@@ -7690,8 +7670,8 @@
 
 [[package]]
 name = "polkadot-node-core-pvf"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "always-assert",
  "assert_matches",
@@ -7720,8 +7700,8 @@
 
 [[package]]
 name = "polkadot-node-core-pvf-checker"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "polkadot-node-primitives",
@@ -7736,8 +7716,8 @@
 
 [[package]]
 name = "polkadot-node-core-runtime-api"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "memory-lru",
@@ -7754,8 +7734,8 @@
 
 [[package]]
 name = "polkadot-node-jaeger"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-std",
  "lazy_static",
@@ -7772,8 +7752,8 @@
 
 [[package]]
 name = "polkadot-node-metrics"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bs58",
  "futures 0.3.21",
@@ -7791,8 +7771,8 @@
 
 [[package]]
 name = "polkadot-node-network-protocol"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "fatality",
@@ -7809,8 +7789,8 @@
 
 [[package]]
 name = "polkadot-node-primitives"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bounded-vec",
  "futures 0.3.21",
@@ -7831,8 +7811,8 @@
 
 [[package]]
 name = "polkadot-node-subsystem"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "polkadot-node-jaeger",
  "polkadot-node-subsystem-types",
@@ -7841,8 +7821,8 @@
 
 [[package]]
 name = "polkadot-node-subsystem-types"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "futures 0.3.21",
@@ -7860,8 +7840,8 @@
 
 [[package]]
 name = "polkadot-node-subsystem-util"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "derive_more",
@@ -7893,8 +7873,8 @@
 
 [[package]]
 name = "polkadot-overseer"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -7914,8 +7894,8 @@
 
 [[package]]
 name = "polkadot-overseer-gen"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -7931,8 +7911,8 @@
 
 [[package]]
 name = "polkadot-overseer-gen-proc-macro"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "expander 0.0.6",
  "proc-macro-crate 1.1.3",
@@ -7943,8 +7923,8 @@
 
 [[package]]
 name = "polkadot-parachain"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derive_more",
  "frame-support",
@@ -7960,8 +7940,8 @@
 
 [[package]]
 name = "polkadot-performance-test"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "env_logger",
  "kusama-runtime",
@@ -7975,8 +7955,8 @@
 
 [[package]]
 name = "polkadot-primitives"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitvec",
  "frame-system",
@@ -8005,8 +7985,8 @@
 
 [[package]]
 name = "polkadot-rpc"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-gadget",
  "beefy-gadget-rpc",
@@ -8037,8 +8017,8 @@
 
 [[package]]
 name = "polkadot-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -8123,8 +8103,8 @@
 
 [[package]]
 name = "polkadot-runtime-common"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -8170,8 +8150,8 @@
 
 [[package]]
 name = "polkadot-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -8182,8 +8162,8 @@
 
 [[package]]
 name = "polkadot-runtime-metrics"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bs58",
  "parity-scale-codec",
@@ -8194,8 +8174,8 @@
 
 [[package]]
 name = "polkadot-runtime-parachains"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "bitflags",
  "bitvec",
@@ -8237,8 +8217,8 @@
 
 [[package]]
 name = "polkadot-service"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "async-trait",
  "beefy-gadget",
@@ -8337,8 +8317,8 @@
 
 [[package]]
 name = "polkadot-statement-distribution"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "arrayvec 0.5.2",
  "fatality",
@@ -8358,8 +8338,8 @@
 
 [[package]]
 name = "polkadot-statement-table"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "parity-scale-codec",
  "polkadot-primitives",
@@ -8368,8 +8348,8 @@
 
 [[package]]
 name = "polkadot-test-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -8430,8 +8410,8 @@
 
 [[package]]
 name = "polkadot-test-service"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-benchmarking",
  "frame-system",
@@ -8478,7 +8458,7 @@
  "substrate-test-client",
  "tempfile",
  "test-runtime-constants",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing-gum",
 ]
 
@@ -8682,7 +8662,7 @@
 
 [[package]]
 name = "quartz-runtime"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "cumulus-pallet-aura-ext",
  "cumulus-pallet-dmp-queue",
@@ -9043,7 +9023,7 @@
 [[package]]
 name = "remote-externalities"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "env_logger",
  "jsonrpsee",
@@ -9130,8 +9110,8 @@
 
 [[package]]
 name = "rococo-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-merkle-tree",
  "beefy-primitives",
@@ -9207,8 +9187,8 @@
 
 [[package]]
 name = "rococo-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -9409,7 +9389,7 @@
 [[package]]
 name = "sc-allocator"
 version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "sp-core",
@@ -9420,7 +9400,7 @@
 [[package]]
 name = "sc-authority-discovery"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9447,7 +9427,7 @@
 [[package]]
 name = "sc-basic-authorship"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -9470,7 +9450,7 @@
 [[package]]
 name = "sc-block-builder"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sc-client-api",
@@ -9486,7 +9466,7 @@
 [[package]]
 name = "sc-chain-spec"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-trait-for-tuples",
  "memmap2 0.5.3",
@@ -9503,7 +9483,7 @@
 [[package]]
 name = "sc-chain-spec-derive"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -9514,7 +9494,7 @@
 [[package]]
 name = "sc-cli"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "chrono",
  "clap",
@@ -9546,13 +9526,13 @@
  "sp-version",
  "thiserror",
  "tiny-bip39",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "sc-client-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "fnv",
  "futures 0.3.21",
@@ -9580,7 +9560,7 @@
 [[package]]
 name = "sc-client-db"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "kvdb",
@@ -9605,7 +9585,7 @@
 [[package]]
 name = "sc-consensus"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9629,7 +9609,7 @@
 [[package]]
 name = "sc-consensus-aura"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9658,7 +9638,7 @@
 [[package]]
 name = "sc-consensus-babe"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "fork-tree",
@@ -9701,7 +9681,7 @@
 [[package]]
 name = "sc-consensus-babe-rpc"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "jsonrpc-core",
@@ -9725,7 +9705,7 @@
 [[package]]
 name = "sc-consensus-epochs"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "fork-tree",
  "parity-scale-codec",
@@ -9738,7 +9718,7 @@
 [[package]]
 name = "sc-consensus-manual-seal"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "assert_matches",
  "async-trait",
@@ -9774,7 +9754,7 @@
 [[package]]
 name = "sc-consensus-slots"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -9799,7 +9779,7 @@
 [[package]]
 name = "sc-consensus-uncles"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "sc-client-api",
  "sp-authorship",
@@ -9810,7 +9790,7 @@
 [[package]]
 name = "sc-executor"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "lazy_static",
  "lru 0.7.5",
@@ -9837,7 +9817,7 @@
 [[package]]
 name = "sc-executor-common"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "environmental",
  "parity-scale-codec",
@@ -9854,7 +9834,7 @@
 [[package]]
 name = "sc-executor-wasmi"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -9870,7 +9850,7 @@
 [[package]]
 name = "sc-executor-wasmtime"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "cfg-if 1.0.0",
  "libc",
@@ -9888,7 +9868,7 @@
 [[package]]
 name = "sc-finality-grandpa"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ahash",
  "async-trait",
@@ -9928,7 +9908,7 @@
 [[package]]
 name = "sc-finality-grandpa-rpc"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "finality-grandpa",
  "futures 0.3.21",
@@ -9952,7 +9932,7 @@
 [[package]]
 name = "sc-informant"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ansi_term",
  "futures 0.3.21",
@@ -9969,7 +9949,7 @@
 [[package]]
 name = "sc-keystore"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "hex",
@@ -9984,7 +9964,7 @@
 [[package]]
 name = "sc-network"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "asynchronous-codec 0.5.0",
@@ -10033,7 +10013,7 @@
 [[package]]
 name = "sc-network-gossip"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ahash",
  "futures 0.3.21",
@@ -10050,7 +10030,7 @@
 [[package]]
 name = "sc-offchain"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "bytes 1.1.0",
  "fnv",
@@ -10078,7 +10058,7 @@
 [[package]]
 name = "sc-peerset"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "libp2p",
@@ -10091,7 +10071,7 @@
 [[package]]
 name = "sc-proposer-metrics"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "substrate-prometheus-endpoint",
@@ -10100,7 +10080,7 @@
 [[package]]
 name = "sc-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "hash-db",
@@ -10131,7 +10111,7 @@
 [[package]]
 name = "sc-rpc-api"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "jsonrpc-core",
@@ -10157,7 +10137,7 @@
 [[package]]
 name = "sc-rpc-server"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "jsonrpc-core",
@@ -10168,13 +10148,13 @@
  "log",
  "serde_json",
  "substrate-prometheus-endpoint",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "sc-service"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "directories",
@@ -10231,7 +10211,7 @@
  "substrate-prometheus-endpoint",
  "tempfile",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
  "tracing-futures",
 ]
@@ -10239,7 +10219,7 @@
 [[package]]
 name = "sc-state-db"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -10253,7 +10233,7 @@
 [[package]]
 name = "sc-sync-state-rpc"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -10274,7 +10254,7 @@
 [[package]]
 name = "sc-sysinfo"
 version = "6.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "libc",
@@ -10293,7 +10273,7 @@
 [[package]]
 name = "sc-telemetry"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "chrono",
  "futures 0.3.21",
@@ -10311,7 +10291,7 @@
 [[package]]
 name = "sc-tracing"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ansi_term",
  "atty",
@@ -10342,7 +10322,7 @@
 [[package]]
 name = "sc-tracing-proc-macro"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -10353,7 +10333,7 @@
 [[package]]
 name = "sc-transaction-pool"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -10380,7 +10360,7 @@
 [[package]]
 name = "sc-transaction-pool-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "log",
@@ -10393,7 +10373,7 @@
 [[package]]
 name = "sc-utils"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "futures-timer",
@@ -10789,8 +10769,8 @@
 
 [[package]]
 name = "slot-range-helper"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "enumn",
  "parity-scale-codec",
@@ -10878,7 +10858,7 @@
 [[package]]
 name = "sp-api"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "log",
@@ -10895,7 +10875,7 @@
 [[package]]
 name = "sp-api-proc-macro"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "blake2 0.10.4",
  "proc-macro-crate 1.1.3",
@@ -10907,7 +10887,7 @@
 [[package]]
 name = "sp-application-crypto"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -10920,7 +10900,7 @@
 [[package]]
 name = "sp-arithmetic"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "integer-sqrt",
  "num-traits",
@@ -10935,7 +10915,7 @@
 [[package]]
 name = "sp-authority-discovery"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -10948,7 +10928,7 @@
 [[package]]
 name = "sp-authorship"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "parity-scale-codec",
@@ -10960,7 +10940,7 @@
 [[package]]
 name = "sp-block-builder"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sp-api",
@@ -10972,7 +10952,7 @@
 [[package]]
 name = "sp-blockchain"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "log",
@@ -10990,7 +10970,7 @@
 [[package]]
 name = "sp-consensus"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -11009,7 +10989,7 @@
 [[package]]
 name = "sp-consensus-aura"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "parity-scale-codec",
@@ -11027,7 +11007,7 @@
 [[package]]
 name = "sp-consensus-babe"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "merlin",
@@ -11050,7 +11030,7 @@
 [[package]]
 name = "sp-consensus-slots"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11064,7 +11044,7 @@
 [[package]]
 name = "sp-consensus-vrf"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "schnorrkel",
@@ -11076,7 +11056,7 @@
 [[package]]
 name = "sp-core"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "base58",
  "bitflags",
@@ -11122,7 +11102,7 @@
 [[package]]
 name = "sp-core-hashing"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "blake2 0.10.4",
  "byteorder",
@@ -11136,7 +11116,7 @@
 [[package]]
 name = "sp-core-hashing-proc-macro"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -11147,7 +11127,7 @@
 [[package]]
 name = "sp-database"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "kvdb",
  "parking_lot 0.12.0",
@@ -11156,7 +11136,7 @@
 [[package]]
 name = "sp-debug-derive"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -11166,7 +11146,7 @@
 [[package]]
 name = "sp-externalities"
 version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "environmental",
  "parity-scale-codec",
@@ -11177,7 +11157,7 @@
 [[package]]
 name = "sp-finality-grandpa"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "finality-grandpa",
  "log",
@@ -11195,7 +11175,7 @@
 [[package]]
 name = "sp-inherents"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "impl-trait-for-tuples",
@@ -11209,7 +11189,7 @@
 [[package]]
 name = "sp-io"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "hash-db",
@@ -11234,7 +11214,7 @@
 [[package]]
 name = "sp-keyring"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "lazy_static",
  "sp-core",
@@ -11245,7 +11225,7 @@
 [[package]]
 name = "sp-keystore"
 version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -11262,7 +11242,7 @@
 [[package]]
 name = "sp-maybe-compressed-blob"
 version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "thiserror",
  "zstd",
@@ -11271,7 +11251,7 @@
 [[package]]
 name = "sp-mmr-primitives"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "parity-scale-codec",
@@ -11286,7 +11266,7 @@
 [[package]]
 name = "sp-npos-elections"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11300,7 +11280,7 @@
 [[package]]
 name = "sp-offchain"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "sp-api",
  "sp-core",
@@ -11310,7 +11290,7 @@
 [[package]]
 name = "sp-panic-handler"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "backtrace",
  "lazy_static",
@@ -11320,7 +11300,7 @@
 [[package]]
 name = "sp-rpc"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "rustc-hash",
  "serde",
@@ -11330,7 +11310,7 @@
 [[package]]
 name = "sp-runtime"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "either",
  "hash256-std-hasher",
@@ -11352,7 +11332,7 @@
 [[package]]
 name = "sp-runtime-interface"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-trait-for-tuples",
  "parity-scale-codec",
@@ -11369,7 +11349,7 @@
 [[package]]
 name = "sp-runtime-interface-proc-macro"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "Inflector",
  "proc-macro-crate 1.1.3",
@@ -11381,7 +11361,7 @@
 [[package]]
 name = "sp-serializer"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "serde",
  "serde_json",
@@ -11390,7 +11370,7 @@
 [[package]]
 name = "sp-session"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11404,7 +11384,7 @@
 [[package]]
 name = "sp-staking"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "scale-info",
@@ -11415,7 +11395,7 @@
 [[package]]
 name = "sp-state-machine"
 version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "log",
@@ -11437,12 +11417,12 @@
 [[package]]
 name = "sp-std"
 version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 
 [[package]]
 name = "sp-storage"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-serde",
  "parity-scale-codec",
@@ -11455,7 +11435,7 @@
 [[package]]
 name = "sp-tasks"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "log",
  "sp-core",
@@ -11468,7 +11448,7 @@
 [[package]]
 name = "sp-timestamp"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures-timer",
@@ -11484,7 +11464,7 @@
 [[package]]
 name = "sp-tracing"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "sp-std",
@@ -11496,7 +11476,7 @@
 [[package]]
 name = "sp-transaction-pool"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "sp-api",
  "sp-runtime",
@@ -11505,7 +11485,7 @@
 [[package]]
 name = "sp-transaction-storage-proof"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "log",
@@ -11521,7 +11501,7 @@
 [[package]]
 name = "sp-trie"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "hash-db",
  "memory-db",
@@ -11537,7 +11517,7 @@
 [[package]]
 name = "sp-version"
 version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-serde",
  "parity-scale-codec",
@@ -11554,7 +11534,7 @@
 [[package]]
 name = "sp-version-proc-macro"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "parity-scale-codec",
  "proc-macro2",
@@ -11565,7 +11545,7 @@
 [[package]]
 name = "sp-wasm-interface"
 version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "impl-trait-for-tuples",
  "log",
@@ -11593,9 +11573,9 @@
 
 [[package]]
 name = "ss58-registry"
-version = "1.17.0"
+version = "1.18.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b84a70894df7a73666e0694f44b41a9571625e9546fb58a0818a565d2c7e084"
+checksum = "ceb8b72a924ccfe7882d0e26144c114503760a4d1248bb5cd06c8ab2d55404cc"
 dependencies = [
  "Inflector",
  "num-format",
@@ -11722,7 +11702,7 @@
 [[package]]
 name = "substrate-build-script-utils"
 version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "platforms",
 ]
@@ -11730,7 +11710,7 @@
 [[package]]
 name = "substrate-frame-rpc-system"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "frame-system-rpc-runtime-api",
  "futures 0.3.21",
@@ -11752,20 +11732,20 @@
 [[package]]
 name = "substrate-prometheus-endpoint"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures-util",
  "hyper",
  "log",
  "prometheus",
  "thiserror",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "substrate-state-trie-migration-rpc"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "jsonrpc-core",
  "jsonrpc-core-client",
@@ -11788,7 +11768,7 @@
 [[package]]
 name = "substrate-test-client"
 version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "async-trait",
  "futures 0.3.21",
@@ -11814,17 +11794,17 @@
 [[package]]
 name = "substrate-test-utils"
 version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "futures 0.3.21",
  "substrate-test-utils-derive",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
 name = "substrate-test-utils-derive"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "proc-macro-crate 1.1.3",
  "proc-macro2",
@@ -11835,7 +11815,7 @@
 [[package]]
 name = "substrate-wasm-builder"
 version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "ansi_term",
  "build-helper",
@@ -11856,9 +11836,9 @@
 
 [[package]]
 name = "syn"
-version = "1.0.92"
+version = "1.0.93"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ff7c592601f11445996a06f8ad0c27f094a58857c2f89e97974ab9235b92c52"
+checksum = "04066589568b72ec65f42d65a1a52436e954b168773148893c020269563decf2"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -11925,8 +11905,8 @@
 
 [[package]]
 name = "test-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -12077,14 +12057,14 @@
 
 [[package]]
 name = "tokio"
-version = "1.18.1"
+version = "1.18.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dce653fb475565de9f6fb0614b28bca8df2c430c0cf84bcd9c843f15de5414cc"
+checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395"
 dependencies = [
  "bytes 1.1.0",
  "libc",
  "memchr",
- "mio 0.8.2",
+ "mio 0.8.3",
  "num_cpus",
  "once_cell",
  "parking_lot 0.12.0",
@@ -12124,7 +12104,7 @@
 checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
 dependencies = [
  "rustls 0.19.1",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "webpki 0.21.4",
 ]
 
@@ -12135,7 +12115,7 @@
 checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
 dependencies = [
  "rustls 0.20.4",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "webpki 0.22.0",
 ]
 
@@ -12147,7 +12127,7 @@
 dependencies = [
  "futures-core",
  "pin-project-lite 0.2.9",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
@@ -12161,7 +12141,7 @@
  "futures-sink",
  "log",
  "pin-project-lite 0.2.9",
- "tokio 1.18.1",
+ "tokio 1.18.2",
 ]
 
 [[package]]
@@ -12175,7 +12155,7 @@
  "futures-io",
  "futures-sink",
  "pin-project-lite 0.2.9",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "tracing",
 ]
 
@@ -12239,8 +12219,8 @@
 
 [[package]]
 name = "tracing-gum"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "polkadot-node-jaeger",
  "polkadot-primitives",
@@ -12250,8 +12230,8 @@
 
 [[package]]
 name = "tracing-gum-proc-macro"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "expander 0.0.6",
  "proc-macro-crate 1.1.3",
@@ -12388,7 +12368,7 @@
 [[package]]
 name = "try-runtime-cli"
 version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.20#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.21#563f4820d8f36d256ada7ea3fef46b2e94c4cd5a"
 dependencies = [
  "clap",
  "jsonrpsee",
@@ -12515,7 +12495,7 @@
 
 [[package]]
 name = "unique-node"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "clap",
  "cumulus-client-cli",
@@ -12591,7 +12571,7 @@
  "substrate-build-script-utils",
  "substrate-frame-rpc-system",
  "substrate-prometheus-endpoint",
- "tokio 1.18.1",
+ "tokio 1.18.2",
  "unique-rpc",
  "unique-runtime",
  "unique-runtime-common",
@@ -12649,7 +12629,7 @@
 
 [[package]]
 name = "unique-runtime"
-version = "0.9.18"
+version = "0.9.21"
 dependencies = [
  "cumulus-pallet-aura-ext",
  "cumulus-pallet-dmp-queue",
@@ -12725,7 +12705,7 @@
 
 [[package]]
 name = "unique-runtime-common"
-version = "0.9.20"
+version = "0.9.21"
 dependencies = [
  "fp-rpc",
  "frame-support",
@@ -12817,7 +12797,7 @@
 [[package]]
 name = "up-sponsorship"
 version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.20#fa1a51fcccf488d3d41f0ae7864b9b6455b64d77"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.21#d48fbd3cd0a8261014c8a8b6904d10ddb37ae2d4"
 dependencies = [
  "impl-trait-for-tuples",
 ]
@@ -13281,8 +13261,8 @@
 
 [[package]]
 name = "westend-runtime"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "beefy-primitives",
  "bitvec",
@@ -13370,8 +13350,8 @@
 
 [[package]]
 name = "westend-runtime-constants"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "polkadot-primitives",
@@ -13524,8 +13504,8 @@
 
 [[package]]
 name = "xcm"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "derivative",
  "impl-trait-for-tuples",
@@ -13537,8 +13517,8 @@
 
 [[package]]
 name = "xcm-builder"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-support",
  "frame-system",
@@ -13557,8 +13537,8 @@
 
 [[package]]
 name = "xcm-executor"
-version = "0.9.20"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+version = "0.9.21"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "frame-benchmarking",
  "frame-support",
@@ -13576,7 +13556,7 @@
 [[package]]
 name = "xcm-procedural"
 version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.20#568169b41aea59a54ab8cfa23c31e84a26708280"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.21#56cbe45f6c9397b06a99a2d80f4752578ed3637f"
 dependencies = [
  "Inflector",
  "proc-macro2",
@@ -13627,18 +13607,18 @@
 
 [[package]]
 name = "zstd"
-version = "0.10.0+zstd.1.5.2"
+version = "0.10.2+zstd.1.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b1365becbe415f3f0fcd024e2f7b45bacfb5bdd055f0dc113571394114e7bdd"
+checksum = "5f4a6bd64f22b5e3e94b4e238669ff9f10815c27a5180108b849d24174a83847"
 dependencies = [
  "zstd-safe",
 ]
 
 [[package]]
 name = "zstd-safe"
-version = "4.1.4+zstd.1.5.2"
+version = "4.1.6+zstd.1.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f7cd17c9af1a4d6c24beb1cc54b17e2ef7b593dc92f19e9d9acad8b182bbaee"
+checksum = "94b61c51bb270702d6167b8ce67340d2754b088d0c091b06e593aa772c3ee9bb"
 dependencies = [
  "libc",
  "zstd-sys",
modifiedDockerfile-parachaindiffbeforeafterboth
--- a/Dockerfile-parachain
+++ b/Dockerfile-parachain
@@ -4,7 +4,7 @@
 
 ARG RUST_TOOLCHAIN=nightly-2022-04-07
 #ARG RUST_C=1.62.0-nightly
-ARG POLKA_VERSION=release-v0.9.20
+ARG POLKA_VERSION=release-v0.9.21
 ARG UNIQUE_BRANCH=develop
 
 #ARG USER=***
modifiedREADME.mddiffbeforeafterboth
--- a/README.md
+++ b/README.md
@@ -81,7 +81,7 @@
 ```
 git clone https://github.com/paritytech/polkadot.git
 cd polkadot
-git checkout release-v0.9.20
+git checkout release-v0.9.21
 cargo build --release
 ```
 
modifiedclient/rpc/Cargo.tomldiffbeforeafterboth
--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -13,9 +13,9 @@
 jsonrpc-core-client = "18.0.0"
 jsonrpc-derive = "18.0.0"
 
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
modifiednode/cli/Cargo.tomldiffbeforeafterboth
--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -3,7 +3,7 @@
 
 [build-dependencies.substrate-build-script-utils]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Substrate Dependecies
@@ -16,150 +16,150 @@
 
 [dependencies.frame-benchmarking]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-benchmarking-cli]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.substrate-prometheus-endpoint]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-basic-authorship]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-chain-spec]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-cli]
 features = ['wasmtime']
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-client-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-consensus]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-consensus-aura]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-executor]
 features = ['wasmtime']
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-finality-grandpa]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-keystore]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-rpc]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-rpc-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-service]
 features = ['wasmtime']
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-telemetry]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-transaction-pool]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-tracing]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-blockchain]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-finality-grandpa]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-keystore]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-timestamp]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-trie]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.substrate-frame-rpc-system]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sc-network]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.serde]
 features = ['derive']
@@ -170,76 +170,76 @@
 
 [dependencies.sc-consensus-manual-seal]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Cumulus dependencies
 
 [dependencies.cumulus-client-consensus-aura]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-consensus-common]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-collator]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-cli]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-network]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-primitives-parachain-inherent]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-client-service]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-relay-chain-interface]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-relay-chain-inprocess-interface]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-relay-chain-rpc-interface]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Polkadot dependencies
 [dependencies.polkadot-primitives]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-service]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-cli]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-test-service]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 
 
 ################################################################################
@@ -269,7 +269,7 @@
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 ################################################################################
 # Package
@@ -283,7 +283,7 @@
 license = 'GPLv3'
 name = 'unique-node'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [[bin]]
 name = 'unique-collator'
@@ -302,13 +302,13 @@
 jsonrpc-pubsub = "18.0.0"
 tokio = { version = "1.17.0", features = ["time"] }
 
-fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 unique-rpc = { default-features = false, path = "../rpc" }
 
modifiednode/rpc/Cargo.tomldiffbeforeafterboth
--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -14,40 +14,40 @@
 jsonrpc-core = "18.0.0"
 jsonrpc-pubsub = "18.0.0"
 # pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate', branch = 'master' }
-pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 tokio = { version = "0.2.25", features = ["macros", "sync"] }
 
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 pallet-common = { default-features = false, path = "../../pallets/common" }
 unique-runtime-common = { default-features = false, path = "../../runtime/common" }
modifiedpallets/common/Cargo.tomldiffbeforeafterboth
--- a/pallets/common/Cargo.toml
+++ b/pallets/common/Cargo.toml
@@ -11,16 +11,16 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
 pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 serde = { version = "1.0.130", default-features = false }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
modifiedpallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-coder-substrate/Cargo.toml
+++ b/pallets/evm-coder-substrate/Cargo.toml
@@ -8,15 +8,15 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 ethereum = { version = "0.12.0", default-features = false }
 evm-coder = { default-features = false, path = "../../crates/evm-coder" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
 [dependencies.codec]
 default-features = false
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -8,16 +8,16 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
 pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
 log = "0.4.14"
 
 [dependencies.codec]
modifiedpallets/evm-migration/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -8,15 +8,15 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 [dependencies.codec]
 default-features = false
modifiedpallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth
--- a/pallets/evm-transaction-payment/Cargo.toml
+++ b/pallets/evm-transaction-payment/Cargo.toml
@@ -8,17 +8,17 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 [dependencies.codec]
 default-features = false
modifiedpallets/fungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/fungible/Cargo.toml
+++ b/pallets/fungible/Cargo.toml
@@ -11,18 +11,18 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 pallet-common = { default-features = false, path = '../common' }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
 pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
 ethereum = { version = "0.12.0", default-features = false }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
modifiedpallets/inflation/Cargo.tomldiffbeforeafterboth
--- a/pallets/inflation/Cargo.toml
+++ b/pallets/inflation/Cargo.toml
@@ -43,37 +43,37 @@
 default-features = false
 optional = true
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.serde]
 default-features = false
@@ -83,17 +83,17 @@
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies]
 scale-info = { version = "2.0.1", default-features = false, features = [
modifiedpallets/nonfungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -11,18 +11,18 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-common = { default-features = false, path = '../common' }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
 evm-coder = { default-features = false, path = '../../crates/evm-coder' }
 pallet-evm-coder-substrate = { default-features = false, path = '../evm-coder-substrate' }
 ethereum = { version = "0.12.0", default-features = false }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
modifiedpallets/refungible/Cargo.tomldiffbeforeafterboth
--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/Cargo.toml
@@ -11,15 +11,15 @@
 version = '3.1.2'
 
 [dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-common = { default-features = false, path = '../common' }
 up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 scale-info = { version = "2.0.1", default-features = false, features = [
     "derive",
 ] }
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -15,20 +15,20 @@
 scale-info = { version = "2.0.1", default-features = false, features = [
 	"derive",
 ] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.20' }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.21' }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
 log = { version = "0.4.14", default-features = false }
 
 [dev-dependencies]
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
 [features]
 default = ["std"]
modifiedpallets/unique/Cargo.tomldiffbeforeafterboth
--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -61,42 +61,42 @@
 default-features = false
 optional = true
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.serde]
 default-features = false
@@ -106,17 +106,17 @@
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 
 ################################################################################
@@ -129,19 +129,19 @@
 ] }
 ethereum = { version = "0.12.0", default-features = false }
 rlp = { default-features = false, version = "0.5.0" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 evm-coder = { default-features = false, path = "../../crates/evm-coder" }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
 primitive-types = { version = "0.11.1", default-features = false, features = [
     "serde_no_std",
 ] }
 
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 hex-literal = "0.3.3"
 
 pallet-common = { default-features = false, path = "../common" }
modifiedprimitives/data-structs/Cargo.tomldiffbeforeafterboth
--- a/primitives/data-structs/Cargo.toml
+++ b/primitives/data-structs/Cargo.toml
@@ -18,11 +18,11 @@
 serde = { version = "1.0.130", features = [
   'derive',
 ], default-features = false, optional = true }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
 derivative = "2.2.0"
 
 [features]
modifiedprimitives/rpc/Cargo.tomldiffbeforeafterboth
--- a/primitives/rpc/Cargo.toml
+++ b/primitives/rpc/Cargo.toml
@@ -10,11 +10,11 @@
 codec = { package = "parity-scale-codec", version = "3.1.2", default-features = false, features = [
 	"derive",
 ] }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.20" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.21" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 [features]
 default = ["std"]
modifiedruntime/common/Cargo.tomldiffbeforeafterboth
--- a/runtime/common/Cargo.toml
+++ b/runtime/common/Cargo.toml
@@ -6,7 +6,7 @@
 license = 'All Rights Reserved'
 name = 'unique-runtime-common'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [features]
 default = ['std']
@@ -29,12 +29,12 @@
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.codec]
 default-features = false
@@ -50,12 +50,12 @@
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-common]
 default-features = false
@@ -64,12 +64,12 @@
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.fp-rpc]
 default-features = false
 git = "https://github.com/uniquenetwork/frontier"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 
 [dependencies]
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -10,7 +10,7 @@
 license = 'GPLv3'
 name = 'opal-runtime'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [package.metadata.docs.rs]
 targets = ['x86_64-unknown-linux-gnu']
@@ -119,33 +119,33 @@
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-executive]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-benchmarking]
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.hex-literal]
 optional = true
@@ -160,12 +160,12 @@
 [dependencies.pallet-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # Contracts specific packages
 # [dependencies.pallet-contracts]
@@ -189,32 +189,32 @@
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-sudo]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-treasury]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # [dependencies.pallet-vesting]
 # default-features = false
@@ -224,67 +224,67 @@
 [dependencies.sp-arithmetic]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-version]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.smallvec]
 version = '1.6.1'
@@ -294,47 +294,47 @@
 
 [dependencies.parachain-info]
 default-features = false
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-pallet-aura-ext]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-parachain-system]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcm]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-dmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-utility]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-timestamp]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 ################################################################################
@@ -342,32 +342,32 @@
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-builder]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-executor]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.pallet-xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.orml-vesting]
 git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 version = "0.4.1-dev"
 default-features = false
 
@@ -382,7 +382,7 @@
 derivative = "2.2.0"
 pallet-unique = { path = '../../pallets/unique', default-features = false }
 up-rpc = { path = "../../primitives/rpc", default-features = false }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-inflation = { path = '../../pallets/inflation', default-features = false }
 up-data-structs = { path = '../../primitives/data-structs', default-features = false }
 pallet-common = { default-features = false, path = "../../pallets/common" }
@@ -391,20 +391,20 @@
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
 pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
 pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 ################################################################################
 # Build Dependencies
 
 [build-dependencies.substrate-wasm-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -176,7 +176,7 @@
 	spec_name: create_runtime_str!(RUNTIME_NAME),
 	impl_name: create_runtime_str!(RUNTIME_NAME),
 	authoring_version: 1,
-	spec_version: 920000,
+	spec_version: 921000,
 	impl_version: 0,
 	apis: RUNTIME_API_VERSIONS,
 	transaction_version: 1,
@@ -293,8 +293,8 @@
 	type FeeCalculator = FixedFee;
 	type GasWeightMapping = FixedGasWeightMapping;
 	type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;
-	type CallOrigin = EnsureAddressTruncated;
-	type WithdrawOrigin = EnsureAddressTruncated;
+	type CallOrigin = EnsureAddressTruncated<Self>;
+	type WithdrawOrigin = EnsureAddressTruncated<Self>;
 	type AddressMapping = HashedAddressMapping<Self::Hashing>;
 	type PrecompilesType = ();
 	type PrecompilesValue = ();
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -10,7 +10,7 @@
 license = 'GPLv3'
 name = 'quartz-runtime'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.20'
+version = '0.9.21'
 
 [package.metadata.docs.rs]
 targets = ['x86_64-unknown-linux-gnu']
@@ -119,33 +119,33 @@
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-executive]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-benchmarking]
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.hex-literal]
 optional = true
@@ -160,12 +160,12 @@
 [dependencies.pallet-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # Contracts specific packages
 # [dependencies.pallet-contracts]
@@ -189,32 +189,32 @@
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-sudo]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-treasury]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # [dependencies.pallet-vesting]
 # default-features = false
@@ -224,67 +224,67 @@
 [dependencies.sp-arithmetic]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-version]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.smallvec]
 version = '1.6.1'
@@ -294,47 +294,47 @@
 
 [dependencies.parachain-info]
 default-features = false
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-pallet-aura-ext]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-parachain-system]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcm]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-dmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-utility]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-timestamp]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 ################################################################################
@@ -342,32 +342,32 @@
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-builder]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-executor]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.pallet-xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.orml-vesting]
 git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 version = "0.4.1-dev"
 default-features = false
 
@@ -382,7 +382,7 @@
 derivative = "2.2.0"
 pallet-unique = { path = '../../pallets/unique', default-features = false }
 up-rpc = { path = "../../primitives/rpc", default-features = false }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 pallet-inflation = { path = '../../pallets/inflation', default-features = false }
 up-data-structs = { path = '../../primitives/data-structs', default-features = false }
 pallet-common = { default-features = false, path = "../../pallets/common" }
@@ -391,20 +391,20 @@
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
 pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
 pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 ################################################################################
 # Build Dependencies
 
 [build-dependencies.substrate-wasm-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
before · runtime/quartz/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, Member},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, PrivilegeCmp,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::{85		Applyable, BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating,86		CheckedConversion,87	},88	generic::Era,89	transaction_validity::TransactionValidityError,90	SaturatedConversion, DispatchErrorWithPostInfo,91};9293use fp_self_contained::{SelfContainedCall, CheckedSignature};9495// pub use pallet_timestamp::Call as TimestampCall;96pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;9798// Polkadot imports99use pallet_xcm::XcmPassthrough;100use polkadot_parachain::primitives::Sibling;101use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};102use xcm_builder::{103	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,104	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,105	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,106	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,107	ParentIsPreset,108};109use xcm_executor::{Config, XcmExecutor, Assets};110use sp_std::{cmp::Ordering, marker::PhantomData};111use pallet_unq_scheduler::DispatchCall;112113use xcm::latest::{114	//	Xcm,115	AssetId::{Concrete},116	Fungibility::Fungible as XcmFungible,117	MultiAsset,118	Error as XcmError,119};120use xcm_executor::traits::{MatchesFungible, WeightTrader};121122use unique_runtime_common::{impl_common_runtime_apis, types::*, constants::*};123124pub const RUNTIME_NAME: &str = "quartz";125pub const TOKEN_SYMBOL: &str = "QTZ";126127type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;128129impl RuntimeInstance for Runtime {130	type CrossAccountId = self::CrossAccountId;131132	type TransactionConverter = self::TransactionConverter;133134	fn get_transaction_converter() -> TransactionConverter {135		TransactionConverter136	}137}138139/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know140/// the specifics of the runtime. They can then be made to be agnostic over specific formats141/// of data like extrinsics, allowing for them to continue syncing the network through upgrades142/// to even the core data structures.143pub mod opaque {144	use sp_std::prelude::*;145	use sp_runtime::impl_opaque_keys;146	use super::Aura;147148	pub use unique_runtime_common::types::*;149150	impl_opaque_keys! {151		pub struct SessionKeys {152			pub aura: Aura,153		}154	}155}156157/// This runtime version.158pub const VERSION: RuntimeVersion = RuntimeVersion {159	spec_name: create_runtime_str!(RUNTIME_NAME),160	impl_name: create_runtime_str!(RUNTIME_NAME),161	authoring_version: 1,162	spec_version: 920000,163	impl_version: 0,164	apis: RUNTIME_API_VERSIONS,165	transaction_version: 1,166	state_version: 0,167};168169#[derive(codec::Encode, codec::Decode)]170pub enum XCMPMessage<XAccountId, XBalance> {171	/// Transfer tokens to the given account from the Parachain account.172	TransferToken(XAccountId, XBalance),173}174175/// The version information used to identify this runtime when compiled natively.176#[cfg(feature = "std")]177pub fn native_version() -> NativeVersion {178	NativeVersion {179		runtime_version: VERSION,180		can_author_with: Default::default(),181	}182}183184type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;185186pub struct DealWithFees;187impl OnUnbalanced<NegativeImbalance> for DealWithFees {188	fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {189		if let Some(fees) = fees_then_tips.next() {190			// for fees, 100% to treasury191			let mut split = fees.ration(100, 0);192			if let Some(tips) = fees_then_tips.next() {193				// for tips, if any, 100% to treasury194				tips.ration_merge_into(100, 0, &mut split);195			}196			Treasury::on_unbalanced(split.0);197			// Author::on_unbalanced(split.1);198		}199	}200}201202parameter_types! {203	pub const BlockHashCount: BlockNumber = 2400;204	pub RuntimeBlockLength: BlockLength =205		BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);206	pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);207	pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;208	pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()209		.base_block(BlockExecutionWeight::get())210		.for_class(DispatchClass::all(), |weights| {211			weights.base_extrinsic = ExtrinsicBaseWeight::get();212		})213		.for_class(DispatchClass::Normal, |weights| {214			weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);215		})216		.for_class(DispatchClass::Operational, |weights| {217			weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);218			// Operational transactions have some extra reserved space, so that they219			// are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.220			weights.reserved = Some(221				MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT222			);223		})224		.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)225		.build_or_panic();226	pub const Version: RuntimeVersion = VERSION;227	pub const SS58Prefix: u8 = 255;228}229230parameter_types! {231	pub const ChainId: u64 = 8881;232}233234pub struct FixedFee;235impl FeeCalculator for FixedFee {236	fn min_gas_price() -> U256 {237		MIN_GAS_PRICE.into()238	}239}240241// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case242// (contract, which only writes a lot of data),243// approximating on top of our real store write weight244parameter_types! {245	pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;246	pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;247	pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();248}249250/// Limiting EVM execution to 50% of block for substrate users and management tasks251/// EVM transaction consumes more weight than substrate's, so we can't rely on them being252/// scheduled fairly253const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);254parameter_types! {255	pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());256}257258pub enum FixedGasWeightMapping {}259impl GasWeightMapping for FixedGasWeightMapping {260	fn gas_to_weight(gas: u64) -> Weight {261		gas.saturating_mul(WeightPerGas::get())262	}263	fn weight_to_gas(weight: Weight) -> u64 {264		weight / WeightPerGas::get()265	}266}267268impl pallet_evm::Config for Runtime {269	type BlockGasLimit = BlockGasLimit;270	type FeeCalculator = FixedFee;271	type GasWeightMapping = FixedGasWeightMapping;272	type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;273	type CallOrigin = EnsureAddressTruncated;274	type WithdrawOrigin = EnsureAddressTruncated;275	type AddressMapping = HashedAddressMapping<Self::Hashing>;276	type PrecompilesType = ();277	type PrecompilesValue = ();278	type Currency = Balances;279	type Event = Event;280	type OnMethodCall = (281		pallet_evm_migration::OnMethodCall<Self>,282		pallet_unique::UniqueErcSupport<Self>,283		pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,284	);285	type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;286	type ChainId = ChainId;287	type Runner = pallet_evm::runner::stack::Runner<Self>;288	type OnChargeTransaction = pallet_evm::EVMCurrencyAdapter<Balances, DealWithFees>;289	type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;290	type FindAuthor = EthereumFindAuthor<Aura>;291}292293impl pallet_evm_migration::Config for Runtime {294	type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;295}296297pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);298impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {299	fn find_author<'a, I>(digests: I) -> Option<H160>300	where301		I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,302	{303		if let Some(author_index) = F::find_author(digests) {304			let authority_id = Aura::authorities()[author_index as usize].clone();305			return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));306		}307		None308	}309}310311impl pallet_ethereum::Config for Runtime {312	type Event = Event;313	type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;314}315316impl pallet_randomness_collective_flip::Config for Runtime {}317318impl frame_system::Config for Runtime {319	/// The data to be stored in an account.320	type AccountData = pallet_balances::AccountData<Balance>;321	/// The identifier used to distinguish between accounts.322	type AccountId = AccountId;323	/// The basic call filter to use in dispatchable.324	type BaseCallFilter = Everything;325	/// Maximum number of block number to block hash mappings to keep (oldest pruned first).326	type BlockHashCount = BlockHashCount;327	/// The maximum length of a block (in bytes).328	type BlockLength = RuntimeBlockLength;329	/// The index type for blocks.330	type BlockNumber = BlockNumber;331	/// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.332	type BlockWeights = RuntimeBlockWeights;333	/// The aggregated dispatch type that is available for extrinsics.334	type Call = Call;335	/// The weight of database operations that the runtime can invoke.336	type DbWeight = RocksDbWeight;337	/// The ubiquitous event type.338	type Event = Event;339	/// The type for hashing blocks and tries.340	type Hash = Hash;341	/// The hashing algorithm used.342	type Hashing = BlakeTwo256;343	/// The header type.344	type Header = generic::Header<BlockNumber, BlakeTwo256>;345	/// The index type for storing how many extrinsics an account has signed.346	type Index = Index;347	/// The lookup mechanism to get account ID from whatever is passed in dispatchers.348	type Lookup = AccountIdLookup<AccountId, ()>;349	/// What to do if an account is fully reaped from the system.350	type OnKilledAccount = ();351	/// What to do if a new account is created.352	type OnNewAccount = ();353	type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;354	/// The ubiquitous origin type.355	type Origin = Origin;356	/// This type is being generated by `construct_runtime!`.357	type PalletInfo = PalletInfo;358	/// This is used as an identifier of the chain. 42 is the generic substrate prefix.359	type SS58Prefix = SS58Prefix;360	/// Weight information for the extrinsics of this pallet.361	type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;362	/// Version of the runtime.363	type Version = Version;364	type MaxConsumers = ConstU32<16>;365}366367parameter_types! {368	pub const MinimumPeriod: u64 = SLOT_DURATION / 2;369}370371impl pallet_timestamp::Config for Runtime {372	/// A timestamp: milliseconds since the unix epoch.373	type Moment = u64;374	type OnTimestampSet = ();375	type MinimumPeriod = MinimumPeriod;376	type WeightInfo = ();377}378379parameter_types! {380	// pub const ExistentialDeposit: u128 = 500;381	pub const ExistentialDeposit: u128 = 0;382	pub const MaxLocks: u32 = 50;383}384385impl pallet_balances::Config for Runtime {386	type MaxLocks = MaxLocks;387	type MaxReserves = ();388	type ReserveIdentifier = [u8; 16];389	/// The type for recording an account's balance.390	type Balance = Balance;391	/// The ubiquitous event type.392	type Event = Event;393	type DustRemoval = Treasury;394	type ExistentialDeposit = ExistentialDeposit;395	type AccountStore = System;396	type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;397}398399pub const fn deposit(items: u32, bytes: u32) -> Balance {400	items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE401}402403/*404parameter_types! {405	pub TombstoneDeposit: Balance = deposit(406		1,407		sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,408	);409	pub DepositPerContract: Balance = TombstoneDeposit::get();410	pub const DepositPerStorageByte: Balance = deposit(0, 1);411	pub const DepositPerStorageItem: Balance = deposit(1, 0);412	pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);413	pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;414	pub const SignedClaimHandicap: u32 = 2;415	pub const MaxDepth: u32 = 32;416	pub const MaxValueSize: u32 = 16 * 1024;417	pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb418	// The lazy deletion runs inside on_initialize.419	pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *420		RuntimeBlockWeights::get().max_block;421	// The weight needed for decoding the queue should be less or equal than a fifth422	// of the overall weight dedicated to the lazy deletion.423	pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (424			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -425			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)426		)) / 5) as u32;427	pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();428}429430impl pallet_contracts::Config for Runtime {431	type Time = Timestamp;432	type Randomness = RandomnessCollectiveFlip;433	type Currency = Balances;434	type Event = Event;435	type RentPayment = ();436	type SignedClaimHandicap = SignedClaimHandicap;437	type TombstoneDeposit = TombstoneDeposit;438	type DepositPerContract = DepositPerContract;439	type DepositPerStorageByte = DepositPerStorageByte;440	type DepositPerStorageItem = DepositPerStorageItem;441	type RentFraction = RentFraction;442	type SurchargeReward = SurchargeReward;443	type WeightPrice = pallet_transaction_payment::Pallet<Self>;444	type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;445	type ChainExtension = NFTExtension;446	type DeletionQueueDepth = DeletionQueueDepth;447	type DeletionWeightLimit = DeletionWeightLimit;448	type Schedule = Schedule;449	type CallStack = [pallet_contracts::Frame<Self>; 31];450}451*/452453parameter_types! {454	/// This value increases the priority of `Operational` transactions by adding455	/// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.456	pub const OperationalFeeMultiplier: u8 = 5;457}458459/// Linear implementor of `WeightToFeePolynomial`460pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);461462impl<T> WeightToFeePolynomial for LinearFee<T>463where464	T: BaseArithmetic + From<u32> + Copy + Unsigned,465{466	type Balance = T;467468	fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {469		smallvec!(WeightToFeeCoefficient {470			// Targeting 0.1 Unique per NFT transfer471			coeff_integer: WEIGHT_TO_FEE_COEFF.into(),472			coeff_frac: Perbill::zero(),473			negative: false,474			degree: 1,475		})476	}477}478479impl pallet_transaction_payment::Config for Runtime {480	type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;481	type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;482	type OperationalFeeMultiplier = OperationalFeeMultiplier;483	type WeightToFee = LinearFee<Balance>;484	type FeeMultiplierUpdate = ();485}486487parameter_types! {488	pub const ProposalBond: Permill = Permill::from_percent(5);489	pub const ProposalBondMinimum: Balance = 1 * UNIQUE;490	pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;491	pub const SpendPeriod: BlockNumber = 5 * MINUTES;492	pub const Burn: Permill = Permill::from_percent(0);493	pub const TipCountdown: BlockNumber = 1 * DAYS;494	pub const TipFindersFee: Percent = Percent::from_percent(20);495	pub const TipReportDepositBase: Balance = 1 * UNIQUE;496	pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;497	pub const BountyDepositBase: Balance = 1 * UNIQUE;498	pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;499	pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");500	pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;501	pub const MaximumReasonLength: u32 = 16384;502	pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);503	pub const BountyValueMinimum: Balance = 5 * UNIQUE;504	pub const MaxApprovals: u32 = 100;505}506507impl pallet_treasury::Config for Runtime {508	type PalletId = TreasuryModuleId;509	type Currency = Balances;510	type ApproveOrigin = EnsureRoot<AccountId>;511	type RejectOrigin = EnsureRoot<AccountId>;512	type Event = Event;513	type OnSlash = ();514	type ProposalBond = ProposalBond;515	type ProposalBondMinimum = ProposalBondMinimum;516	type ProposalBondMaximum = ProposalBondMaximum;517	type SpendPeriod = SpendPeriod;518	type Burn = Burn;519	type BurnDestination = ();520	type SpendFunds = ();521	type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;522	type MaxApprovals = MaxApprovals;523}524525impl pallet_sudo::Config for Runtime {526	type Event = Event;527	type Call = Call;528}529530pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);531532impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider533	for RelayChainBlockNumberProvider<T>534{535	type BlockNumber = BlockNumber;536537	fn current_block_number() -> Self::BlockNumber {538		cumulus_pallet_parachain_system::Pallet::<T>::validation_data()539			.map(|d| d.relay_parent_number)540			.unwrap_or_default()541	}542}543544parameter_types! {545	pub const MinVestedTransfer: Balance = 10 * UNIQUE;546	pub const MaxVestingSchedules: u32 = 28;547}548549impl orml_vesting::Config for Runtime {550	type Event = Event;551	type Currency = pallet_balances::Pallet<Runtime>;552	type MinVestedTransfer = MinVestedTransfer;553	type VestedTransferOrigin = EnsureSigned<AccountId>;554	type WeightInfo = ();555	type MaxVestingSchedules = MaxVestingSchedules;556	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;557}558559parameter_types! {560	pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;561	pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;562}563564impl cumulus_pallet_parachain_system::Config for Runtime {565	type Event = Event;566	type SelfParaId = parachain_info::Pallet<Self>;567	type OnSystemEvent = ();568	// type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<569	// 	MaxDownwardMessageWeight,570	// 	XcmExecutor<XcmConfig>,571	// 	Call,572	// >;573	type OutboundXcmpMessageSource = XcmpQueue;574	type DmpMessageHandler = DmpQueue;575	type ReservedDmpWeight = ReservedDmpWeight;576	type ReservedXcmpWeight = ReservedXcmpWeight;577	type XcmpMessageHandler = XcmpQueue;578}579580impl parachain_info::Config for Runtime {}581582impl cumulus_pallet_aura_ext::Config for Runtime {}583584parameter_types! {585	pub const RelayLocation: MultiLocation = MultiLocation::parent();586	pub const RelayNetwork: NetworkId = NetworkId::Polkadot;587	pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();588	pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();589}590591/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used592/// when determining ownership of accounts for asset transacting and when attempting to use XCM593/// `Transact` in order to determine the dispatch Origin.594pub type LocationToAccountId = (595	// The parent (Relay-chain) origin converts to the default `AccountId`.596	ParentIsPreset<AccountId>,597	// Sibling parachain origins convert to AccountId via the `ParaId::into`.598	SiblingParachainConvertsVia<Sibling, AccountId>,599	// Straight up local `AccountId32` origins just alias directly to `AccountId`.600	AccountId32Aliases<RelayNetwork, AccountId>,601);602603pub struct OnlySelfCurrency;604impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {605	fn matches_fungible(a: &MultiAsset) -> Option<B> {606		match (&a.id, &a.fun) {607			(Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),608			_ => None,609		}610	}611}612613/// Means for transacting assets on this chain.614pub type LocalAssetTransactor = CurrencyAdapter<615	// Use this currency:616	Balances,617	// Use this currency when it is a fungible asset matching the given location or name:618	OnlySelfCurrency,619	// Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:620	LocationToAccountId,621	// Our chain's account ID type (we can't get away without mentioning it explicitly):622	AccountId,623	// We don't track any teleports.624	(),625>;626627/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,628/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can629/// biases the kind of local `Origin` it will become.630pub type XcmOriginToTransactDispatchOrigin = (631	// Sovereign account converter; this attempts to derive an `AccountId` from the origin location632	// using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for633	// foreign chains who want to have a local sovereign account on this chain which they control.634	SovereignSignedViaLocation<LocationToAccountId, Origin>,635	// Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when636	// recognised.637	RelayChainAsNative<RelayOrigin, Origin>,638	// Native converter for sibling Parachains; will convert to a `SiblingPara` origin when639	// recognised.640	SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,641	// Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a642	// transaction from the Root origin.643	ParentAsSuperuser<Origin>,644	// Native signed account converter; this just converts an `AccountId32` origin into a normal645	// `Origin::Signed` origin of the same 32-byte value.646	SignedAccountId32AsNative<RelayNetwork, Origin>,647	// Xcm origins can be represented natively under the Xcm pallet's Xcm origin.648	XcmPassthrough<Origin>,649);650651parameter_types! {652	// One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.653	pub UnitWeightCost: Weight = 1_000_000;654	// 1200 UNIQUEs buy 1 second of weight.655	pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);656	pub const MaxInstructions: u32 = 100;657	pub const MaxAuthorities: u32 = 100_000;658}659660match_types! {661	pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {662		MultiLocation { parents: 1, interior: Here } |663		MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }664	};665}666667pub type Barrier = (668	TakeWeightCredit,669	AllowTopLevelPaidExecutionFrom<Everything>,670	AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,671	// ^^^ Parent & its unit plurality gets free execution672);673674pub struct UsingOnlySelfCurrencyComponents<675	WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,676	AssetId: Get<MultiLocation>,677	AccountId,678	Currency: CurrencyT<AccountId>,679	OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,680>(681	Weight,682	Currency::Balance,683	PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,684);685impl<686		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,687		AssetId: Get<MultiLocation>,688		AccountId,689		Currency: CurrencyT<AccountId>,690		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,691	> WeightTrader692	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>693{694	fn new() -> Self {695		Self(0, Zero::zero(), PhantomData)696	}697698	fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {699		let amount = WeightToFee::calc(&weight);700		let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;701702		// location to this parachain through relay chain703		let option1: xcm::v1::AssetId = Concrete(MultiLocation {704			parents: 1,705			interior: X1(Parachain(ParachainInfo::parachain_id().into())),706		});707		// direct location708		let option2: xcm::v1::AssetId = Concrete(MultiLocation {709			parents: 0,710			interior: Here,711		});712713		let required = if payment.fungible.contains_key(&option1) {714			(option1, u128_amount).into()715		} else if payment.fungible.contains_key(&option2) {716			(option2, u128_amount).into()717		} else {718			(Concrete(MultiLocation::default()), u128_amount).into()719		};720721		let unused = payment722			.checked_sub(required)723			.map_err(|_| XcmError::TooExpensive)?;724		self.0 = self.0.saturating_add(weight);725		self.1 = self.1.saturating_add(amount);726		Ok(unused)727	}728729	fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {730		let weight = weight.min(self.0);731		let amount = WeightToFee::calc(&weight);732		self.0 -= weight;733		self.1 = self.1.saturating_sub(amount);734		let amount: u128 = amount.saturated_into();735		if amount > 0 {736			Some((AssetId::get(), amount).into())737		} else {738			None739		}740	}741}742impl<743		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,744		AssetId: Get<MultiLocation>,745		AccountId,746		Currency: CurrencyT<AccountId>,747		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,748	> Drop749	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>750{751	fn drop(&mut self) {752		OnUnbalanced::on_unbalanced(Currency::issue(self.1));753	}754}755756pub struct XcmConfig;757impl Config for XcmConfig {758	type Call = Call;759	type XcmSender = XcmRouter;760	// How to withdraw and deposit an asset.761	type AssetTransactor = LocalAssetTransactor;762	type OriginConverter = XcmOriginToTransactDispatchOrigin;763	type IsReserve = NativeAsset;764	type IsTeleporter = (); // Teleportation is disabled765	type LocationInverter = LocationInverter<Ancestry>;766	type Barrier = Barrier;767	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;768	type Trader = UsingOnlySelfCurrencyComponents<769		IdentityFee<Balance>,770		RelayLocation,771		AccountId,772		Balances,773		(),774	>;775	type ResponseHandler = (); // Don't handle responses for now.776	type SubscriptionService = PolkadotXcm;777778	type AssetTrap = PolkadotXcm;779	type AssetClaims = PolkadotXcm;780}781782// parameter_types! {783// 	pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;784// }785786/// No local origins on this chain are allowed to dispatch XCM sends/executions.787pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);788789/// The means for routing XCM messages which are not for local execution into the right message790/// queues.791pub type XcmRouter = (792	// Two routers - use UMP to communicate with the relay chain:793	cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,794	// ..and XCMP to communicate with the sibling chains.795	XcmpQueue,796);797798impl pallet_evm_coder_substrate::Config for Runtime {799	type EthereumTransactionSender = pallet_ethereum::Pallet<Self>;800	type GasWeightMapping = FixedGasWeightMapping;801}802803impl pallet_xcm::Config for Runtime {804	type Event = Event;805	type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;806	type XcmRouter = XcmRouter;807	type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;808	type XcmExecuteFilter = Everything;809	type XcmExecutor = XcmExecutor<XcmConfig>;810	type XcmTeleportFilter = Everything;811	type XcmReserveTransferFilter = Everything;812	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;813	type LocationInverter = LocationInverter<Ancestry>;814	type Origin = Origin;815	type Call = Call;816	const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;817	type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;818}819820impl cumulus_pallet_xcm::Config for Runtime {821	type Event = Event;822	type XcmExecutor = XcmExecutor<XcmConfig>;823}824825impl cumulus_pallet_xcmp_queue::Config for Runtime {826	type WeightInfo = ();827	type Event = Event;828	type XcmExecutor = XcmExecutor<XcmConfig>;829	type ChannelInfo = ParachainSystem;830	type VersionWrapper = ();831	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;832	type ControllerOrigin = EnsureRoot<AccountId>;833	type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;834}835836impl cumulus_pallet_dmp_queue::Config for Runtime {837	type Event = Event;838	type XcmExecutor = XcmExecutor<XcmConfig>;839	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;840}841842impl pallet_aura::Config for Runtime {843	type AuthorityId = AuraId;844	type DisabledValidators = ();845	type MaxAuthorities = MaxAuthorities;846}847848parameter_types! {849	pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();850	pub const CollectionCreationPrice: Balance = 2 * UNIQUE;851}852853impl pallet_common::Config for Runtime {854	type Event = Event;855856	type Currency = Balances;857	type CollectionCreationPrice = CollectionCreationPrice;858	type TreasuryAccountId = TreasuryAccountId;859}860861impl pallet_evm::account::Config for Runtime {862	type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;863	type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;864	type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;865}866867impl pallet_fungible::Config for Runtime {868	type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;869}870impl pallet_refungible::Config for Runtime {871	type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;872}873impl pallet_nonfungible::Config for Runtime {874	type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;875}876877impl pallet_unique::Config for Runtime {878	type Event = Event;879	type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;880}881882parameter_types! {883	pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied884}885886/// Used for the pallet inflation887impl pallet_inflation::Config for Runtime {888	type Currency = Balances;889	type TreasuryAccountId = TreasuryAccountId;890	type InflationBlockInterval = InflationBlockInterval;891	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;892}893894parameter_types! {895	pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *896		RuntimeBlockWeights::get().max_block;897	pub const MaxScheduledPerBlock: u32 = 50;898}899900type EvmSponsorshipHandler = (901	pallet_unique::UniqueEthSponsorshipHandler<Runtime>,902	pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,903);904type SponsorshipHandler = (905	pallet_unique::UniqueSponsorshipHandler<Runtime>,906	//pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,907	pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,908);909910parameter_types! {911	pub const NoPreimagePostponement: Option<u32> = Some(10);912	pub const Preimage: Option<u32> = Some(10);913}914915/// Used the compare the privilege of an origin inside the scheduler.916pub struct OriginPrivilegeCmp;917impl PrivilegeCmp<OriginCaller> for OriginPrivilegeCmp {918	fn cmp_privilege(_left: &OriginCaller, _right: &OriginCaller) -> Option<Ordering> {919		Some(Ordering::Equal)920	}921}922923impl pallet_unq_scheduler::Config for Runtime {924	type Event = Event;925	type Origin = Origin;926	type Currency = Balances;927	type PalletsOrigin = OriginCaller;928	type Call = Call;929	type MaximumWeight = MaximumSchedulerWeight;930	type ScheduleOrigin = EnsureSigned<AccountId>;931	type MaxScheduledPerBlock = MaxScheduledPerBlock;932	type WeightInfo = ();933	type CallExecutor = SchedulerPaymentExecutor;934	type OriginPrivilegeCmp = OriginPrivilegeCmp;935	type PreimageProvider = ();936	type NoPreimagePostponement = NoPreimagePostponement;937}938939impl pallet_evm_transaction_payment::Config for Runtime {940	type EvmSponsorshipHandler = EvmSponsorshipHandler;941	type Currency = Balances;942}943944impl pallet_charge_transaction::Config for Runtime {945	type SponsorshipHandler = SponsorshipHandler;946}947948// impl pallet_contract_helpers::Config for Runtime {949//	 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;950// }951952type ChargeTransactionPayment = pallet_charge_transaction::ChargeTransactionPayment<Runtime>;953use frame_support::traits::NamedReservableCurrency;954955fn get_signed_extras(from: <Runtime as frame_system::Config>::AccountId) -> SignedExtraScheduler {956	(957		frame_system::CheckSpecVersion::<Runtime>::new(),958		frame_system::CheckGenesis::<Runtime>::new(),959		frame_system::CheckEra::<Runtime>::from(Era::Immortal),960		frame_system::CheckNonce::<Runtime>::from(frame_system::Pallet::<Runtime>::account_nonce(961			from,962		)),963		frame_system::CheckWeight::<Runtime>::new(),964		// sponsoring transaction logic965		// pallet_charge_transaction::ChargeTransactionPayment::<Runtime>::new(0),966	)967}968969pub struct SchedulerPaymentExecutor;970impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>971	DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor972where973	<T as frame_system::Config>::Call: Member974		+ Dispatchable<Origin = Origin, Info = DispatchInfo>975		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>976		+ GetDispatchInfo977		+ From<frame_system::Call<Runtime>>,978	SelfContainedSignedInfo: Send + Sync + 'static,979	Call: From<<T as frame_system::Config>::Call>980		+ From<<T as pallet_unq_scheduler::Config>::Call>981		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,982	sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,983{984	fn dispatch_call(985		signer: <T as frame_system::Config>::AccountId,986		call: <T as pallet_unq_scheduler::Config>::Call,987	) -> Result<988		Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,989		TransactionValidityError,990	> {991		let dispatch_info = call.get_dispatch_info();992		let extrinsic = fp_self_contained::CheckedExtrinsic::<993			AccountId,994			Call,995			SignedExtraScheduler,996			SelfContainedSignedInfo,997		> {998			signed:999				CheckedSignature::<AccountId, SignedExtraScheduler, SelfContainedSignedInfo>::Signed(1000					signer.clone().into(),1001					get_signed_extras(signer.into()),1002				),1003			function: call.into(),1004		};10051006		extrinsic.apply::<Runtime>(&dispatch_info, 0)1007	}10081009	fn reserve_balance(1010		id: [u8; 16],1011		sponsor: <T as frame_system::Config>::AccountId,1012		call: <T as pallet_unq_scheduler::Config>::Call,1013		count: u32,1014	) -> Result<(), DispatchError> {1015		let dispatch_info = call.get_dispatch_info();1016		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0)1017			.saturating_mul(count.into());10181019		<Balances as NamedReservableCurrency<AccountId>>::reserve_named(1020			&id,1021			&(sponsor.into()),1022			weight.into(),1023		)1024	}10251026	fn pay_for_call(1027		id: [u8; 16],1028		sponsor: <T as frame_system::Config>::AccountId,1029		call: <T as pallet_unq_scheduler::Config>::Call,1030	) -> Result<u128, DispatchError> {1031		let dispatch_info = call.get_dispatch_info();1032		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1033		Ok(1034			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1035				&id,1036				&(sponsor.into()),1037				weight.into(),1038			),1039		)1040	}10411042	fn cancel_reserve(1043		id: [u8; 16],1044		sponsor: <T as frame_system::Config>::AccountId,1045	) -> Result<u128, DispatchError> {1046		Ok(1047			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1048				&id,1049				&(sponsor.into()),1050				u128::MAX,1051			),1052		)1053	}1054}10551056parameter_types! {1057	// 0x842899ECF380553E8a4de75bF534cdf6fBF640491058	pub const HelpersContractAddress: H160 = H160([1059		0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,1060	]);1061}10621063impl pallet_evm_contract_helpers::Config for Runtime {1064	type ContractAddress = HelpersContractAddress;1065	type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1066}10671068construct_runtime!(1069	pub enum Runtime where1070		Block = Block,1071		NodeBlock = opaque::Block,1072		UncheckedExtrinsic = UncheckedExtrinsic1073	{1074		ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,1075		ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,10761077		Aura: pallet_aura::{Pallet, Config<T>} = 22,1078		AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,10791080		Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,1081		RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,1082		Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,1083		TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,1084		Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,1085		Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,1086		System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,1087		Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,1088		// Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,1089		// Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,10901091		// XCM helpers.1092		XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1093		PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1094		CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1095		DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,10961097		// Unique Pallets1098		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1099		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1100		Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1101		// free = 631102		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1103		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1104		Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1105		Fungible: pallet_fungible::{Pallet, Storage} = 67,1106		Refungible: pallet_refungible::{Pallet, Storage} = 68,1107		Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,11081109		// Frontier1110		EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1111		Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,11121113		EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1114		EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1115		EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1116		EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1117	}1118);11191120pub struct TransactionConverter;11211122impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1123	fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1124		UncheckedExtrinsic::new_unsigned(1125			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1126		)1127	}1128}11291130impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1131	fn convert_transaction(1132		&self,1133		transaction: pallet_ethereum::Transaction,1134	) -> opaque::UncheckedExtrinsic {1135		let extrinsic = UncheckedExtrinsic::new_unsigned(1136			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1137		);1138		let encoded = extrinsic.encode();1139		opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1140			.expect("Encoded extrinsic is always valid")1141	}1142}11431144/// The address format for describing accounts.1145pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1146/// Block header type as expected by this runtime.1147pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1148/// Block type as expected by this runtime.1149pub type Block = generic::Block<Header, UncheckedExtrinsic>;1150/// A Block signed with a Justification1151pub type SignedBlock = generic::SignedBlock<Block>;1152/// BlockId type as expected by this runtime.1153pub type BlockId = generic::BlockId<Block>;1154/// The SignedExtension to the basic transaction logic.1155pub type SignedExtra = (1156	frame_system::CheckSpecVersion<Runtime>,1157	// system::CheckTxVersion<Runtime>,1158	frame_system::CheckGenesis<Runtime>,1159	frame_system::CheckEra<Runtime>,1160	frame_system::CheckNonce<Runtime>,1161	frame_system::CheckWeight<Runtime>,1162	pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1163	//pallet_contract_helpers::ContractHelpersExtension<Runtime>,1164);11651166pub type SignedExtraScheduler = (1167	frame_system::CheckSpecVersion<Runtime>,1168	frame_system::CheckGenesis<Runtime>,1169	frame_system::CheckEra<Runtime>,1170	frame_system::CheckNonce<Runtime>,1171	frame_system::CheckWeight<Runtime>,1172	// pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1173);1174/// Unchecked extrinsic type as expected by this runtime.1175pub type UncheckedExtrinsic =1176	fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1177/// Extrinsic type that has already been checked.1178pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1179/// Executive: handles dispatch to the various modules.1180pub type Executive = frame_executive::Executive<1181	Runtime,1182	Block,1183	frame_system::ChainContext<Runtime>,1184	Runtime,1185	AllPalletsReversedWithSystemFirst,1186>;11871188impl_opaque_keys! {1189	pub struct SessionKeys {1190		pub aura: Aura,1191	}1192}11931194impl fp_self_contained::SelfContainedCall for Call {1195	type SignedInfo = H160;11961197	fn is_self_contained(&self) -> bool {1198		match self {1199			Call::Ethereum(call) => call.is_self_contained(),1200			_ => false,1201		}1202	}12031204	fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1205		match self {1206			Call::Ethereum(call) => call.check_self_contained(),1207			_ => None,1208		}1209	}12101211	fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1212		match self {1213			Call::Ethereum(call) => call.validate_self_contained(info),1214			_ => None,1215		}1216	}12171218	fn pre_dispatch_self_contained(1219		&self,1220		info: &Self::SignedInfo,1221	) -> Option<Result<(), TransactionValidityError>> {1222		match self {1223			Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1224			_ => None,1225		}1226	}12271228	fn apply_self_contained(1229		self,1230		info: Self::SignedInfo,1231	) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1232		match self {1233			call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1234				Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1235			)),1236			_ => None,1237		}1238	}1239}12401241macro_rules! dispatch_unique_runtime {1242	($collection:ident.$method:ident($($name:ident),*)) => {{1243		use pallet_unique::dispatch::Dispatched;12441245		let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1246		let dispatch = collection.as_dyn();12471248		Ok(dispatch.$method($($name),*))1249	}};1250}12511252impl_common_runtime_apis!();12531254struct CheckInherents;12551256impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1257	fn check_inherents(1258		block: &Block,1259		relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1260	) -> sp_inherents::CheckInherentsResult {1261		let relay_chain_slot = relay_state_proof1262			.read_slot()1263			.expect("Could not read the relay chain slot from the proof");12641265		let inherent_data =1266			cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1267				relay_chain_slot,1268				sp_std::time::Duration::from_secs(6),1269			)1270			.create_inherent_data()1271			.expect("Could not create the timestamp inherent data");12721273		inherent_data.check_extrinsics(block)1274	}1275}12761277cumulus_pallet_parachain_system::register_validate_block!(1278	Runtime = Runtime,1279	BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1280	CheckInherents = CheckInherents,1281);
after · runtime/quartz/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, Member},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, PrivilegeCmp,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::{85		Applyable, BlockNumberProvider, Dispatchable, PostDispatchInfoOf, Saturating,86		CheckedConversion,87	},88	generic::Era,89	transaction_validity::TransactionValidityError,90	SaturatedConversion, DispatchErrorWithPostInfo,91};9293use fp_self_contained::{SelfContainedCall, CheckedSignature};9495// pub use pallet_timestamp::Call as TimestampCall;96pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;9798// Polkadot imports99use pallet_xcm::XcmPassthrough;100use polkadot_parachain::primitives::Sibling;101use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};102use xcm_builder::{103	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,104	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,105	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,106	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,107	ParentIsPreset,108};109use xcm_executor::{Config, XcmExecutor, Assets};110use sp_std::{cmp::Ordering, marker::PhantomData};111use pallet_unq_scheduler::DispatchCall;112113use xcm::latest::{114	//	Xcm,115	AssetId::{Concrete},116	Fungibility::Fungible as XcmFungible,117	MultiAsset,118	Error as XcmError,119};120use xcm_executor::traits::{MatchesFungible, WeightTrader};121122use unique_runtime_common::{impl_common_runtime_apis, types::*, constants::*};123124pub const RUNTIME_NAME: &str = "quartz";125pub const TOKEN_SYMBOL: &str = "QTZ";126127type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;128129impl RuntimeInstance for Runtime {130	type CrossAccountId = self::CrossAccountId;131132	type TransactionConverter = self::TransactionConverter;133134	fn get_transaction_converter() -> TransactionConverter {135		TransactionConverter136	}137}138139/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know140/// the specifics of the runtime. They can then be made to be agnostic over specific formats141/// of data like extrinsics, allowing for them to continue syncing the network through upgrades142/// to even the core data structures.143pub mod opaque {144	use sp_std::prelude::*;145	use sp_runtime::impl_opaque_keys;146	use super::Aura;147148	pub use unique_runtime_common::types::*;149150	impl_opaque_keys! {151		pub struct SessionKeys {152			pub aura: Aura,153		}154	}155}156157/// This runtime version.158pub const VERSION: RuntimeVersion = RuntimeVersion {159	spec_name: create_runtime_str!(RUNTIME_NAME),160	impl_name: create_runtime_str!(RUNTIME_NAME),161	authoring_version: 1,162	spec_version: 921000,163	impl_version: 0,164	apis: RUNTIME_API_VERSIONS,165	transaction_version: 1,166	state_version: 0,167};168169#[derive(codec::Encode, codec::Decode)]170pub enum XCMPMessage<XAccountId, XBalance> {171	/// Transfer tokens to the given account from the Parachain account.172	TransferToken(XAccountId, XBalance),173}174175/// The version information used to identify this runtime when compiled natively.176#[cfg(feature = "std")]177pub fn native_version() -> NativeVersion {178	NativeVersion {179		runtime_version: VERSION,180		can_author_with: Default::default(),181	}182}183184type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;185186pub struct DealWithFees;187impl OnUnbalanced<NegativeImbalance> for DealWithFees {188	fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {189		if let Some(fees) = fees_then_tips.next() {190			// for fees, 100% to treasury191			let mut split = fees.ration(100, 0);192			if let Some(tips) = fees_then_tips.next() {193				// for tips, if any, 100% to treasury194				tips.ration_merge_into(100, 0, &mut split);195			}196			Treasury::on_unbalanced(split.0);197			// Author::on_unbalanced(split.1);198		}199	}200}201202parameter_types! {203	pub const BlockHashCount: BlockNumber = 2400;204	pub RuntimeBlockLength: BlockLength =205		BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);206	pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);207	pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;208	pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()209		.base_block(BlockExecutionWeight::get())210		.for_class(DispatchClass::all(), |weights| {211			weights.base_extrinsic = ExtrinsicBaseWeight::get();212		})213		.for_class(DispatchClass::Normal, |weights| {214			weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);215		})216		.for_class(DispatchClass::Operational, |weights| {217			weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);218			// Operational transactions have some extra reserved space, so that they219			// are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.220			weights.reserved = Some(221				MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT222			);223		})224		.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)225		.build_or_panic();226	pub const Version: RuntimeVersion = VERSION;227	pub const SS58Prefix: u8 = 255;228}229230parameter_types! {231	pub const ChainId: u64 = 8881;232}233234pub struct FixedFee;235impl FeeCalculator for FixedFee {236	fn min_gas_price() -> U256 {237		MIN_GAS_PRICE.into()238	}239}240241// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case242// (contract, which only writes a lot of data),243// approximating on top of our real store write weight244parameter_types! {245	pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;246	pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;247	pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();248}249250/// Limiting EVM execution to 50% of block for substrate users and management tasks251/// EVM transaction consumes more weight than substrate's, so we can't rely on them being252/// scheduled fairly253const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);254parameter_types! {255	pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());256}257258pub enum FixedGasWeightMapping {}259impl GasWeightMapping for FixedGasWeightMapping {260	fn gas_to_weight(gas: u64) -> Weight {261		gas.saturating_mul(WeightPerGas::get())262	}263	fn weight_to_gas(weight: Weight) -> u64 {264		weight / WeightPerGas::get()265	}266}267268impl pallet_evm::Config for Runtime {269	type BlockGasLimit = BlockGasLimit;270	type FeeCalculator = FixedFee;271	type GasWeightMapping = FixedGasWeightMapping;272	type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;273	type CallOrigin = EnsureAddressTruncated<Self>;274	type WithdrawOrigin = EnsureAddressTruncated<Self>;275	type AddressMapping = HashedAddressMapping<Self::Hashing>;276	type PrecompilesType = ();277	type PrecompilesValue = ();278	type Currency = Balances;279	type Event = Event;280	type OnMethodCall = (281		pallet_evm_migration::OnMethodCall<Self>,282		pallet_unique::UniqueErcSupport<Self>,283		pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,284	);285	type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;286	type ChainId = ChainId;287	type Runner = pallet_evm::runner::stack::Runner<Self>;288	type OnChargeTransaction = pallet_evm::EVMCurrencyAdapter<Balances, DealWithFees>;289	type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;290	type FindAuthor = EthereumFindAuthor<Aura>;291}292293impl pallet_evm_migration::Config for Runtime {294	type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;295}296297pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);298impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {299	fn find_author<'a, I>(digests: I) -> Option<H160>300	where301		I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,302	{303		if let Some(author_index) = F::find_author(digests) {304			let authority_id = Aura::authorities()[author_index as usize].clone();305			return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));306		}307		None308	}309}310311impl pallet_ethereum::Config for Runtime {312	type Event = Event;313	type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;314}315316impl pallet_randomness_collective_flip::Config for Runtime {}317318impl frame_system::Config for Runtime {319	/// The data to be stored in an account.320	type AccountData = pallet_balances::AccountData<Balance>;321	/// The identifier used to distinguish between accounts.322	type AccountId = AccountId;323	/// The basic call filter to use in dispatchable.324	type BaseCallFilter = Everything;325	/// Maximum number of block number to block hash mappings to keep (oldest pruned first).326	type BlockHashCount = BlockHashCount;327	/// The maximum length of a block (in bytes).328	type BlockLength = RuntimeBlockLength;329	/// The index type for blocks.330	type BlockNumber = BlockNumber;331	/// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.332	type BlockWeights = RuntimeBlockWeights;333	/// The aggregated dispatch type that is available for extrinsics.334	type Call = Call;335	/// The weight of database operations that the runtime can invoke.336	type DbWeight = RocksDbWeight;337	/// The ubiquitous event type.338	type Event = Event;339	/// The type for hashing blocks and tries.340	type Hash = Hash;341	/// The hashing algorithm used.342	type Hashing = BlakeTwo256;343	/// The header type.344	type Header = generic::Header<BlockNumber, BlakeTwo256>;345	/// The index type for storing how many extrinsics an account has signed.346	type Index = Index;347	/// The lookup mechanism to get account ID from whatever is passed in dispatchers.348	type Lookup = AccountIdLookup<AccountId, ()>;349	/// What to do if an account is fully reaped from the system.350	type OnKilledAccount = ();351	/// What to do if a new account is created.352	type OnNewAccount = ();353	type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;354	/// The ubiquitous origin type.355	type Origin = Origin;356	/// This type is being generated by `construct_runtime!`.357	type PalletInfo = PalletInfo;358	/// This is used as an identifier of the chain. 42 is the generic substrate prefix.359	type SS58Prefix = SS58Prefix;360	/// Weight information for the extrinsics of this pallet.361	type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;362	/// Version of the runtime.363	type Version = Version;364	type MaxConsumers = ConstU32<16>;365}366367parameter_types! {368	pub const MinimumPeriod: u64 = SLOT_DURATION / 2;369}370371impl pallet_timestamp::Config for Runtime {372	/// A timestamp: milliseconds since the unix epoch.373	type Moment = u64;374	type OnTimestampSet = ();375	type MinimumPeriod = MinimumPeriod;376	type WeightInfo = ();377}378379parameter_types! {380	// pub const ExistentialDeposit: u128 = 500;381	pub const ExistentialDeposit: u128 = 0;382	pub const MaxLocks: u32 = 50;383}384385impl pallet_balances::Config for Runtime {386	type MaxLocks = MaxLocks;387	type MaxReserves = ();388	type ReserveIdentifier = [u8; 16];389	/// The type for recording an account's balance.390	type Balance = Balance;391	/// The ubiquitous event type.392	type Event = Event;393	type DustRemoval = Treasury;394	type ExistentialDeposit = ExistentialDeposit;395	type AccountStore = System;396	type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;397}398399pub const fn deposit(items: u32, bytes: u32) -> Balance {400	items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE401}402403/*404parameter_types! {405	pub TombstoneDeposit: Balance = deposit(406		1,407		sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,408	);409	pub DepositPerContract: Balance = TombstoneDeposit::get();410	pub const DepositPerStorageByte: Balance = deposit(0, 1);411	pub const DepositPerStorageItem: Balance = deposit(1, 0);412	pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);413	pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;414	pub const SignedClaimHandicap: u32 = 2;415	pub const MaxDepth: u32 = 32;416	pub const MaxValueSize: u32 = 16 * 1024;417	pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb418	// The lazy deletion runs inside on_initialize.419	pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *420		RuntimeBlockWeights::get().max_block;421	// The weight needed for decoding the queue should be less or equal than a fifth422	// of the overall weight dedicated to the lazy deletion.423	pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (424			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -425			<Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)426		)) / 5) as u32;427	pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();428}429430impl pallet_contracts::Config for Runtime {431	type Time = Timestamp;432	type Randomness = RandomnessCollectiveFlip;433	type Currency = Balances;434	type Event = Event;435	type RentPayment = ();436	type SignedClaimHandicap = SignedClaimHandicap;437	type TombstoneDeposit = TombstoneDeposit;438	type DepositPerContract = DepositPerContract;439	type DepositPerStorageByte = DepositPerStorageByte;440	type DepositPerStorageItem = DepositPerStorageItem;441	type RentFraction = RentFraction;442	type SurchargeReward = SurchargeReward;443	type WeightPrice = pallet_transaction_payment::Pallet<Self>;444	type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;445	type ChainExtension = NFTExtension;446	type DeletionQueueDepth = DeletionQueueDepth;447	type DeletionWeightLimit = DeletionWeightLimit;448	type Schedule = Schedule;449	type CallStack = [pallet_contracts::Frame<Self>; 31];450}451*/452453parameter_types! {454	/// This value increases the priority of `Operational` transactions by adding455	/// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.456	pub const OperationalFeeMultiplier: u8 = 5;457}458459/// Linear implementor of `WeightToFeePolynomial`460pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);461462impl<T> WeightToFeePolynomial for LinearFee<T>463where464	T: BaseArithmetic + From<u32> + Copy + Unsigned,465{466	type Balance = T;467468	fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {469		smallvec!(WeightToFeeCoefficient {470			// Targeting 0.1 Unique per NFT transfer471			coeff_integer: WEIGHT_TO_FEE_COEFF.into(),472			coeff_frac: Perbill::zero(),473			negative: false,474			degree: 1,475		})476	}477}478479impl pallet_transaction_payment::Config for Runtime {480	type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;481	type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;482	type OperationalFeeMultiplier = OperationalFeeMultiplier;483	type WeightToFee = LinearFee<Balance>;484	type FeeMultiplierUpdate = ();485}486487parameter_types! {488	pub const ProposalBond: Permill = Permill::from_percent(5);489	pub const ProposalBondMinimum: Balance = 1 * UNIQUE;490	pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;491	pub const SpendPeriod: BlockNumber = 5 * MINUTES;492	pub const Burn: Permill = Permill::from_percent(0);493	pub const TipCountdown: BlockNumber = 1 * DAYS;494	pub const TipFindersFee: Percent = Percent::from_percent(20);495	pub const TipReportDepositBase: Balance = 1 * UNIQUE;496	pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;497	pub const BountyDepositBase: Balance = 1 * UNIQUE;498	pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;499	pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");500	pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;501	pub const MaximumReasonLength: u32 = 16384;502	pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);503	pub const BountyValueMinimum: Balance = 5 * UNIQUE;504	pub const MaxApprovals: u32 = 100;505}506507impl pallet_treasury::Config for Runtime {508	type PalletId = TreasuryModuleId;509	type Currency = Balances;510	type ApproveOrigin = EnsureRoot<AccountId>;511	type RejectOrigin = EnsureRoot<AccountId>;512	type Event = Event;513	type OnSlash = ();514	type ProposalBond = ProposalBond;515	type ProposalBondMinimum = ProposalBondMinimum;516	type ProposalBondMaximum = ProposalBondMaximum;517	type SpendPeriod = SpendPeriod;518	type Burn = Burn;519	type BurnDestination = ();520	type SpendFunds = ();521	type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;522	type MaxApprovals = MaxApprovals;523}524525impl pallet_sudo::Config for Runtime {526	type Event = Event;527	type Call = Call;528}529530pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);531532impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider533	for RelayChainBlockNumberProvider<T>534{535	type BlockNumber = BlockNumber;536537	fn current_block_number() -> Self::BlockNumber {538		cumulus_pallet_parachain_system::Pallet::<T>::validation_data()539			.map(|d| d.relay_parent_number)540			.unwrap_or_default()541	}542}543544parameter_types! {545	pub const MinVestedTransfer: Balance = 10 * UNIQUE;546	pub const MaxVestingSchedules: u32 = 28;547}548549impl orml_vesting::Config for Runtime {550	type Event = Event;551	type Currency = pallet_balances::Pallet<Runtime>;552	type MinVestedTransfer = MinVestedTransfer;553	type VestedTransferOrigin = EnsureSigned<AccountId>;554	type WeightInfo = ();555	type MaxVestingSchedules = MaxVestingSchedules;556	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;557}558559parameter_types! {560	pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;561	pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;562}563564impl cumulus_pallet_parachain_system::Config for Runtime {565	type Event = Event;566	type SelfParaId = parachain_info::Pallet<Self>;567	type OnSystemEvent = ();568	// type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<569	// 	MaxDownwardMessageWeight,570	// 	XcmExecutor<XcmConfig>,571	// 	Call,572	// >;573	type OutboundXcmpMessageSource = XcmpQueue;574	type DmpMessageHandler = DmpQueue;575	type ReservedDmpWeight = ReservedDmpWeight;576	type ReservedXcmpWeight = ReservedXcmpWeight;577	type XcmpMessageHandler = XcmpQueue;578}579580impl parachain_info::Config for Runtime {}581582impl cumulus_pallet_aura_ext::Config for Runtime {}583584parameter_types! {585	pub const RelayLocation: MultiLocation = MultiLocation::parent();586	pub const RelayNetwork: NetworkId = NetworkId::Polkadot;587	pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();588	pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();589}590591/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used592/// when determining ownership of accounts for asset transacting and when attempting to use XCM593/// `Transact` in order to determine the dispatch Origin.594pub type LocationToAccountId = (595	// The parent (Relay-chain) origin converts to the default `AccountId`.596	ParentIsPreset<AccountId>,597	// Sibling parachain origins convert to AccountId via the `ParaId::into`.598	SiblingParachainConvertsVia<Sibling, AccountId>,599	// Straight up local `AccountId32` origins just alias directly to `AccountId`.600	AccountId32Aliases<RelayNetwork, AccountId>,601);602603pub struct OnlySelfCurrency;604impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {605	fn matches_fungible(a: &MultiAsset) -> Option<B> {606		match (&a.id, &a.fun) {607			(Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),608			_ => None,609		}610	}611}612613/// Means for transacting assets on this chain.614pub type LocalAssetTransactor = CurrencyAdapter<615	// Use this currency:616	Balances,617	// Use this currency when it is a fungible asset matching the given location or name:618	OnlySelfCurrency,619	// Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:620	LocationToAccountId,621	// Our chain's account ID type (we can't get away without mentioning it explicitly):622	AccountId,623	// We don't track any teleports.624	(),625>;626627/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,628/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can629/// biases the kind of local `Origin` it will become.630pub type XcmOriginToTransactDispatchOrigin = (631	// Sovereign account converter; this attempts to derive an `AccountId` from the origin location632	// using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for633	// foreign chains who want to have a local sovereign account on this chain which they control.634	SovereignSignedViaLocation<LocationToAccountId, Origin>,635	// Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when636	// recognised.637	RelayChainAsNative<RelayOrigin, Origin>,638	// Native converter for sibling Parachains; will convert to a `SiblingPara` origin when639	// recognised.640	SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,641	// Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a642	// transaction from the Root origin.643	ParentAsSuperuser<Origin>,644	// Native signed account converter; this just converts an `AccountId32` origin into a normal645	// `Origin::Signed` origin of the same 32-byte value.646	SignedAccountId32AsNative<RelayNetwork, Origin>,647	// Xcm origins can be represented natively under the Xcm pallet's Xcm origin.648	XcmPassthrough<Origin>,649);650651parameter_types! {652	// One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.653	pub UnitWeightCost: Weight = 1_000_000;654	// 1200 UNIQUEs buy 1 second of weight.655	pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);656	pub const MaxInstructions: u32 = 100;657	pub const MaxAuthorities: u32 = 100_000;658}659660match_types! {661	pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {662		MultiLocation { parents: 1, interior: Here } |663		MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }664	};665}666667pub type Barrier = (668	TakeWeightCredit,669	AllowTopLevelPaidExecutionFrom<Everything>,670	AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,671	// ^^^ Parent & its unit plurality gets free execution672);673674pub struct UsingOnlySelfCurrencyComponents<675	WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,676	AssetId: Get<MultiLocation>,677	AccountId,678	Currency: CurrencyT<AccountId>,679	OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,680>(681	Weight,682	Currency::Balance,683	PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,684);685impl<686		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,687		AssetId: Get<MultiLocation>,688		AccountId,689		Currency: CurrencyT<AccountId>,690		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,691	> WeightTrader692	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>693{694	fn new() -> Self {695		Self(0, Zero::zero(), PhantomData)696	}697698	fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {699		let amount = WeightToFee::calc(&weight);700		let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;701702		// location to this parachain through relay chain703		let option1: xcm::v1::AssetId = Concrete(MultiLocation {704			parents: 1,705			interior: X1(Parachain(ParachainInfo::parachain_id().into())),706		});707		// direct location708		let option2: xcm::v1::AssetId = Concrete(MultiLocation {709			parents: 0,710			interior: Here,711		});712713		let required = if payment.fungible.contains_key(&option1) {714			(option1, u128_amount).into()715		} else if payment.fungible.contains_key(&option2) {716			(option2, u128_amount).into()717		} else {718			(Concrete(MultiLocation::default()), u128_amount).into()719		};720721		let unused = payment722			.checked_sub(required)723			.map_err(|_| XcmError::TooExpensive)?;724		self.0 = self.0.saturating_add(weight);725		self.1 = self.1.saturating_add(amount);726		Ok(unused)727	}728729	fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {730		let weight = weight.min(self.0);731		let amount = WeightToFee::calc(&weight);732		self.0 -= weight;733		self.1 = self.1.saturating_sub(amount);734		let amount: u128 = amount.saturated_into();735		if amount > 0 {736			Some((AssetId::get(), amount).into())737		} else {738			None739		}740	}741}742impl<743		WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,744		AssetId: Get<MultiLocation>,745		AccountId,746		Currency: CurrencyT<AccountId>,747		OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,748	> Drop749	for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>750{751	fn drop(&mut self) {752		OnUnbalanced::on_unbalanced(Currency::issue(self.1));753	}754}755756pub struct XcmConfig;757impl Config for XcmConfig {758	type Call = Call;759	type XcmSender = XcmRouter;760	// How to withdraw and deposit an asset.761	type AssetTransactor = LocalAssetTransactor;762	type OriginConverter = XcmOriginToTransactDispatchOrigin;763	type IsReserve = NativeAsset;764	type IsTeleporter = (); // Teleportation is disabled765	type LocationInverter = LocationInverter<Ancestry>;766	type Barrier = Barrier;767	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;768	type Trader = UsingOnlySelfCurrencyComponents<769		IdentityFee<Balance>,770		RelayLocation,771		AccountId,772		Balances,773		(),774	>;775	type ResponseHandler = (); // Don't handle responses for now.776	type SubscriptionService = PolkadotXcm;777778	type AssetTrap = PolkadotXcm;779	type AssetClaims = PolkadotXcm;780}781782// parameter_types! {783// 	pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;784// }785786/// No local origins on this chain are allowed to dispatch XCM sends/executions.787pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);788789/// The means for routing XCM messages which are not for local execution into the right message790/// queues.791pub type XcmRouter = (792	// Two routers - use UMP to communicate with the relay chain:793	cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,794	// ..and XCMP to communicate with the sibling chains.795	XcmpQueue,796);797798impl pallet_evm_coder_substrate::Config for Runtime {799	type EthereumTransactionSender = pallet_ethereum::Pallet<Self>;800	type GasWeightMapping = FixedGasWeightMapping;801}802803impl pallet_xcm::Config for Runtime {804	type Event = Event;805	type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;806	type XcmRouter = XcmRouter;807	type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;808	type XcmExecuteFilter = Everything;809	type XcmExecutor = XcmExecutor<XcmConfig>;810	type XcmTeleportFilter = Everything;811	type XcmReserveTransferFilter = Everything;812	type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;813	type LocationInverter = LocationInverter<Ancestry>;814	type Origin = Origin;815	type Call = Call;816	const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;817	type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;818}819820impl cumulus_pallet_xcm::Config for Runtime {821	type Event = Event;822	type XcmExecutor = XcmExecutor<XcmConfig>;823}824825impl cumulus_pallet_xcmp_queue::Config for Runtime {826	type WeightInfo = ();827	type Event = Event;828	type XcmExecutor = XcmExecutor<XcmConfig>;829	type ChannelInfo = ParachainSystem;830	type VersionWrapper = ();831	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;832	type ControllerOrigin = EnsureRoot<AccountId>;833	type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;834}835836impl cumulus_pallet_dmp_queue::Config for Runtime {837	type Event = Event;838	type XcmExecutor = XcmExecutor<XcmConfig>;839	type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;840}841842impl pallet_aura::Config for Runtime {843	type AuthorityId = AuraId;844	type DisabledValidators = ();845	type MaxAuthorities = MaxAuthorities;846}847848parameter_types! {849	pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();850	pub const CollectionCreationPrice: Balance = 2 * UNIQUE;851}852853impl pallet_common::Config for Runtime {854	type Event = Event;855856	type Currency = Balances;857	type CollectionCreationPrice = CollectionCreationPrice;858	type TreasuryAccountId = TreasuryAccountId;859}860861impl pallet_evm::account::Config for Runtime {862	type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;863	type EvmAddressMapping = HashedAddressMapping<Self::Hashing>;864	type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;865}866867impl pallet_fungible::Config for Runtime {868	type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;869}870impl pallet_refungible::Config for Runtime {871	type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;872}873impl pallet_nonfungible::Config for Runtime {874	type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;875}876877impl pallet_unique::Config for Runtime {878	type Event = Event;879	type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;880}881882parameter_types! {883	pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied884}885886/// Used for the pallet inflation887impl pallet_inflation::Config for Runtime {888	type Currency = Balances;889	type TreasuryAccountId = TreasuryAccountId;890	type InflationBlockInterval = InflationBlockInterval;891	type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;892}893894parameter_types! {895	pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *896		RuntimeBlockWeights::get().max_block;897	pub const MaxScheduledPerBlock: u32 = 50;898}899900type EvmSponsorshipHandler = (901	pallet_unique::UniqueEthSponsorshipHandler<Runtime>,902	pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,903);904type SponsorshipHandler = (905	pallet_unique::UniqueSponsorshipHandler<Runtime>,906	//pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,907	pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,908);909910parameter_types! {911	pub const NoPreimagePostponement: Option<u32> = Some(10);912	pub const Preimage: Option<u32> = Some(10);913}914915/// Used the compare the privilege of an origin inside the scheduler.916pub struct OriginPrivilegeCmp;917impl PrivilegeCmp<OriginCaller> for OriginPrivilegeCmp {918	fn cmp_privilege(_left: &OriginCaller, _right: &OriginCaller) -> Option<Ordering> {919		Some(Ordering::Equal)920	}921}922923impl pallet_unq_scheduler::Config for Runtime {924	type Event = Event;925	type Origin = Origin;926	type Currency = Balances;927	type PalletsOrigin = OriginCaller;928	type Call = Call;929	type MaximumWeight = MaximumSchedulerWeight;930	type ScheduleOrigin = EnsureSigned<AccountId>;931	type MaxScheduledPerBlock = MaxScheduledPerBlock;932	type WeightInfo = ();933	type CallExecutor = SchedulerPaymentExecutor;934	type OriginPrivilegeCmp = OriginPrivilegeCmp;935	type PreimageProvider = ();936	type NoPreimagePostponement = NoPreimagePostponement;937}938939impl pallet_evm_transaction_payment::Config for Runtime {940	type EvmSponsorshipHandler = EvmSponsorshipHandler;941	type Currency = Balances;942}943944impl pallet_charge_transaction::Config for Runtime {945	type SponsorshipHandler = SponsorshipHandler;946}947948// impl pallet_contract_helpers::Config for Runtime {949//	 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;950// }951952type ChargeTransactionPayment = pallet_charge_transaction::ChargeTransactionPayment<Runtime>;953use frame_support::traits::NamedReservableCurrency;954955fn get_signed_extras(from: <Runtime as frame_system::Config>::AccountId) -> SignedExtraScheduler {956	(957		frame_system::CheckSpecVersion::<Runtime>::new(),958		frame_system::CheckGenesis::<Runtime>::new(),959		frame_system::CheckEra::<Runtime>::from(Era::Immortal),960		frame_system::CheckNonce::<Runtime>::from(frame_system::Pallet::<Runtime>::account_nonce(961			from,962		)),963		frame_system::CheckWeight::<Runtime>::new(),964		// sponsoring transaction logic965		// pallet_charge_transaction::ChargeTransactionPayment::<Runtime>::new(0),966	)967}968969pub struct SchedulerPaymentExecutor;970impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>971	DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor972where973	<T as frame_system::Config>::Call: Member974		+ Dispatchable<Origin = Origin, Info = DispatchInfo>975		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>976		+ GetDispatchInfo977		+ From<frame_system::Call<Runtime>>,978	SelfContainedSignedInfo: Send + Sync + 'static,979	Call: From<<T as frame_system::Config>::Call>980		+ From<<T as pallet_unq_scheduler::Config>::Call>981		+ SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,982	sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,983{984	fn dispatch_call(985		signer: <T as frame_system::Config>::AccountId,986		call: <T as pallet_unq_scheduler::Config>::Call,987	) -> Result<988		Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,989		TransactionValidityError,990	> {991		let dispatch_info = call.get_dispatch_info();992		let extrinsic = fp_self_contained::CheckedExtrinsic::<993			AccountId,994			Call,995			SignedExtraScheduler,996			SelfContainedSignedInfo,997		> {998			signed:999				CheckedSignature::<AccountId, SignedExtraScheduler, SelfContainedSignedInfo>::Signed(1000					signer.clone().into(),1001					get_signed_extras(signer.into()),1002				),1003			function: call.into(),1004		};10051006		extrinsic.apply::<Runtime>(&dispatch_info, 0)1007	}10081009	fn reserve_balance(1010		id: [u8; 16],1011		sponsor: <T as frame_system::Config>::AccountId,1012		call: <T as pallet_unq_scheduler::Config>::Call,1013		count: u32,1014	) -> Result<(), DispatchError> {1015		let dispatch_info = call.get_dispatch_info();1016		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0)1017			.saturating_mul(count.into());10181019		<Balances as NamedReservableCurrency<AccountId>>::reserve_named(1020			&id,1021			&(sponsor.into()),1022			weight.into(),1023		)1024	}10251026	fn pay_for_call(1027		id: [u8; 16],1028		sponsor: <T as frame_system::Config>::AccountId,1029		call: <T as pallet_unq_scheduler::Config>::Call,1030	) -> Result<u128, DispatchError> {1031		let dispatch_info = call.get_dispatch_info();1032		let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1033		Ok(1034			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1035				&id,1036				&(sponsor.into()),1037				weight.into(),1038			),1039		)1040	}10411042	fn cancel_reserve(1043		id: [u8; 16],1044		sponsor: <T as frame_system::Config>::AccountId,1045	) -> Result<u128, DispatchError> {1046		Ok(1047			<Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1048				&id,1049				&(sponsor.into()),1050				u128::MAX,1051			),1052		)1053	}1054}10551056parameter_types! {1057	// 0x842899ECF380553E8a4de75bF534cdf6fBF640491058	pub const HelpersContractAddress: H160 = H160([1059		0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,1060	]);1061}10621063impl pallet_evm_contract_helpers::Config for Runtime {1064	type ContractAddress = HelpersContractAddress;1065	type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1066}10671068construct_runtime!(1069	pub enum Runtime where1070		Block = Block,1071		NodeBlock = opaque::Block,1072		UncheckedExtrinsic = UncheckedExtrinsic1073	{1074		ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,1075		ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,10761077		Aura: pallet_aura::{Pallet, Config<T>} = 22,1078		AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,10791080		Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,1081		RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,1082		Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,1083		TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,1084		Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,1085		Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,1086		System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,1087		Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,1088		// Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,1089		// Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,10901091		// XCM helpers.1092		XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1093		PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1094		CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1095		DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,10961097		// Unique Pallets1098		Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1099		Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1100		Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1101		// free = 631102		Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1103		// ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1104		Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1105		Fungible: pallet_fungible::{Pallet, Storage} = 67,1106		Refungible: pallet_refungible::{Pallet, Storage} = 68,1107		Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,11081109		// Frontier1110		EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1111		Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,11121113		EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1114		EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1115		EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1116		EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1117	}1118);11191120pub struct TransactionConverter;11211122impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1123	fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1124		UncheckedExtrinsic::new_unsigned(1125			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1126		)1127	}1128}11291130impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1131	fn convert_transaction(1132		&self,1133		transaction: pallet_ethereum::Transaction,1134	) -> opaque::UncheckedExtrinsic {1135		let extrinsic = UncheckedExtrinsic::new_unsigned(1136			pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1137		);1138		let encoded = extrinsic.encode();1139		opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1140			.expect("Encoded extrinsic is always valid")1141	}1142}11431144/// The address format for describing accounts.1145pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1146/// Block header type as expected by this runtime.1147pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1148/// Block type as expected by this runtime.1149pub type Block = generic::Block<Header, UncheckedExtrinsic>;1150/// A Block signed with a Justification1151pub type SignedBlock = generic::SignedBlock<Block>;1152/// BlockId type as expected by this runtime.1153pub type BlockId = generic::BlockId<Block>;1154/// The SignedExtension to the basic transaction logic.1155pub type SignedExtra = (1156	frame_system::CheckSpecVersion<Runtime>,1157	// system::CheckTxVersion<Runtime>,1158	frame_system::CheckGenesis<Runtime>,1159	frame_system::CheckEra<Runtime>,1160	frame_system::CheckNonce<Runtime>,1161	frame_system::CheckWeight<Runtime>,1162	pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1163	//pallet_contract_helpers::ContractHelpersExtension<Runtime>,1164);11651166pub type SignedExtraScheduler = (1167	frame_system::CheckSpecVersion<Runtime>,1168	frame_system::CheckGenesis<Runtime>,1169	frame_system::CheckEra<Runtime>,1170	frame_system::CheckNonce<Runtime>,1171	frame_system::CheckWeight<Runtime>,1172	// pallet_charge_transaction::ChargeTransactionPayment<Runtime>,1173);1174/// Unchecked extrinsic type as expected by this runtime.1175pub type UncheckedExtrinsic =1176	fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1177/// Extrinsic type that has already been checked.1178pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1179/// Executive: handles dispatch to the various modules.1180pub type Executive = frame_executive::Executive<1181	Runtime,1182	Block,1183	frame_system::ChainContext<Runtime>,1184	Runtime,1185	AllPalletsReversedWithSystemFirst,1186>;11871188impl_opaque_keys! {1189	pub struct SessionKeys {1190		pub aura: Aura,1191	}1192}11931194impl fp_self_contained::SelfContainedCall for Call {1195	type SignedInfo = H160;11961197	fn is_self_contained(&self) -> bool {1198		match self {1199			Call::Ethereum(call) => call.is_self_contained(),1200			_ => false,1201		}1202	}12031204	fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1205		match self {1206			Call::Ethereum(call) => call.check_self_contained(),1207			_ => None,1208		}1209	}12101211	fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {1212		match self {1213			Call::Ethereum(call) => call.validate_self_contained(info),1214			_ => None,1215		}1216	}12171218	fn pre_dispatch_self_contained(1219		&self,1220		info: &Self::SignedInfo,1221	) -> Option<Result<(), TransactionValidityError>> {1222		match self {1223			Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1224			_ => None,1225		}1226	}12271228	fn apply_self_contained(1229		self,1230		info: Self::SignedInfo,1231	) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1232		match self {1233			call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1234				Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1235			)),1236			_ => None,1237		}1238	}1239}12401241macro_rules! dispatch_unique_runtime {1242	($collection:ident.$method:ident($($name:ident),*)) => {{1243		use pallet_unique::dispatch::Dispatched;12441245		let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1246		let dispatch = collection.as_dyn();12471248		Ok(dispatch.$method($($name),*))1249	}};1250}12511252impl_common_runtime_apis!();12531254struct CheckInherents;12551256impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1257	fn check_inherents(1258		block: &Block,1259		relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1260	) -> sp_inherents::CheckInherentsResult {1261		let relay_chain_slot = relay_state_proof1262			.read_slot()1263			.expect("Could not read the relay chain slot from the proof");12641265		let inherent_data =1266			cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1267				relay_chain_slot,1268				sp_std::time::Duration::from_secs(6),1269			)1270			.create_inherent_data()1271			.expect("Could not create the timestamp inherent data");12721273		inherent_data.check_extrinsics(block)1274	}1275}12761277cumulus_pallet_parachain_system::register_validate_block!(1278	Runtime = Runtime,1279	BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1280	CheckInherents = CheckInherents,1281);
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -10,7 +10,7 @@
 license = 'GPLv3'
 name = 'unique-runtime'
 repository = 'https://github.com/UniqueNetwork/unique-chain'
-version = '0.9.18'
+version = '0.9.21'
 
 [package.metadata.docs.rs]
 targets = ['x86_64-unknown-linux-gnu']
@@ -119,33 +119,33 @@
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-executive]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-support]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-benchmarking]
 default-features = false
 git = "https://github.com/paritytech/substrate"
 optional = true
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.frame-system-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.hex-literal]
 optional = true
@@ -160,12 +160,12 @@
 [dependencies.pallet-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-balances]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # Contracts specific packages
 # [dependencies.pallet-contracts]
@@ -189,32 +189,32 @@
 [dependencies.pallet-randomness-collective-flip]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-sudo]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-timestamp]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-transaction-payment-rpc-runtime-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.pallet-treasury]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 # [dependencies.pallet-vesting]
 # default-features = false
@@ -224,67 +224,67 @@
 [dependencies.sp-arithmetic]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-api]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-block-builder]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-core]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-consensus-aura]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-inherents]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-io]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-offchain]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-runtime]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-session]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-std]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-transaction-pool]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.sp-version]
 default-features = false
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
 
 [dependencies.smallvec]
 version = '1.6.1'
@@ -294,47 +294,47 @@
 
 [dependencies.parachain-info]
 default-features = false
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 
 [dependencies.cumulus-pallet-aura-ext]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-parachain-system]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-core]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcm]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-dmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-pallet-xcmp-queue]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-utility]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 [dependencies.cumulus-primitives-timestamp]
-git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.20"
+git = "https://github.com/uniquenetwork/cumulus"
+branch = "polkadot-v0.9.21"
 default-features = false
 
 ################################################################################
@@ -342,32 +342,32 @@
 
 [dependencies.polkadot-parachain]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-builder]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.xcm-executor]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.pallet-xcm]
 git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.20"
+branch = "release-v0.9.21"
 default-features = false
 
 [dependencies.orml-vesting]
 git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.20"
+branch = "unique-polkadot-v0.9.21"
 version = "0.4.1-dev"
 default-features = false
 
@@ -390,21 +390,21 @@
 pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
 pallet-unq-scheduler = { path = '../../pallets/scheduler', default-features = false }
 # pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
-pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.20", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
+pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.21", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
 pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
 pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
 pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
 pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.20" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.21" }
 
 ################################################################################
 # Build Dependencies
 
 [build-dependencies.substrate-wasm-builder]
 git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.20"
+branch = "polkadot-v0.9.21"
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -153,7 +153,7 @@
 	spec_name: create_runtime_str!(RUNTIME_NAME),
 	impl_name: create_runtime_str!(RUNTIME_NAME),
 	authoring_version: 1,
-	spec_version: 920000,
+	spec_version: 921000,
 	impl_version: 0,
 	apis: RUNTIME_API_VERSIONS,
 	transaction_version: 1,
@@ -264,8 +264,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 = ();
modifiedtests/README.mddiffbeforeafterboth
--- a/tests/README.md
+++ b/tests/README.md
@@ -5,7 +5,7 @@
 1. Checkout polkadot in sibling folder with this project
 ```bash
 git clone https://github.com/paritytech/polkadot.git && cd polkadot
-git checkout release-v0.9.20
+git checkout release-v0.9.21
 ```
 
 2. Build with nightly-2021-11-11