difftreelog
build upgrade polkadot to v0.9.23
in: master
37 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -375,7 +375,7 @@
"instant",
"pin-project-lite 0.2.9",
"rand 0.8.5",
- "tokio 1.18.2",
+ "tokio 1.19.2",
]
[[package]]
@@ -429,7 +429,7 @@
[[package]]
name = "beefy-gadget"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"beefy-primitives",
"fnv",
@@ -463,7 +463,7 @@
[[package]]
name = "beefy-gadget-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"beefy-gadget",
"beefy-primitives",
@@ -483,12 +483,12 @@
[[package]]
name = "beefy-merkle-tree"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
[[package]]
name = "beefy-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -579,17 +579,6 @@
checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400"
dependencies = [
"arrayvec 0.4.12",
- "constant_time_eq",
-]
-
-[[package]]
-name = "blake2b_simd"
-version = "0.5.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
-dependencies = [
- "arrayref",
- "arrayvec 0.5.2",
"constant_time_eq",
]
@@ -701,7 +690,7 @@
[[package]]
name = "bp-header-chain"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-runtime",
"finality-grandpa",
@@ -718,7 +707,7 @@
[[package]]
name = "bp-message-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-runtime",
"frame-support",
@@ -730,7 +719,7 @@
[[package]]
name = "bp-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitvec 1.0.0",
"bp-runtime",
@@ -747,7 +736,7 @@
[[package]]
name = "bp-polkadot-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-messages",
"bp-runtime",
@@ -765,7 +754,7 @@
[[package]]
name = "bp-rococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -782,7 +771,7 @@
[[package]]
name = "bp-runtime"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"hash-db",
@@ -800,7 +789,7 @@
[[package]]
name = "bp-test-utils"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-header-chain",
"ed25519-dalek",
@@ -815,7 +804,7 @@
[[package]]
name = "bp-wococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -830,7 +819,7 @@
[[package]]
name = "bridge-runtime-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-message-dispatch",
"bp-messages",
@@ -864,10 +853,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
dependencies = [
- "lazy_static",
"memchr",
- "regex-automata",
- "serde",
]
[[package]]
@@ -958,7 +944,7 @@
dependencies = [
"camino",
"cargo-platform",
- "semver 1.0.9",
+ "semver 1.0.10",
"serde",
"serde_json",
]
@@ -1131,6 +1117,17 @@
]
[[package]]
+name = "comfy-table"
+version = "5.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b103d85ca6e209388771bfb7aa6b68a7aeec4afbf6f0a0264bfbf50360e5212e"
+dependencies = [
+ "strum 0.23.0",
+ "strum_macros 0.23.1",
+ "unicode-width",
+]
+
+[[package]]
name = "concurrent-queue"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1399,37 +1396,6 @@
dependencies = [
"generic-array 0.14.5",
"subtle",
-]
-
-[[package]]
-name = "csv"
-version = "1.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
-dependencies = [
- "bstr",
- "csv-core",
- "itoa 0.4.8",
- "ryu",
- "serde",
-]
-
-[[package]]
-name = "csv-core"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "ct-logs"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8"
-dependencies = [
- "sct 0.6.1",
]
[[package]]
@@ -1465,7 +1431,7 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"clap",
"sc-cli",
@@ -1476,7 +1442,7 @@
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
@@ -1500,7 +1466,7 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
@@ -1529,7 +1495,7 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
@@ -1550,7 +1516,7 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"async-trait",
"cumulus-relay-chain-interface",
@@ -1575,7 +1541,7 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"cumulus-relay-chain-interface",
@@ -1599,7 +1565,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-client-cli",
"cumulus-client-collator",
@@ -1629,7 +1595,7 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"frame-executive",
"frame-support",
@@ -1647,7 +1613,7 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1665,7 +1631,7 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
@@ -1695,7 +1661,7 @@
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -1706,7 +1672,7 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1723,7 +1689,7 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1741,7 +1707,7 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"frame-support",
"parity-scale-codec 3.1.2",
@@ -1757,7 +1723,7 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1780,7 +1746,7 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"futures 0.3.21",
@@ -1793,7 +1759,7 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1810,7 +1776,7 @@
[[package]]
name = "cumulus-relay-chain-inprocess-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1818,8 +1784,10 @@
"futures 0.3.21",
"futures-timer",
"parking_lot 0.12.1",
+ "polkadot-cli",
"polkadot-client",
"polkadot-service",
+ "sc-cli",
"sc-client-api",
"sc-consensus-babe",
"sc-network",
@@ -1839,7 +1807,7 @@
[[package]]
name = "cumulus-relay-chain-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1863,7 +1831,7 @@
[[package]]
name = "cumulus-relay-chain-rpc-interface"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"async-trait",
"backoff",
@@ -1889,7 +1857,7 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec 3.1.2",
@@ -2078,17 +2046,6 @@
dependencies = [
"cfg-if 1.0.0",
"dirs-sys-next",
-]
-
-[[package]]
-name = "dirs"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
-dependencies = [
- "libc",
- "redox_users 0.3.5",
- "winapi",
]
[[package]]
@@ -2098,7 +2055,7 @@
checksum = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6"
dependencies = [
"libc",
- "redox_users 0.4.3",
+ "redox_users",
"winapi",
]
@@ -2109,7 +2066,7 @@
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
dependencies = [
"libc",
- "redox_users 0.4.3",
+ "redox_users",
"winapi",
]
@@ -2222,12 +2179,6 @@
]
[[package]]
-name = "encode_unicode"
-version = "0.3.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
-
-[[package]]
name = "enum-as-inner"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2369,7 +2320,7 @@
[[package]]
name = "evm"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
"auto_impl",
"environmental",
@@ -2415,7 +2366,7 @@
[[package]]
name = "evm-core"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
"parity-scale-codec 3.1.2",
"primitive-types",
@@ -2426,7 +2377,7 @@
[[package]]
name = "evm-gasometer"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
"environmental",
"evm-core",
@@ -2437,7 +2388,7 @@
[[package]]
name = "evm-runtime"
version = "0.35.0"
-source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.22#e9252ed42dc26fc85b6703b1ba50660a08209e55"
+source = "git+https://github.com/uniquenetwork/evm?branch=unique-polkadot-v0.9.23#e9252ed42dc26fc85b6703b1ba50660a08209e55"
dependencies = [
"auto_impl",
"environmental",
@@ -2529,7 +2480,7 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"async-trait",
"fc-db",
@@ -2548,7 +2499,7 @@
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"fp-storage",
"kvdb-rocksdb",
@@ -2564,7 +2515,7 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"fc-db",
"fp-consensus",
@@ -2581,7 +2532,7 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2615,13 +2566,13 @@
"sp-runtime",
"sp-storage",
"substrate-prometheus-endpoint",
- "tokio 1.18.2",
+ "tokio 1.19.2",
]
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2731,7 +2682,7 @@
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
]
@@ -2749,7 +2700,7 @@
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"ethereum",
"parity-scale-codec 3.1.2",
@@ -2761,7 +2712,7 @@
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"evm",
"frame-support",
@@ -2775,7 +2726,7 @@
[[package]]
name = "fp-evm-mapping"
version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"frame-support",
"sp-core",
@@ -2784,7 +2735,7 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2801,7 +2752,7 @@
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"ethereum",
"frame-support",
@@ -2817,7 +2768,7 @@
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"parity-scale-codec 3.1.2",
]
@@ -2825,7 +2776,7 @@
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -2847,11 +2798,12 @@
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"Inflector",
"chrono",
"clap",
+ "comfy-table",
"frame-benchmarking",
"frame-support",
"frame-system",
@@ -2865,7 +2817,6 @@
"log",
"memory-db",
"parity-scale-codec 3.1.2",
- "prettytable-rs",
"rand 0.8.5",
"rand_pcg 0.3.1",
"sc-block-builder",
@@ -2897,7 +2848,7 @@
[[package]]
name = "frame-election-provider-solution-type"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -2908,7 +2859,7 @@
[[package]]
name = "frame-election-provider-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-election-provider-solution-type",
"frame-support",
@@ -2924,7 +2875,7 @@
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -2952,7 +2903,7 @@
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"bitflags",
"frame-metadata",
@@ -2982,7 +2933,7 @@
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"Inflector",
"frame-support-procedural-tools",
@@ -2994,7 +2945,7 @@
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate",
@@ -3006,7 +2957,7 @@
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro2",
"quote",
@@ -3016,7 +2967,7 @@
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"log",
@@ -3033,7 +2984,7 @@
[[package]]
name = "frame-system-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -3048,7 +2999,7 @@
[[package]]
name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"sp-api",
@@ -3057,7 +3008,7 @@
[[package]]
name = "frame-try-runtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"sp-api",
@@ -3199,8 +3150,8 @@
checksum = "e01fe9932a224b72b45336d96040aa86386d674a31d0af27d800ea7bc8ca97fe"
dependencies = [
"futures-io",
- "rustls 0.20.6",
- "webpki 0.22.0",
+ "rustls",
+ "webpki",
]
[[package]]
@@ -3360,16 +3311,16 @@
"http",
"indexmap",
"slab",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tokio-util",
"tracing",
]
[[package]]
name = "handlebars"
-version = "4.3.0"
+version = "4.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d113a9853e5accd30f43003560b5563ffbb007e3f325e8b103fa0d0029c6e6df"
+checksum = "b66d0c1b6e3abfd1e72818798925e16e02ed77e1b47f6c25a95a23b377ee4299"
dependencies = [
"log",
"pest",
@@ -3498,9 +3449,9 @@
[[package]]
name = "http"
-version = "0.2.7"
+version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff8670570af52249509a86f5e3e18a08c60b177071826898fde8997cf5f6bfbb"
+checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399"
dependencies = [
"bytes 1.1.0",
"fnv",
@@ -3554,7 +3505,7 @@
"itoa 1.0.2",
"pin-project-lite 0.2.9",
"socket2",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tower-service",
"tracing",
"want",
@@ -3562,19 +3513,17 @@
[[package]]
name = "hyper-rustls"
-version = "0.22.1"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64"
+checksum = "d87c48c02e0dc5e3b849a2041db3029fd066650f8f717c07bf8ed78ccb895cac"
dependencies = [
- "ct-logs",
- "futures-util",
+ "http",
"hyper",
"log",
- "rustls 0.19.1",
- "rustls-native-certs 0.5.0",
- "tokio 1.18.2",
- "tokio-rustls 0.22.0",
- "webpki 0.21.4",
+ "rustls",
+ "rustls-native-certs",
+ "tokio 1.19.2",
+ "tokio-rustls",
]
[[package]]
@@ -3790,11 +3739,11 @@
"jsonrpsee-core",
"jsonrpsee-types",
"pin-project 1.0.10",
- "rustls-native-certs 0.6.2",
+ "rustls-native-certs",
"soketto",
"thiserror",
- "tokio 1.18.2",
- "tokio-rustls 0.23.4",
+ "tokio 1.19.2",
+ "tokio-rustls",
"tokio-util",
"tracing",
"webpki-roots",
@@ -3823,7 +3772,7 @@
"serde_json",
"soketto",
"thiserror",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tracing",
]
@@ -3841,7 +3790,7 @@
"jsonrpsee-types",
"lazy_static",
"serde_json",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tracing",
"unicase",
]
@@ -3895,7 +3844,7 @@
"jsonrpsee-types",
"serde_json",
"soketto",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tokio-util",
"tracing",
]
@@ -3920,8 +3869,8 @@
[[package]]
name = "kusama-runtime"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-primitives",
"bitvec 1.0.0",
@@ -4013,8 +3962,8 @@
[[package]]
name = "kusama-runtime-constants"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -4174,7 +4123,7 @@
"libp2p-request-response",
"libp2p-swarm",
"log",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.8.5",
]
@@ -4201,7 +4150,7 @@
"multistream-select",
"parking_lot 0.12.1",
"pin-project 1.0.10",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.8.5",
"ring",
@@ -4251,7 +4200,7 @@
"libp2p-core",
"libp2p-swarm",
"log",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.7.3",
"smallvec",
@@ -4275,7 +4224,7 @@
"libp2p-swarm",
"log",
"prometheus-client",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.7.3",
"regex",
@@ -4297,7 +4246,7 @@
"libp2p-swarm",
"log",
"lru 0.7.6",
- "prost",
+ "prost 0.9.0",
"prost-build",
"smallvec",
]
@@ -4319,7 +4268,7 @@
"libp2p-core",
"libp2p-swarm",
"log",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.7.3",
"sha2 0.10.2",
@@ -4397,7 +4346,7 @@
"lazy_static",
"libp2p-core",
"log",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.8.5",
"sha2 0.10.2",
@@ -4434,7 +4383,7 @@
"futures 0.3.21",
"libp2p-core",
"log",
- "prost",
+ "prost 0.9.0",
"prost-build",
"unsigned-varint",
"void",
@@ -4470,7 +4419,7 @@
"libp2p-swarm",
"log",
"pin-project 1.0.10",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.8.5",
"smallvec",
@@ -4494,7 +4443,7 @@
"libp2p-core",
"libp2p-swarm",
"log",
- "prost",
+ "prost 0.9.0",
"prost-build",
"rand 0.8.5",
"sha2 0.10.2",
@@ -4849,6 +4798,15 @@
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
[[package]]
+name = "memfd"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6627dc657574b49d6ad27105ed671822be56e0d2547d413bfbf3e8d8fa92e7a"
+dependencies = [
+ "libc",
+]
+
+[[package]]
name = "memmap2"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4859,9 +4817,9 @@
[[package]]
name = "memmap2"
-version = "0.5.3"
+version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "057a3db23999c867821a7a59feb06a578fcb03685e983dff90daf9e7d24ac08f"
+checksum = "d5172b50c23043ff43dd53e51392f36519d9b35a8f3a410d30ece5d1aedd58ae"
dependencies = [
"libc",
]
@@ -4911,21 +4869,6 @@
"keccak",
"rand_core 0.5.1",
"zeroize",
-]
-
-[[package]]
-name = "metered-channel"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
-dependencies = [
- "coarsetime",
- "crossbeam-queue",
- "derive_more",
- "futures 0.3.21",
- "futures-timer",
- "nanorand",
- "thiserror",
- "tracing-gum",
]
[[package]]
@@ -5007,7 +4950,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3db354f401db558759dfc1e568d010a5d4146f4d3f637be1275ec4a3cf09689"
dependencies = [
- "blake2b_simd 1.0.0",
+ "blake2b_simd",
"blake2s_simd",
"blake3",
"core2",
@@ -5145,7 +5088,7 @@
"log",
"netlink-packet-core",
"netlink-sys",
- "tokio 1.18.2",
+ "tokio 1.19.2",
]
[[package]]
@@ -5406,6 +5349,35 @@
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
+name = "orchestra"
+version = "0.0.1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
+dependencies = [
+ "async-trait",
+ "dyn-clonable",
+ "futures 0.3.21",
+ "futures-timer",
+ "orchestra-proc-macro",
+ "pin-project 1.0.10",
+ "prioritized-metered-channel",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "orchestra-proc-macro"
+version = "0.0.1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
+dependencies = [
+ "expander 0.0.6",
+ "petgraph",
+ "proc-macro-crate",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "ordered-float"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -5417,7 +5389,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.22#806e5b5b3abfd87d7edc0367b9e5ea505d65c2fe"
+source = "git+https://github.com/uniquenetwork/open-runtime-module-library?branch=unique-polkadot-v0.9.23#35cdbf2be055193974cc5b24f0c416b559c62ddc"
dependencies = [
"frame-support",
"frame-system",
@@ -5447,7 +5419,7 @@
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -5463,7 +5435,7 @@
[[package]]
name = "pallet-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -5479,7 +5451,7 @@
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -5494,7 +5466,7 @@
[[package]]
name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5518,7 +5490,7 @@
[[package]]
name = "pallet-bags-list"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5538,7 +5510,7 @@
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5553,7 +5525,7 @@
[[package]]
name = "pallet-base-fee"
version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"fp-evm",
"frame-support",
@@ -5568,7 +5540,7 @@
[[package]]
name = "pallet-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"beefy-primitives",
"frame-support",
@@ -5584,7 +5556,7 @@
[[package]]
name = "pallet-beefy-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"beefy-merkle-tree",
"beefy-primitives",
@@ -5607,7 +5579,7 @@
[[package]]
name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5625,7 +5597,7 @@
[[package]]
name = "pallet-bridge-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-message-dispatch",
"bp-runtime",
@@ -5642,7 +5614,7 @@
[[package]]
name = "pallet-bridge-grandpa"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bp-header-chain",
"bp-runtime",
@@ -5664,7 +5636,7 @@
[[package]]
name = "pallet-bridge-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitvec 1.0.0",
"bp-message-dispatch",
@@ -5685,7 +5657,7 @@
[[package]]
name = "pallet-child-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5704,7 +5676,7 @@
[[package]]
name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5742,7 +5714,7 @@
[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5758,7 +5730,7 @@
[[package]]
name = "pallet-election-provider-multi-phase"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5781,7 +5753,7 @@
[[package]]
name = "pallet-election-provider-support-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5794,7 +5766,7 @@
[[package]]
name = "pallet-elections-phragmen"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5812,7 +5784,7 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"ethereum",
"ethereum-types",
@@ -5841,7 +5813,7 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.22#94cc1f98619da89350f77d18b2e4224b034e07ad"
+source = "git+https://github.com/uniquenetwork/frontier?branch=unique-polkadot-v0.9.23#29adc958b0541466d564c781aa70fb7e3ef263a2"
dependencies = [
"evm",
"fp-evm",
@@ -5964,7 +5936,7 @@
[[package]]
name = "pallet-gilt"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5979,7 +5951,7 @@
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6002,7 +5974,7 @@
[[package]]
name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -6018,7 +5990,7 @@
[[package]]
name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6038,7 +6010,7 @@
[[package]]
name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6074,7 +6046,7 @@
[[package]]
name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6091,7 +6063,7 @@
[[package]]
name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"ckb-merkle-mountain-range",
"frame-benchmarking",
@@ -6109,7 +6081,7 @@
[[package]]
name = "pallet-mmr-rpc"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"jsonrpsee",
"parity-scale-codec 3.1.2",
@@ -6124,7 +6096,7 @@
[[package]]
name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6139,7 +6111,7 @@
[[package]]
name = "pallet-nicks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -6153,10 +6125,11 @@
[[package]]
name = "pallet-nomination-pools"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
+ "log",
"parity-scale-codec 3.1.2",
"scale-info",
"sp-core",
@@ -6168,7 +6141,7 @@
[[package]]
name = "pallet-nomination-pools-benchmarking"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6209,7 +6182,7 @@
[[package]]
name = "pallet-offences"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -6226,7 +6199,7 @@
[[package]]
name = "pallet-offences-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6249,7 +6222,7 @@
[[package]]
name = "pallet-preimage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6265,7 +6238,7 @@
[[package]]
name = "pallet-proxy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6280,7 +6253,7 @@
[[package]]
name = "pallet-randomness-collective-flip"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -6294,7 +6267,7 @@
[[package]]
name = "pallet-recovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6369,7 +6342,7 @@
[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6385,7 +6358,7 @@
[[package]]
name = "pallet-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -6406,7 +6379,7 @@
[[package]]
name = "pallet-session-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6422,7 +6395,7 @@
[[package]]
name = "pallet-society"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -6436,7 +6409,7 @@
[[package]]
name = "pallet-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6459,7 +6432,7 @@
[[package]]
name = "pallet-staking-reward-curve"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -6470,7 +6443,7 @@
[[package]]
name = "pallet-staking-reward-fn"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"sp-arithmetic",
@@ -6494,7 +6467,7 @@
[[package]]
name = "pallet-sudo"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
@@ -6508,7 +6481,7 @@
[[package]]
name = "pallet-template-transaction-payment"
version = "3.0.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.22#9fc4fbc3f83fdc793205f3fef1c97ef168d4dfe0"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.23#5f3b55354830f9707d6632aaa54362deea981116"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6528,7 +6501,7 @@
[[package]]
name = "pallet-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6546,7 +6519,7 @@
[[package]]
name = "pallet-tips"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6565,14 +6538,13 @@
[[package]]
name = "pallet-transaction-payment"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-support",
"frame-system",
"parity-scale-codec 3.1.2",
"scale-info",
"serde",
- "smallvec",
"sp-core",
"sp-io",
"sp-runtime",
@@ -6582,7 +6554,7 @@
[[package]]
name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"jsonrpsee",
"pallet-transaction-payment-rpc-runtime-api",
@@ -6597,7 +6569,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.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec 3.1.2",
@@ -6608,7 +6580,7 @@
[[package]]
name = "pallet-treasury"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6667,7 +6639,7 @@
[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6683,7 +6655,7 @@
[[package]]
name = "pallet-vesting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6697,8 +6669,8 @@
[[package]]
name = "pallet-xcm"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"frame-system",
@@ -6715,8 +6687,8 @@
[[package]]
name = "pallet-xcm-benchmarks"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6733,7 +6705,7 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0029dd3349ce0e9c758acc73acce04d18"
+source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.23#e5889f1d71975a192c98fa43b1c18c94ffda3bbd"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -6900,7 +6872,7 @@
"cfg-if 1.0.0",
"instant",
"libc",
- "redox_syscall 0.2.13",
+ "redox_syscall",
"smallvec",
"winapi",
]
@@ -6913,7 +6885,7 @@
dependencies = [
"cfg-if 1.0.0",
"libc",
- "redox_syscall 0.2.13",
+ "redox_syscall",
"smallvec",
"windows-sys",
]
@@ -7079,8 +7051,8 @@
[[package]]
name = "polkadot-approval-distribution"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"polkadot-node-network-protocol",
@@ -7094,8 +7066,8 @@
[[package]]
name = "polkadot-availability-bitfield-distribution"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"polkadot-node-network-protocol",
@@ -7108,8 +7080,8 @@
[[package]]
name = "polkadot-availability-distribution"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"derive_more",
"fatality",
@@ -7131,8 +7103,8 @@
[[package]]
name = "polkadot-availability-recovery"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"fatality",
"futures 0.3.21",
@@ -7152,8 +7124,8 @@
[[package]]
name = "polkadot-cli"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"clap",
"frame-benchmarking-cli",
@@ -7177,8 +7149,8 @@
[[package]]
name = "polkadot-client"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-primitives",
"frame-benchmarking",
@@ -7217,8 +7189,8 @@
[[package]]
name = "polkadot-collator-protocol"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"always-assert",
"fatality",
@@ -7238,8 +7210,8 @@
[[package]]
name = "polkadot-core-primitives"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"parity-scale-codec 3.1.2",
"parity-util-mem",
@@ -7251,8 +7223,8 @@
[[package]]
name = "polkadot-dispute-distribution"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"derive_more",
"fatality",
@@ -7274,8 +7246,8 @@
[[package]]
name = "polkadot-erasure-coding"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"parity-scale-codec 3.1.2",
"polkadot-node-primitives",
@@ -7288,8 +7260,8 @@
[[package]]
name = "polkadot-gossip-support"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -7308,8 +7280,8 @@
[[package]]
name = "polkadot-network-bridge"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"always-assert",
"async-trait",
@@ -7329,8 +7301,8 @@
[[package]]
name = "polkadot-node-collation-generation"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"parity-scale-codec 3.1.2",
@@ -7347,8 +7319,8 @@
[[package]]
name = "polkadot-node-core-approval-voting"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitvec 1.0.0",
"derive_more",
@@ -7376,8 +7348,8 @@
[[package]]
name = "polkadot-node-core-av-store"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitvec 1.0.0",
"futures 0.3.21",
@@ -7396,8 +7368,8 @@
[[package]]
name = "polkadot-node-core-backing"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitvec 1.0.0",
"fatality",
@@ -7415,8 +7387,8 @@
[[package]]
name = "polkadot-node-core-bitfield-signing"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"polkadot-node-subsystem",
@@ -7430,8 +7402,8 @@
[[package]]
name = "polkadot-node-core-candidate-validation"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7448,8 +7420,8 @@
[[package]]
name = "polkadot-node-core-chain-api"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"polkadot-node-subsystem",
@@ -7463,8 +7435,8 @@
[[package]]
name = "polkadot-node-core-chain-selection"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -7480,8 +7452,8 @@
[[package]]
name = "polkadot-node-core-dispute-coordinator"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"fatality",
"futures 0.3.21",
@@ -7499,8 +7471,8 @@
[[package]]
name = "polkadot-node-core-parachains-inherent"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -7516,8 +7488,8 @@
[[package]]
name = "polkadot-node-core-provisioner"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitvec 1.0.0",
"fatality",
@@ -7534,8 +7506,8 @@
[[package]]
name = "polkadot-node-core-pvf"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"always-assert",
"assert_matches",
@@ -7559,13 +7531,14 @@
"sp-maybe-compressed-blob",
"sp-tracing",
"sp-wasm-interface",
+ "tempfile",
"tracing-gum",
]
[[package]]
name = "polkadot-node-core-pvf-checker"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"polkadot-node-primitives",
@@ -7580,8 +7553,8 @@
[[package]]
name = "polkadot-node-core-runtime-api"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"memory-lru",
@@ -7592,14 +7565,13 @@
"sp-api",
"sp-authority-discovery",
"sp-consensus-babe",
- "sp-core",
"tracing-gum",
]
[[package]]
name = "polkadot-node-jaeger"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"async-std",
"lazy_static",
@@ -7616,16 +7588,16 @@
[[package]]
name = "polkadot-node-metrics"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bs58",
"futures 0.3.21",
"futures-timer",
"log",
- "metered-channel",
"parity-scale-codec 3.1.2",
"polkadot-primitives",
+ "prioritized-metered-channel",
"sc-cli",
"sc-service",
"sc-tracing",
@@ -7635,8 +7607,8 @@
[[package]]
name = "polkadot-node-network-protocol"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"async-trait",
"derive_more",
@@ -7651,12 +7623,13 @@
"sc-network",
"strum 0.24.0",
"thiserror",
+ "tracing-gum",
]
[[package]]
name = "polkadot-node-primitives"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bounded-vec",
"futures 0.3.21",
@@ -7677,8 +7650,8 @@
[[package]]
name = "polkadot-node-subsystem"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"polkadot-node-jaeger",
"polkadot-node-subsystem-types",
@@ -7687,15 +7660,15 @@
[[package]]
name = "polkadot-node-subsystem-types"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"derive_more",
"futures 0.3.21",
+ "orchestra",
"polkadot-node-jaeger",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
- "polkadot-overseer-gen",
"polkadot-primitives",
"polkadot-statement-table",
"sc-network",
@@ -7706,8 +7679,8 @@
[[package]]
name = "polkadot-node-subsystem-util"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"async-trait",
"derive_more",
@@ -7716,7 +7689,6 @@
"itertools",
"kvdb",
"lru 0.7.6",
- "metered-channel",
"parity-db",
"parity-scale-codec 3.1.2",
"parity-util-mem",
@@ -7729,6 +7701,7 @@
"polkadot-node-subsystem",
"polkadot-overseer",
"polkadot-primitives",
+ "prioritized-metered-channel",
"rand 0.8.5",
"sp-application-crypto",
"sp-core",
@@ -7739,58 +7712,30 @@
[[package]]
name = "polkadot-overseer"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"futures 0.3.21",
"futures-timer",
"lru 0.7.6",
+ "orchestra",
"parity-util-mem",
"parking_lot 0.12.1",
"polkadot-node-metrics",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem-types",
- "polkadot-overseer-gen",
"polkadot-primitives",
"sc-client-api",
"sp-api",
- "tracing-gum",
-]
-
-[[package]]
-name = "polkadot-overseer-gen"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
-dependencies = [
- "async-trait",
- "futures 0.3.21",
- "futures-timer",
- "metered-channel",
- "pin-project 1.0.10",
- "polkadot-node-network-protocol",
- "polkadot-node-primitives",
- "polkadot-overseer-gen-proc-macro",
- "thiserror",
+ "sp-core",
"tracing-gum",
-]
-
-[[package]]
-name = "polkadot-overseer-gen-proc-macro"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
-dependencies = [
- "expander 0.0.6",
- "proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn",
]
[[package]]
name = "polkadot-parachain"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"derive_more",
"frame-support",
@@ -7806,8 +7751,8 @@
[[package]]
name = "polkadot-performance-test"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"env_logger",
"kusama-runtime",
@@ -7821,8 +7766,8 @@
[[package]]
name = "polkadot-primitives"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitvec 1.0.0",
"frame-system",
@@ -7851,8 +7796,8 @@
[[package]]
name = "polkadot-rpc"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-gadget",
"beefy-gadget-rpc",
@@ -7883,8 +7828,8 @@
[[package]]
name = "polkadot-runtime"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-primitives",
"bitvec 1.0.0",
@@ -7969,8 +7914,8 @@
[[package]]
name = "polkadot-runtime-common"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-primitives",
"bitvec 1.0.0",
@@ -8016,8 +7961,8 @@
[[package]]
name = "polkadot-runtime-constants"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -8028,8 +7973,8 @@
[[package]]
name = "polkadot-runtime-metrics"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bs58",
"parity-scale-codec 3.1.2",
@@ -8040,8 +7985,8 @@
[[package]]
name = "polkadot-runtime-parachains"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"bitflags",
"bitvec 1.0.0",
@@ -8083,8 +8028,8 @@
[[package]]
name = "polkadot-service"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"async-trait",
"beefy-gadget",
@@ -8126,6 +8071,7 @@
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem",
+ "polkadot-node-subsystem-types",
"polkadot-node-subsystem-util",
"polkadot-overseer",
"polkadot-parachain",
@@ -8185,8 +8131,8 @@
[[package]]
name = "polkadot-statement-distribution"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"arrayvec 0.5.2",
"fatality",
@@ -8206,8 +8152,8 @@
[[package]]
name = "polkadot-statement-table"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"parity-scale-codec 3.1.2",
"polkadot-primitives",
@@ -8216,8 +8162,8 @@
[[package]]
name = "polkadot-test-runtime"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-primitives",
"bitvec 1.0.0",
@@ -8278,8 +8224,8 @@
[[package]]
name = "polkadot-test-service"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-benchmarking",
"frame-system",
@@ -8326,7 +8272,7 @@
"substrate-test-client",
"tempfile",
"test-runtime-constants",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tracing-gum",
]
@@ -8371,20 +8317,6 @@
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872"
-
-[[package]]
-name = "prettytable-rs"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e"
-dependencies = [
- "atty",
- "csv",
- "encode_unicode",
- "lazy_static",
- "term",
- "unicode-width",
-]
[[package]]
name = "primitive-types"
@@ -8401,6 +8333,21 @@
]
[[package]]
+name = "prioritized-metered-channel"
+version = "0.2.0"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
+dependencies = [
+ "coarsetime",
+ "crossbeam-queue",
+ "derive_more",
+ "futures 0.3.21",
+ "futures-timer",
+ "nanorand",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
name = "proc-macro-crate"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8487,10 +8434,20 @@
checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001"
dependencies = [
"bytes 1.1.0",
- "prost-derive",
+ "prost-derive 0.9.0",
]
[[package]]
+name = "prost"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e"
+dependencies = [
+ "bytes 1.1.0",
+ "prost-derive 0.10.1",
+]
+
+[[package]]
name = "prost-build"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8503,7 +8460,7 @@
"log",
"multimap",
"petgraph",
- "prost",
+ "prost 0.9.0",
"prost-types",
"regex",
"tempfile",
@@ -8524,13 +8481,26 @@
]
[[package]]
+name = "prost-derive"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc"
+dependencies = [
+ "anyhow",
+ "itertools",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "prost-types"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a"
dependencies = [
"bytes 1.1.0",
- "prost",
+ "prost 0.9.0",
]
[[package]]
@@ -8791,28 +8761,11 @@
[[package]]
name = "redox_syscall"
-version = "0.1.57"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
-
-[[package]]
-name = "redox_syscall"
version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42"
dependencies = [
"bitflags",
-]
-
-[[package]]
-name = "redox_users"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
-dependencies = [
- "getrandom 0.1.16",
- "redox_syscall 0.1.57",
- "rust-argon2",
]
[[package]]
@@ -8822,7 +8775,7 @@
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
dependencies = [
"getrandom 0.2.6",
- "redox_syscall 0.2.13",
+ "redox_syscall",
"thiserror",
]
@@ -8911,7 +8864,7 @@
[[package]]
name = "remote-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"env_logger",
"jsonrpsee",
@@ -9031,8 +8984,8 @@
[[package]]
name = "rococo-runtime"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-merkle-tree",
"beefy-primitives",
@@ -9108,8 +9061,8 @@
[[package]]
name = "rococo-runtime-constants"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -9144,18 +9097,6 @@
]
[[package]]
-name = "rust-argon2"
-version = "0.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
-dependencies = [
- "base64",
- "blake2b_simd 0.5.11",
- "constant_time_eq",
- "crossbeam-utils",
-]
-
-[[package]]
name = "rustc-demangle"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -9188,7 +9129,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
- "semver 1.0.9",
+ "semver 1.0.10",
]
[[package]]
@@ -9203,19 +9144,6 @@
"libc",
"linux-raw-sys",
"winapi",
-]
-
-[[package]]
-name = "rustls"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7"
-dependencies = [
- "base64",
- "log",
- "ring",
- "sct 0.6.1",
- "webpki 0.21.4",
]
[[package]]
@@ -9226,20 +9154,8 @@
dependencies = [
"log",
"ring",
- "sct 0.7.0",
- "webpki 0.22.0",
-]
-
-[[package]]
-name = "rustls-native-certs"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
-dependencies = [
- "openssl-probe",
- "rustls 0.19.1",
- "schannel",
- "security-framework",
+ "sct",
+ "webpki",
]
[[package]]
@@ -9316,7 +9232,7 @@
[[package]]
name = "sc-allocator"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"sp-core",
@@ -9327,7 +9243,7 @@
[[package]]
name = "sc-authority-discovery"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9336,7 +9252,7 @@
"libp2p",
"log",
"parity-scale-codec 3.1.2",
- "prost",
+ "prost 0.10.4",
"prost-build",
"rand 0.7.3",
"sc-client-api",
@@ -9354,7 +9270,7 @@
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -9377,7 +9293,7 @@
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"sc-client-api",
@@ -9393,10 +9309,10 @@
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"impl-trait-for-tuples",
- "memmap2 0.5.3",
+ "memmap2 0.5.4",
"parity-scale-codec 3.1.2",
"sc-chain-spec-derive",
"sc-network",
@@ -9410,7 +9326,7 @@
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -9421,7 +9337,7 @@
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"chrono",
"clap",
@@ -9454,13 +9370,13 @@
"sp-version",
"thiserror",
"tiny-bip39",
- "tokio 1.18.2",
+ "tokio 1.19.2",
]
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"fnv",
"futures 0.3.21",
@@ -9488,7 +9404,7 @@
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"hash-db",
"kvdb",
@@ -9513,7 +9429,7 @@
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9537,7 +9453,7 @@
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9566,7 +9482,7 @@
[[package]]
name = "sc-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"fork-tree",
@@ -9609,7 +9525,7 @@
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"jsonrpsee",
@@ -9631,7 +9547,7 @@
[[package]]
name = "sc-consensus-epochs"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"fork-tree",
"parity-scale-codec 3.1.2",
@@ -9644,7 +9560,7 @@
[[package]]
name = "sc-consensus-manual-seal"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"assert_matches",
"async-trait",
@@ -9678,7 +9594,7 @@
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -9703,7 +9619,7 @@
[[package]]
name = "sc-consensus-uncles"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"sc-client-api",
"sp-authorship",
@@ -9714,7 +9630,7 @@
[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"lazy_static",
"lru 0.7.6",
@@ -9741,7 +9657,7 @@
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"environmental",
"parity-scale-codec 3.1.2",
@@ -9758,7 +9674,7 @@
[[package]]
name = "sc-executor-wasmi"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"parity-scale-codec 3.1.2",
@@ -9773,7 +9689,7 @@
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"cfg-if 1.0.0",
"libc",
@@ -9791,7 +9707,7 @@
[[package]]
name = "sc-finality-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"ahash",
"async-trait",
@@ -9831,7 +9747,7 @@
[[package]]
name = "sc-finality-grandpa-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"finality-grandpa",
"futures 0.3.21",
@@ -9852,7 +9768,7 @@
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"ansi_term",
"futures 0.3.21",
@@ -9869,7 +9785,7 @@
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"hex",
@@ -9884,7 +9800,7 @@
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"asynchronous-codec",
@@ -9906,13 +9822,14 @@
"parity-scale-codec 3.1.2",
"parking_lot 0.12.1",
"pin-project 1.0.10",
- "prost",
+ "prost 0.10.4",
"prost-build",
"rand 0.7.3",
"sc-block-builder",
"sc-client-api",
"sc-consensus",
"sc-network-common",
+ "sc-network-light",
"sc-network-sync",
"sc-peerset",
"sc-utils",
@@ -9935,7 +9852,7 @@
[[package]]
name = "sc-network-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"libp2p",
@@ -9948,7 +9865,7 @@
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"ahash",
"futures 0.3.21",
@@ -9963,9 +9880,29 @@
]
[[package]]
+name = "sc-network-light"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
+dependencies = [
+ "futures 0.3.21",
+ "libp2p",
+ "log",
+ "parity-scale-codec 3.1.2",
+ "prost 0.10.4",
+ "prost-build",
+ "sc-client-api",
+ "sc-network-common",
+ "sc-peerset",
+ "sp-blockchain",
+ "sp-core",
+ "sp-runtime",
+ "thiserror",
+]
+
+[[package]]
name = "sc-network-sync"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"bitflags",
"either",
@@ -9975,7 +9912,7 @@
"log",
"lru 0.7.6",
"parity-scale-codec 3.1.2",
- "prost",
+ "prost 0.10.4",
"prost-build",
"sc-client-api",
"sc-consensus",
@@ -9994,7 +9931,7 @@
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"bytes 1.1.0",
"fnv",
@@ -10022,7 +9959,7 @@
[[package]]
name = "sc-peerset"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"libp2p",
@@ -10035,7 +9972,7 @@
[[package]]
name = "sc-proposer-metrics"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -10044,7 +9981,7 @@
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"hash-db",
@@ -10074,7 +10011,7 @@
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"jsonrpsee",
@@ -10097,20 +10034,20 @@
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"jsonrpsee",
"log",
"serde_json",
"substrate-prometheus-endpoint",
- "tokio 1.18.2",
+ "tokio 1.19.2",
]
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"directories",
@@ -10167,7 +10104,7 @@
"substrate-prometheus-endpoint",
"tempfile",
"thiserror",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tracing",
"tracing-futures",
]
@@ -10175,7 +10112,7 @@
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"parity-scale-codec 3.1.2",
@@ -10189,7 +10126,7 @@
[[package]]
name = "sc-sync-state-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"jsonrpsee",
"parity-scale-codec 3.1.2",
@@ -10208,7 +10145,7 @@
[[package]]
name = "sc-sysinfo"
version = "6.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"libc",
@@ -10227,7 +10164,7 @@
[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"chrono",
"futures 0.3.21",
@@ -10245,7 +10182,7 @@
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"ansi_term",
"atty",
@@ -10276,7 +10213,7 @@
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -10287,7 +10224,7 @@
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -10314,7 +10251,7 @@
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"log",
@@ -10327,7 +10264,7 @@
[[package]]
name = "sc-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"futures-timer",
@@ -10399,16 +10336,6 @@
[[package]]
name = "sct"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
-dependencies = [
- "ring",
- "untrusted",
-]
-
-[[package]]
-name = "sct"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
@@ -10499,9 +10426,9 @@
[[package]]
name = "semver"
-version = "1.0.9"
+version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd"
+checksum = "a41d061efea015927ac527063765e73601444cdc344ba855bc7bd44578b25e1c"
dependencies = [
"serde",
]
@@ -10699,8 +10626,8 @@
[[package]]
name = "slot-range-helper"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"enumn",
"parity-scale-codec 3.1.2",
@@ -10776,7 +10703,7 @@
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"hash-db",
"log",
@@ -10793,7 +10720,7 @@
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"blake2",
"proc-macro-crate",
@@ -10805,7 +10732,7 @@
[[package]]
name = "sp-application-crypto"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -10818,7 +10745,7 @@
[[package]]
name = "sp-arithmetic"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"integer-sqrt",
"num-traits",
@@ -10833,7 +10760,7 @@
[[package]]
name = "sp-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -10846,7 +10773,7 @@
[[package]]
name = "sp-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"parity-scale-codec 3.1.2",
@@ -10858,7 +10785,7 @@
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"sp-api",
@@ -10870,7 +10797,7 @@
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"log",
@@ -10888,7 +10815,7 @@
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -10907,7 +10834,7 @@
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"parity-scale-codec 3.1.2",
@@ -10925,7 +10852,7 @@
[[package]]
name = "sp-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"merlin",
@@ -10948,7 +10875,7 @@
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -10962,7 +10889,7 @@
[[package]]
name = "sp-consensus-vrf"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -10975,7 +10902,7 @@
[[package]]
name = "sp-core"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"base58",
"bitflags",
@@ -11021,7 +10948,7 @@
[[package]]
name = "sp-core-hashing"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"blake2",
"byteorder",
@@ -11035,7 +10962,7 @@
[[package]]
name = "sp-core-hashing-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro2",
"quote",
@@ -11046,7 +10973,7 @@
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"kvdb",
"parking_lot 0.12.1",
@@ -11055,7 +10982,7 @@
[[package]]
name = "sp-debug-derive"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro2",
"quote",
@@ -11065,7 +10992,7 @@
[[package]]
name = "sp-externalities"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"environmental",
"parity-scale-codec 3.1.2",
@@ -11076,7 +11003,7 @@
[[package]]
name = "sp-finality-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"finality-grandpa",
"log",
@@ -11094,7 +11021,7 @@
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
@@ -11108,7 +11035,7 @@
[[package]]
name = "sp-io"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"hash-db",
@@ -11133,7 +11060,7 @@
[[package]]
name = "sp-keyring"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"lazy_static",
"sp-core",
@@ -11144,7 +11071,7 @@
[[package]]
name = "sp-keystore"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -11161,7 +11088,7 @@
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"thiserror",
"zstd",
@@ -11170,7 +11097,7 @@
[[package]]
name = "sp-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"parity-scale-codec 3.1.2",
@@ -11185,7 +11112,7 @@
[[package]]
name = "sp-npos-elections"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -11199,7 +11126,7 @@
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"sp-api",
"sp-core",
@@ -11209,7 +11136,7 @@
[[package]]
name = "sp-panic-handler"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"backtrace",
"lazy_static",
@@ -11219,7 +11146,7 @@
[[package]]
name = "sp-rpc"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"rustc-hash",
"serde",
@@ -11229,7 +11156,7 @@
[[package]]
name = "sp-runtime"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"either",
"hash256-std-hasher",
@@ -11251,7 +11178,7 @@
[[package]]
name = "sp-runtime-interface"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec 3.1.2",
@@ -11268,7 +11195,7 @@
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"Inflector",
"proc-macro-crate",
@@ -11280,7 +11207,7 @@
[[package]]
name = "sp-sandbox"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"parity-scale-codec 3.1.2",
@@ -11294,7 +11221,7 @@
[[package]]
name = "sp-serializer"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"serde",
"serde_json",
@@ -11303,7 +11230,7 @@
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -11317,7 +11244,7 @@
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"scale-info",
@@ -11328,7 +11255,7 @@
[[package]]
name = "sp-state-machine"
version = "0.12.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"hash-db",
"log",
@@ -11350,12 +11277,12 @@
[[package]]
name = "sp-std"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
[[package]]
name = "sp-storage"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"impl-serde",
"parity-scale-codec 3.1.2",
@@ -11368,7 +11295,7 @@
[[package]]
name = "sp-tasks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"log",
"sp-core",
@@ -11381,7 +11308,7 @@
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures-timer",
@@ -11397,7 +11324,7 @@
[[package]]
name = "sp-tracing"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"sp-std",
@@ -11409,7 +11336,7 @@
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"sp-api",
"sp-runtime",
@@ -11418,7 +11345,7 @@
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"log",
@@ -11434,7 +11361,7 @@
[[package]]
name = "sp-trie"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"hash-db",
"memory-db",
@@ -11450,7 +11377,7 @@
[[package]]
name = "sp-version"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"impl-serde",
"parity-scale-codec 3.1.2",
@@ -11467,7 +11394,7 @@
[[package]]
name = "sp-version-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"parity-scale-codec 3.1.2",
"proc-macro2",
@@ -11478,7 +11405,7 @@
[[package]]
name = "sp-wasm-interface"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"impl-trait-for-tuples",
"log",
@@ -11633,7 +11560,7 @@
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"platforms",
]
@@ -11641,7 +11568,7 @@
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"frame-system-rpc-runtime-api",
"futures 0.3.21",
@@ -11662,20 +11589,20 @@
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures-util",
"hyper",
"log",
"prometheus",
"thiserror",
- "tokio 1.18.2",
+ "tokio 1.19.2",
]
[[package]]
name = "substrate-state-trie-migration-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"jsonrpsee",
"log",
@@ -11696,7 +11623,7 @@
[[package]]
name = "substrate-test-client"
version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"async-trait",
"futures 0.3.21",
@@ -11722,17 +11649,17 @@
[[package]]
name = "substrate-test-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"futures 0.3.21",
"substrate-test-utils-derive",
- "tokio 1.18.2",
+ "tokio 1.19.2",
]
[[package]]
name = "substrate-test-utils-derive"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"proc-macro-crate",
"proc-macro2",
@@ -11743,7 +11670,7 @@
[[package]]
name = "substrate-wasm-builder"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"ansi_term",
"build-helper",
@@ -11827,23 +11754,12 @@
"cfg-if 1.0.0",
"fastrand",
"libc",
- "redox_syscall 0.2.13",
+ "redox_syscall",
"remove_dir_all",
"winapi",
]
[[package]]
-name = "term"
-version = "0.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
-dependencies = [
- "byteorder",
- "dirs",
- "winapi",
-]
-
-[[package]]
name = "termcolor"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -11854,8 +11770,8 @@
[[package]]
name = "test-runtime-constants"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -12035,9 +11951,9 @@
[[package]]
name = "tokio"
-version = "1.18.2"
+version = "1.19.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395"
+checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439"
dependencies = [
"bytes 1.1.0",
"libc",
@@ -12049,7 +11965,7 @@
"pin-project-lite 0.2.9",
"signal-hook-registry",
"socket2",
- "tokio-macros 1.7.0",
+ "tokio-macros 1.8.0",
"winapi",
]
@@ -12066,9 +11982,9 @@
[[package]]
name = "tokio-macros"
-version = "1.7.0"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b557f72f448c511a979e2564e55d74e6c4432fc96ff4f6241bc6bded342643b7"
+checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484"
dependencies = [
"proc-macro2",
"quote",
@@ -12077,38 +11993,27 @@
[[package]]
name = "tokio-rustls"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
-dependencies = [
- "rustls 0.19.1",
- "tokio 1.18.2",
- "webpki 0.21.4",
-]
-
-[[package]]
-name = "tokio-rustls"
version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
dependencies = [
- "rustls 0.20.6",
- "tokio 1.18.2",
- "webpki 0.22.0",
+ "rustls",
+ "tokio 1.19.2",
+ "webpki",
]
[[package]]
name = "tokio-util"
-version = "0.7.2"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f988a1a1adc2fb21f9c12aa96441da33a1728193ae0b95d2be22dbd17fcb4e5c"
+checksum = "cc463cd8deddc3770d20f9852143d50bf6094e640b485cb2e189a2099085ff45"
dependencies = [
"bytes 1.1.0",
"futures-core",
"futures-io",
"futures-sink",
"pin-project-lite 0.2.9",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"tracing",
]
@@ -12129,9 +12034,9 @@
[[package]]
name = "tracing"
-version = "0.1.34"
+version = "0.1.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d0ecdcb44a79f0fe9844f0c4f33a342cbcbb5117de8001e6ba0dc2351327d09"
+checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160"
dependencies = [
"cfg-if 1.0.0",
"pin-project-lite 0.2.9",
@@ -12152,11 +12057,11 @@
[[package]]
name = "tracing-core"
-version = "0.1.26"
+version = "0.1.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f54c8ca710e81886d498c2fd3331b56c93aa248d49de2222ad2742247c60072f"
+checksum = "7709595b8878a4965ce5e87ebf880a7d39c9afc6837721b21a5a816a8117d921"
dependencies = [
- "lazy_static",
+ "once_cell",
"valuable",
]
@@ -12172,8 +12077,8 @@
[[package]]
name = "tracing-gum"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"polkadot-node-jaeger",
"polkadot-primitives",
@@ -12183,8 +12088,8 @@
[[package]]
name = "tracing-gum-proc-macro"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"expander 0.0.6",
"proc-macro-crate",
@@ -12323,7 +12228,7 @@
[[package]]
name = "try-runtime-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.22#616d33ea23bab86cafffaf116fc607b6790fb4eb"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.23#6cbe1772bf258793fa9845daa8f43ea0cadee596"
dependencies = [
"clap",
"jsonrpsee",
@@ -12534,7 +12439,7 @@
"substrate-build-script-utils",
"substrate-frame-rpc-system",
"substrate-prometheus-endpoint",
- "tokio 1.18.2",
+ "tokio 1.19.2",
"try-runtime-cli",
"unique-rpc",
"unique-runtime",
@@ -12762,7 +12667,7 @@
[[package]]
name = "up-sponsorship"
version = "0.1.0"
-source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.22#9fc4fbc3f83fdc793205f3fef1c97ef168d4dfe0"
+source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.23#5f3b55354830f9707d6632aaa54362deea981116"
dependencies = [
"impl-trait-for-tuples",
]
@@ -13134,6 +13039,7 @@
"libc",
"log",
"mach",
+ "memfd",
"memoffset",
"more-asserts",
"rand 0.8.5",
@@ -13169,16 +13075,6 @@
[[package]]
name = "webpki"
-version = "0.21.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
-dependencies = [
- "ring",
- "untrusted",
-]
-
-[[package]]
-name = "webpki"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
@@ -13193,7 +13089,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44d8de8415c823c8abd270ad483c6feeac771fad964890779f9a8cb24fbbc1bf"
dependencies = [
- "webpki 0.22.0",
+ "webpki",
]
[[package]]
@@ -13207,8 +13103,8 @@
[[package]]
name = "westend-runtime"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"beefy-primitives",
"bitvec 1.0.0",
@@ -13296,8 +13192,8 @@
[[package]]
name = "westend-runtime-constants"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"polkadot-primitives",
@@ -13477,8 +13373,8 @@
[[package]]
name = "xcm"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"derivative",
"impl-trait-for-tuples",
@@ -13490,8 +13386,8 @@
[[package]]
name = "xcm-builder"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-support",
"frame-system",
@@ -13510,8 +13406,8 @@
[[package]]
name = "xcm-executor"
-version = "0.9.22"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+version = "0.9.23"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -13529,7 +13425,7 @@
[[package]]
name = "xcm-procedural"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b9594aedbfc644d7e6e26f7bd244e68ccf4d"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.23#a7e188cd9665c735f4b9d5a58cdbc4dd1850eae0"
dependencies = [
"Inflector",
"proc-macro2",
Dockerfile-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.22
+ARG POLKA_VERSION=release-v0.9.23
ARG UNIQUE_BRANCH=develop
#ARG USER=***
README.mddiffbeforeafterboth--- a/README.md
+++ b/README.md
@@ -91,7 +91,7 @@
```
git clone https://github.com/paritytech/polkadot.git
cd polkadot
-git checkout release-v0.9.22
+git checkout release-v0.9.23
cargo build --release
```
client/rpc/Cargo.tomldiffbeforeafterboth--- a/client/rpc/Cargo.toml
+++ b/client/rpc/Cargo.toml
@@ -14,9 +14,9 @@
jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }
anyhow = "1.0.57"
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-blockchain = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-rpc = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
crates/evm-coder/Cargo.tomldiffbeforeafterboth--- a/crates/evm-coder/Cargo.toml
+++ b/crates/evm-coder/Cargo.toml
@@ -9,7 +9,7 @@
primitive-types = { version = "0.11.1", default-features = false }
hex-literal = "0.3.3"
ethereum = { version = "0.12.0", default-features = false }
-evm-core = { default-features = false , git = "https://github.com/uniquenetwork/evm", branch = "unique-polkadot-v0.9.22" }
+evm-core = { default-features = false , git = "https://github.com/uniquenetwork/evm", branch = "unique-polkadot-v0.9.23" }
impl-trait-for-tuples = "0.2.1"
[dev-dependencies]
crates/evm-coder/tests/generics.rsdiffbeforeafterboth--- a/crates/evm-coder/tests/generics.rs
+++ b/crates/evm-coder/tests/generics.rs
@@ -41,7 +41,7 @@
T: core::fmt::Debug,
{
fn test_3(&self) -> Result<uint256> {
- todo!()
+ unreachable!()
}
}
node/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.22"
+branch = "polkadot-v0.9.23"
################################################################################
# Substrate Dependecies
@@ -16,158 +16,158 @@
[dependencies.frame-benchmarking]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-benchmarking-cli]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.try-runtime-cli]
git = 'https://github.com/paritytech/substrate'
-branch = 'polkadot-v0.9.22'
+branch = 'polkadot-v0.9.23'
[dependencies.pallet-transaction-payment-rpc]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.substrate-prometheus-endpoint]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-basic-authorship]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-chain-spec]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-cli]
features = ['wasmtime']
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-client-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-consensus]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-consensus-aura]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-executor]
features = ['wasmtime']
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-finality-grandpa]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-keystore]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-rpc]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-rpc-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-service]
features = ['wasmtime']
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-telemetry]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-transaction-pool]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-tracing]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-sysinfo]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-block-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-blockchain]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-consensus]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-consensus-aura]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-core]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-finality-grandpa]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-inherents]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-keystore]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-offchain]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-runtime]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-session]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-timestamp]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-transaction-pool]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-trie]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.substrate-frame-rpc-system]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sc-network]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.serde]
features = ['derive']
@@ -178,76 +178,76 @@
[dependencies.sc-consensus-manual-seal]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
################################################################################
# Cumulus dependencies
[dependencies.cumulus-client-consensus-aura]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-client-consensus-common]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-client-collator]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-client-cli]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-client-network]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-primitives-parachain-inherent]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-client-service]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-relay-chain-interface]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-relay-chain-inprocess-interface]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-relay-chain-rpc-interface]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
################################################################################
# Polkadot dependencies
[dependencies.polkadot-primitives]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
[dependencies.polkadot-service]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
[dependencies.polkadot-cli]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
[dependencies.polkadot-test-service]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
################################################################################
@@ -277,7 +277,7 @@
[dependencies.pallet-transaction-payment-rpc-runtime-api]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
################################################################################
# Package
@@ -309,13 +309,13 @@
jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }
tokio = { version = "1.17.0", features = ["time"] }
-fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-consensus = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-db = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-rpc = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
unique-rpc = { default-features = false, path = "../rpc" }
rmrk-rpc = { path = "../../primitives/rmrk-rpc" }
node/cli/src/command.rsdiffbeforeafterboth--- a/node/cli/src/command.rs
+++ b/node/cli/src/command.rs
@@ -51,7 +51,6 @@
use cumulus_client_service::genesis::generate_genesis_block;
use std::{future::Future, pin::Pin};
use log::info;
-use polkadot_parachain::primitives::AccountIdConversion;
use sc_cli::{
ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,
NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli,
@@ -60,7 +59,7 @@
config::{BasePath, PrometheusConfig},
};
use sp_core::hexdisplay::HexDisplay;
-use sp_runtime::traits::Block as BlockT;
+use sp_runtime::traits::{AccountIdConversion, Block as BlockT};
use std::{io::Write, net::SocketAddr, time::Duration};
use unique_runtime_common::types::Block;
node/rpc/Cargo.tomldiffbeforeafterboth--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -13,40 +13,40 @@
futures = { version = "0.3.17", features = ["compat"] }
jsonrpsee = { version = "0.13.0", features = ["server", "macros"] }
# 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.22" }
-pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-consensus-epochs = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-storage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
tokio = { version = "0.2.25", features = ["macros", "sync"] }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-storage = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
pallet-common = { default-features = false, path = "../../pallets/common" }
unique-runtime-common = { default-features = false, path = "../../runtime/common" }
node/rpc/src/lib.rsdiffbeforeafterboth--- a/node/rpc/src/lib.rs
+++ b/node/rpc/src/lib.rs
@@ -171,8 +171,8 @@
};
use uc_rpc::{UniqueApiServer, Unique, RmrkApiServer, Rmrk};
// use pallet_contracts_rpc::{Contracts, ContractsApi};
- use pallet_transaction_payment_rpc::{TransactionPaymentRpc, TransactionPaymentApiServer};
- use substrate_frame_rpc_system::{SystemRpc, SystemApiServer};
+ use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer};
+ use substrate_frame_rpc_system::{System, SystemApiServer};
let mut io = RpcModule::new(());
let FullDeps {
@@ -192,8 +192,8 @@
max_past_logs,
} = deps;
- io.merge(SystemRpc::new(Arc::clone(&client), Arc::clone(&pool), deny_unsafe).into_rpc())?;
- io.merge(TransactionPaymentRpc::new(Arc::clone(&client)).into_rpc())?;
+ io.merge(System::new(Arc::clone(&client), Arc::clone(&pool), deny_unsafe).into_rpc())?;
+ io.merge(TransactionPayment::new(Arc::clone(&client)).into_rpc())?;
// io.extend_with(ContractsApi::to_delegate(Contracts::new(client.clone())));
pallets/common/Cargo.tomldiffbeforeafterboth--- a/pallets/common/Cargo.toml
+++ b/pallets/common/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.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
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' }
ethereum = { version = "0.12.0", default-features = false }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
serde = { version = "1.0.130", default-features = false }
scale-info = { version = "2.0.1", default-features = false, features = [
pallets/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.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
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.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
up-data-structs = { default-features = false, path = "../../primitives/data-structs" }
[dependencies.codec]
pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -11,16 +11,16 @@
log = { default-features = false, version = "0.4.14" }
# Substrate
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
# Unique
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23" }
# Locals
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallets/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.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
[dependencies.codec]
default-features = false
pallets/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.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
[dependencies.codec]
default-features = false
pallets/fungible/Cargo.tomldiffbeforeafterboth--- a/pallets/fungible/Cargo.toml
+++ b/pallets/fungible/Cargo.toml
@@ -11,19 +11,19 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
pallet-common = { default-features = false, path = '../common' }
pallet-structure = { default-features = false, path = '../structure' }
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.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
pallets/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.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[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.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies]
scale-info = { version = "2.0.1", default-features = false, features = [
pallets/nonfungible/Cargo.tomldiffbeforeafterboth--- a/pallets/nonfungible/Cargo.toml
+++ b/pallets/nonfungible/Cargo.toml
@@ -11,19 +11,19 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
pallet-common = { default-features = false, path = '../common' }
pallet-structure = { default-features = false, path = '../structure' }
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.22" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
pallets/proxy-rmrk-core/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-core/Cargo.toml
+++ b/pallets/proxy-rmrk-core/Cargo.toml
@@ -11,17 +11,17 @@
version = '3.1.2'
[dependencies]
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
pallet-common = { default-features = false, path = '../common' }
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
pallet-structure = { default-features = false, path = "../../pallets/structure" }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
derivative = { version = "2.2.0", features = ["use_core"] }
pallets/proxy-rmrk-equip/Cargo.tomldiffbeforeafterboth--- a/pallets/proxy-rmrk-equip/Cargo.toml
+++ b/pallets/proxy-rmrk-equip/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.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
pallet-common = { default-features = false, path = '../common' }
pallet-nonfungible = { default-features = false, path = "../../pallets/nonfungible" }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
rmrk-traits = { default-features = false, path = "../../primitives/rmrk-traits" }
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
pallet-rmrk-core = { default-features = false, path = "../proxy-rmrk-core" }
pallets/refungible/Cargo.tomldiffbeforeafterboth--- a/pallets/refungible/Cargo.toml
+++ b/pallets/refungible/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.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
pallet-common = { default-features = false, path = '../common' }
pallet-structure = { default-features = false, path = '../structure' }
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.22" }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
pallets/scheduler/Cargo.tomldiffbeforeafterboth--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -16,20 +16,20 @@
"derive",
] }
-frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.22' }
-frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-io = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.23' }
+frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
-up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.22" }
+up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.23" }
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.22" }
-substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
[features]
default = ["std"]
pallets/structure/Cargo.tomldiffbeforeafterboth--- a/pallets/structure/Cargo.toml
+++ b/pallets/structure/Cargo.toml
@@ -4,10 +4,10 @@
edition = "2021"
[dependencies]
-frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
pallet-common = { path = "../common", default-features = false }
parity-scale-codec = { version = "3.1.2", default-features = false, features = [
"derive",
@@ -16,7 +16,7 @@
"derive",
] }
up-data-structs = { path = "../../primitives/data-structs", default-features = false }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
[features]
default = ["std"]
pallets/unique/Cargo.tomldiffbeforeafterboth--- a/pallets/unique/Cargo.toml
+++ b/pallets/unique/Cargo.toml
@@ -59,37 +59,37 @@
default-features = false
optional = true
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
################################################################################
# Local Dependencies
@@ -98,7 +98,7 @@
scale-info = { version = "2.0.1", default-features = false, features = [
"derive",
] }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
pallet-common = { default-features = false, path = "../common" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
pallets/unique/src/lib.rsdiffbeforeafterboth--- a/pallets/unique/src/lib.rs
+++ b/pallets/unique/src/lib.rs
@@ -693,8 +693,6 @@
dispatch_tx::<T, _>(collection_id, |d| d.create_multiple_items_ex(sender, data, &budget))
}
- // TODO! transaction weight
-
/// Set transfers_enabled value for particular collection
///
/// # Permissions
primitives/data-structs/Cargo.tomldiffbeforeafterboth--- a/primitives/data-structs/Cargo.toml
+++ b/primitives/data-structs/Cargo.toml
@@ -18,14 +18,14 @@
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.22" }
-frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
+frame-support = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+frame-system = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
derivative = { version = "2.2.0", features = ["use_core"] }
struct-versioning = { path = "../../crates/struct-versioning" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
rmrk-traits = { default-features = false, path = "../rmrk-traits" }
[features]
primitives/rmrk-rpc/Cargo.tomldiffbeforeafterboth--- a/primitives/rmrk-rpc/Cargo.toml
+++ b/primitives/rmrk-rpc/Cargo.toml
@@ -6,10 +6,10 @@
[dependencies]
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
-sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-api = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
serde = { version = "1.0.130", default-features = false, features = ["derive"] }
rmrk-traits = { default-features = false, path = "../rmrk-traits" }
primitives/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.22" }
-sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.22" }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+sp-core = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-std = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+sp-runtime = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.23" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
[features]
default = ["std"]
runtime/common/Cargo.tomldiffbeforeafterboth--- a/runtime/common/Cargo.toml
+++ b/runtime/common/Cargo.toml
@@ -36,17 +36,17 @@
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate'
-branch = 'polkadot-v0.9.22'
+branch = 'polkadot-v0.9.23'
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.codec]
default-features = false
@@ -62,12 +62,12 @@
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-common]
default-features = false
@@ -96,16 +96,16 @@
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.fp-rpc]
default-features = false
git = "https://github.com/uniquenetwork/frontier"
-branch = "unique-polkadot-v0.9.22"
+branch = "unique-polkadot-v0.9.23"
[dependencies]
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
-up-sponsorship = { default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.22' }
+up-sponsorship = { default-features = false, git = "https://github.com/UniqueNetwork/pallet-sponsoring", branch = 'polkadot-v0.9.23' }
rmrk-rpc = { default-features = false, path = "../../primitives/rmrk-rpc" }
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -131,39 +131,39 @@
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-try-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate'
optional = true
-branch = 'polkadot-v0.9.22'
+branch = 'polkadot-v0.9.23'
[dependencies.frame-executive]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system-benchmarking]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.hex-literal]
optional = true
@@ -178,12 +178,12 @@
[dependencies.pallet-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
# Contracts specific packages
# [dependencies.pallet-contracts]
@@ -207,32 +207,32 @@
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-sudo]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-transaction-payment]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-treasury]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
# [dependencies.pallet-vesting]
# default-features = false
@@ -242,67 +242,67 @@
[dependencies.sp-arithmetic]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-block-builder]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-inherents]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-offchain]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-session]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-transaction-pool]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-version]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.smallvec]
version = '1.6.1'
@@ -313,46 +313,46 @@
[dependencies.parachain-info]
default-features = false
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-pallet-aura-ext]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-xcm]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-utility]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
################################################################################
@@ -360,32 +360,32 @@
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm-builder]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm-executor]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.pallet-xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.orml-vesting]
git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.22"
+branch = "unique-polkadot-v0.9.23"
version = "0.4.1-dev"
default-features = false
@@ -402,7 +402,7 @@
pallet-unique = { path = '../../pallets/unique', default-features = false }
up-rpc = { path = "../../primitives/rpc", default-features = false }
rmrk-rpc = { path = "../../primitives/rmrk-rpc", default-features = false }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
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" }
@@ -414,20 +414,20 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
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.22", 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.23", 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.22" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
################################################################################
# Build Dependencies
[build-dependencies.substrate-wasm-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
runtime/opal/src/lib.rsdiffbeforeafterboth1// 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;31use fp_self_contained::*;32// #[cfg(any(feature = "std", test))]33// pub use sp_runtime::BuildStorage;3435use sp_runtime::{36 Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys,37 traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member},38 transaction_validity::{TransactionSource, TransactionValidity},39 ApplyExtrinsicResult, RuntimeAppPublic,40};4142use sp_std::prelude::*;4344#[cfg(feature = "std")]45use sp_version::NativeVersion;46use sp_version::RuntimeVersion;47pub use pallet_transaction_payment::{48 Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,49};50// A few exports that help ease life for downstream crates.51pub use pallet_balances::Call as BalancesCall;52pub use pallet_evm::{53 EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,54 OnMethodCall, Account as EVMAccount, FeeCalculator, GasWeightMapping,55};56pub use frame_support::{57 construct_runtime, match_types,58 dispatch::DispatchResult,59 PalletId, parameter_types, StorageValue, ConsensusEngineId,60 traits::{61 tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,62 Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,63 OnUnbalanced, Randomness, FindAuthor, ConstU32, Imbalance, PrivilegeCmp,64 },65 weights::{66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,69 },70};71use pallet_unq_scheduler::DispatchCall;72use up_data_structs::{73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,74 CollectionStats, RpcCollection,75 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},76 TokenChild, RmrkCollectionInfo, RmrkInstanceInfo, RmrkResourceInfo, RmrkPropertyInfo,77 RmrkBaseInfo, RmrkPartType, RmrkTheme, RmrkThemeName, RmrkThemeProperty, RmrkCollectionId,78 RmrkNftId, RmrkAccountIdOrCollectionNftTuple, RmrkNftChild, RmrkPropertyKey, RmrkResourceTypes,79 RmrkBasicResource, RmrkComposableResource, RmrkSlotResource, RmrkResourceId, RmrkBaseId,80 RmrkFixedPart, RmrkSlotPart, RmrkString,81};8283// use pallet_contracts::weights::WeightInfo;84// #[cfg(any(feature = "std", test))]85use frame_system::{86 self as frame_system, EnsureRoot, EnsureSigned,87 limits::{BlockWeights, BlockLength},88};89use sp_arithmetic::{90 traits::{BaseArithmetic, Unsigned},91};92use smallvec::smallvec;93// use scale_info::TypeInfo;94use codec::{Encode, Decode};95use fp_rpc::TransactionStatus;96use sp_runtime::{97 traits::{98 Applyable, BlockNumberProvider, Dispatchable, PostDispatchInfoOf, DispatchInfoOf,99 Saturating, CheckedConversion,100 },101 generic::Era,102 transaction_validity::TransactionValidityError,103 DispatchErrorWithPostInfo, SaturatedConversion,104};105106// pub use pallet_timestamp::Call as TimestampCall;107pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;108109// Polkadot imports110use pallet_xcm::XcmPassthrough;111use polkadot_parachain::primitives::Sibling;112use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};113use xcm_builder::{114 AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,115 EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,116 RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,117 SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,118 ParentIsPreset,119};120use xcm_executor::{Config, XcmExecutor, Assets};121use sp_std::{cmp::Ordering, marker::PhantomData};122123use xcm::latest::{124 // Xcm,125 AssetId::{Concrete},126 Fungibility::Fungible as XcmFungible,127 MultiAsset,128 Error as XcmError,129};130use xcm_executor::traits::{MatchesFungible, WeightTrader};131//use xcm_executor::traits::MatchesFungible;132133use unique_runtime_common::{134 impl_common_runtime_apis,135 types::*,136 constants::*,137 dispatch::{CollectionDispatchT, CollectionDispatch},138 sponsoring::UniqueSponsorshipHandler,139 eth_sponsoring::UniqueEthSponsorshipHandler,140 weights::CommonWeights,141};142143pub const RUNTIME_NAME: &str = "opal";144pub const TOKEN_SYMBOL: &str = "OPL";145146type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;147148impl RuntimeInstance for Runtime {149 type CrossAccountId = self::CrossAccountId;150 type TransactionConverter = self::TransactionConverter;151152 fn get_transaction_converter() -> TransactionConverter {153 TransactionConverter154 }155}156157/// The type for looking up accounts. We don't expect more than 4 billion of them, but you158/// never know...159pub type AccountIndex = u32;160161/// Balance of an account.162pub type Balance = u128;163164/// Index of a transaction in the chain.165pub type Index = u32;166167/// A hash of some data used by the chain.168pub type Hash = sp_core::H256;169170/// Digest item type.171pub type DigestItem = generic::DigestItem;172173/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know174/// the specifics of the runtime. They can then be made to be agnostic over specific formats175/// of data like extrinsics, allowing for them to continue syncing the network through upgrades176/// to even the core data structures.177pub mod opaque {178 use sp_std::prelude::*;179 use sp_runtime::impl_opaque_keys;180 use super::Aura;181182 pub use unique_runtime_common::types::*;183184 impl_opaque_keys! {185 pub struct SessionKeys {186 pub aura: Aura,187 }188 }189}190191/// This runtime version.192pub const VERSION: RuntimeVersion = RuntimeVersion {193 spec_name: create_runtime_str!(RUNTIME_NAME),194 impl_name: create_runtime_str!(RUNTIME_NAME),195 authoring_version: 1,196 spec_version: 922000,197 impl_version: 0,198 apis: RUNTIME_API_VERSIONS,199 transaction_version: 1,200 state_version: 0,201};202203#[derive(codec::Encode, codec::Decode)]204pub enum XCMPMessage<XAccountId, XBalance> {205 /// Transfer tokens to the given account from the Parachain account.206 TransferToken(XAccountId, XBalance),207}208209/// The version information used to identify this runtime when compiled natively.210#[cfg(feature = "std")]211pub fn native_version() -> NativeVersion {212 NativeVersion {213 runtime_version: VERSION,214 can_author_with: Default::default(),215 }216}217218type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;219220pub struct DealWithFees;221impl OnUnbalanced<NegativeImbalance> for DealWithFees {222 fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {223 if let Some(fees) = fees_then_tips.next() {224 // for fees, 100% to treasury225 let mut split = fees.ration(100, 0);226 if let Some(tips) = fees_then_tips.next() {227 // for tips, if any, 100% to treasury228 tips.ration_merge_into(100, 0, &mut split);229 }230 Treasury::on_unbalanced(split.0);231 // Author::on_unbalanced(split.1);232 }233 }234}235236parameter_types! {237 pub const BlockHashCount: BlockNumber = 2400;238 pub RuntimeBlockLength: BlockLength =239 BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);240 pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);241 pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;242 pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()243 .base_block(BlockExecutionWeight::get())244 .for_class(DispatchClass::all(), |weights| {245 weights.base_extrinsic = ExtrinsicBaseWeight::get();246 })247 .for_class(DispatchClass::Normal, |weights| {248 weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);249 })250 .for_class(DispatchClass::Operational, |weights| {251 weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);252 // Operational transactions have some extra reserved space, so that they253 // are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.254 weights.reserved = Some(255 MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT256 );257 })258 .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)259 .build_or_panic();260 pub const Version: RuntimeVersion = VERSION;261 pub const SS58Prefix: u8 = 42;262}263264parameter_types! {265 pub const ChainId: u64 = 8882;266}267268pub struct FixedFee;269impl FeeCalculator for FixedFee {270 fn min_gas_price() -> (U256, u64) {271 (MIN_GAS_PRICE.into(), 0)272 }273}274275// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case276// (contract, which only writes a lot of data),277// approximating on top of our real store write weight278parameter_types! {279 pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;280 pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;281 pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();282}283284/// Limiting EVM execution to 50% of block for substrate users and management tasks285/// EVM transaction consumes more weight than substrate's, so we can't rely on them being286/// scheduled fairly287const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);288parameter_types! {289 pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());290}291292pub enum FixedGasWeightMapping {}293impl GasWeightMapping for FixedGasWeightMapping {294 fn gas_to_weight(gas: u64) -> Weight {295 gas.saturating_mul(WeightPerGas::get())296 }297 fn weight_to_gas(weight: Weight) -> u64 {298 weight / WeightPerGas::get()299 }300}301302impl pallet_evm::account::Config for Runtime {303 type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;304 type EvmAddressMapping = pallet_evm::HashedAddressMapping<Self::Hashing>;305 type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;306}307308impl pallet_evm::Config for Runtime {309 type BlockGasLimit = BlockGasLimit;310 type FeeCalculator = FixedFee;311 type GasWeightMapping = FixedGasWeightMapping;312 type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;313 type CallOrigin = EnsureAddressTruncated<Self>;314 type WithdrawOrigin = EnsureAddressTruncated<Self>;315 type AddressMapping = HashedAddressMapping<Self::Hashing>;316 type PrecompilesType = ();317 type PrecompilesValue = ();318 type Currency = Balances;319 type Event = Event;320 type OnMethodCall = (321 pallet_evm_migration::OnMethodCall<Self>,322 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,323 CollectionDispatchT<Self>,324 pallet_unique::eth::CollectionHelpersOnMethodCall<Self>,325 );326 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;327 type ChainId = ChainId;328 type Runner = pallet_evm::runner::stack::Runner<Self>;329 type OnChargeTransaction = pallet_evm::EVMCurrencyAdapter<Balances, DealWithFees>;330 type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;331 type FindAuthor = EthereumFindAuthor<Aura>;332}333334impl pallet_evm_migration::Config for Runtime {335 type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;336}337338pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);339impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {340 fn find_author<'a, I>(digests: I) -> Option<H160>341 where342 I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,343 {344 if let Some(author_index) = F::find_author(digests) {345 let authority_id = Aura::authorities()[author_index as usize].clone();346 return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));347 }348 None349 }350}351352impl pallet_ethereum::Config for Runtime {353 type Event = Event;354 type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;355}356357impl pallet_randomness_collective_flip::Config for Runtime {}358359impl frame_system::Config for Runtime {360 /// The data to be stored in an account.361 type AccountData = pallet_balances::AccountData<Balance>;362 /// The identifier used to distinguish between accounts.363 type AccountId = AccountId;364 /// The basic call filter to use in dispatchable.365 type BaseCallFilter = Everything;366 /// Maximum number of block number to block hash mappings to keep (oldest pruned first).367 type BlockHashCount = BlockHashCount;368 /// The maximum length of a block (in bytes).369 type BlockLength = RuntimeBlockLength;370 /// The index type for blocks.371 type BlockNumber = BlockNumber;372 /// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.373 type BlockWeights = RuntimeBlockWeights;374 /// The aggregated dispatch type that is available for extrinsics.375 type Call = Call;376 /// The weight of database operations that the runtime can invoke.377 type DbWeight = RocksDbWeight;378 /// The ubiquitous event type.379 type Event = Event;380 /// The type for hashing blocks and tries.381 type Hash = Hash;382 /// The hashing algorithm used.383 type Hashing = BlakeTwo256;384 /// The header type.385 type Header = generic::Header<BlockNumber, BlakeTwo256>;386 /// The index type for storing how many extrinsics an account has signed.387 type Index = Index;388 /// The lookup mechanism to get account ID from whatever is passed in dispatchers.389 type Lookup = AccountIdLookup<AccountId, ()>;390 /// What to do if an account is fully reaped from the system.391 type OnKilledAccount = ();392 /// What to do if a new account is created.393 type OnNewAccount = ();394 type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;395 /// The ubiquitous origin type.396 type Origin = Origin;397 /// This type is being generated by `construct_runtime!`.398 type PalletInfo = PalletInfo;399 /// This is used as an identifier of the chain. 42 is the generic substrate prefix.400 type SS58Prefix = SS58Prefix;401 /// Weight information for the extrinsics of this pallet.402 type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;403 /// Version of the runtime.404 type Version = Version;405 type MaxConsumers = ConstU32<16>;406}407408parameter_types! {409 pub const MinimumPeriod: u64 = SLOT_DURATION / 2;410}411412impl pallet_timestamp::Config for Runtime {413 /// A timestamp: milliseconds since the unix epoch.414 type Moment = u64;415 type OnTimestampSet = ();416 type MinimumPeriod = MinimumPeriod;417 type WeightInfo = ();418}419420parameter_types! {421 // pub const ExistentialDeposit: u128 = 500;422 pub const ExistentialDeposit: u128 = 0;423 pub const MaxLocks: u32 = 50;424 pub const MaxReserves: u32 = 50;425}426427impl pallet_balances::Config for Runtime {428 type MaxLocks = MaxLocks;429 type MaxReserves = MaxReserves;430 type ReserveIdentifier = [u8; 16];431 /// The type for recording an account's balance.432 type Balance = Balance;433 /// The ubiquitous event type.434 type Event = Event;435 type DustRemoval = Treasury;436 type ExistentialDeposit = ExistentialDeposit;437 type AccountStore = System;438 type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;439}440441pub const fn deposit(items: u32, bytes: u32) -> Balance {442 items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE443}444445/*446parameter_types! {447 pub TombstoneDeposit: Balance = deposit(448 1,449 sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,450 );451 pub DepositPerContract: Balance = TombstoneDeposit::get();452 pub const DepositPerStorageByte: Balance = deposit(0, 1);453 pub const DepositPerStorageItem: Balance = deposit(1, 0);454 pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);455 pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;456 pub const SignedClaimHandicap: u32 = 2;457 pub const MaxDepth: u32 = 32;458 pub const MaxValueSize: u32 = 16 * 1024;459 pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb460 // The lazy deletion runs inside on_initialize.461 pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *462 RuntimeBlockWeights::get().max_block;463 // The weight needed for decoding the queue should be less or equal than a fifth464 // of the overall weight dedicated to the lazy deletion.465 pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (466 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -467 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)468 )) / 5) as u32;469 pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();470}471472impl pallet_contracts::Config for Runtime {473 type Time = Timestamp;474 type Randomness = RandomnessCollectiveFlip;475 type Currency = Balances;476 type Event = Event;477 type RentPayment = ();478 type SignedClaimHandicap = SignedClaimHandicap;479 type TombstoneDeposit = TombstoneDeposit;480 type DepositPerContract = DepositPerContract;481 type DepositPerStorageByte = DepositPerStorageByte;482 type DepositPerStorageItem = DepositPerStorageItem;483 type RentFraction = RentFraction;484 type SurchargeReward = SurchargeReward;485 type WeightPrice = pallet_transaction_payment::Pallet<Self>;486 type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;487 type ChainExtension = NFTExtension;488 type DeletionQueueDepth = DeletionQueueDepth;489 type DeletionWeightLimit = DeletionWeightLimit;490 type Schedule = Schedule;491 type CallStack = [pallet_contracts::Frame<Self>; 31];492}493*/494495parameter_types! {496 /// This value increases the priority of `Operational` transactions by adding497 /// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.498 pub const OperationalFeeMultiplier: u8 = 5;499}500501/// Linear implementor of `WeightToFeePolynomial`502pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);503504impl<T> WeightToFeePolynomial for LinearFee<T>505where506 T: BaseArithmetic + From<u32> + Copy + Unsigned,507{508 type Balance = T;509510 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {511 smallvec!(WeightToFeeCoefficient {512 // Targeting 0.1 Unique per NFT transfer513 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),514 coeff_frac: Perbill::zero(),515 negative: false,516 degree: 1,517 })518 }519}520521impl pallet_transaction_payment::Config for Runtime {522 type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;523 type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;524 type OperationalFeeMultiplier = OperationalFeeMultiplier;525 type WeightToFee = LinearFee<Balance>;526 type FeeMultiplierUpdate = ();527}528529parameter_types! {530 pub const ProposalBond: Permill = Permill::from_percent(5);531 pub const ProposalBondMinimum: Balance = 1 * UNIQUE;532 pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;533 pub const SpendPeriod: BlockNumber = 5 * MINUTES;534 pub const Burn: Permill = Permill::from_percent(0);535 pub const TipCountdown: BlockNumber = 1 * DAYS;536 pub const TipFindersFee: Percent = Percent::from_percent(20);537 pub const TipReportDepositBase: Balance = 1 * UNIQUE;538 pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;539 pub const BountyDepositBase: Balance = 1 * UNIQUE;540 pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;541 pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");542 pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;543 pub const MaximumReasonLength: u32 = 16384;544 pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);545 pub const BountyValueMinimum: Balance = 5 * UNIQUE;546 pub const MaxApprovals: u32 = 100;547}548549impl pallet_treasury::Config for Runtime {550 type PalletId = TreasuryModuleId;551 type Currency = Balances;552 type ApproveOrigin = EnsureRoot<AccountId>;553 type RejectOrigin = EnsureRoot<AccountId>;554 type Event = Event;555 type OnSlash = ();556 type ProposalBond = ProposalBond;557 type ProposalBondMinimum = ProposalBondMinimum;558 type ProposalBondMaximum = ProposalBondMaximum;559 type SpendPeriod = SpendPeriod;560 type Burn = Burn;561 type BurnDestination = ();562 type SpendFunds = ();563 type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;564 type MaxApprovals = MaxApprovals;565}566567impl pallet_sudo::Config for Runtime {568 type Event = Event;569 type Call = Call;570}571572pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);573574impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider575 for RelayChainBlockNumberProvider<T>576{577 type BlockNumber = BlockNumber;578579 fn current_block_number() -> Self::BlockNumber {580 cumulus_pallet_parachain_system::Pallet::<T>::validation_data()581 .map(|d| d.relay_parent_number)582 .unwrap_or_default()583 }584}585586parameter_types! {587 pub const MinVestedTransfer: Balance = 10 * UNIQUE;588 pub const MaxVestingSchedules: u32 = 28;589}590591impl orml_vesting::Config for Runtime {592 type Event = Event;593 type Currency = pallet_balances::Pallet<Runtime>;594 type MinVestedTransfer = MinVestedTransfer;595 type VestedTransferOrigin = EnsureSigned<AccountId>;596 type WeightInfo = ();597 type MaxVestingSchedules = MaxVestingSchedules;598 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;599}600601parameter_types! {602 pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;603 pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;604}605606impl cumulus_pallet_parachain_system::Config for Runtime {607 type Event = Event;608 type SelfParaId = parachain_info::Pallet<Self>;609 type OnSystemEvent = ();610 // type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<611 // MaxDownwardMessageWeight,612 // XcmExecutor<XcmConfig>,613 // Call,614 // >;615 type OutboundXcmpMessageSource = XcmpQueue;616 type DmpMessageHandler = DmpQueue;617 type ReservedDmpWeight = ReservedDmpWeight;618 type ReservedXcmpWeight = ReservedXcmpWeight;619 type XcmpMessageHandler = XcmpQueue;620}621622impl parachain_info::Config for Runtime {}623624impl cumulus_pallet_aura_ext::Config for Runtime {}625626parameter_types! {627 pub const RelayLocation: MultiLocation = MultiLocation::parent();628 pub const RelayNetwork: NetworkId = NetworkId::Polkadot;629 pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();630 pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();631}632633/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used634/// when determining ownership of accounts for asset transacting and when attempting to use XCM635/// `Transact` in order to determine the dispatch Origin.636pub type LocationToAccountId = (637 // The parent (Relay-chain) origin converts to the default `AccountId`.638 ParentIsPreset<AccountId>,639 // Sibling parachain origins convert to AccountId via the `ParaId::into`.640 SiblingParachainConvertsVia<Sibling, AccountId>,641 // Straight up local `AccountId32` origins just alias directly to `AccountId`.642 AccountId32Aliases<RelayNetwork, AccountId>,643);644645pub struct OnlySelfCurrency;646impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {647 fn matches_fungible(a: &MultiAsset) -> Option<B> {648 match (&a.id, &a.fun) {649 (Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),650 _ => None,651 }652 }653}654655/// Means for transacting assets on this chain.656pub type LocalAssetTransactor = CurrencyAdapter<657 // Use this currency:658 Balances,659 // Use this currency when it is a fungible asset matching the given location or name:660 OnlySelfCurrency,661 // Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:662 LocationToAccountId,663 // Our chain's account ID type (we can't get away without mentioning it explicitly):664 AccountId,665 // We don't track any teleports.666 (),667>;668669/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,670/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can671/// biases the kind of local `Origin` it will become.672pub type XcmOriginToTransactDispatchOrigin = (673 // Sovereign account converter; this attempts to derive an `AccountId` from the origin location674 // using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for675 // foreign chains who want to have a local sovereign account on this chain which they control.676 SovereignSignedViaLocation<LocationToAccountId, Origin>,677 // Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when678 // recognised.679 RelayChainAsNative<RelayOrigin, Origin>,680 // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when681 // recognised.682 SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,683 // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a684 // transaction from the Root origin.685 ParentAsSuperuser<Origin>,686 // Native signed account converter; this just converts an `AccountId32` origin into a normal687 // `Origin::Signed` origin of the same 32-byte value.688 SignedAccountId32AsNative<RelayNetwork, Origin>,689 // Xcm origins can be represented natively under the Xcm pallet's Xcm origin.690 XcmPassthrough<Origin>,691);692693parameter_types! {694 // One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.695 pub UnitWeightCost: Weight = 1_000_000;696 // 1200 UNIQUEs buy 1 second of weight.697 pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);698 pub const MaxInstructions: u32 = 100;699 pub const MaxAuthorities: u32 = 100_000;700}701702match_types! {703 pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {704 MultiLocation { parents: 1, interior: Here } |705 MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }706 };707}708709pub type Barrier = (710 TakeWeightCredit,711 AllowTopLevelPaidExecutionFrom<Everything>,712 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,713 // ^^^ Parent & its unit plurality gets free execution714);715716pub struct UsingOnlySelfCurrencyComponents<717 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,718 AssetId: Get<MultiLocation>,719 AccountId,720 Currency: CurrencyT<AccountId>,721 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,722>(723 Weight,724 Currency::Balance,725 PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,726);727impl<728 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,729 AssetId: Get<MultiLocation>,730 AccountId,731 Currency: CurrencyT<AccountId>,732 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,733 > WeightTrader734 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>735{736 fn new() -> Self {737 Self(0, Zero::zero(), PhantomData)738 }739740 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {741 let amount = WeightToFee::calc(&weight);742 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;743744 // location to this parachain through relay chain745 let option1: xcm::v1::AssetId = Concrete(MultiLocation {746 parents: 1,747 interior: X1(Parachain(ParachainInfo::parachain_id().into())),748 });749 // direct location750 let option2: xcm::v1::AssetId = Concrete(MultiLocation {751 parents: 0,752 interior: Here,753 });754755 let required = if payment.fungible.contains_key(&option1) {756 (option1, u128_amount).into()757 } else if payment.fungible.contains_key(&option2) {758 (option2, u128_amount).into()759 } else {760 (Concrete(MultiLocation::default()), u128_amount).into()761 };762763 let unused = payment764 .checked_sub(required)765 .map_err(|_| XcmError::TooExpensive)?;766 self.0 = self.0.saturating_add(weight);767 self.1 = self.1.saturating_add(amount);768 Ok(unused)769 }770771 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {772 let weight = weight.min(self.0);773 let amount = WeightToFee::calc(&weight);774 self.0 -= weight;775 self.1 = self.1.saturating_sub(amount);776 let amount: u128 = amount.saturated_into();777 if amount > 0 {778 Some((AssetId::get(), amount).into())779 } else {780 None781 }782 }783}784impl<785 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,786 AssetId: Get<MultiLocation>,787 AccountId,788 Currency: CurrencyT<AccountId>,789 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,790 > Drop791 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>792{793 fn drop(&mut self) {794 OnUnbalanced::on_unbalanced(Currency::issue(self.1));795 }796}797798pub struct XcmConfig;799impl Config for XcmConfig {800 type Call = Call;801 type XcmSender = XcmRouter;802 // How to withdraw and deposit an asset.803 type AssetTransactor = LocalAssetTransactor;804 type OriginConverter = XcmOriginToTransactDispatchOrigin;805 type IsReserve = NativeAsset;806 type IsTeleporter = (); // Teleportation is disabled807 type LocationInverter = LocationInverter<Ancestry>;808 type Barrier = Barrier;809 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;810 type Trader = UsingOnlySelfCurrencyComponents<811 IdentityFee<Balance>,812 RelayLocation,813 AccountId,814 Balances,815 (),816 >;817 type ResponseHandler = (); // Don't handle responses for now.818 type SubscriptionService = PolkadotXcm;819820 type AssetTrap = PolkadotXcm;821 type AssetClaims = PolkadotXcm;822}823824// parameter_types! {825// pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;826// }827828/// No local origins on this chain are allowed to dispatch XCM sends/executions.829pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);830831/// The means for routing XCM messages which are not for local execution into the right message832/// queues.833pub type XcmRouter = (834 // Two routers - use UMP to communicate with the relay chain:835 cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,836 // ..and XCMP to communicate with the sibling chains.837 XcmpQueue,838);839840impl pallet_evm_coder_substrate::Config for Runtime {}841842impl pallet_xcm::Config for Runtime {843 type Event = Event;844 type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;845 type XcmRouter = XcmRouter;846 type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;847 type XcmExecuteFilter = Everything;848 type XcmExecutor = XcmExecutor<XcmConfig>;849 type XcmTeleportFilter = Everything;850 type XcmReserveTransferFilter = Everything;851 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;852 type LocationInverter = LocationInverter<Ancestry>;853 type Origin = Origin;854 type Call = Call;855 const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;856 type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;857}858859impl cumulus_pallet_xcm::Config for Runtime {860 type Event = Event;861 type XcmExecutor = XcmExecutor<XcmConfig>;862}863864impl cumulus_pallet_xcmp_queue::Config for Runtime {865 type WeightInfo = ();866 type Event = Event;867 type XcmExecutor = XcmExecutor<XcmConfig>;868 type ChannelInfo = ParachainSystem;869 type VersionWrapper = ();870 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;871 type ControllerOrigin = EnsureRoot<AccountId>;872 type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;873}874875impl cumulus_pallet_dmp_queue::Config for Runtime {876 type Event = Event;877 type XcmExecutor = XcmExecutor<XcmConfig>;878 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;879}880881impl pallet_aura::Config for Runtime {882 type AuthorityId = AuraId;883 type DisabledValidators = ();884 type MaxAuthorities = MaxAuthorities;885}886887parameter_types! {888 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();889 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;890}891892impl pallet_common::Config for Runtime {893 type WeightInfo = pallet_common::weights::SubstrateWeight<Self>;894 type Event = Event;895 type Currency = Balances;896 type CollectionCreationPrice = CollectionCreationPrice;897 type TreasuryAccountId = TreasuryAccountId;898 type CollectionDispatch = CollectionDispatchT<Self>;899900 type EvmTokenAddressMapping = EvmTokenAddressMapping;901 type CrossTokenAddressMapping = CrossTokenAddressMapping<Self::AccountId>;902 type ContractAddress = EvmCollectionHelpersAddress;903}904905impl pallet_structure::Config for Runtime {906 type Event = Event;907 type Call = Call;908 type WeightInfo = pallet_structure::weights::SubstrateWeight<Self>;909}910911impl pallet_fungible::Config for Runtime {912 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;913}914impl pallet_refungible::Config for Runtime {915 type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;916}917impl pallet_nonfungible::Config for Runtime {918 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;919}920921impl pallet_proxy_rmrk_core::Config for Runtime {922 type WeightInfo = pallet_proxy_rmrk_core::weights::SubstrateWeight<Self>;923 type Event = Event;924}925926impl pallet_proxy_rmrk_equip::Config for Runtime {927 type Event = Event;928}929930impl pallet_unique::Config for Runtime {931 type Event = Event;932 type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;933 type CommonWeightInfo = CommonWeights<Self>;934}935936parameter_types! {937 pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied938}939940/// Used for the pallet inflation941impl pallet_inflation::Config for Runtime {942 type Currency = Balances;943 type TreasuryAccountId = TreasuryAccountId;944 type InflationBlockInterval = InflationBlockInterval;945 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;946}947948parameter_types! {949 pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *950 RuntimeBlockWeights::get().max_block;951 pub const MaxScheduledPerBlock: u32 = 50;952}953954type ChargeTransactionPayment = pallet_charge_transaction::ChargeTransactionPayment<Runtime>;955use frame_support::traits::NamedReservableCurrency;956957fn get_signed_extras(from: <Runtime as frame_system::Config>::AccountId) -> SignedExtraScheduler {958 (959 frame_system::CheckSpecVersion::<Runtime>::new(),960 frame_system::CheckGenesis::<Runtime>::new(),961 frame_system::CheckEra::<Runtime>::from(Era::Immortal),962 frame_system::CheckNonce::<Runtime>::from(frame_system::Pallet::<Runtime>::account_nonce(963 from,964 )),965 frame_system::CheckWeight::<Runtime>::new(),966 // sponsoring transaction logic967 // pallet_charge_transaction::ChargeTransactionPayment::<Runtime>::new(0),968 )969}970971pub struct SchedulerPaymentExecutor;972impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>973 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor974where975 <T as frame_system::Config>::Call: Member976 + Dispatchable<Origin = Origin, Info = DispatchInfo>977 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>978 + GetDispatchInfo979 + From<frame_system::Call<Runtime>>,980 SelfContainedSignedInfo: Send + Sync + 'static,981 Call: From<<T as frame_system::Config>::Call>982 + From<<T as pallet_unq_scheduler::Config>::Call>983 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,984 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,985{986 fn dispatch_call(987 signer: <T as frame_system::Config>::AccountId,988 call: <T as pallet_unq_scheduler::Config>::Call,989 ) -> Result<990 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,991 TransactionValidityError,992 > {993 let dispatch_info = call.get_dispatch_info();994 let extrinsic = fp_self_contained::CheckedExtrinsic::<995 AccountId,996 Call,997 SignedExtraScheduler,998 SelfContainedSignedInfo,999 > {1000 signed:1001 CheckedSignature::<AccountId, SignedExtraScheduler, SelfContainedSignedInfo>::Signed(1002 signer.clone().into(),1003 get_signed_extras(signer.into()),1004 ),1005 function: call.into(),1006 };10071008 extrinsic.apply::<Runtime>(&dispatch_info, 0)1009 }10101011 fn reserve_balance(1012 id: [u8; 16],1013 sponsor: <T as frame_system::Config>::AccountId,1014 call: <T as pallet_unq_scheduler::Config>::Call,1015 count: u32,1016 ) -> Result<(), DispatchError> {1017 let dispatch_info = call.get_dispatch_info();1018 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0)1019 .saturating_mul(count.into());10201021 <Balances as NamedReservableCurrency<AccountId>>::reserve_named(1022 &id,1023 &(sponsor.into()),1024 weight,1025 )1026 }10271028 fn pay_for_call(1029 id: [u8; 16],1030 sponsor: <T as frame_system::Config>::AccountId,1031 call: <T as pallet_unq_scheduler::Config>::Call,1032 ) -> Result<u128, DispatchError> {1033 let dispatch_info = call.get_dispatch_info();1034 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1035 Ok(1036 <Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1037 &id,1038 &(sponsor.into()),1039 weight,1040 ),1041 )1042 }10431044 fn cancel_reserve(1045 id: [u8; 16],1046 sponsor: <T as frame_system::Config>::AccountId,1047 ) -> Result<u128, DispatchError> {1048 Ok(1049 <Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1050 &id,1051 &(sponsor.into()),1052 u128::MAX,1053 ),1054 )1055 }1056}10571058parameter_types! {1059 pub const NoPreimagePostponement: Option<u32> = Some(10);1060 pub const Preimage: Option<u32> = Some(10);1061}10621063/// Used the compare the privilege of an origin inside the scheduler.1064pub struct OriginPrivilegeCmp;10651066impl PrivilegeCmp<OriginCaller> for OriginPrivilegeCmp {1067 fn cmp_privilege(_left: &OriginCaller, _right: &OriginCaller) -> Option<Ordering> {1068 Some(Ordering::Equal)1069 }1070}10711072impl pallet_unq_scheduler::Config for Runtime {1073 type Event = Event;1074 type Origin = Origin;1075 type Currency = Balances;1076 type PalletsOrigin = OriginCaller;1077 type Call = Call;1078 type MaximumWeight = MaximumSchedulerWeight;1079 type ScheduleOrigin = EnsureSigned<AccountId>;1080 type MaxScheduledPerBlock = MaxScheduledPerBlock;1081 type WeightInfo = ();1082 type CallExecutor = SchedulerPaymentExecutor;1083 type OriginPrivilegeCmp = OriginPrivilegeCmp;1084 type PreimageProvider = ();1085 type NoPreimagePostponement = NoPreimagePostponement;1086}10871088type EvmSponsorshipHandler = (1089 UniqueEthSponsorshipHandler<Runtime>,1090 pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,1091);10921093type SponsorshipHandler = (1094 UniqueSponsorshipHandler<Runtime>,1095 //pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,1096 pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,1097);10981099impl pallet_evm_transaction_payment::Config for Runtime {1100 type EvmSponsorshipHandler = EvmSponsorshipHandler;1101 type Currency = Balances;1102}11031104impl pallet_charge_transaction::Config for Runtime {1105 type SponsorshipHandler = SponsorshipHandler;1106}11071108// impl pallet_contract_helpers::Config for Runtime {1109// type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1110// }11111112parameter_types! {1113 // 0x842899ECF380553E8a4de75bF534cdf6fBF640491114 pub const HelpersContractAddress: H160 = H160([1115 0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,1116 ]);11171118 // 0x6c4e9fe1ae37a41e93cee429e8e1881abdcbb54f1119 pub const EvmCollectionHelpersAddress: H160 = H160([1120 0x6c, 0x4e, 0x9f, 0xe1, 0xae, 0x37, 0xa4, 0x1e, 0x93, 0xce, 0xe4, 0x29, 0xe8, 0xe1, 0x88, 0x1a, 0xbd, 0xcb, 0xb5, 0x4f,1121 ]);1122}11231124impl pallet_evm_contract_helpers::Config for Runtime {1125 type ContractAddress = HelpersContractAddress;1126 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1127}11281129construct_runtime!(1130 pub enum Runtime where1131 Block = Block,1132 NodeBlock = opaque::Block,1133 UncheckedExtrinsic = UncheckedExtrinsic1134 {1135 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,1136 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,11371138 Aura: pallet_aura::{Pallet, Config<T>} = 22,1139 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,11401141 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,1142 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,1143 Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,1144 TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,1145 Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,1146 Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,1147 System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,1148 Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,1149 // Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,1150 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,11511152 // XCM helpers.1153 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1154 PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1155 CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1156 DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,11571158 // Unique Pallets1159 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1160 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1161 Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1162 // free = 631163 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1164 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1165 Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1166 Fungible: pallet_fungible::{Pallet, Storage} = 67,1167 Refungible: pallet_refungible::{Pallet, Storage} = 68,1168 Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,1169 Structure: pallet_structure::{Pallet, Call, Storage, Event<T>} = 70,1170 RmrkCore: pallet_proxy_rmrk_core::{Pallet, Call, Storage, Event<T>} = 71,1171 RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,11721173 // Frontier1174 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1175 Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,11761177 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1178 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1179 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1180 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1181 }1182);11831184pub struct TransactionConverter;11851186impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1187 fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1188 UncheckedExtrinsic::new_unsigned(1189 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1190 )1191 }1192}11931194impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1195 fn convert_transaction(1196 &self,1197 transaction: pallet_ethereum::Transaction,1198 ) -> opaque::UncheckedExtrinsic {1199 let extrinsic = UncheckedExtrinsic::new_unsigned(1200 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1201 );1202 let encoded = extrinsic.encode();1203 opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1204 .expect("Encoded extrinsic is always valid")1205 }1206}12071208/// The address format for describing accounts.1209pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1210/// Block header type as expected by this runtime.1211pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1212/// Block type as expected by this runtime.1213pub type Block = generic::Block<Header, UncheckedExtrinsic>;1214/// A Block signed with a Justification1215pub type SignedBlock = generic::SignedBlock<Block>;1216/// BlockId type as expected by this runtime.1217pub type BlockId = generic::BlockId<Block>;1218/// The SignedExtension to the basic transaction logic.1219pub type SignedExtra = (1220 frame_system::CheckSpecVersion<Runtime>,1221 // system::CheckTxVersion<Runtime>,1222 frame_system::CheckGenesis<Runtime>,1223 frame_system::CheckEra<Runtime>,1224 frame_system::CheckNonce<Runtime>,1225 frame_system::CheckWeight<Runtime>,1226 ChargeTransactionPayment,1227 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,1228 pallet_ethereum::FakeTransactionFinalizer<Runtime>,1229);1230pub type SignedExtraScheduler = (1231 frame_system::CheckSpecVersion<Runtime>,1232 frame_system::CheckGenesis<Runtime>,1233 frame_system::CheckEra<Runtime>,1234 frame_system::CheckNonce<Runtime>,1235 frame_system::CheckWeight<Runtime>,1236);1237/// Unchecked extrinsic type as expected by this runtime.1238pub type UncheckedExtrinsic =1239 fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1240/// Extrinsic type that has already been checked.1241pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1242/// Executive: handles dispatch to the various modules.1243pub type Executive = frame_executive::Executive<1244 Runtime,1245 Block,1246 frame_system::ChainContext<Runtime>,1247 Runtime,1248 AllPalletsReversedWithSystemFirst,1249>;12501251impl_opaque_keys! {1252 pub struct SessionKeys {1253 pub aura: Aura,1254 }1255}12561257impl fp_self_contained::SelfContainedCall for Call {1258 type SignedInfo = H160;12591260 fn is_self_contained(&self) -> bool {1261 match self {1262 Call::Ethereum(call) => call.is_self_contained(),1263 _ => false,1264 }1265 }12661267 fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1268 match self {1269 Call::Ethereum(call) => call.check_self_contained(),1270 _ => None,1271 }1272 }12731274 fn validate_self_contained(1275 &self,1276 info: &Self::SignedInfo,1277 dispatch_info: &DispatchInfoOf<Call>,1278 len: usize,1279 ) -> Option<TransactionValidity> {1280 match self {1281 Call::Ethereum(call) => call.validate_self_contained(info, dispatch_info, len),1282 _ => None,1283 }1284 }12851286 fn pre_dispatch_self_contained(1287 &self,1288 info: &Self::SignedInfo,1289 ) -> Option<Result<(), TransactionValidityError>> {1290 match self {1291 Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1292 _ => None,1293 }1294 }12951296 fn apply_self_contained(1297 self,1298 info: Self::SignedInfo,1299 ) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1300 match self {1301 call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1302 Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1303 )),1304 _ => None,1305 }1306 }1307}13081309macro_rules! dispatch_unique_runtime {1310 ($collection:ident.$method:ident($($name:ident),*)) => {{1311 let collection = <Runtime as pallet_common::Config>::CollectionDispatch::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1312 let dispatch = collection.as_dyn();13131314 Ok::<_, DispatchError>(dispatch.$method($($name),*))1315 }};1316}13171318impl_common_runtime_apis!();13191320struct CheckInherents;13211322impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1323 fn check_inherents(1324 block: &Block,1325 relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1326 ) -> sp_inherents::CheckInherentsResult {1327 let relay_chain_slot = relay_state_proof1328 .read_slot()1329 .expect("Could not read the relay chain slot from the proof");13301331 let inherent_data =1332 cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1333 relay_chain_slot,1334 sp_std::time::Duration::from_secs(6),1335 )1336 .create_inherent_data()1337 .expect("Could not create the timestamp inherent data");13381339 inherent_data.check_extrinsics(block)1340 }1341}13421343cumulus_pallet_parachain_system::register_validate_block!(1344 Runtime = Runtime,1345 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1346 CheckInherents = CheckInherents,1347);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;31use fp_self_contained::*;32// #[cfg(any(feature = "std", test))]33// pub use sp_runtime::BuildStorage;3435use sp_runtime::{36 Permill, Perbill, Percent, create_runtime_str, generic, impl_opaque_keys,37 traits::{AccountIdLookup, BlakeTwo256, Block as BlockT, AccountIdConversion, Zero, Member},38 transaction_validity::{TransactionSource, TransactionValidity},39 ApplyExtrinsicResult, RuntimeAppPublic,40};4142use sp_std::prelude::*;4344#[cfg(feature = "std")]45use sp_version::NativeVersion;46use sp_version::RuntimeVersion;47pub use pallet_transaction_payment::{48 Multiplier, TargetedFeeAdjustment, FeeDetails, RuntimeDispatchInfo,49};50// A few exports that help ease life for downstream crates.51pub use pallet_balances::Call as BalancesCall;52pub use pallet_evm::{53 EnsureAddressTruncated, HashedAddressMapping, Runner, account::CrossAccountId as _,54 OnMethodCall, Account as EVMAccount, FeeCalculator, GasWeightMapping,55};56pub use frame_support::{57 construct_runtime, match_types,58 dispatch::DispatchResult,59 PalletId, parameter_types, StorageValue, ConsensusEngineId,60 traits::{61 tokens::currency::Currency as CurrencyT, OnUnbalanced as OnUnbalancedT, Everything,62 Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,63 OnUnbalanced, Randomness, FindAuthor, ConstU32, Imbalance, PrivilegeCmp,64 },65 weights::{66 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},67 DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,68 WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,69 WeightToFee,70 },71};72use pallet_unq_scheduler::DispatchCall;73use up_data_structs::{74 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,75 CollectionStats, RpcCollection,76 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},77 TokenChild, RmrkCollectionInfo, RmrkInstanceInfo, RmrkResourceInfo, RmrkPropertyInfo,78 RmrkBaseInfo, RmrkPartType, RmrkTheme, RmrkThemeName, RmrkThemeProperty, RmrkCollectionId,79 RmrkNftId, RmrkAccountIdOrCollectionNftTuple, RmrkNftChild, RmrkPropertyKey, RmrkResourceTypes,80 RmrkBasicResource, RmrkComposableResource, RmrkSlotResource, RmrkResourceId, RmrkBaseId,81 RmrkFixedPart, RmrkSlotPart, RmrkString,82};8384// use pallet_contracts::weights::WeightInfo;85// #[cfg(any(feature = "std", test))]86use frame_system::{87 self as frame_system, EnsureRoot, EnsureSigned,88 limits::{BlockWeights, BlockLength},89};90use sp_arithmetic::{91 traits::{BaseArithmetic, Unsigned},92};93use smallvec::smallvec;94// use scale_info::TypeInfo;95use codec::{Encode, Decode};96use fp_rpc::TransactionStatus;97use sp_runtime::{98 traits::{99 Applyable, BlockNumberProvider, Dispatchable, PostDispatchInfoOf, DispatchInfoOf,100 Saturating, CheckedConversion,101 },102 generic::Era,103 transaction_validity::TransactionValidityError,104 DispatchErrorWithPostInfo, SaturatedConversion,105};106107// pub use pallet_timestamp::Call as TimestampCall;108pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;109110// Polkadot imports111use pallet_xcm::XcmPassthrough;112use polkadot_parachain::primitives::Sibling;113use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};114use xcm_builder::{115 AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,116 EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,117 RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,118 SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,119 ParentIsPreset,120};121use xcm_executor::{Config, XcmExecutor, Assets};122use sp_std::{cmp::Ordering, marker::PhantomData};123124use xcm::latest::{125 // Xcm,126 AssetId::{Concrete},127 Fungibility::Fungible as XcmFungible,128 MultiAsset,129 Error as XcmError,130};131use xcm_executor::traits::{MatchesFungible, WeightTrader};132//use xcm_executor::traits::MatchesFungible;133134use unique_runtime_common::{135 impl_common_runtime_apis,136 types::*,137 constants::*,138 dispatch::{CollectionDispatchT, CollectionDispatch},139 sponsoring::UniqueSponsorshipHandler,140 eth_sponsoring::UniqueEthSponsorshipHandler,141 weights::CommonWeights,142};143144pub const RUNTIME_NAME: &str = "opal";145pub const TOKEN_SYMBOL: &str = "OPL";146147type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Runtime>;148149impl RuntimeInstance for Runtime {150 type CrossAccountId = self::CrossAccountId;151 type TransactionConverter = self::TransactionConverter;152153 fn get_transaction_converter() -> TransactionConverter {154 TransactionConverter155 }156}157158/// The type for looking up accounts. We don't expect more than 4 billion of them, but you159/// never know...160pub type AccountIndex = u32;161162/// Balance of an account.163pub type Balance = u128;164165/// Index of a transaction in the chain.166pub type Index = u32;167168/// A hash of some data used by the chain.169pub type Hash = sp_core::H256;170171/// Digest item type.172pub type DigestItem = generic::DigestItem;173174/// Opaque types. These are used by the CLI to instantiate machinery that don't need to know175/// the specifics of the runtime. They can then be made to be agnostic over specific formats176/// of data like extrinsics, allowing for them to continue syncing the network through upgrades177/// to even the core data structures.178pub mod opaque {179 use sp_std::prelude::*;180 use sp_runtime::impl_opaque_keys;181 use super::Aura;182183 pub use unique_runtime_common::types::*;184185 impl_opaque_keys! {186 pub struct SessionKeys {187 pub aura: Aura,188 }189 }190}191192/// This runtime version.193pub const VERSION: RuntimeVersion = RuntimeVersion {194 spec_name: create_runtime_str!(RUNTIME_NAME),195 impl_name: create_runtime_str!(RUNTIME_NAME),196 authoring_version: 1,197 spec_version: 922000,198 impl_version: 0,199 apis: RUNTIME_API_VERSIONS,200 transaction_version: 1,201 state_version: 0,202};203204#[derive(codec::Encode, codec::Decode)]205pub enum XCMPMessage<XAccountId, XBalance> {206 /// Transfer tokens to the given account from the Parachain account.207 TransferToken(XAccountId, XBalance),208}209210/// The version information used to identify this runtime when compiled natively.211#[cfg(feature = "std")]212pub fn native_version() -> NativeVersion {213 NativeVersion {214 runtime_version: VERSION,215 can_author_with: Default::default(),216 }217}218219type NegativeImbalance = <Balances as Currency<AccountId>>::NegativeImbalance;220221pub struct DealWithFees;222impl OnUnbalanced<NegativeImbalance> for DealWithFees {223 fn on_unbalanceds<B>(mut fees_then_tips: impl Iterator<Item = NegativeImbalance>) {224 if let Some(fees) = fees_then_tips.next() {225 // for fees, 100% to treasury226 let mut split = fees.ration(100, 0);227 if let Some(tips) = fees_then_tips.next() {228 // for tips, if any, 100% to treasury229 tips.ration_merge_into(100, 0, &mut split);230 }231 Treasury::on_unbalanced(split.0);232 // Author::on_unbalanced(split.1);233 }234 }235}236237parameter_types! {238 pub const BlockHashCount: BlockNumber = 2400;239 pub RuntimeBlockLength: BlockLength =240 BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO);241 pub const AvailableBlockRatio: Perbill = Perbill::from_percent(75);242 pub const MaximumBlockLength: u32 = 5 * 1024 * 1024;243 pub RuntimeBlockWeights: BlockWeights = BlockWeights::builder()244 .base_block(BlockExecutionWeight::get())245 .for_class(DispatchClass::all(), |weights| {246 weights.base_extrinsic = ExtrinsicBaseWeight::get();247 })248 .for_class(DispatchClass::Normal, |weights| {249 weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);250 })251 .for_class(DispatchClass::Operational, |weights| {252 weights.max_total = Some(MAXIMUM_BLOCK_WEIGHT);253 // Operational transactions have some extra reserved space, so that they254 // are included even if block reached `MAXIMUM_BLOCK_WEIGHT`.255 weights.reserved = Some(256 MAXIMUM_BLOCK_WEIGHT - NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT257 );258 })259 .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)260 .build_or_panic();261 pub const Version: RuntimeVersion = VERSION;262 pub const SS58Prefix: u8 = 42;263}264265parameter_types! {266 pub const ChainId: u64 = 8882;267}268269pub struct FixedFee;270impl FeeCalculator for FixedFee {271 fn min_gas_price() -> (U256, u64) {272 (MIN_GAS_PRICE.into(), 0)273 }274}275276// Assuming slowest ethereum opcode is SSTORE, with gas price of 20000 as our worst case277// (contract, which only writes a lot of data),278// approximating on top of our real store write weight279parameter_types! {280 pub const WritesPerSecond: u64 = WEIGHT_PER_SECOND / <Runtime as frame_system::Config>::DbWeight::get().write;281 pub const GasPerSecond: u64 = WritesPerSecond::get() * 20000;282 pub const WeightPerGas: u64 = WEIGHT_PER_SECOND / GasPerSecond::get();283}284285/// Limiting EVM execution to 50% of block for substrate users and management tasks286/// EVM transaction consumes more weight than substrate's, so we can't rely on them being287/// scheduled fairly288const EVM_DISPATCH_RATIO: Perbill = Perbill::from_percent(50);289parameter_types! {290 pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * EVM_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT / WeightPerGas::get());291}292293pub enum FixedGasWeightMapping {}294impl GasWeightMapping for FixedGasWeightMapping {295 fn gas_to_weight(gas: u64) -> Weight {296 gas.saturating_mul(WeightPerGas::get())297 }298 fn weight_to_gas(weight: Weight) -> u64 {299 weight / WeightPerGas::get()300 }301}302303impl pallet_evm::account::Config for Runtime {304 type CrossAccountId = pallet_evm::account::BasicCrossAccountId<Self>;305 type EvmAddressMapping = pallet_evm::HashedAddressMapping<Self::Hashing>;306 type EvmBackwardsAddressMapping = fp_evm_mapping::MapBackwardsAddressTruncated;307}308309impl pallet_evm::Config for Runtime {310 type BlockGasLimit = BlockGasLimit;311 type FeeCalculator = FixedFee;312 type GasWeightMapping = FixedGasWeightMapping;313 type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;314 type CallOrigin = EnsureAddressTruncated<Self>;315 type WithdrawOrigin = EnsureAddressTruncated<Self>;316 type AddressMapping = HashedAddressMapping<Self::Hashing>;317 type PrecompilesType = ();318 type PrecompilesValue = ();319 type Currency = Balances;320 type Event = Event;321 type OnMethodCall = (322 pallet_evm_migration::OnMethodCall<Self>,323 pallet_evm_contract_helpers::HelpersOnMethodCall<Self>,324 CollectionDispatchT<Self>,325 pallet_unique::eth::CollectionHelpersOnMethodCall<Self>,326 );327 type OnCreate = pallet_evm_contract_helpers::HelpersOnCreate<Self>;328 type ChainId = ChainId;329 type Runner = pallet_evm::runner::stack::Runner<Self>;330 type OnChargeTransaction = pallet_evm::EVMCurrencyAdapter<Balances, DealWithFees>;331 type TransactionValidityHack = pallet_evm_transaction_payment::TransactionValidityHack<Self>;332 type FindAuthor = EthereumFindAuthor<Aura>;333}334335impl pallet_evm_migration::Config for Runtime {336 type WeightInfo = pallet_evm_migration::weights::SubstrateWeight<Self>;337}338339pub struct EthereumFindAuthor<F>(core::marker::PhantomData<F>);340impl<F: FindAuthor<u32>> FindAuthor<H160> for EthereumFindAuthor<F> {341 fn find_author<'a, I>(digests: I) -> Option<H160>342 where343 I: 'a + IntoIterator<Item = (ConsensusEngineId, &'a [u8])>,344 {345 if let Some(author_index) = F::find_author(digests) {346 let authority_id = Aura::authorities()[author_index as usize].clone();347 return Some(H160::from_slice(&authority_id.to_raw_vec()[4..24]));348 }349 None350 }351}352353impl pallet_ethereum::Config for Runtime {354 type Event = Event;355 type StateRoot = pallet_ethereum::IntermediateStateRoot<Self>;356}357358impl pallet_randomness_collective_flip::Config for Runtime {}359360impl frame_system::Config for Runtime {361 /// The data to be stored in an account.362 type AccountData = pallet_balances::AccountData<Balance>;363 /// The identifier used to distinguish between accounts.364 type AccountId = AccountId;365 /// The basic call filter to use in dispatchable.366 type BaseCallFilter = Everything;367 /// Maximum number of block number to block hash mappings to keep (oldest pruned first).368 type BlockHashCount = BlockHashCount;369 /// The maximum length of a block (in bytes).370 type BlockLength = RuntimeBlockLength;371 /// The index type for blocks.372 type BlockNumber = BlockNumber;373 /// The weight of the overhead invoked on the block import process, independent of the extrinsics included in that block.374 type BlockWeights = RuntimeBlockWeights;375 /// The aggregated dispatch type that is available for extrinsics.376 type Call = Call;377 /// The weight of database operations that the runtime can invoke.378 type DbWeight = RocksDbWeight;379 /// The ubiquitous event type.380 type Event = Event;381 /// The type for hashing blocks and tries.382 type Hash = Hash;383 /// The hashing algorithm used.384 type Hashing = BlakeTwo256;385 /// The header type.386 type Header = generic::Header<BlockNumber, BlakeTwo256>;387 /// The index type for storing how many extrinsics an account has signed.388 type Index = Index;389 /// The lookup mechanism to get account ID from whatever is passed in dispatchers.390 type Lookup = AccountIdLookup<AccountId, ()>;391 /// What to do if an account is fully reaped from the system.392 type OnKilledAccount = ();393 /// What to do if a new account is created.394 type OnNewAccount = ();395 type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;396 /// The ubiquitous origin type.397 type Origin = Origin;398 /// This type is being generated by `construct_runtime!`.399 type PalletInfo = PalletInfo;400 /// This is used as an identifier of the chain. 42 is the generic substrate prefix.401 type SS58Prefix = SS58Prefix;402 /// Weight information for the extrinsics of this pallet.403 type SystemWeightInfo = frame_system::weights::SubstrateWeight<Self>;404 /// Version of the runtime.405 type Version = Version;406 type MaxConsumers = ConstU32<16>;407}408409parameter_types! {410 pub const MinimumPeriod: u64 = SLOT_DURATION / 2;411}412413impl pallet_timestamp::Config for Runtime {414 /// A timestamp: milliseconds since the unix epoch.415 type Moment = u64;416 type OnTimestampSet = ();417 type MinimumPeriod = MinimumPeriod;418 type WeightInfo = ();419}420421parameter_types! {422 // pub const ExistentialDeposit: u128 = 500;423 pub const ExistentialDeposit: u128 = 0;424 pub const MaxLocks: u32 = 50;425 pub const MaxReserves: u32 = 50;426}427428impl pallet_balances::Config for Runtime {429 type MaxLocks = MaxLocks;430 type MaxReserves = MaxReserves;431 type ReserveIdentifier = [u8; 16];432 /// The type for recording an account's balance.433 type Balance = Balance;434 /// The ubiquitous event type.435 type Event = Event;436 type DustRemoval = Treasury;437 type ExistentialDeposit = ExistentialDeposit;438 type AccountStore = System;439 type WeightInfo = pallet_balances::weights::SubstrateWeight<Self>;440}441442pub const fn deposit(items: u32, bytes: u32) -> Balance {443 items as Balance * 15 * CENTIUNIQUE + (bytes as Balance) * 6 * CENTIUNIQUE444}445446/*447parameter_types! {448 pub TombstoneDeposit: Balance = deposit(449 1,450 sp_std::mem::size_of::<pallet_contracts::Pallet<Runtime>> as u32,451 );452 pub DepositPerContract: Balance = TombstoneDeposit::get();453 pub const DepositPerStorageByte: Balance = deposit(0, 1);454 pub const DepositPerStorageItem: Balance = deposit(1, 0);455 pub RentFraction: Perbill = Perbill::from_rational(1u32, 30 * DAYS);456 pub const SurchargeReward: Balance = 150 * MILLIUNIQUE;457 pub const SignedClaimHandicap: u32 = 2;458 pub const MaxDepth: u32 = 32;459 pub const MaxValueSize: u32 = 16 * 1024;460 pub const MaxCodeSize: u32 = 1024 * 1024 * 25; // 25 Mb461 // The lazy deletion runs inside on_initialize.462 pub DeletionWeightLimit: Weight = AVERAGE_ON_INITIALIZE_RATIO *463 RuntimeBlockWeights::get().max_block;464 // The weight needed for decoding the queue should be less or equal than a fifth465 // of the overall weight dedicated to the lazy deletion.466 pub DeletionQueueDepth: u32 = ((DeletionWeightLimit::get() / (467 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(1) -468 <Runtime as pallet_contracts::Config>::WeightInfo::on_initialize_per_queue_item(0)469 )) / 5) as u32;470 pub Schedule: pallet_contracts::Schedule<Runtime> = Default::default();471}472473impl pallet_contracts::Config for Runtime {474 type Time = Timestamp;475 type Randomness = RandomnessCollectiveFlip;476 type Currency = Balances;477 type Event = Event;478 type RentPayment = ();479 type SignedClaimHandicap = SignedClaimHandicap;480 type TombstoneDeposit = TombstoneDeposit;481 type DepositPerContract = DepositPerContract;482 type DepositPerStorageByte = DepositPerStorageByte;483 type DepositPerStorageItem = DepositPerStorageItem;484 type RentFraction = RentFraction;485 type SurchargeReward = SurchargeReward;486 type WeightPrice = pallet_transaction_payment::Pallet<Self>;487 type WeightInfo = pallet_contracts::weights::SubstrateWeight<Self>;488 type ChainExtension = NFTExtension;489 type DeletionQueueDepth = DeletionQueueDepth;490 type DeletionWeightLimit = DeletionWeightLimit;491 type Schedule = Schedule;492 type CallStack = [pallet_contracts::Frame<Self>; 31];493}494*/495496parameter_types! {497 /// This value increases the priority of `Operational` transactions by adding498 /// a "virtual tip" that's equal to the `OperationalFeeMultiplier * final_fee`.499 pub const OperationalFeeMultiplier: u8 = 5;500}501502/// Linear implementor of `WeightToFeePolynomial`503pub struct LinearFee<T>(sp_std::marker::PhantomData<T>);504505impl<T> WeightToFeePolynomial for LinearFee<T>506where507 T: BaseArithmetic + From<u32> + Copy + Unsigned,508{509 type Balance = T;510511 fn polynomial() -> WeightToFeeCoefficients<Self::Balance> {512 smallvec!(WeightToFeeCoefficient {513 // Targeting 0.1 Unique per NFT transfer514 coeff_integer: WEIGHT_TO_FEE_COEFF.into(),515 coeff_frac: Perbill::zero(),516 negative: false,517 degree: 1,518 })519 }520}521522impl pallet_transaction_payment::Config for Runtime {523 type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;524 type LengthToFee = ConstantMultiplier<Balance, TransactionByteFee>;525 type OperationalFeeMultiplier = OperationalFeeMultiplier;526 type WeightToFee = LinearFee<Balance>;527 type FeeMultiplierUpdate = ();528}529530parameter_types! {531 pub const ProposalBond: Permill = Permill::from_percent(5);532 pub const ProposalBondMinimum: Balance = 1 * UNIQUE;533 pub const ProposalBondMaximum: Balance = 1000 * UNIQUE;534 pub const SpendPeriod: BlockNumber = 5 * MINUTES;535 pub const Burn: Permill = Permill::from_percent(0);536 pub const TipCountdown: BlockNumber = 1 * DAYS;537 pub const TipFindersFee: Percent = Percent::from_percent(20);538 pub const TipReportDepositBase: Balance = 1 * UNIQUE;539 pub const DataDepositPerByte: Balance = 1 * CENTIUNIQUE;540 pub const BountyDepositBase: Balance = 1 * UNIQUE;541 pub const BountyDepositPayoutDelay: BlockNumber = 1 * DAYS;542 pub const TreasuryModuleId: PalletId = PalletId(*b"py/trsry");543 pub const BountyUpdatePeriod: BlockNumber = 14 * DAYS;544 pub const MaximumReasonLength: u32 = 16384;545 pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);546 pub const BountyValueMinimum: Balance = 5 * UNIQUE;547 pub const MaxApprovals: u32 = 100;548}549550impl pallet_treasury::Config for Runtime {551 type PalletId = TreasuryModuleId;552 type Currency = Balances;553 type ApproveOrigin = EnsureRoot<AccountId>;554 type RejectOrigin = EnsureRoot<AccountId>;555 type Event = Event;556 type OnSlash = ();557 type ProposalBond = ProposalBond;558 type ProposalBondMinimum = ProposalBondMinimum;559 type ProposalBondMaximum = ProposalBondMaximum;560 type SpendPeriod = SpendPeriod;561 type Burn = Burn;562 type BurnDestination = ();563 type SpendFunds = ();564 type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;565 type MaxApprovals = MaxApprovals;566}567568impl pallet_sudo::Config for Runtime {569 type Event = Event;570 type Call = Call;571}572573pub struct RelayChainBlockNumberProvider<T>(sp_std::marker::PhantomData<T>);574575impl<T: cumulus_pallet_parachain_system::Config> BlockNumberProvider576 for RelayChainBlockNumberProvider<T>577{578 type BlockNumber = BlockNumber;579580 fn current_block_number() -> Self::BlockNumber {581 cumulus_pallet_parachain_system::Pallet::<T>::validation_data()582 .map(|d| d.relay_parent_number)583 .unwrap_or_default()584 }585}586587parameter_types! {588 pub const MinVestedTransfer: Balance = 10 * UNIQUE;589 pub const MaxVestingSchedules: u32 = 28;590}591592impl orml_vesting::Config for Runtime {593 type Event = Event;594 type Currency = pallet_balances::Pallet<Runtime>;595 type MinVestedTransfer = MinVestedTransfer;596 type VestedTransferOrigin = EnsureSigned<AccountId>;597 type WeightInfo = ();598 type MaxVestingSchedules = MaxVestingSchedules;599 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;600}601602parameter_types! {603 pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;604 pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4;605}606607impl cumulus_pallet_parachain_system::Config for Runtime {608 type Event = Event;609 type SelfParaId = parachain_info::Pallet<Self>;610 type OnSystemEvent = ();611 // type DownwardMessageHandlers = cumulus_primitives_utility::UnqueuedDmpAsParent<612 // MaxDownwardMessageWeight,613 // XcmExecutor<XcmConfig>,614 // Call,615 // >;616 type OutboundXcmpMessageSource = XcmpQueue;617 type DmpMessageHandler = DmpQueue;618 type ReservedDmpWeight = ReservedDmpWeight;619 type ReservedXcmpWeight = ReservedXcmpWeight;620 type XcmpMessageHandler = XcmpQueue;621}622623impl parachain_info::Config for Runtime {}624625impl cumulus_pallet_aura_ext::Config for Runtime {}626627parameter_types! {628 pub const RelayLocation: MultiLocation = MultiLocation::parent();629 pub const RelayNetwork: NetworkId = NetworkId::Polkadot;630 pub RelayOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();631 pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();632}633634/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used635/// when determining ownership of accounts for asset transacting and when attempting to use XCM636/// `Transact` in order to determine the dispatch Origin.637pub type LocationToAccountId = (638 // The parent (Relay-chain) origin converts to the default `AccountId`.639 ParentIsPreset<AccountId>,640 // Sibling parachain origins convert to AccountId via the `ParaId::into`.641 SiblingParachainConvertsVia<Sibling, AccountId>,642 // Straight up local `AccountId32` origins just alias directly to `AccountId`.643 AccountId32Aliases<RelayNetwork, AccountId>,644);645646pub struct OnlySelfCurrency;647impl<B: TryFrom<u128>> MatchesFungible<B> for OnlySelfCurrency {648 fn matches_fungible(a: &MultiAsset) -> Option<B> {649 match (&a.id, &a.fun) {650 (Concrete(_), XcmFungible(ref amount)) => CheckedConversion::checked_from(*amount),651 _ => None,652 }653 }654}655656/// Means for transacting assets on this chain.657pub type LocalAssetTransactor = CurrencyAdapter<658 // Use this currency:659 Balances,660 // Use this currency when it is a fungible asset matching the given location or name:661 OnlySelfCurrency,662 // Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID:663 LocationToAccountId,664 // Our chain's account ID type (we can't get away without mentioning it explicitly):665 AccountId,666 // We don't track any teleports.667 (),668>;669670/// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance,671/// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can672/// biases the kind of local `Origin` it will become.673pub type XcmOriginToTransactDispatchOrigin = (674 // Sovereign account converter; this attempts to derive an `AccountId` from the origin location675 // using `LocationToAccountId` and then turn that into the usual `Signed` origin. Useful for676 // foreign chains who want to have a local sovereign account on this chain which they control.677 SovereignSignedViaLocation<LocationToAccountId, Origin>,678 // Native converter for Relay-chain (Parent) location; will converts to a `Relay` origin when679 // recognised.680 RelayChainAsNative<RelayOrigin, Origin>,681 // Native converter for sibling Parachains; will convert to a `SiblingPara` origin when682 // recognised.683 SiblingParachainAsNative<cumulus_pallet_xcm::Origin, Origin>,684 // Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a685 // transaction from the Root origin.686 ParentAsSuperuser<Origin>,687 // Native signed account converter; this just converts an `AccountId32` origin into a normal688 // `Origin::Signed` origin of the same 32-byte value.689 SignedAccountId32AsNative<RelayNetwork, Origin>,690 // Xcm origins can be represented natively under the Xcm pallet's Xcm origin.691 XcmPassthrough<Origin>,692);693694parameter_types! {695 // One XCM operation is 1_000_000 weight - almost certainly a conservative estimate.696 pub UnitWeightCost: Weight = 1_000_000;697 // 1200 UNIQUEs buy 1 second of weight.698 pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), 1_200 * UNIQUE);699 pub const MaxInstructions: u32 = 100;700 pub const MaxAuthorities: u32 = 100_000;701}702703match_types! {704 pub type ParentOrParentsUnitPlurality: impl Contains<MultiLocation> = {705 MultiLocation { parents: 1, interior: Here } |706 MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Unit, .. }) }707 };708}709710pub type Barrier = (711 TakeWeightCredit,712 AllowTopLevelPaidExecutionFrom<Everything>,713 AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,714 // ^^^ Parent & its unit plurality gets free execution715);716717pub struct UsingOnlySelfCurrencyComponents<718 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,719 AssetId: Get<MultiLocation>,720 AccountId,721 Currency: CurrencyT<AccountId>,722 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,723>(724 Weight,725 Currency::Balance,726 PhantomData<(WeightToFee, AssetId, AccountId, Currency, OnUnbalanced)>,727);728impl<729 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,730 AssetId: Get<MultiLocation>,731 AccountId,732 Currency: CurrencyT<AccountId>,733 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,734 > WeightTrader735 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>736{737 fn new() -> Self {738 Self(0, Zero::zero(), PhantomData)739 }740741 fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {742 let amount = WeightToFee::weight_to_fee(&weight);743 let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;744745 // location to this parachain through relay chain746 let option1: xcm::v1::AssetId = Concrete(MultiLocation {747 parents: 1,748 interior: X1(Parachain(ParachainInfo::parachain_id().into())),749 });750 // direct location751 let option2: xcm::v1::AssetId = Concrete(MultiLocation {752 parents: 0,753 interior: Here,754 });755756 let required = if payment.fungible.contains_key(&option1) {757 (option1, u128_amount).into()758 } else if payment.fungible.contains_key(&option2) {759 (option2, u128_amount).into()760 } else {761 (Concrete(MultiLocation::default()), u128_amount).into()762 };763764 let unused = payment765 .checked_sub(required)766 .map_err(|_| XcmError::TooExpensive)?;767 self.0 = self.0.saturating_add(weight);768 self.1 = self.1.saturating_add(amount);769 Ok(unused)770 }771772 fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {773 let weight = weight.min(self.0);774 let amount = WeightToFee::weight_to_fee(&weight);775 self.0 -= weight;776 self.1 = self.1.saturating_sub(amount);777 let amount: u128 = amount.saturated_into();778 if amount > 0 {779 Some((AssetId::get(), amount).into())780 } else {781 None782 }783 }784}785impl<786 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,787 AssetId: Get<MultiLocation>,788 AccountId,789 Currency: CurrencyT<AccountId>,790 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,791 > Drop792 for UsingOnlySelfCurrencyComponents<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>793{794 fn drop(&mut self) {795 OnUnbalanced::on_unbalanced(Currency::issue(self.1));796 }797}798799pub struct XcmConfig;800impl Config for XcmConfig {801 type Call = Call;802 type XcmSender = XcmRouter;803 // How to withdraw and deposit an asset.804 type AssetTransactor = LocalAssetTransactor;805 type OriginConverter = XcmOriginToTransactDispatchOrigin;806 type IsReserve = NativeAsset;807 type IsTeleporter = (); // Teleportation is disabled808 type LocationInverter = LocationInverter<Ancestry>;809 type Barrier = Barrier;810 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;811 type Trader =812 UsingOnlySelfCurrencyComponents<LinearFee<Balance>, RelayLocation, AccountId, Balances, ()>;813 type ResponseHandler = (); // Don't handle responses for now.814 type SubscriptionService = PolkadotXcm;815816 type AssetTrap = PolkadotXcm;817 type AssetClaims = PolkadotXcm;818}819820// parameter_types! {821// pub const MaxDownwardMessageWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10;822// }823824/// No local origins on this chain are allowed to dispatch XCM sends/executions.825pub type LocalOriginToLocation = (SignedToAccountId32<Origin, AccountId, RelayNetwork>,);826827/// The means for routing XCM messages which are not for local execution into the right message828/// queues.829pub type XcmRouter = (830 // Two routers - use UMP to communicate with the relay chain:831 cumulus_primitives_utility::ParentAsUmp<ParachainSystem, ()>,832 // ..and XCMP to communicate with the sibling chains.833 XcmpQueue,834);835836impl pallet_evm_coder_substrate::Config for Runtime {}837838impl pallet_xcm::Config for Runtime {839 type Event = Event;840 type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;841 type XcmRouter = XcmRouter;842 type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;843 type XcmExecuteFilter = Everything;844 type XcmExecutor = XcmExecutor<XcmConfig>;845 type XcmTeleportFilter = Everything;846 type XcmReserveTransferFilter = Everything;847 type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;848 type LocationInverter = LocationInverter<Ancestry>;849 type Origin = Origin;850 type Call = Call;851 const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100;852 type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion;853}854855impl cumulus_pallet_xcm::Config for Runtime {856 type Event = Event;857 type XcmExecutor = XcmExecutor<XcmConfig>;858}859860impl cumulus_pallet_xcmp_queue::Config for Runtime {861 type WeightInfo = ();862 type Event = Event;863 type XcmExecutor = XcmExecutor<XcmConfig>;864 type ChannelInfo = ParachainSystem;865 type VersionWrapper = ();866 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;867 type ControllerOrigin = EnsureRoot<AccountId>;868 type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;869}870871impl cumulus_pallet_dmp_queue::Config for Runtime {872 type Event = Event;873 type XcmExecutor = XcmExecutor<XcmConfig>;874 type ExecuteOverweightOrigin = frame_system::EnsureRoot<AccountId>;875}876877impl pallet_aura::Config for Runtime {878 type AuthorityId = AuraId;879 type DisabledValidators = ();880 type MaxAuthorities = MaxAuthorities;881}882883parameter_types! {884 pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();885 pub const CollectionCreationPrice: Balance = 2 * UNIQUE;886}887888impl pallet_common::Config for Runtime {889 type WeightInfo = pallet_common::weights::SubstrateWeight<Self>;890 type Event = Event;891 type Currency = Balances;892 type CollectionCreationPrice = CollectionCreationPrice;893 type TreasuryAccountId = TreasuryAccountId;894 type CollectionDispatch = CollectionDispatchT<Self>;895896 type EvmTokenAddressMapping = EvmTokenAddressMapping;897 type CrossTokenAddressMapping = CrossTokenAddressMapping<Self::AccountId>;898 type ContractAddress = EvmCollectionHelpersAddress;899}900901impl pallet_structure::Config for Runtime {902 type Event = Event;903 type Call = Call;904 type WeightInfo = pallet_structure::weights::SubstrateWeight<Self>;905}906907impl pallet_fungible::Config for Runtime {908 type WeightInfo = pallet_fungible::weights::SubstrateWeight<Self>;909}910impl pallet_refungible::Config for Runtime {911 type WeightInfo = pallet_refungible::weights::SubstrateWeight<Self>;912}913impl pallet_nonfungible::Config for Runtime {914 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;915}916917impl pallet_proxy_rmrk_core::Config for Runtime {918 type WeightInfo = pallet_proxy_rmrk_core::weights::SubstrateWeight<Self>;919 type Event = Event;920}921922impl pallet_proxy_rmrk_equip::Config for Runtime {923 type Event = Event;924}925926impl pallet_unique::Config for Runtime {927 type Event = Event;928 type WeightInfo = pallet_unique::weights::SubstrateWeight<Self>;929 type CommonWeightInfo = CommonWeights<Self>;930}931932parameter_types! {933 pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied934}935936/// Used for the pallet inflation937impl pallet_inflation::Config for Runtime {938 type Currency = Balances;939 type TreasuryAccountId = TreasuryAccountId;940 type InflationBlockInterval = InflationBlockInterval;941 type BlockNumberProvider = RelayChainBlockNumberProvider<Runtime>;942}943944parameter_types! {945 pub MaximumSchedulerWeight: Weight = Perbill::from_percent(50) *946 RuntimeBlockWeights::get().max_block;947 pub const MaxScheduledPerBlock: u32 = 50;948}949950type ChargeTransactionPayment = pallet_charge_transaction::ChargeTransactionPayment<Runtime>;951use frame_support::traits::NamedReservableCurrency;952953fn get_signed_extras(from: <Runtime as frame_system::Config>::AccountId) -> SignedExtraScheduler {954 (955 frame_system::CheckSpecVersion::<Runtime>::new(),956 frame_system::CheckGenesis::<Runtime>::new(),957 frame_system::CheckEra::<Runtime>::from(Era::Immortal),958 frame_system::CheckNonce::<Runtime>::from(frame_system::Pallet::<Runtime>::account_nonce(959 from,960 )),961 frame_system::CheckWeight::<Runtime>::new(),962 // sponsoring transaction logic963 // pallet_charge_transaction::ChargeTransactionPayment::<Runtime>::new(0),964 )965}966967pub struct SchedulerPaymentExecutor;968impl<T: frame_system::Config + pallet_unq_scheduler::Config, SelfContainedSignedInfo>969 DispatchCall<T, SelfContainedSignedInfo> for SchedulerPaymentExecutor970where971 <T as frame_system::Config>::Call: Member972 + Dispatchable<Origin = Origin, Info = DispatchInfo>973 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>974 + GetDispatchInfo975 + From<frame_system::Call<Runtime>>,976 SelfContainedSignedInfo: Send + Sync + 'static,977 Call: From<<T as frame_system::Config>::Call>978 + From<<T as pallet_unq_scheduler::Config>::Call>979 + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,980 sp_runtime::AccountId32: From<<T as frame_system::Config>::AccountId>,981{982 fn dispatch_call(983 signer: <T as frame_system::Config>::AccountId,984 call: <T as pallet_unq_scheduler::Config>::Call,985 ) -> Result<986 Result<PostDispatchInfo, DispatchErrorWithPostInfo<PostDispatchInfo>>,987 TransactionValidityError,988 > {989 let dispatch_info = call.get_dispatch_info();990 let extrinsic = fp_self_contained::CheckedExtrinsic::<991 AccountId,992 Call,993 SignedExtraScheduler,994 SelfContainedSignedInfo,995 > {996 signed:997 CheckedSignature::<AccountId, SignedExtraScheduler, SelfContainedSignedInfo>::Signed(998 signer.clone().into(),999 get_signed_extras(signer.into()),1000 ),1001 function: call.into(),1002 };10031004 extrinsic.apply::<Runtime>(&dispatch_info, 0)1005 }10061007 fn reserve_balance(1008 id: [u8; 16],1009 sponsor: <T as frame_system::Config>::AccountId,1010 call: <T as pallet_unq_scheduler::Config>::Call,1011 count: u32,1012 ) -> Result<(), DispatchError> {1013 let dispatch_info = call.get_dispatch_info();1014 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0)1015 .saturating_mul(count.into());10161017 <Balances as NamedReservableCurrency<AccountId>>::reserve_named(1018 &id,1019 &(sponsor.into()),1020 weight,1021 )1022 }10231024 fn pay_for_call(1025 id: [u8; 16],1026 sponsor: <T as frame_system::Config>::AccountId,1027 call: <T as pallet_unq_scheduler::Config>::Call,1028 ) -> Result<u128, DispatchError> {1029 let dispatch_info = call.get_dispatch_info();1030 let weight: Balance = ChargeTransactionPayment::traditional_fee(0, &dispatch_info, 0);1031 Ok(1032 <Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1033 &id,1034 &(sponsor.into()),1035 weight,1036 ),1037 )1038 }10391040 fn cancel_reserve(1041 id: [u8; 16],1042 sponsor: <T as frame_system::Config>::AccountId,1043 ) -> Result<u128, DispatchError> {1044 Ok(1045 <Balances as NamedReservableCurrency<AccountId>>::unreserve_named(1046 &id,1047 &(sponsor.into()),1048 u128::MAX,1049 ),1050 )1051 }1052}10531054parameter_types! {1055 pub const NoPreimagePostponement: Option<u32> = Some(10);1056 pub const Preimage: Option<u32> = Some(10);1057}10581059/// Used the compare the privilege of an origin inside the scheduler.1060pub struct OriginPrivilegeCmp;10611062impl PrivilegeCmp<OriginCaller> for OriginPrivilegeCmp {1063 fn cmp_privilege(_left: &OriginCaller, _right: &OriginCaller) -> Option<Ordering> {1064 Some(Ordering::Equal)1065 }1066}10671068impl pallet_unq_scheduler::Config for Runtime {1069 type Event = Event;1070 type Origin = Origin;1071 type Currency = Balances;1072 type PalletsOrigin = OriginCaller;1073 type Call = Call;1074 type MaximumWeight = MaximumSchedulerWeight;1075 type ScheduleOrigin = EnsureSigned<AccountId>;1076 type MaxScheduledPerBlock = MaxScheduledPerBlock;1077 type WeightInfo = ();1078 type CallExecutor = SchedulerPaymentExecutor;1079 type OriginPrivilegeCmp = OriginPrivilegeCmp;1080 type PreimageProvider = ();1081 type NoPreimagePostponement = NoPreimagePostponement;1082}10831084type EvmSponsorshipHandler = (1085 UniqueEthSponsorshipHandler<Runtime>,1086 pallet_evm_contract_helpers::HelpersContractSponsoring<Runtime>,1087);10881089type SponsorshipHandler = (1090 UniqueSponsorshipHandler<Runtime>,1091 //pallet_contract_helpers::ContractSponsorshipHandler<Runtime>,1092 pallet_evm_transaction_payment::BridgeSponsorshipHandler<Runtime>,1093);10941095impl pallet_evm_transaction_payment::Config for Runtime {1096 type EvmSponsorshipHandler = EvmSponsorshipHandler;1097 type Currency = Balances;1098}10991100impl pallet_charge_transaction::Config for Runtime {1101 type SponsorshipHandler = SponsorshipHandler;1102}11031104// impl pallet_contract_helpers::Config for Runtime {1105// type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1106// }11071108parameter_types! {1109 // 0x842899ECF380553E8a4de75bF534cdf6fBF640491110 pub const HelpersContractAddress: H160 = H160([1111 0x84, 0x28, 0x99, 0xec, 0xf3, 0x80, 0x55, 0x3e, 0x8a, 0x4d, 0xe7, 0x5b, 0xf5, 0x34, 0xcd, 0xf6, 0xfb, 0xf6, 0x40, 0x49,1112 ]);11131114 // 0x6c4e9fe1ae37a41e93cee429e8e1881abdcbb54f1115 pub const EvmCollectionHelpersAddress: H160 = H160([1116 0x6c, 0x4e, 0x9f, 0xe1, 0xae, 0x37, 0xa4, 0x1e, 0x93, 0xce, 0xe4, 0x29, 0xe8, 0xe1, 0x88, 0x1a, 0xbd, 0xcb, 0xb5, 0x4f,1117 ]);1118}11191120impl pallet_evm_contract_helpers::Config for Runtime {1121 type ContractAddress = HelpersContractAddress;1122 type DefaultSponsoringRateLimit = DefaultSponsoringRateLimit;1123}11241125construct_runtime!(1126 pub enum Runtime where1127 Block = Block,1128 NodeBlock = opaque::Block,1129 UncheckedExtrinsic = UncheckedExtrinsic1130 {1131 ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,1132 ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,11331134 Aura: pallet_aura::{Pallet, Config<T>} = 22,1135 AuraExt: cumulus_pallet_aura_ext::{Pallet, Config} = 23,11361137 Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 30,1138 RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Pallet, Storage} = 31,1139 Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 32,1140 TransactionPayment: pallet_transaction_payment::{Pallet, Storage} = 33,1141 Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event<T>} = 34,1142 Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 35,1143 System: frame_system::{Pallet, Call, Storage, Config, Event<T>} = 36,1144 Vesting: orml_vesting::{Pallet, Storage, Call, Event<T>, Config<T>} = 37,1145 // Vesting: pallet_vesting::{Pallet, Call, Config<T>, Storage, Event<T>} = 37,1146 // Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 38,11471148 // XCM helpers.1149 XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event<T>} = 50,1150 PolkadotXcm: pallet_xcm::{Pallet, Call, Event<T>, Origin} = 51,1151 CumulusXcm: cumulus_pallet_xcm::{Pallet, Call, Event<T>, Origin} = 52,1152 DmpQueue: cumulus_pallet_dmp_queue::{Pallet, Call, Storage, Event<T>} = 53,11531154 // Unique Pallets1155 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,1156 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,1157 Scheduler: pallet_unq_scheduler::{Pallet, Call, Storage, Event<T>} = 62,1158 // free = 631159 Charging: pallet_charge_transaction::{Pallet, Call, Storage } = 64,1160 // ContractHelpers: pallet_contract_helpers::{Pallet, Call, Storage} = 65,1161 Common: pallet_common::{Pallet, Storage, Event<T>} = 66,1162 Fungible: pallet_fungible::{Pallet, Storage} = 67,1163 Refungible: pallet_refungible::{Pallet, Storage} = 68,1164 Nonfungible: pallet_nonfungible::{Pallet, Storage} = 69,1165 Structure: pallet_structure::{Pallet, Call, Storage, Event<T>} = 70,1166 RmrkCore: pallet_proxy_rmrk_core::{Pallet, Call, Storage, Event<T>} = 71,1167 RmrkEquip: pallet_proxy_rmrk_equip::{Pallet, Call, Storage, Event<T>} = 72,11681169 // Frontier1170 EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,1171 Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,11721173 EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,1174 EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,1175 EvmTransactionPayment: pallet_evm_transaction_payment::{Pallet} = 152,1176 EvmMigration: pallet_evm_migration::{Pallet, Call, Storage} = 153,1177 }1178);11791180pub struct TransactionConverter;11811182impl fp_rpc::ConvertTransaction<UncheckedExtrinsic> for TransactionConverter {1183 fn convert_transaction(&self, transaction: pallet_ethereum::Transaction) -> UncheckedExtrinsic {1184 UncheckedExtrinsic::new_unsigned(1185 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1186 )1187 }1188}11891190impl fp_rpc::ConvertTransaction<opaque::UncheckedExtrinsic> for TransactionConverter {1191 fn convert_transaction(1192 &self,1193 transaction: pallet_ethereum::Transaction,1194 ) -> opaque::UncheckedExtrinsic {1195 let extrinsic = UncheckedExtrinsic::new_unsigned(1196 pallet_ethereum::Call::<Runtime>::transact { transaction }.into(),1197 );1198 let encoded = extrinsic.encode();1199 opaque::UncheckedExtrinsic::decode(&mut &encoded[..])1200 .expect("Encoded extrinsic is always valid")1201 }1202}12031204/// The address format for describing accounts.1205pub type Address = sp_runtime::MultiAddress<AccountId, ()>;1206/// Block header type as expected by this runtime.1207pub type Header = generic::Header<BlockNumber, BlakeTwo256>;1208/// Block type as expected by this runtime.1209pub type Block = generic::Block<Header, UncheckedExtrinsic>;1210/// A Block signed with a Justification1211pub type SignedBlock = generic::SignedBlock<Block>;1212/// BlockId type as expected by this runtime.1213pub type BlockId = generic::BlockId<Block>;1214/// The SignedExtension to the basic transaction logic.1215pub type SignedExtra = (1216 frame_system::CheckSpecVersion<Runtime>,1217 // system::CheckTxVersion<Runtime>,1218 frame_system::CheckGenesis<Runtime>,1219 frame_system::CheckEra<Runtime>,1220 frame_system::CheckNonce<Runtime>,1221 frame_system::CheckWeight<Runtime>,1222 ChargeTransactionPayment,1223 //pallet_contract_helpers::ContractHelpersExtension<Runtime>,1224 pallet_ethereum::FakeTransactionFinalizer<Runtime>,1225);1226pub type SignedExtraScheduler = (1227 frame_system::CheckSpecVersion<Runtime>,1228 frame_system::CheckGenesis<Runtime>,1229 frame_system::CheckEra<Runtime>,1230 frame_system::CheckNonce<Runtime>,1231 frame_system::CheckWeight<Runtime>,1232);1233/// Unchecked extrinsic type as expected by this runtime.1234pub type UncheckedExtrinsic =1235 fp_self_contained::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;1236/// Extrinsic type that has already been checked.1237pub type CheckedExtrinsic = fp_self_contained::CheckedExtrinsic<AccountId, Call, SignedExtra, H160>;1238/// Executive: handles dispatch to the various modules.1239pub type Executive = frame_executive::Executive<1240 Runtime,1241 Block,1242 frame_system::ChainContext<Runtime>,1243 Runtime,1244 AllPalletsReversedWithSystemFirst,1245>;12461247impl_opaque_keys! {1248 pub struct SessionKeys {1249 pub aura: Aura,1250 }1251}12521253impl fp_self_contained::SelfContainedCall for Call {1254 type SignedInfo = H160;12551256 fn is_self_contained(&self) -> bool {1257 match self {1258 Call::Ethereum(call) => call.is_self_contained(),1259 _ => false,1260 }1261 }12621263 fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {1264 match self {1265 Call::Ethereum(call) => call.check_self_contained(),1266 _ => None,1267 }1268 }12691270 fn validate_self_contained(1271 &self,1272 info: &Self::SignedInfo,1273 dispatch_info: &DispatchInfoOf<Call>,1274 len: usize,1275 ) -> Option<TransactionValidity> {1276 match self {1277 Call::Ethereum(call) => call.validate_self_contained(info, dispatch_info, len),1278 _ => None,1279 }1280 }12811282 fn pre_dispatch_self_contained(1283 &self,1284 info: &Self::SignedInfo,1285 ) -> Option<Result<(), TransactionValidityError>> {1286 match self {1287 Call::Ethereum(call) => call.pre_dispatch_self_contained(info),1288 _ => None,1289 }1290 }12911292 fn apply_self_contained(1293 self,1294 info: Self::SignedInfo,1295 ) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {1296 match self {1297 call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(1298 Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),1299 )),1300 _ => None,1301 }1302 }1303}13041305macro_rules! dispatch_unique_runtime {1306 ($collection:ident.$method:ident($($name:ident),*)) => {{1307 let collection = <Runtime as pallet_common::Config>::CollectionDispatch::dispatch(<pallet_common::CollectionHandle<Runtime>>::try_get($collection)?);1308 let dispatch = collection.as_dyn();13091310 Ok::<_, DispatchError>(dispatch.$method($($name),*))1311 }};1312}13131314impl_common_runtime_apis!();13151316struct CheckInherents;13171318impl cumulus_pallet_parachain_system::CheckInherents<Block> for CheckInherents {1319 fn check_inherents(1320 block: &Block,1321 relay_state_proof: &cumulus_pallet_parachain_system::RelayChainStateProof,1322 ) -> sp_inherents::CheckInherentsResult {1323 let relay_chain_slot = relay_state_proof1324 .read_slot()1325 .expect("Could not read the relay chain slot from the proof");13261327 let inherent_data =1328 cumulus_primitives_timestamp::InherentDataProvider::from_relay_chain_slot_and_duration(1329 relay_chain_slot,1330 sp_std::time::Duration::from_secs(6),1331 )1332 .create_inherent_data()1333 .expect("Could not create the timestamp inherent data");13341335 inherent_data.check_extrinsics(block)1336 }1337}13381339cumulus_pallet_parachain_system::register_validate_block!(1340 Runtime = Runtime,1341 BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,1342 CheckInherents = CheckInherents,1343);runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -131,39 +131,39 @@
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-try-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate'
optional = true
-branch = 'polkadot-v0.9.22'
+branch = 'polkadot-v0.9.23'
[dependencies.frame-executive]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system-benchmarking]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.hex-literal]
optional = true
@@ -178,12 +178,12 @@
[dependencies.pallet-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
# Contracts specific packages
# [dependencies.pallet-contracts]
@@ -207,32 +207,32 @@
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-sudo]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-transaction-payment]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-treasury]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
# [dependencies.pallet-vesting]
# default-features = false
@@ -242,67 +242,67 @@
[dependencies.sp-arithmetic]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-block-builder]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-inherents]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-offchain]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-session]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-transaction-pool]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-version]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.smallvec]
version = '1.6.1'
@@ -313,46 +313,46 @@
[dependencies.parachain-info]
default-features = false
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-pallet-aura-ext]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-xcm]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-utility]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
################################################################################
@@ -360,32 +360,32 @@
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm-builder]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm-executor]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.pallet-xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.orml-vesting]
git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.22"
+branch = "unique-polkadot-v0.9.23"
version = "0.4.1-dev"
default-features = false
@@ -409,7 +409,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.22" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
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" }
@@ -421,20 +421,20 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
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.22", 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.23", 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.22" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
################################################################################
# Build Dependencies
[build-dependencies.substrate-wasm-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -66,6 +66,7 @@
constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,
WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
+ WeightToFee,
},
};
use pallet_unq_scheduler::DispatchCall;
@@ -737,7 +738,7 @@
}
fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {
- let amount = WeightToFee::calc(&weight);
+ let amount = WeightToFee::weight_to_fee(&weight);
let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;
// location to this parachain through relay chain
@@ -769,7 +770,7 @@
fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {
let weight = weight.min(self.0);
- let amount = WeightToFee::calc(&weight);
+ let amount = WeightToFee::weight_to_fee(&weight);
self.0 -= weight;
self.1 = self.1.saturating_sub(amount);
let amount: u128 = amount.saturated_into();
@@ -807,7 +808,7 @@
type Barrier = Barrier;
type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;
type Trader = UsingOnlySelfCurrencyComponents<
- IdentityFee<Balance>,
+ LinearFee<Balance>,
RelayLocation,
AccountId,
Balances,
@@ -884,7 +885,7 @@
}
parameter_types! {
- pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();
+ pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
}
runtime/tests/Cargo.tomldiffbeforeafterboth--- a/runtime/tests/Cargo.toml
+++ b/runtime/tests/Cargo.toml
@@ -7,22 +7,22 @@
unique-runtime-common = { path = '../common' }
up-data-structs = { default-features = false, path = '../../primitives/data-structs' }
-sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-std = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
+sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-std = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
-frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
+frame-support = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+frame-system = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
-pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
-pallet-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.22' }
+pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+pallet-transaction-payment = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
+pallet-timestamp = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.23' }
-pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
pallet-common = { path = '../../pallets/common' }
pallet-structure = { path = '../../pallets/structure' }
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -132,39 +132,39 @@
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-try-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate'
optional = true
-branch = 'polkadot-v0.9.22'
+branch = 'polkadot-v0.9.23'
[dependencies.frame-executive]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-support]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system-benchmarking]
default-features = false
git = "https://github.com/paritytech/substrate"
optional = true
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.hex-literal]
optional = true
@@ -179,12 +179,12 @@
[dependencies.pallet-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-balances]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
# Contracts specific packages
# [dependencies.pallet-contracts]
@@ -208,32 +208,32 @@
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-sudo]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-timestamp]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-transaction-payment]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.pallet-treasury]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
# [dependencies.pallet-vesting]
# default-features = false
@@ -243,67 +243,67 @@
[dependencies.sp-arithmetic]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-api]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-block-builder]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-core]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-consensus-aura]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-inherents]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-io]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-offchain]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-runtime]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-session]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-std]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-transaction-pool]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.sp-version]
default-features = false
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.smallvec]
version = '1.6.1'
@@ -314,46 +314,46 @@
[dependencies.parachain-info]
default-features = false
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
[dependencies.cumulus-pallet-aura-ext]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-core]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-xcm]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-utility]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = "https://github.com/paritytech/cumulus"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
default-features = false
################################################################################
@@ -361,32 +361,32 @@
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm-builder]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.xcm-executor]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.pallet-xcm]
git = "https://github.com/paritytech/polkadot"
-branch = "release-v0.9.22"
+branch = "release-v0.9.23"
default-features = false
[dependencies.orml-vesting]
git = "https://github.com/uniquenetwork/open-runtime-module-library"
-branch = "unique-polkadot-v0.9.22"
+branch = "unique-polkadot-v0.9.23"
version = "0.4.1-dev"
default-features = false
@@ -414,21 +414,21 @@
pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
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.22", 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.23", 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.22" }
-pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
-fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.22" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+pallet-base-fee = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
+fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", branch = "unique-polkadot-v0.9.23" }
################################################################################
# Build Dependencies
[build-dependencies.substrate-wasm-builder]
git = "https://github.com/paritytech/substrate"
-branch = "polkadot-v0.9.22"
+branch = "polkadot-v0.9.23"
runtime/unique/src/lib.rsdiffbeforeafterboth--- a/runtime/unique/src/lib.rs
+++ b/runtime/unique/src/lib.rs
@@ -66,6 +66,7 @@
constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
DispatchClass, DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,
WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, ConstantMultiplier,
+ WeightToFee,
},
};
use pallet_unq_scheduler::DispatchCall;
@@ -736,7 +737,7 @@
}
fn buy_weight(&mut self, weight: Weight, payment: Assets) -> Result<Assets, XcmError> {
- let amount = WeightToFee::calc(&weight);
+ let amount = WeightToFee::weight_to_fee(&weight);
let u128_amount: u128 = amount.try_into().map_err(|_| XcmError::Overflow)?;
// location to this parachain through relay chain
@@ -768,7 +769,7 @@
fn refund_weight(&mut self, weight: Weight) -> Option<MultiAsset> {
let weight = weight.min(self.0);
- let amount = WeightToFee::calc(&weight);
+ let amount = WeightToFee::weight_to_fee(&weight);
self.0 -= weight;
self.1 = self.1.saturating_sub(amount);
let amount: u128 = amount.saturated_into();
@@ -806,7 +807,7 @@
type Barrier = Barrier;
type Weigher = FixedWeightBounds<UnitWeightCost, Call, MaxInstructions>;
type Trader = UsingOnlySelfCurrencyComponents<
- IdentityFee<Balance>,
+ LinearFee<Balance>,
RelayLocation,
AccountId,
Balances,
@@ -883,7 +884,7 @@
}
parameter_types! {
- pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account();
+ pub TreasuryAccountId: AccountId = TreasuryModuleId::get().into_account_truncating();
pub const CollectionCreationPrice: Balance = 2 * UNIQUE;
}
tests/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.22
+git checkout release-v0.9.23
```
2. Build with nightly-2021-11-11