difftreelog
build upgrade polkadot to v0.9.12
in: master
21 files changed
.envdiffbeforeafterboth--- a/.env
+++ b/.env
@@ -1,6 +1,6 @@
RUST_TOOLCHAIN=nightly-2021-06-28
RUST_C=1.55.0-nightly
-POLKA_VERSION=v0.9.11
+POLKA_VERSION=v0.9.12
NFT_BRANCH=develop
USER=***
PASS=***
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -419,9 +419,9 @@
[[package]]
name = "base58"
-version = "0.1.0"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83"
+checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581"
[[package]]
name = "base64"
@@ -447,7 +447,7 @@
[[package]]
name = "beefy-gadget"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"beefy-primitives",
"fnv",
@@ -475,7 +475,7 @@
[[package]]
name = "beefy-gadget-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"beefy-gadget",
"beefy-primitives",
@@ -495,12 +495,12 @@
[[package]]
name = "beefy-merkle-tree"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
[[package]]
name = "beefy-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -690,7 +690,7 @@
[[package]]
name = "bp-header-chain"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"finality-grandpa",
"frame-support",
@@ -706,7 +706,7 @@
[[package]]
name = "bp-message-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-runtime",
"frame-support",
@@ -718,7 +718,7 @@
[[package]]
name = "bp-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"bp-runtime",
@@ -734,7 +734,7 @@
[[package]]
name = "bp-polkadot-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-messages",
"bp-runtime",
@@ -752,7 +752,7 @@
[[package]]
name = "bp-rialto"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-messages",
"bp-runtime",
@@ -767,7 +767,7 @@
[[package]]
name = "bp-rococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -784,7 +784,7 @@
[[package]]
name = "bp-runtime"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"frame-support",
"hash-db",
@@ -802,7 +802,7 @@
[[package]]
name = "bp-test-utils"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-header-chain",
"ed25519-dalek",
@@ -817,7 +817,7 @@
[[package]]
name = "bp-wococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -832,7 +832,7 @@
[[package]]
name = "bridge-runtime-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-message-dispatch",
"bp-messages",
@@ -1164,18 +1164,18 @@
[[package]]
name = "cranelift-bforest"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e6bea67967505247f54fa2c85cf4f6e0e31c4e5692c9b70e4ae58e339067333"
+checksum = "15013642ddda44eebcf61365b2052a23fd8b7314f90ba44aa059ec02643c5139"
dependencies = [
"cranelift-entity",
]
[[package]]
name = "cranelift-codegen"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48194035d2752bdd5bdae429e3ab88676e95f52a2b1355a5d4e809f9e39b1d74"
+checksum = "298f2a7ed5fdcb062d8e78b7496b0f4b95265d20245f2d0ca88f846dd192a3a3"
dependencies = [
"cranelift-bforest",
"cranelift-codegen-meta",
@@ -1184,16 +1184,15 @@
"gimli",
"log",
"regalloc",
- "serde",
"smallvec",
"target-lexicon",
]
[[package]]
name = "cranelift-codegen-meta"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "976efb22fcab4f2cd6bd4e9913764616a54d895c1a23530128d04e03633c555f"
+checksum = "5cf504261ac62dfaf4ffb3f41d88fd885e81aba947c1241275043885bc5f0bac"
dependencies = [
"cranelift-codegen-shared",
"cranelift-entity",
@@ -1201,27 +1200,24 @@
[[package]]
name = "cranelift-codegen-shared"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9dabb5fe66e04d4652e434195b45ae65b5c8172d520247b8f66d8df42b2b45dc"
-dependencies = [
- "serde",
-]
+checksum = "1cd2a72db4301dbe7e5a4499035eedc1e82720009fb60603e20504d8691fa9cd"
[[package]]
name = "cranelift-entity"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3329733e4d4b8e91c809efcaa4faee80bf66f20164e3dd16d707346bd3494799"
+checksum = "48868faa07cacf948dc4a1773648813c0e453ff9467e800ff10f6a78c021b546"
dependencies = [
"serde",
]
[[package]]
name = "cranelift-frontend"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "279afcc0d3e651b773f94837c3d581177b348c8d69e928104b2e9fccb226f921"
+checksum = "351c9d13b4ecd1a536215ec2fd1c3ee9ee8bc31af172abf1e45ed0adb7a931df"
dependencies = [
"cranelift-codegen",
"log",
@@ -1231,9 +1227,9 @@
[[package]]
name = "cranelift-native"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c04d1fe6a5abb5bb0edc78baa8ef238370fb8e389cc88b6d153f7c3e9680425"
+checksum = "6df8b556663d7611b137b24db7f6c8d9a8a27d7f29c7ea7835795152c94c1b75"
dependencies = [
"cranelift-codegen",
"libc",
@@ -1242,19 +1238,18 @@
[[package]]
name = "cranelift-wasm"
-version = "0.76.0"
+version = "0.77.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0d260ad44f6fd2c91f7f5097191a2a9e3edcbb36df1fb787b600dad5ea148ec"
+checksum = "7a69816d90db694fa79aa39b89dda7208a4ac74b6f2b8f3c4da26ee1c8bdfc5e"
dependencies = [
"cranelift-codegen",
"cranelift-entity",
"cranelift-frontend",
"itertools",
"log",
- "serde",
"smallvec",
- "thiserror",
"wasmparser",
+ "wasmtime-types",
]
[[package]]
@@ -1388,7 +1383,7 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"sc-cli",
"sc-service",
@@ -1398,7 +1393,7 @@
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
@@ -1421,7 +1416,7 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
@@ -1451,7 +1446,7 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"async-trait",
"dyn-clone",
@@ -1471,7 +1466,7 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"derive_more",
"futures 0.3.17",
@@ -1494,7 +1489,7 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"futures 0.3.17",
@@ -1517,7 +1512,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-client-collator",
"cumulus-client-consensus-common",
@@ -1546,7 +1541,7 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"frame-executive",
"frame-support",
@@ -1564,7 +1559,7 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1582,7 +1577,7 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
@@ -1611,7 +1606,7 @@
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -1622,7 +1617,7 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1639,7 +1634,7 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1657,7 +1652,7 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"frame-support",
"impl-trait-for-tuples 0.2.1",
@@ -1674,7 +1669,7 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1696,7 +1691,7 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"sp-inherents",
@@ -1707,7 +1702,7 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1724,7 +1719,7 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec",
@@ -2052,15 +2047,6 @@
checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797"
[[package]]
-name = "erased-serde"
-version = "0.3.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3de9ad4541d99dc22b59134e7ff8dc3d6c988c89ecd7324bf10a8362b07a2afa"
-dependencies = [
- "serde",
-]
-
-[[package]]
name = "errno"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2099,6 +2085,24 @@
[[package]]
name = "ethereum"
version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a67be3eaf296ef668733f54c637e84d0ca34eaf194f0077455135981ad464c3"
+dependencies = [
+ "bytes 1.1.0",
+ "ethereum-types",
+ "hash-db",
+ "hash256-std-hasher",
+ "parity-scale-codec",
+ "rlp",
+ "rlp-derive",
+ "serde",
+ "sha3 0.9.1",
+ "triehash",
+]
+
+[[package]]
+name = "ethereum"
+version = "0.9.0"
source = "git+https://github.com/purestake/ethereum?branch=joshy-scale-info#2b98173bd88c05bfeefad421d260101b9008497b"
dependencies = [
"bytes 1.1.0",
@@ -2142,7 +2146,7 @@
source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#bed08923a76339880e05df25a52c5334e9997bb2"
dependencies = [
"environmental",
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"evm-core",
"evm-gasometer",
"evm-runtime",
@@ -2159,7 +2163,7 @@
name = "evm-coder"
version = "0.1.0"
dependencies = [
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"evm-coder-macros",
"evm-core",
"hex",
@@ -2248,7 +2252,7 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
"async-trait",
"derive_more",
@@ -2275,7 +2279,7 @@
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
"fp-storage",
"kvdb",
@@ -2291,7 +2295,7 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
"fc-consensus",
"fc-db",
@@ -2309,9 +2313,9 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"ethereum-types",
"evm",
"fc-consensus",
@@ -2327,9 +2331,11 @@
"jsonrpc-pubsub",
"libsecp256k1 0.3.5",
"log",
+ "lru 0.6.6",
"pallet-ethereum",
"pallet-evm",
"parity-scale-codec",
+ "parking_lot 0.11.2",
"rand 0.7.3",
"rlp",
"rustc-hex",
@@ -2337,6 +2343,7 @@
"sc-network",
"sc-rpc",
"sc-service",
+ "sc-transaction-pool",
"sc-transaction-pool-api",
"sha3 0.8.2",
"sp-api",
@@ -2350,7 +2357,7 @@
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
"ethereum-types",
"jsonrpc-core",
@@ -2453,7 +2460,7 @@
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
]
@@ -2471,9 +2478,9 @@
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"parity-scale-codec",
"rlp",
"sha3 0.8.2",
@@ -2485,7 +2492,7 @@
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
"evm",
"impl-trait-for-tuples 0.1.3",
@@ -2499,9 +2506,9 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"ethereum-types",
"fp-evm",
"parity-scale-codec",
@@ -2514,14 +2521,31 @@
]
[[package]]
+name = "fp-self-contained"
+version = "1.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
+dependencies = [
+ "ethereum 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "frame-support",
+ "parity-scale-codec",
+ "parity-util-mem",
+ "scale-info",
+ "serde",
+ "sha3 0.8.2",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+]
+
+[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -2541,7 +2565,7 @@
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"Inflector",
"chrono",
@@ -2567,7 +2591,7 @@
[[package]]
name = "frame-election-provider-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -2581,7 +2605,7 @@
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -2609,7 +2633,7 @@
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"bitflags",
"frame-metadata",
@@ -2636,7 +2660,7 @@
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"Inflector",
"frame-support-procedural-tools",
@@ -2648,7 +2672,7 @@
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate 1.1.0",
@@ -2660,7 +2684,7 @@
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro2",
"quote",
@@ -2670,7 +2694,7 @@
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"log",
@@ -2687,7 +2711,7 @@
[[package]]
name = "frame-system-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -2702,7 +2726,7 @@
[[package]]
name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -2711,7 +2735,7 @@
[[package]]
name = "frame-try-runtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"sp-api",
@@ -3662,8 +3686,8 @@
[[package]]
name = "kusama-runtime"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-primitives",
"bitvec 0.20.4",
@@ -4164,7 +4188,7 @@
"libp2p-core",
"libp2p-swarm",
"log",
- "lru",
+ "lru 0.6.6",
"minicbor",
"rand 0.7.3",
"smallvec",
@@ -4489,6 +4513,15 @@
]
[[package]]
+name = "lru"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c748cfe47cb8da225c37595b3108bea1c198c84aaae8ea0ba76d01dda9fc803"
+dependencies = [
+ "hashbrown",
+]
+
+[[package]]
name = "lru-cache"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4603,7 +4636,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "beeb98b3d1ed2c0054bd81b5ba949a0243c3ccad751d45ea898fa8059fa2860a"
dependencies = [
- "lru",
+ "lru 0.6.6",
]
[[package]]
@@ -4626,8 +4659,8 @@
[[package]]
name = "metered-channel"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"derive_more",
"futures 0.3.17",
@@ -4961,7 +4994,7 @@
"sp-transaction-pool",
"sp-trie",
"structopt",
- "substrate-build-script-utils",
+ "substrate-build-script-utils 3.0.0 (git+https://github.com/paritytech/substrate.git)",
"substrate-frame-rpc-system",
"substrate-prometheus-endpoint",
]
@@ -5038,6 +5071,7 @@
"cumulus-primitives-utility",
"derivative",
"fp-rpc",
+ "fp-self-contained",
"frame-benchmarking",
"frame-executive",
"frame-support",
@@ -5254,7 +5288,7 @@
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -5270,7 +5304,7 @@
[[package]]
name = "pallet-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -5286,7 +5320,7 @@
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -5301,7 +5335,7 @@
[[package]]
name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5325,7 +5359,7 @@
[[package]]
name = "pallet-bags-list"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5345,7 +5379,7 @@
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5360,7 +5394,7 @@
[[package]]
name = "pallet-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"beefy-primitives",
"frame-support",
@@ -5376,7 +5410,7 @@
[[package]]
name = "pallet-beefy-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"beefy-merkle-tree",
"beefy-primitives",
@@ -5401,7 +5435,7 @@
[[package]]
name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5419,7 +5453,7 @@
[[package]]
name = "pallet-bridge-dispatch"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-message-dispatch",
"bp-runtime",
@@ -5436,7 +5470,7 @@
[[package]]
name = "pallet-bridge-grandpa"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bp-header-chain",
"bp-runtime",
@@ -5458,7 +5492,7 @@
[[package]]
name = "pallet-bridge-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"bp-message-dispatch",
@@ -5480,7 +5514,7 @@
[[package]]
name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5511,13 +5545,13 @@
[[package]]
name = "pallet-contracts"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"bitflags",
"frame-benchmarking",
"frame-support",
"frame-system",
- "libsecp256k1 0.3.5",
+ "libsecp256k1 0.6.0",
"log",
"pallet-contracts-primitives",
"pallet-contracts-proc-macro",
@@ -5538,7 +5572,7 @@
[[package]]
name = "pallet-contracts-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"bitflags",
"parity-scale-codec",
@@ -5552,7 +5586,7 @@
[[package]]
name = "pallet-contracts-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro2",
"quote",
@@ -5562,7 +5596,7 @@
[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5578,7 +5612,7 @@
[[package]]
name = "pallet-election-provider-multi-phase"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5602,7 +5636,7 @@
[[package]]
name = "pallet-elections-phragmen"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5620,18 +5654,18 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"ethereum-types",
"evm",
"fp-consensus",
"fp-evm",
"fp-rpc",
+ "fp-self-contained",
"fp-storage",
"frame-support",
"frame-system",
- "libsecp256k1 0.5.0",
"pallet-balances",
"pallet-evm",
"pallet-timestamp",
@@ -5649,7 +5683,7 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.11#0d4130cc9fdf3639e41f57dc642bc0acb304fae2"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12#43ce3be6274eceaf47d9664ddc71cba68a990923"
dependencies = [
"evm",
"evm-gasometer",
@@ -5679,7 +5713,7 @@
name = "pallet-evm-coder-substrate"
version = "0.1.0"
dependencies = [
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"evm-coder",
"frame-support",
"frame-system",
@@ -5747,7 +5781,7 @@
[[package]]
name = "pallet-gilt"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5762,7 +5796,7 @@
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5785,7 +5819,7 @@
[[package]]
name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -5801,7 +5835,7 @@
[[package]]
name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5821,7 +5855,7 @@
[[package]]
name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5857,7 +5891,7 @@
[[package]]
name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5874,7 +5908,7 @@
[[package]]
name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"ckb-merkle-mountain-range",
"frame-benchmarking",
@@ -5892,7 +5926,7 @@
[[package]]
name = "pallet-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -5908,7 +5942,7 @@
[[package]]
name = "pallet-mmr-rpc"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -5925,7 +5959,7 @@
[[package]]
name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5941,7 +5975,7 @@
name = "pallet-nft"
version = "3.0.0"
dependencies = [
- "ethereum",
+ "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
"evm-coder",
"fp-evm",
"frame-benchmarking",
@@ -6009,7 +6043,7 @@
[[package]]
name = "pallet-nicks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6023,7 +6057,7 @@
[[package]]
name = "pallet-offences"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6040,7 +6074,7 @@
[[package]]
name = "pallet-offences-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6063,7 +6097,7 @@
[[package]]
name = "pallet-proxy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6078,7 +6112,7 @@
[[package]]
name = "pallet-randomness-collective-flip"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6092,7 +6126,7 @@
[[package]]
name = "pallet-recovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6125,7 +6159,7 @@
[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6141,7 +6175,7 @@
[[package]]
name = "pallet-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6162,7 +6196,7 @@
[[package]]
name = "pallet-session-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6178,7 +6212,7 @@
[[package]]
name = "pallet-society"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6192,7 +6226,7 @@
[[package]]
name = "pallet-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6215,7 +6249,7 @@
[[package]]
name = "pallet-staking-reward-curve"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -6226,7 +6260,7 @@
[[package]]
name = "pallet-staking-reward-fn"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"log",
"sp-arithmetic",
@@ -6235,7 +6269,7 @@
[[package]]
name = "pallet-sudo"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6249,7 +6283,7 @@
[[package]]
name = "pallet-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6267,7 +6301,7 @@
[[package]]
name = "pallet-tips"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6286,7 +6320,7 @@
[[package]]
name = "pallet-transaction-payment"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-support",
"frame-system",
@@ -6303,7 +6337,7 @@
[[package]]
name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -6320,7 +6354,7 @@
[[package]]
name = "pallet-transaction-payment-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec",
@@ -6331,7 +6365,7 @@
[[package]]
name = "pallet-treasury"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6348,7 +6382,7 @@
[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6364,7 +6398,7 @@
[[package]]
name = "pallet-vesting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6378,8 +6412,8 @@
[[package]]
name = "pallet-xcm"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"frame-support",
"frame-system",
@@ -6397,7 +6431,7 @@
[[package]]
name = "pallet-xcm-benchmarks"
version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6414,7 +6448,7 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.11#ede4d527c4fc5d84c43216b408a873625488574b"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -6499,7 +6533,7 @@
"ethereum-types",
"hashbrown",
"impl-trait-for-tuples 0.2.1",
- "lru",
+ "lru 0.6.6",
"parity-util-mem-derive",
"parking_lot 0.11.2",
"primitive-types 0.10.1",
@@ -6773,8 +6807,8 @@
[[package]]
name = "polkadot-approval-distribution"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"polkadot-node-network-protocol",
@@ -6787,8 +6821,8 @@
[[package]]
name = "polkadot-availability-bitfield-distribution"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"polkadot-node-network-protocol",
@@ -6800,12 +6834,12 @@
[[package]]
name = "polkadot-availability-distribution"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"derive_more",
"futures 0.3.17",
- "lru",
+ "lru 0.7.0",
"parity-scale-codec",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
@@ -6822,11 +6856,11 @@
[[package]]
name = "polkadot-availability-recovery"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
- "lru",
+ "lru 0.7.0",
"parity-scale-codec",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
@@ -6842,8 +6876,8 @@
[[package]]
name = "polkadot-cli"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"frame-benchmarking-cli",
"futures 0.3.17",
@@ -6855,15 +6889,15 @@
"sp-core",
"sp-trie",
"structopt",
- "substrate-build-script-utils",
+ "substrate-build-script-utils 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12)",
"thiserror",
"try-runtime-cli",
]
[[package]]
name = "polkadot-client"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-primitives",
"frame-benchmarking",
@@ -6892,8 +6926,8 @@
[[package]]
name = "polkadot-collator-protocol"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"always-assert",
"derive_more",
@@ -6913,8 +6947,8 @@
[[package]]
name = "polkadot-core-primitives"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"parity-scale-codec",
"parity-util-mem",
@@ -6926,12 +6960,12 @@
[[package]]
name = "polkadot-dispute-distribution"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"derive_more",
"futures 0.3.17",
- "lru",
+ "lru 0.7.0",
"parity-scale-codec",
"polkadot-erasure-coding",
"polkadot-node-network-protocol",
@@ -6948,8 +6982,8 @@
[[package]]
name = "polkadot-erasure-coding"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"parity-scale-codec",
"polkadot-node-primitives",
@@ -6962,8 +6996,8 @@
[[package]]
name = "polkadot-gossip-support"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"futures-timer 3.0.2",
@@ -6982,8 +7016,8 @@
[[package]]
name = "polkadot-network-bridge"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -7001,8 +7035,8 @@
[[package]]
name = "polkadot-node-collation-generation"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"parity-scale-codec",
@@ -7019,15 +7053,15 @@
[[package]]
name = "polkadot-node-core-approval-voting"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"derive_more",
"futures 0.3.17",
"futures-timer 3.0.2",
"kvdb",
- "lru",
+ "lru 0.7.0",
"merlin",
"parity-scale-codec",
"polkadot-node-jaeger",
@@ -7047,8 +7081,8 @@
[[package]]
name = "polkadot-node-core-av-store"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"futures 0.3.17",
@@ -7067,8 +7101,8 @@
[[package]]
name = "polkadot-node-core-backing"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"futures 0.3.17",
@@ -7085,8 +7119,8 @@
[[package]]
name = "polkadot-node-core-bitfield-signing"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"polkadot-node-subsystem",
@@ -7100,8 +7134,8 @@
[[package]]
name = "polkadot-node-core-candidate-validation"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -7118,8 +7152,8 @@
[[package]]
name = "polkadot-node-core-chain-api"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"polkadot-node-subsystem",
@@ -7133,8 +7167,8 @@
[[package]]
name = "polkadot-node-core-chain-selection"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"futures-timer 3.0.2",
@@ -7150,8 +7184,8 @@
[[package]]
name = "polkadot-node-core-dispute-coordinator"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"derive_more",
@@ -7169,8 +7203,8 @@
[[package]]
name = "polkadot-node-core-dispute-participation"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"polkadot-node-primitives",
@@ -7182,8 +7216,8 @@
[[package]]
name = "polkadot-node-core-parachains-inherent"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -7199,8 +7233,8 @@
[[package]]
name = "polkadot-node-core-provisioner"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"futures 0.3.17",
@@ -7214,8 +7248,8 @@
[[package]]
name = "polkadot-node-core-pvf"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"always-assert",
"assert_matches",
@@ -7245,8 +7279,8 @@
[[package]]
name = "polkadot-node-core-runtime-api"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"memory-lru",
@@ -7263,8 +7297,8 @@
[[package]]
name = "polkadot-node-jaeger"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-std",
"lazy_static",
@@ -7281,8 +7315,8 @@
[[package]]
name = "polkadot-node-metrics"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"futures-timer 3.0.2",
@@ -7292,8 +7326,8 @@
[[package]]
name = "polkadot-node-network-protocol"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-trait",
"derive_more",
@@ -7304,14 +7338,14 @@
"polkadot-primitives",
"sc-authority-discovery",
"sc-network",
- "strum 0.21.0",
+ "strum 0.22.0",
"thiserror",
]
[[package]]
name = "polkadot-node-primitives"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bounded-vec",
"futures 0.3.17",
@@ -7332,8 +7366,8 @@
[[package]]
name = "polkadot-node-subsystem"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"polkadot-node-jaeger",
"polkadot-node-subsystem-types",
@@ -7342,8 +7376,8 @@
[[package]]
name = "polkadot-node-subsystem-types"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"derive_more",
"futures 0.3.17",
@@ -7361,14 +7395,14 @@
[[package]]
name = "polkadot-node-subsystem-util"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-trait",
"derive_more",
"futures 0.3.17",
"itertools",
- "lru",
+ "lru 0.7.0",
"metered-channel",
"parity-scale-codec",
"pin-project 1.0.8",
@@ -7388,12 +7422,12 @@
[[package]]
name = "polkadot-overseer"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"futures 0.3.17",
"futures-timer 3.0.2",
- "lru",
+ "lru 0.7.0",
"parity-util-mem",
"parking_lot 0.11.2",
"polkadot-node-metrics",
@@ -7409,8 +7443,8 @@
[[package]]
name = "polkadot-overseer-gen"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -7426,8 +7460,8 @@
[[package]]
name = "polkadot-overseer-gen-proc-macro"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -7437,8 +7471,8 @@
[[package]]
name = "polkadot-parachain"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"derive_more",
"frame-support",
@@ -7454,8 +7488,8 @@
[[package]]
name = "polkadot-primitives"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitvec 0.20.4",
"frame-system",
@@ -7484,8 +7518,8 @@
[[package]]
name = "polkadot-rpc"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-gadget",
"beefy-gadget-rpc",
@@ -7515,8 +7549,8 @@
[[package]]
name = "polkadot-runtime"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-primitives",
"bitvec 0.20.4",
@@ -7592,8 +7626,8 @@
[[package]]
name = "polkadot-runtime-common"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-primitives",
"bitvec 0.20.4",
@@ -7639,8 +7673,8 @@
[[package]]
name = "polkadot-runtime-parachains"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"bitflags",
"bitvec 0.20.4",
@@ -7678,8 +7712,8 @@
[[package]]
name = "polkadot-service"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"async-trait",
"beefy-gadget",
@@ -7690,7 +7724,7 @@
"kusama-runtime",
"kvdb",
"kvdb-rocksdb",
- "lru",
+ "lru 0.7.0",
"pallet-babe",
"pallet-im-online",
"pallet-mmr-primitives",
@@ -7776,8 +7810,8 @@
[[package]]
name = "polkadot-statement-distribution"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"arrayvec 0.5.2",
"derive_more",
@@ -7797,8 +7831,8 @@
[[package]]
name = "polkadot-statement-table"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"parity-scale-codec",
"polkadot-primitives",
@@ -7807,8 +7841,8 @@
[[package]]
name = "polkadot-test-runtime"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-primitives",
"bitvec 0.20.4",
@@ -7868,8 +7902,8 @@
[[package]]
name = "polkadot-test-service"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"frame-benchmarking",
"frame-system",
@@ -8079,15 +8113,15 @@
[[package]]
name = "prometheus"
-version = "0.11.0"
+version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8425533e7122f0c3cc7a37e6244b16ad3a2cc32ae7ac6276e2a75da0d9c200d"
+checksum = "5986aa8d62380092d2f50f8b1cdba9cb9b6731ffd4b25b51fd126b6c3e05b99c"
dependencies = [
"cfg-if 1.0.0",
"fnv",
"lazy_static",
+ "memchr",
"parking_lot 0.11.2",
- "regex",
"thiserror",
]
@@ -8404,7 +8438,6 @@
dependencies = [
"log",
"rustc-hash",
- "serde",
"smallvec",
]
@@ -8449,7 +8482,7 @@
[[package]]
name = "remote-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"env_logger 0.9.0",
"jsonrpsee-proc-macros",
@@ -8537,8 +8570,8 @@
[[package]]
name = "rococo-runtime"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-primitives",
"bp-messages",
@@ -8727,7 +8760,7 @@
[[package]]
name = "sc-allocator"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"log",
"sp-core",
@@ -8738,7 +8771,7 @@
[[package]]
name = "sc-authority-discovery"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"derive_more",
@@ -8765,7 +8798,7 @@
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"futures-timer 3.0.2",
@@ -8788,7 +8821,7 @@
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"sc-client-api",
@@ -8804,7 +8837,7 @@
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
@@ -8820,7 +8853,7 @@
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -8831,7 +8864,7 @@
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"chrono",
"fdlimit",
@@ -8869,7 +8902,7 @@
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"fnv",
"futures 0.3.17",
@@ -8897,7 +8930,7 @@
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"hash-db",
"kvdb",
@@ -8922,7 +8955,7 @@
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -8946,7 +8979,7 @@
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"derive_more",
@@ -8975,7 +9008,7 @@
[[package]]
name = "sc-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"derive_more",
@@ -9018,7 +9051,7 @@
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"derive_more",
"futures 0.3.17",
@@ -9042,7 +9075,7 @@
[[package]]
name = "sc-consensus-epochs"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"fork-tree",
"parity-scale-codec",
@@ -9055,7 +9088,7 @@
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -9081,7 +9114,7 @@
[[package]]
name = "sc-consensus-uncles"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"sc-client-api",
"sp-authorship",
@@ -9092,7 +9125,7 @@
[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"lazy_static",
"libsecp256k1 0.6.0",
@@ -9118,7 +9151,7 @@
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"derive_more",
"environmental",
@@ -9136,7 +9169,7 @@
[[package]]
name = "sc-executor-wasmi"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"log",
"parity-scale-codec",
@@ -9152,7 +9185,7 @@
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"cfg-if 1.0.0",
"libc",
@@ -9170,7 +9203,7 @@
[[package]]
name = "sc-finality-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"derive_more",
@@ -9207,7 +9240,7 @@
[[package]]
name = "sc-finality-grandpa-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"derive_more",
"finality-grandpa",
@@ -9231,7 +9264,7 @@
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"ansi_term 0.12.1",
"futures 0.3.17",
@@ -9248,7 +9281,7 @@
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"derive_more",
@@ -9263,7 +9296,7 @@
[[package]]
name = "sc-light"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"hash-db",
"parity-scale-codec",
@@ -9281,7 +9314,7 @@
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-std",
"async-trait",
@@ -9301,7 +9334,7 @@
"linked-hash-map",
"linked_hash_set",
"log",
- "lru",
+ "lru 0.6.6",
"parity-scale-codec",
"parking_lot 0.11.2",
"pin-project 1.0.8",
@@ -9332,13 +9365,13 @@
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"futures-timer 3.0.2",
"libp2p",
"log",
- "lru",
+ "lru 0.6.6",
"sc-network",
"sp-runtime",
"substrate-prometheus-endpoint",
@@ -9348,7 +9381,7 @@
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"bytes 1.1.0",
"fnv",
@@ -9375,7 +9408,7 @@
[[package]]
name = "sc-peerset"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"libp2p",
@@ -9388,7 +9421,7 @@
[[package]]
name = "sc-proposer-metrics"
version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -9397,7 +9430,7 @@
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"hash-db",
@@ -9428,7 +9461,7 @@
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"jsonrpc-core",
@@ -9453,7 +9486,7 @@
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"jsonrpc-core",
@@ -9470,7 +9503,7 @@
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"directories",
@@ -9535,7 +9568,7 @@
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"log",
"parity-scale-codec",
@@ -9549,7 +9582,7 @@
[[package]]
name = "sc-sync-state-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
@@ -9571,7 +9604,7 @@
[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"chrono",
"futures 0.3.17",
@@ -9589,10 +9622,11 @@
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"ansi_term 0.12.1",
"atty",
+ "chrono",
"lazy_static",
"log",
"once_cell",
@@ -9618,7 +9652,7 @@
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -9629,7 +9663,7 @@
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"intervalier",
@@ -9656,7 +9690,7 @@
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"derive_more",
"futures 0.3.17",
@@ -9670,7 +9704,7 @@
[[package]]
name = "sc-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"futures-timer 3.0.2",
@@ -9743,26 +9777,6 @@
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
-
-[[package]]
-name = "scroll"
-version = "0.10.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec"
-dependencies = [
- "scroll_derive",
-]
-
-[[package]]
-name = "scroll_derive"
-version = "0.10.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aaaae8f38bb311444cfb7f1979af0bc9240d95795f75f9ceddf6a59b79ceffa0"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
[[package]]
name = "sct"
@@ -9776,9 +9790,9 @@
[[package]]
name = "secrecy"
-version = "0.7.0"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0673d6a6449f5e7d12a1caf424fd9363e2af3a4953023ed455e3c4beef4597c0"
+checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e"
dependencies = [
"zeroize",
]
@@ -10014,18 +10028,9 @@
checksum = "9def91fd1e018fe007022791f865d0ccc9b3a0d5001e01aabb8b40e46000afb5"
[[package]]
-name = "slog"
-version = "2.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8347046d4ebd943127157b94d63abb990fcf729dc4e9978927fdf4ac3c998d06"
-dependencies = [
- "erased-serde",
-]
-
-[[package]]
name = "slot-range-helper"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"enumn",
"parity-scale-codec",
@@ -10128,7 +10133,7 @@
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"hash-db",
"log",
@@ -10145,7 +10150,7 @@
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"blake2-rfc",
"proc-macro-crate 1.1.0",
@@ -10157,7 +10162,7 @@
[[package]]
name = "sp-application-crypto"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10170,7 +10175,7 @@
[[package]]
name = "sp-arithmetic"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"integer-sqrt",
"num-traits",
@@ -10185,7 +10190,7 @@
[[package]]
name = "sp-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10198,7 +10203,7 @@
[[package]]
name = "sp-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -10210,7 +10215,7 @@
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -10222,11 +10227,11 @@
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"log",
- "lru",
+ "lru 0.6.6",
"parity-scale-codec",
"parking_lot 0.11.2",
"sp-api",
@@ -10240,7 +10245,7 @@
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -10259,7 +10264,7 @@
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -10277,7 +10282,7 @@
[[package]]
name = "sp-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"merlin",
@@ -10300,7 +10305,7 @@
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10311,7 +10316,7 @@
[[package]]
name = "sp-consensus-vrf"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"schnorrkel",
@@ -10323,7 +10328,7 @@
[[package]]
name = "sp-core"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"base58",
"blake2-rfc",
@@ -10356,6 +10361,7 @@
"sp-runtime-interface",
"sp-std",
"sp-storage",
+ "ss58-registry",
"substrate-bip39",
"thiserror",
"tiny-bip39",
@@ -10368,7 +10374,7 @@
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"kvdb",
"parking_lot 0.11.2",
@@ -10377,7 +10383,7 @@
[[package]]
name = "sp-debug-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro2",
"quote",
@@ -10387,7 +10393,7 @@
[[package]]
name = "sp-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -10398,7 +10404,7 @@
[[package]]
name = "sp-finality-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"finality-grandpa",
"log",
@@ -10416,7 +10422,7 @@
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"impl-trait-for-tuples 0.2.1",
@@ -10430,7 +10436,7 @@
[[package]]
name = "sp-io"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"hash-db",
@@ -10454,7 +10460,7 @@
[[package]]
name = "sp-keyring"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"lazy_static",
"sp-core",
@@ -10465,7 +10471,7 @@
[[package]]
name = "sp-keystore"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"derive_more",
@@ -10482,7 +10488,7 @@
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"zstd",
]
@@ -10490,7 +10496,7 @@
[[package]]
name = "sp-npos-elections"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10505,7 +10511,7 @@
[[package]]
name = "sp-npos-elections-solution-type"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -10516,7 +10522,7 @@
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"sp-api",
"sp-core",
@@ -10526,7 +10532,7 @@
[[package]]
name = "sp-panic-handler"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"backtrace",
]
@@ -10534,7 +10540,7 @@
[[package]]
name = "sp-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"rustc-hash",
"serde",
@@ -10544,7 +10550,7 @@
[[package]]
name = "sp-runtime"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"either",
"hash256-std-hasher",
@@ -10566,7 +10572,7 @@
[[package]]
name = "sp-runtime-interface"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
@@ -10583,7 +10589,7 @@
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"Inflector",
"proc-macro-crate 1.1.0",
@@ -10595,7 +10601,7 @@
[[package]]
name = "sp-sandbox"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"log",
"parity-scale-codec",
@@ -10609,7 +10615,7 @@
[[package]]
name = "sp-serializer"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"serde",
"serde_json",
@@ -10618,7 +10624,7 @@
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10632,7 +10638,7 @@
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -10643,7 +10649,7 @@
[[package]]
name = "sp-state-machine"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"hash-db",
"log",
@@ -10666,12 +10672,12 @@
[[package]]
name = "sp-std"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
[[package]]
name = "sp-storage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -10684,7 +10690,7 @@
[[package]]
name = "sp-tasks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"log",
"sp-core",
@@ -10697,7 +10703,7 @@
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"futures-timer 3.0.2",
@@ -10713,15 +10719,9 @@
[[package]]
name = "sp-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "erased-serde",
- "log",
"parity-scale-codec",
- "parking_lot 0.10.2",
- "serde",
- "serde_json",
- "slog",
"sp-std",
"tracing",
"tracing-core",
@@ -10731,7 +10731,7 @@
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"sp-api",
"sp-runtime",
@@ -10740,7 +10740,7 @@
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"log",
@@ -10756,7 +10756,7 @@
[[package]]
name = "sp-trie"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"hash-db",
"memory-db",
@@ -10771,7 +10771,7 @@
[[package]]
name = "sp-version"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -10787,7 +10787,7 @@
[[package]]
name = "sp-version-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"parity-scale-codec",
"proc-macro2",
@@ -10798,7 +10798,7 @@
[[package]]
name = "sp-wasm-interface"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
@@ -10813,6 +10813,20 @@
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
+name = "ss58-registry"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb102b328df61c67f8ccf8471b29c31c7d6da646a867aff95fe8bff386fe7c4d"
+dependencies = [
+ "Inflector",
+ "proc-macro2",
+ "quote",
+ "serde",
+ "serde_json",
+ "unicode-xid",
+]
+
+[[package]]
name = "stable_deref_trait"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -10912,8 +10926,14 @@
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aaf86bbcfd1fa9670b7a129f64fc0c9fcbbfe4f1bc4210e9e98fe71ffc12cde2"
+
+[[package]]
+name = "strum"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7ac893c7d471c8a21f31cfe213ec4f6d9afeed25537c772e08ef3f005f8729e"
dependencies = [
- "strum_macros 0.21.1",
+ "strum_macros 0.22.0",
]
[[package]]
@@ -10941,6 +10961,18 @@
]
[[package]]
+name = "strum_macros"
+version = "0.22.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "339f799d8b549e3744c7ac7feb216383e4005d94bdb22561b3ab8f3b808ae9fb"
+dependencies = [
+ "heck",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "substrate-bip39"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -10956,7 +10988,15 @@
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
+dependencies = [
+ "platforms",
+]
+
+[[package]]
+name = "substrate-build-script-utils"
+version = "3.0.0"
+source = "git+https://github.com/paritytech/substrate.git#969a70d1864fc5d5f6c378bcfd03f1b3ea434049"
dependencies = [
"platforms",
]
@@ -10964,7 +11004,7 @@
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-system-rpc-runtime-api",
"futures 0.3.17",
@@ -10986,7 +11026,7 @@
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-std",
"derive_more",
@@ -11000,7 +11040,7 @@
[[package]]
name = "substrate-test-client"
version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
"futures 0.3.17",
@@ -11027,7 +11067,7 @@
[[package]]
name = "substrate-test-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"futures 0.3.17",
"substrate-test-utils-derive",
@@ -11037,7 +11077,7 @@
[[package]]
name = "substrate-test-utils-derive"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -11048,7 +11088,7 @@
[[package]]
name = "substrate-wasm-builder"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"ansi_term 0.12.1",
"build-helper",
@@ -11529,7 +11569,7 @@
[[package]]
name = "try-runtime-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.11#57346f6b24875f8935280dba51fa8ab0a9ba1e39"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"jsonrpsee-ws-client",
"log",
@@ -11895,15 +11935,15 @@
[[package]]
name = "wasmparser"
-version = "0.79.0"
+version = "0.80.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b5894be15a559c85779254700e1d35f02f843b5a69152e5c82c626d9fd66c0e"
+checksum = "449167e2832691a1bff24cde28d2804e90e09586a448c8e76984792c44334a6b"
[[package]]
name = "wasmtime"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8bbb8a082a8ef50f7eeb8b82dda9709ef1e68963ea3c94e45581644dd4041835"
+checksum = "899b1e5261e3d3420860dacfb952871ace9d7ba9f953b314f67aaf9f8e2a4d89"
dependencies = [
"anyhow",
"backtrace",
@@ -11914,27 +11954,28 @@
"lazy_static",
"libc",
"log",
+ "object",
"paste",
"psm",
+ "rayon",
"region",
"rustc-demangle",
"serde",
- "smallvec",
"target-lexicon",
"wasmparser",
"wasmtime-cache",
+ "wasmtime-cranelift",
"wasmtime-environ",
"wasmtime-jit",
- "wasmtime-profiling",
"wasmtime-runtime",
"winapi 0.3.9",
]
[[package]]
name = "wasmtime-cache"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d73391579ca7f24573138ef768b73b2aed5f9d542385c64979b65d60d0912399"
+checksum = "e2493b81d7a9935f7af15e06beec806f256bc974a90a843685f3d61f2fc97058"
dependencies = [
"anyhow",
"base64 0.13.0",
@@ -11953,26 +11994,16 @@
[[package]]
name = "wasmtime-cranelift"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81c6f5ae9205382345c7cd7454932a906186836999a2161c385e38a15f52e1fe"
+checksum = "99706bacdf5143f7f967d417f0437cce83a724cf4518cb1a3ff40e519d793021"
dependencies = [
+ "anyhow",
"cranelift-codegen",
"cranelift-entity",
"cranelift-frontend",
+ "cranelift-native",
"cranelift-wasm",
- "target-lexicon",
- "wasmparser",
- "wasmtime-environ",
-]
-
-[[package]]
-name = "wasmtime-debug"
-version = "0.29.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c69e08f55e12f15f50b1b533bc3626723e7224254a065de6576934c86258c9e8"
-dependencies = [
- "anyhow",
"gimli",
"more-asserts",
"object",
@@ -11984,94 +12015,55 @@
[[package]]
name = "wasmtime-environ"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "005d93174040af37fb8625f891cd9827afdad314261f7ec4ee61ec497d6e9d3c"
+checksum = "ac42cb562a2f98163857605f02581d719a410c5abe93606128c59a10e84de85b"
dependencies = [
+ "anyhow",
"cfg-if 1.0.0",
- "cranelift-codegen",
"cranelift-entity",
- "cranelift-wasm",
"gimli",
"indexmap",
"log",
"more-asserts",
+ "object",
"serde",
+ "target-lexicon",
"thiserror",
"wasmparser",
+ "wasmtime-types",
]
[[package]]
name = "wasmtime-jit"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0bf1dfb213a35d8f21aefae40e597fe72778a907011ffdff7affb029a02af9a"
+checksum = "24f46dd757225f29a419be415ea6fb8558df9b0194f07e3a6a9c99d0e14dd534"
dependencies = [
"addr2line",
"anyhow",
+ "bincode",
"cfg-if 1.0.0",
- "cranelift-codegen",
- "cranelift-entity",
- "cranelift-frontend",
- "cranelift-native",
- "cranelift-wasm",
"gimli",
+ "libc",
"log",
"more-asserts",
"object",
- "rayon",
"region",
"serde",
"target-lexicon",
"thiserror",
"wasmparser",
- "wasmtime-cranelift",
- "wasmtime-debug",
"wasmtime-environ",
- "wasmtime-obj",
- "wasmtime-profiling",
"wasmtime-runtime",
"winapi 0.3.9",
-]
-
-[[package]]
-name = "wasmtime-obj"
-version = "0.29.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d231491878e710c68015228c9f9fc5955fe5c96dbf1485c15f7bed55b622c83c"
-dependencies = [
- "anyhow",
- "more-asserts",
- "object",
- "target-lexicon",
- "wasmtime-debug",
- "wasmtime-environ",
]
[[package]]
-name = "wasmtime-profiling"
-version = "0.29.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21486cfb5255c2069666c1f116f9e949d4e35c9a494f11112fa407879e42198d"
-dependencies = [
- "anyhow",
- "cfg-if 1.0.0",
- "gimli",
- "lazy_static",
- "libc",
- "object",
- "scroll",
- "serde",
- "target-lexicon",
- "wasmtime-environ",
- "wasmtime-runtime",
-]
-
-[[package]]
name = "wasmtime-runtime"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7ddfdf32e0a20d81f48be9dacd31612bc61de5a174d1356fef806d300f507de"
+checksum = "0122215a44923f395487048cb0a1d60b5b32c73aab15cf9364b798dbaff0996f"
dependencies = [
"anyhow",
"backtrace",
@@ -12092,6 +12084,18 @@
]
[[package]]
+name = "wasmtime-types"
+version = "0.30.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9b01caf8a204ef634ebac99700e77ba716d3ebbb68a1abbc2ceb6b16dbec9e4"
+dependencies = [
+ "cranelift-entity",
+ "serde",
+ "thiserror",
+ "wasmparser",
+]
+
+[[package]]
name = "web-sys"
version = "0.3.55"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -12131,8 +12135,8 @@
[[package]]
name = "westend-runtime"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"beefy-primitives",
"bitvec 0.20.4",
@@ -12311,8 +12315,8 @@
[[package]]
name = "xcm"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"derivative",
"impl-trait-for-tuples 0.2.1",
@@ -12324,8 +12328,8 @@
[[package]]
name = "xcm-builder"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"frame-support",
"frame-system",
@@ -12344,8 +12348,8 @@
[[package]]
name = "xcm-executor"
-version = "0.9.11"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+version = "0.9.12"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -12363,7 +12367,7 @@
[[package]]
name = "xcm-procedural"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.11#eb9f107e3a04687dcf80111563f2bcea7d5b15d3"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#ec34cf7e059b91609e5b3ac4ae0f604b34ce01d9"
dependencies = [
"proc-macro2",
"quote",
Dockerfile-parachaindiffbeforeafterboth--- a/Dockerfile-parachain
+++ b/Dockerfile-parachain
@@ -6,7 +6,7 @@
ARG RUST_TOOLCHAIN=nightly-2021-06-28
#ARG RUST_C=1.55.0-nightly
-ARG POLKA_VERSION=v0.9.11
+ARG POLKA_VERSION=v0.9.12
ARG NFT_BRANCH=develop
#ARG USER=***
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -3,8 +3,7 @@
[build-dependencies.substrate-build-script-utils]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '3.0.0'
+bbranch = 'polkadot-v0.9.12'
################################################################################
# Substrate Dependecies
@@ -17,186 +16,150 @@
[dependencies.frame-benchmarking]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-benchmarking-cli]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-transaction-payment-rpc]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.substrate-prometheus-endpoint]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.9.0'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-basic-authorship]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-chain-spec]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-cli]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-client-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-consensus]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-executor]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-keystore]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-rpc]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-rpc-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-service]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-telemetry]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-tracing]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-block-builder]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-blockchain]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-consensus]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-core]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-inherents]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-keystore]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-offchain]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-runtime]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-session]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-timestamp]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-trie]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.substrate-frame-rpc-system]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sc-network]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.serde]
features = ['derive']
@@ -211,58 +174,58 @@
[dependencies.cumulus-client-consensus-aura]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-client-consensus-common]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-client-collator]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-client-cli]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-client-network]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-primitives-core]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-primitives-parachain-inherent]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-client-service]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
################################################################################
# Polkadot dependencies
[dependencies.polkadot-primitives]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
[dependencies.polkadot-service]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
[dependencies.polkadot-cli]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
[dependencies.polkadot-test-service]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
################################################################################
@@ -277,7 +240,7 @@
default-features = false
################################################################################
-# Package
+# Package
[package]
authors = ['Unique Network <support@uniquenetwork.io>']
@@ -305,13 +268,13 @@
jsonrpc-core = '18.0.0'
jsonrpc-pubsub = "18.0.0"
-fc-rpc-core = { version = "1.1.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-consensus = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-mapping-sync = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-rpc = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-db = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fp-rpc = { version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-pallet-ethereum = { version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
+fc-rpc-core = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-consensus = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-mapping-sync = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-db = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fp-rpc = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
nft-rpc = { path = "../rpc" }
node/cli/src/service.rsdiffbeforeafterboth1//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.23//4// This file is subject to the terms and conditions defined in5// file 'LICENSE', which is part of this source code package.6//78// std9use std::sync::Arc;10use std::sync::Mutex;11use std::collections::BTreeMap;12use std::collections::HashMap;13use std::time::Duration;14use futures::StreamExt;1516// Local Runtime Types17use nft_runtime::RuntimeApi;1819// Cumulus Imports20use cumulus_client_consensus_aura::{build_aura_consensus, BuildAuraConsensusParams, SlotProportion};21use cumulus_client_consensus_common::ParachainConsensus;22use cumulus_client_network::build_block_announce_validator;23use cumulus_client_service::{24 prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams,25};26use cumulus_primitives_core::ParaId;2728// Substrate Imports29use sc_client_api::ExecutorProvider;30use sc_executor::NativeElseWasmExecutor;31use sc_executor::NativeExecutionDispatch;32use sc_network::NetworkService;33use sc_service::{BasePath, Configuration, PartialComponents, Role, TaskManager};34use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle};35use sp_consensus::SlotData;36use sp_keystore::SyncCryptoStorePtr;37use sp_runtime::traits::BlakeTwo256;38use substrate_prometheus_endpoint::Registry;39use sc_client_api::BlockchainEvents;4041// Frontier Imports42use fc_rpc_core::types::FilterPool;43use fc_rpc_core::types::PendingTransactions;44use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};4546// Runtime type overrides47type BlockNumber = u32;48type Header = sp_runtime::generic::Header<BlockNumber, sp_runtime::traits::BlakeTwo256>;49pub type Block = sp_runtime::generic::Block<Header, sp_runtime::OpaqueExtrinsic>;50type Hash = sp_core::H256;5152/// Native executor instance.53pub struct ParachainRuntimeExecutor;5455impl NativeExecutionDispatch for ParachainRuntimeExecutor {56 type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;5758 fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {59 nft_runtime::api::dispatch(method, data)60 }6162 fn native_version() -> sc_executor::NativeVersion {63 nft_runtime::native_version()64 }65}6667pub fn open_frontier_backend(config: &Configuration) -> Result<Arc<fc_db::Backend<Block>>, String> {68 let config_dir = config69 .base_path70 .as_ref()71 .map(|base_path| base_path.config_dir(config.chain_spec.id()))72 .unwrap_or_else(|| {73 BasePath::from_project("", "", "nft").config_dir(config.chain_spec.id())74 });75 let database_dir = config_dir.join("frontier").join("db");7677 Ok(Arc::new(fc_db::Backend::<Block>::new(78 &fc_db::DatabaseSettings {79 source: fc_db::DatabaseSettingsSrc::RocksDb {80 path: database_dir,81 cache_size: 0,82 },83 },84 )?))85}8687type ExecutorDispatch = ParachainRuntimeExecutor;8889type FullClient =90 sc_service::TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>;91type FullBackend = sc_service::TFullBackend<Block>;92type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;9394/// Starts a `ServiceBuilder` for a full service.95///96/// Use this macro if you don't actually need the full service, but just the builder in order to97/// be able to perform chain operations.98#[allow(clippy::type_complexity)]99pub fn new_partial<BIQ>(100 config: &Configuration,101 build_import_queue: BIQ,102) -> Result<103 PartialComponents<104 FullClient,105 FullBackend,106 FullSelectChain,107 sc_consensus::DefaultImportQueue<Block, FullClient>,108 sc_transaction_pool::FullPool<Block, FullClient>,109 (110 Option<Telemetry>,111 PendingTransactions,112 Option<FilterPool>,113 Arc<fc_db::Backend<Block>>,114 Option<TelemetryWorkerHandle>,115 ),116 >,117 sc_service::Error,118>119where120 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,121 ExecutorDispatch: NativeExecutionDispatch + 'static,122 BIQ: FnOnce(123 Arc<FullClient>,124 &Configuration,125 Option<TelemetryHandle>,126 &TaskManager,127 ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,128{129 let _telemetry = config130 .telemetry_endpoints131 .clone()132 .filter(|x| !x.is_empty())133 .map(|endpoints| -> Result<_, sc_telemetry::Error> {134 let worker = TelemetryWorker::new(16)?;135 let telemetry = worker.handle().new_telemetry(endpoints);136 Ok((worker, telemetry))137 })138 .transpose()?;139140 let telemetry = config141 .telemetry_endpoints142 .clone()143 .filter(|x| !x.is_empty())144 .map(|endpoints| -> Result<_, sc_telemetry::Error> {145 let worker = TelemetryWorker::new(16)?;146 let telemetry = worker.handle().new_telemetry(endpoints);147 Ok((worker, telemetry))148 })149 .transpose()?;150151 let executor = NativeElseWasmExecutor::<ExecutorDispatch>::new(152 config.wasm_method,153 config.default_heap_pages,154 config.max_runtime_instances,155 );156157 let (client, backend, keystore_container, task_manager) =158 sc_service::new_full_parts::<Block, RuntimeApi, _>(159 config,160 telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()),161 executor,162 )?;163 let client = Arc::new(client);164165 let telemetry_worker_handle = telemetry.as_ref().map(|(worker, _)| worker.handle());166167 let telemetry = telemetry.map(|(worker, telemetry)| {168 task_manager.spawn_handle().spawn("telemetry", worker.run());169 telemetry170 });171172 let select_chain = sc_consensus::LongestChain::new(backend.clone());173174 let transaction_pool = sc_transaction_pool::BasicPool::new_full(175 config.transaction_pool.clone(),176 config.role.is_authority().into(),177 config.prometheus_registry(),178 task_manager.spawn_essential_handle(),179 client.clone(),180 );181182 let pending_transactions: PendingTransactions = Some(Arc::new(Mutex::new(HashMap::new())));183184 let filter_pool: Option<FilterPool> = Some(Arc::new(Mutex::new(BTreeMap::new())));185186 let frontier_backend = open_frontier_backend(config)?;187188 let import_queue = build_import_queue(189 client.clone(),190 config,191 telemetry.as_ref().map(|telemetry| telemetry.handle()),192 &task_manager,193 )?;194195 let params = PartialComponents {196 backend,197 client,198 import_queue,199 keystore_container,200 task_manager,201 transaction_pool,202 select_chain,203 other: (204 telemetry,205 pending_transactions,206 filter_pool,207 frontier_backend,208 telemetry_worker_handle,209 ),210 };211212 Ok(params)213}214215/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.216///217/// This is the actual implementation that is abstract over the executor and the runtime api.218#[sc_tracing::logging::prefix_logs_with("Parachain")]219async fn start_node_impl<BIQ, BIC>(220 parachain_config: Configuration,221 polkadot_config: Configuration,222 id: ParaId,223 build_import_queue: BIQ,224 build_consensus: BIC,225) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)>226where227 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,228 ExecutorDispatch: NativeExecutionDispatch + 'static,229 BIQ: FnOnce(230 Arc<FullClient>,231 &Configuration,232 Option<TelemetryHandle>,233 &TaskManager,234 ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,235 BIC: FnOnce(236 Arc<FullClient>,237 Option<&Registry>,238 Option<TelemetryHandle>,239 &TaskManager,240 &polkadot_service::NewFull<polkadot_service::Client>,241 Arc<sc_transaction_pool::FullPool<Block, FullClient>>,242 Arc<NetworkService<Block, Hash>>,243 SyncCryptoStorePtr,244 bool,245 ) -> Result<Box<dyn ParachainConsensus<Block>>, sc_service::Error>,246{247 if matches!(parachain_config.role, Role::Light) {248 return Err("Light client not supported!".into());249 }250251 let parachain_config = prepare_node_config(parachain_config);252253 let params = new_partial::<BIQ>(¶chain_config, build_import_queue)?;254 let (255 mut telemetry,256 pending_transactions,257 filter_pool,258 frontier_backend,259 telemetry_worker_handle,260 ) = params.other;261262 let relay_chain_full_node =263 cumulus_client_service::build_polkadot_full_node(polkadot_config, telemetry_worker_handle)264 .map_err(|e| match e {265 polkadot_service::Error::Sub(x) => x,266 s => format!("{}", s).into(),267 })?;268269 let client = params.client.clone();270 let backend = params.backend.clone();271 let block_announce_validator = build_block_announce_validator(272 relay_chain_full_node.client.clone(),273 id,274 Box::new(relay_chain_full_node.network.clone()),275 relay_chain_full_node.backend.clone(),276 );277278 let force_authoring = parachain_config.force_authoring;279 let validator = parachain_config.role.is_authority();280 let prometheus_registry = parachain_config.prometheus_registry().cloned();281 let transaction_pool = params.transaction_pool.clone();282 let mut task_manager = params.task_manager;283 let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue);284285 let (network, system_rpc_tx, start_network) =286 sc_service::build_network(sc_service::BuildNetworkParams {287 config: ¶chain_config,288 client: client.clone(),289 transaction_pool: transaction_pool.clone(),290 spawn_handle: task_manager.spawn_handle(),291 import_queue: import_queue.clone(),292 on_demand: None,293 block_announce_validator_builder: Some(Box::new(|_| block_announce_validator)),294 warp_sync: None,295 })?;296297 let subscription_executor = sc_rpc::SubscriptionTaskExecutor::new(task_manager.spawn_handle());298 let rpc_client = client.clone();299 let rpc_pool = transaction_pool.clone();300 let select_chain = params.select_chain.clone();301 let is_authority = parachain_config.role.clone().is_authority();302 let rpc_network = network.clone();303304 let rpc_frontier_backend = frontier_backend.clone();305 let rpc_extensions_builder = Box::new(move |deny_unsafe, _| {306 let full_deps = nft_rpc::FullDeps {307 backend: rpc_frontier_backend.clone(),308 deny_unsafe,309 client: rpc_client.clone(),310 pool: rpc_pool.clone(),311 // TODO: Unhardcode312 enable_dev_signer: false,313 filter_pool: filter_pool.clone(),314 network: rpc_network.clone(),315 pending_transactions: pending_transactions.clone(),316 select_chain: select_chain.clone(),317 is_authority,318 // TODO: Unhardcode319 max_past_logs: 10000,320 };321322 Ok(nft_rpc::create_full::<_, _, _, RuntimeApi, _>(323 full_deps,324 subscription_executor.clone(),325 ))326 });327328 task_manager.spawn_essential_handle().spawn(329 "frontier-mapping-sync-worker",330 MappingSyncWorker::new(331 client.import_notification_stream(),332 Duration::new(6, 0),333 client.clone(),334 backend.clone(),335 frontier_backend.clone(),336 SyncStrategy::Normal,337 )338 .for_each(|()| futures::future::ready(())),339 );340341 sc_service::spawn_tasks(sc_service::SpawnTasksParams {342 on_demand: None,343 remote_blockchain: None,344 rpc_extensions_builder,345 client: client.clone(),346 transaction_pool: transaction_pool.clone(),347 task_manager: &mut task_manager,348 config: parachain_config,349 keystore: params.keystore_container.sync_keystore(),350 backend: backend.clone(),351 network: network.clone(),352 system_rpc_tx,353 telemetry: telemetry.as_mut(),354 })?;355356 let announce_block = {357 let network = network.clone();358 Arc::new(move |hash, data| network.announce_block(hash, data))359 };360361 if validator {362 let parachain_consensus = build_consensus(363 client.clone(),364 prometheus_registry.as_ref(),365 telemetry.as_ref().map(|t| t.handle()),366 &task_manager,367 &relay_chain_full_node,368 transaction_pool,369 network,370 params.keystore_container.sync_keystore(),371 force_authoring,372 )?;373374 let spawner = task_manager.spawn_handle();375376 let params = StartCollatorParams {377 para_id: id,378 block_status: client.clone(),379 announce_block,380 client: client.clone(),381 task_manager: &mut task_manager,382 relay_chain_full_node,383 spawner,384 parachain_consensus,385 import_queue,386 };387388 start_collator(params).await?;389 } else {390 let params = StartFullNodeParams {391 client: client.clone(),392 announce_block,393 task_manager: &mut task_manager,394 para_id: id,395 relay_chain_full_node,396 };397398 start_full_node(params)?;399 }400401 start_network.start_network();402403 Ok((task_manager, client))404}405406/// Build the import queue for the the parachain runtime.407pub fn parachain_build_import_queue(408 client: Arc<FullClient>,409 config: &Configuration,410 telemetry: Option<TelemetryHandle>,411 task_manager: &TaskManager,412) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error> {413 let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;414415 cumulus_client_consensus_aura::import_queue::<416 sp_consensus_aura::sr25519::AuthorityPair,417 _,418 _,419 _,420 _,421 _,422 _,423 >(cumulus_client_consensus_aura::ImportQueueParams {424 block_import: client.clone(),425 client: client.clone(),426 create_inherent_data_providers: move |_, _| async move {427 let time = sp_timestamp::InherentDataProvider::from_system_time();428429 let slot =430 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration(431 *time,432 slot_duration.slot_duration(),433 );434435 Ok((time, slot))436 },437 registry: config.prometheus_registry(),438 can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()),439 spawner: &task_manager.spawn_essential_handle(),440 telemetry,441 })442 .map_err(Into::into)443}444445/// Start a normal parachain node.446pub async fn start_node(447 parachain_config: Configuration,448 polkadot_config: Configuration,449 id: ParaId,450) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)> {451 start_node_impl::<_, _>(452 parachain_config,453 polkadot_config,454 id,455 parachain_build_import_queue,456 |client,457 prometheus_registry,458 telemetry,459 task_manager,460 relay_chain_node,461 transaction_pool,462 sync_oracle,463 keystore,464 force_authoring| {465 let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;466467 let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording(468 task_manager.spawn_handle(),469 client.clone(),470 transaction_pool,471 prometheus_registry,472 telemetry.clone(),473 );474475 let relay_chain_backend = relay_chain_node.backend.clone();476 let relay_chain_client = relay_chain_node.client.clone();477 Ok(build_aura_consensus::<478 sp_consensus_aura::sr25519::AuthorityPair,479 _,480 _,481 _,482 _,483 _,484 _,485 _,486 _,487 _,488 >(BuildAuraConsensusParams {489 proposer_factory,490 create_inherent_data_providers: move |_, (relay_parent, validation_data)| {491 let parachain_inherent =492 cumulus_primitives_parachain_inherent::ParachainInherentData::create_at_with_client(493 relay_parent,494 &relay_chain_client,495 &*relay_chain_backend,496 &validation_data,497 id,498 );499 async move {500 let time = sp_timestamp::InherentDataProvider::from_system_time();501502 let slot =503 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration(504 *time,505 slot_duration.slot_duration(),506 );507508 let parachain_inherent = parachain_inherent.ok_or_else(|| {509 Box::<dyn std::error::Error + Send + Sync>::from(510 "Failed to create parachain inherent",511 )512 })?;513 Ok((time, slot, parachain_inherent))514 }515 },516 block_import: client.clone(),517 relay_chain_client: relay_chain_node.client.clone(),518 relay_chain_backend: relay_chain_node.backend.clone(),519 para_client: client,520 backoff_authoring_blocks: Option::<()>::None,521 sync_oracle,522 keystore,523 force_authoring,524 slot_duration,525 // We got around 500ms for proposing526 block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32),527 telemetry,528 max_block_proposal_slot_portion: None,529 }))530 },531 )532 .await533}1//! Service and ServiceFactory implementation. Specialized wrapper over substrate service.23//4// This file is subject to the terms and conditions defined in5// file 'LICENSE', which is part of this source code package.6//78// std9use std::sync::Arc;10use std::sync::Mutex;11use std::collections::BTreeMap;12use std::time::Duration;13use futures::StreamExt;1415// Local Runtime Types16use nft_runtime::RuntimeApi;1718// Cumulus Imports19use cumulus_client_consensus_aura::{build_aura_consensus, BuildAuraConsensusParams, SlotProportion};20use cumulus_client_consensus_common::ParachainConsensus;21use cumulus_client_network::build_block_announce_validator;22use cumulus_client_service::{23 prepare_node_config, start_collator, start_full_node, StartCollatorParams, StartFullNodeParams,24};25use cumulus_primitives_core::ParaId;2627// Substrate Imports28use sc_client_api::ExecutorProvider;29use sc_executor::NativeElseWasmExecutor;30use sc_executor::NativeExecutionDispatch;31use sc_network::NetworkService;32use sc_service::{BasePath, Configuration, PartialComponents, Role, TaskManager};33use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle};34use sp_consensus::SlotData;35use sp_keystore::SyncCryptoStorePtr;36use sp_runtime::traits::BlakeTwo256;37use substrate_prometheus_endpoint::Registry;38use sc_client_api::BlockchainEvents;3940// Frontier Imports41use fc_rpc_core::types::FilterPool;42use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};4344// Runtime type overrides45type BlockNumber = u32;46type Header = sp_runtime::generic::Header<BlockNumber, sp_runtime::traits::BlakeTwo256>;47pub type Block = sp_runtime::generic::Block<Header, sp_runtime::OpaqueExtrinsic>;48type Hash = sp_core::H256;4950/// Native executor instance.51pub struct ParachainRuntimeExecutor;5253impl NativeExecutionDispatch for ParachainRuntimeExecutor {54 type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;5556 fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {57 nft_runtime::api::dispatch(method, data)58 }5960 fn native_version() -> sc_executor::NativeVersion {61 nft_runtime::native_version()62 }63}6465pub fn open_frontier_backend(config: &Configuration) -> Result<Arc<fc_db::Backend<Block>>, String> {66 let config_dir = config67 .base_path68 .as_ref()69 .map(|base_path| base_path.config_dir(config.chain_spec.id()))70 .unwrap_or_else(|| {71 BasePath::from_project("", "", "nft").config_dir(config.chain_spec.id())72 });73 let database_dir = config_dir.join("frontier").join("db");7475 Ok(Arc::new(fc_db::Backend::<Block>::new(76 &fc_db::DatabaseSettings {77 source: fc_db::DatabaseSettingsSrc::RocksDb {78 path: database_dir,79 cache_size: 0,80 },81 },82 )?))83}8485type ExecutorDispatch = ParachainRuntimeExecutor;8687type FullClient =88 sc_service::TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>;89type FullBackend = sc_service::TFullBackend<Block>;90type FullSelectChain = sc_consensus::LongestChain<FullBackend, Block>;9192/// Starts a `ServiceBuilder` for a full service.93///94/// Use this macro if you don't actually need the full service, but just the builder in order to95/// be able to perform chain operations.96#[allow(clippy::type_complexity)]97pub fn new_partial<BIQ>(98 config: &Configuration,99 build_import_queue: BIQ,100) -> Result<101 PartialComponents<102 FullClient,103 FullBackend,104 FullSelectChain,105 sc_consensus::DefaultImportQueue<Block, FullClient>,106 sc_transaction_pool::FullPool<Block, FullClient>,107 (108 Option<Telemetry>,109 Option<FilterPool>,110 Arc<fc_db::Backend<Block>>,111 Option<TelemetryWorkerHandle>,112 ),113 >,114 sc_service::Error,115>116where117 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,118 ExecutorDispatch: NativeExecutionDispatch + 'static,119 BIQ: FnOnce(120 Arc<FullClient>,121 &Configuration,122 Option<TelemetryHandle>,123 &TaskManager,124 ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,125{126 let _telemetry = config127 .telemetry_endpoints128 .clone()129 .filter(|x| !x.is_empty())130 .map(|endpoints| -> Result<_, sc_telemetry::Error> {131 let worker = TelemetryWorker::new(16)?;132 let telemetry = worker.handle().new_telemetry(endpoints);133 Ok((worker, telemetry))134 })135 .transpose()?;136137 let telemetry = config138 .telemetry_endpoints139 .clone()140 .filter(|x| !x.is_empty())141 .map(|endpoints| -> Result<_, sc_telemetry::Error> {142 let worker = TelemetryWorker::new(16)?;143 let telemetry = worker.handle().new_telemetry(endpoints);144 Ok((worker, telemetry))145 })146 .transpose()?;147148 let executor = NativeElseWasmExecutor::<ExecutorDispatch>::new(149 config.wasm_method,150 config.default_heap_pages,151 config.max_runtime_instances,152 );153154 let (client, backend, keystore_container, task_manager) =155 sc_service::new_full_parts::<Block, RuntimeApi, _>(156 config,157 telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()),158 executor,159 )?;160 let client = Arc::new(client);161162 let telemetry_worker_handle = telemetry.as_ref().map(|(worker, _)| worker.handle());163164 let telemetry = telemetry.map(|(worker, telemetry)| {165 task_manager.spawn_handle().spawn("telemetry", worker.run());166 telemetry167 });168169 let select_chain = sc_consensus::LongestChain::new(backend.clone());170171 let transaction_pool = sc_transaction_pool::BasicPool::new_full(172 config.transaction_pool.clone(),173 config.role.is_authority().into(),174 config.prometheus_registry(),175 task_manager.spawn_essential_handle(),176 client.clone(),177 );178179 let filter_pool: Option<FilterPool> = Some(Arc::new(Mutex::new(BTreeMap::new())));180181 let frontier_backend = open_frontier_backend(config)?;182183 let import_queue = build_import_queue(184 client.clone(),185 config,186 telemetry.as_ref().map(|telemetry| telemetry.handle()),187 &task_manager,188 )?;189190 let params = PartialComponents {191 backend,192 client,193 import_queue,194 keystore_container,195 task_manager,196 transaction_pool,197 select_chain,198 other: (199 telemetry,200 filter_pool,201 frontier_backend,202 telemetry_worker_handle,203 ),204 };205206 Ok(params)207}208209/// Start a node with the given parachain `Configuration` and relay chain `Configuration`.210///211/// This is the actual implementation that is abstract over the executor and the runtime api.212#[sc_tracing::logging::prefix_logs_with("Parachain")]213async fn start_node_impl<BIQ, BIC>(214 parachain_config: Configuration,215 polkadot_config: Configuration,216 id: ParaId,217 build_import_queue: BIQ,218 build_consensus: BIC,219) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)>220where221 sc_client_api::StateBackendFor<FullBackend, Block>: sp_api::StateBackend<BlakeTwo256>,222 ExecutorDispatch: NativeExecutionDispatch + 'static,223 BIQ: FnOnce(224 Arc<FullClient>,225 &Configuration,226 Option<TelemetryHandle>,227 &TaskManager,228 ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,229 BIC: FnOnce(230 Arc<FullClient>,231 Option<&Registry>,232 Option<TelemetryHandle>,233 &TaskManager,234 &polkadot_service::NewFull<polkadot_service::Client>,235 Arc<sc_transaction_pool::FullPool<Block, FullClient>>,236 Arc<NetworkService<Block, Hash>>,237 SyncCryptoStorePtr,238 bool,239 ) -> Result<Box<dyn ParachainConsensus<Block>>, sc_service::Error>,240{241 if matches!(parachain_config.role, Role::Light) {242 return Err("Light client not supported!".into());243 }244245 let parachain_config = prepare_node_config(parachain_config);246247 let params = new_partial::<BIQ>(¶chain_config, build_import_queue)?;248 let (mut telemetry, filter_pool, frontier_backend, telemetry_worker_handle) = params.other;249250 let relay_chain_full_node =251 cumulus_client_service::build_polkadot_full_node(polkadot_config, telemetry_worker_handle)252 .map_err(|e| match e {253 polkadot_service::Error::Sub(x) => x,254 s => format!("{}", s).into(),255 })?;256257 let client = params.client.clone();258 let backend = params.backend.clone();259 let block_announce_validator = build_block_announce_validator(260 relay_chain_full_node.client.clone(),261 id,262 Box::new(relay_chain_full_node.network.clone()),263 relay_chain_full_node.backend.clone(),264 );265266 let force_authoring = parachain_config.force_authoring;267 let validator = parachain_config.role.is_authority();268 let prometheus_registry = parachain_config.prometheus_registry().cloned();269 let transaction_pool = params.transaction_pool.clone();270 let mut task_manager = params.task_manager;271 let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue);272273 let (network, system_rpc_tx, start_network) =274 sc_service::build_network(sc_service::BuildNetworkParams {275 config: ¶chain_config,276 client: client.clone(),277 transaction_pool: transaction_pool.clone(),278 spawn_handle: task_manager.spawn_handle(),279 import_queue: import_queue.clone(),280 on_demand: None,281 block_announce_validator_builder: Some(Box::new(|_| block_announce_validator)),282 warp_sync: None,283 })?;284285 let subscription_executor = sc_rpc::SubscriptionTaskExecutor::new(task_manager.spawn_handle());286 let rpc_client = client.clone();287 let rpc_pool = transaction_pool.clone();288 let select_chain = params.select_chain.clone();289 let is_authority = parachain_config.role.clone().is_authority();290 let rpc_network = network.clone();291292 let rpc_frontier_backend = frontier_backend.clone();293 let rpc_extensions_builder = Box::new(move |deny_unsafe, _| {294 let full_deps = nft_rpc::FullDeps {295 backend: rpc_frontier_backend.clone(),296 deny_unsafe,297 client: rpc_client.clone(),298 pool: rpc_pool.clone(),299 graph: rpc_pool.pool().clone(),300 // TODO: Unhardcode301 enable_dev_signer: false,302 filter_pool: filter_pool.clone(),303 network: rpc_network.clone(),304 select_chain: select_chain.clone(),305 is_authority,306 // TODO: Unhardcode307 max_past_logs: 10000,308 };309310 Ok(nft_rpc::create_full::<_, _, _, _, RuntimeApi, _>(311 full_deps,312 subscription_executor.clone(),313 ))314 });315316 task_manager.spawn_essential_handle().spawn(317 "frontier-mapping-sync-worker",318 MappingSyncWorker::new(319 client.import_notification_stream(),320 Duration::new(6, 0),321 client.clone(),322 backend.clone(),323 frontier_backend.clone(),324 SyncStrategy::Normal,325 )326 .for_each(|()| futures::future::ready(())),327 );328329 sc_service::spawn_tasks(sc_service::SpawnTasksParams {330 on_demand: None,331 remote_blockchain: None,332 rpc_extensions_builder,333 client: client.clone(),334 transaction_pool: transaction_pool.clone(),335 task_manager: &mut task_manager,336 config: parachain_config,337 keystore: params.keystore_container.sync_keystore(),338 backend: backend.clone(),339 network: network.clone(),340 system_rpc_tx,341 telemetry: telemetry.as_mut(),342 })?;343344 let announce_block = {345 let network = network.clone();346 Arc::new(move |hash, data| network.announce_block(hash, data))347 };348349 if validator {350 let parachain_consensus = build_consensus(351 client.clone(),352 prometheus_registry.as_ref(),353 telemetry.as_ref().map(|t| t.handle()),354 &task_manager,355 &relay_chain_full_node,356 transaction_pool,357 network,358 params.keystore_container.sync_keystore(),359 force_authoring,360 )?;361362 let spawner = task_manager.spawn_handle();363364 let params = StartCollatorParams {365 para_id: id,366 block_status: client.clone(),367 announce_block,368 client: client.clone(),369 task_manager: &mut task_manager,370 relay_chain_full_node,371 spawner,372 parachain_consensus,373 import_queue,374 };375376 start_collator(params).await?;377 } else {378 let params = StartFullNodeParams {379 client: client.clone(),380 announce_block,381 task_manager: &mut task_manager,382 para_id: id,383 relay_chain_full_node,384 };385386 start_full_node(params)?;387 }388389 start_network.start_network();390391 Ok((task_manager, client))392}393394/// Build the import queue for the the parachain runtime.395pub fn parachain_build_import_queue(396 client: Arc<FullClient>,397 config: &Configuration,398 telemetry: Option<TelemetryHandle>,399 task_manager: &TaskManager,400) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error> {401 let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;402403 cumulus_client_consensus_aura::import_queue::<404 sp_consensus_aura::sr25519::AuthorityPair,405 _,406 _,407 _,408 _,409 _,410 _,411 >(cumulus_client_consensus_aura::ImportQueueParams {412 block_import: client.clone(),413 client: client.clone(),414 create_inherent_data_providers: move |_, _| async move {415 let time = sp_timestamp::InherentDataProvider::from_system_time();416417 let slot =418 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration(419 *time,420 slot_duration.slot_duration(),421 );422423 Ok((time, slot))424 },425 registry: config.prometheus_registry(),426 can_author_with: sp_consensus::CanAuthorWithNativeVersion::new(client.executor().clone()),427 spawner: &task_manager.spawn_essential_handle(),428 telemetry,429 })430 .map_err(Into::into)431}432433/// Start a normal parachain node.434pub async fn start_node(435 parachain_config: Configuration,436 polkadot_config: Configuration,437 id: ParaId,438) -> sc_service::error::Result<(TaskManager, Arc<FullClient>)> {439 start_node_impl::<_, _>(440 parachain_config,441 polkadot_config,442 id,443 parachain_build_import_queue,444 |client,445 prometheus_registry,446 telemetry,447 task_manager,448 relay_chain_node,449 transaction_pool,450 sync_oracle,451 keystore,452 force_authoring| {453 let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;454455 let proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording(456 task_manager.spawn_handle(),457 client.clone(),458 transaction_pool,459 prometheus_registry,460 telemetry.clone(),461 );462463 let relay_chain_backend = relay_chain_node.backend.clone();464 let relay_chain_client = relay_chain_node.client.clone();465 Ok(build_aura_consensus::<466 sp_consensus_aura::sr25519::AuthorityPair,467 _,468 _,469 _,470 _,471 _,472 _,473 _,474 _,475 _,476 >(BuildAuraConsensusParams {477 proposer_factory,478 create_inherent_data_providers: move |_, (relay_parent, validation_data)| {479 let parachain_inherent =480 cumulus_primitives_parachain_inherent::ParachainInherentData::create_at_with_client(481 relay_parent,482 &relay_chain_client,483 &*relay_chain_backend,484 &validation_data,485 id,486 );487 async move {488 let time = sp_timestamp::InherentDataProvider::from_system_time();489490 let slot =491 sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_duration(492 *time,493 slot_duration.slot_duration(),494 );495496 let parachain_inherent = parachain_inherent.ok_or_else(|| {497 Box::<dyn std::error::Error + Send + Sync>::from(498 "Failed to create parachain inherent",499 )500 })?;501 Ok((time, slot, parachain_inherent))502 }503 },504 block_import: client.clone(),505 relay_chain_client: relay_chain_node.client.clone(),506 relay_chain_backend: relay_chain_node.backend.clone(),507 para_client: client,508 backoff_authoring_blocks: Option::<()>::None,509 sync_oracle,510 keystore,511 force_authoring,512 slot_duration,513 // We got around 500ms for proposing514 block_proposal_slot_portion: SlotProportion::new(1f32 / 24f32),515 telemetry,516 max_block_proposal_slot_portion: None,517 }))518 },519 )520 .await521}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"] }
jsonrpc-core = "18.0.0"
jsonrpc-pubsub = "18.0.0"
-# pallet-contracts-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
-pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-client-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-consensus-aura = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-consensus-epochs = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-finality-grandpa = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-finality-grandpa-rpc = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-keystore = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-network = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-rpc-api = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-service = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-block-builder = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-blockchain = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-consensus-aura = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-offchain = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-storage = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-session = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sc-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-substrate-frame-rpc-system = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+# pallet-contracts-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-transaction-payment-rpc-runtime-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-client-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-consensus-epochs = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-finality-grandpa = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-finality-grandpa-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-keystore = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-network = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-rpc-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-rpc = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-service = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-api = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-block-builder = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-blockchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-consensus = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-consensus-aura = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-offchain = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-storage = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-session = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sc-transaction-pool = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
tokio = { version = "0.2.25", features = ["macros", "sync"] }
-pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
+pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-rpc-core = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-db = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fc-mapping-sync = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
pallet-nft = { path = "../../pallets/nft" }
nft-runtime = { path = "../../runtime" }
node/rpc/src/lib.rsdiffbeforeafterboth--- a/node/rpc/src/lib.rs
+++ b/node/rpc/src/lib.rs
@@ -1,6 +1,8 @@
use nft_runtime::{Hash, AccountId, Index, opaque::Block, BlockNumber, Balance};
-use fc_rpc::{OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, StorageOverride};
-use fc_rpc_core::types::{FilterPool, PendingTransactions};
+use fc_rpc::{
+ EthBlockDataCache, OverrideHandle, RuntimeApiStorageOverride, SchemaV1Override, StorageOverride,
+};
+use fc_rpc_core::types::FilterPool;
use jsonrpc_pubsub::manager::SubscriptionManager;
use pallet_ethereum::EthereumStorageSchema;
use sc_client_api::{
@@ -14,6 +16,7 @@
use sc_network::NetworkService;
use sc_rpc::SubscriptionTaskExecutor;
pub use sc_rpc_api::DenyUnsafe;
+use sc_transaction_pool::{ChainApi, Pool};
use sp_api::ProvideRuntimeApi;
use sp_block_builder::BlockBuilder;
use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata};
@@ -51,11 +54,13 @@
}
/// Full client dependencies.
-pub struct FullDeps<C, P, SC> {
+pub struct FullDeps<C, P, SC, CA: ChainApi> {
/// The client instance to use.
pub client: Arc<C>,
/// Transaction pool instance.
pub pool: Arc<P>,
+ /// Graph pool instance.
+ pub graph: Arc<Pool<CA>>,
/// The SelectChain Strategy
pub select_chain: SC,
/// The Node authority flag
@@ -66,8 +71,6 @@
pub network: Arc<NetworkService<Block, Hash>>,
/// Whether to deny unsafe calls
pub deny_unsafe: DenyUnsafe,
- /// Ethereum pending transactions.
- pub pending_transactions: PendingTransactions,
/// EthFilterApi pool.
pub filter_pool: Option<FilterPool>,
/// Backend.
@@ -110,8 +113,8 @@
}
/// Instantiate all Full RPC extensions.
-pub fn create_full<C, P, SC, A, B>(
- deps: FullDeps<C, P, SC>,
+pub fn create_full<C, P, SC, CA, A, B>(
+ deps: FullDeps<C, P, SC, CA>,
subscription_task_executor: SubscriptionTaskExecutor,
) -> jsonrpc_core::IoHandler<sc_rpc_api::Metadata>
where
@@ -125,10 +128,11 @@
C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi<Block, Balance>,
C::Api: fp_rpc::EthereumRuntimeRPCApi<Block>,
C::Api: pallet_nft::NftApi<Block>,
- P: TransactionPool<Block = Block> + 'static,
- SC: SelectChain<Block> + 'static,
B: sc_client_api::Backend<Block> + Send + Sync + 'static,
B::State: sc_client_api::backend::StateBackend<sp_runtime::traits::HashFor<Block>>,
+ SC: SelectChain<Block> + 'static,
+ P: TransactionPool<Block = Block> + 'static,
+ CA: ChainApi<Block = Block> + 'static,
{
use fc_rpc::{
EthApi, EthApiServer, EthDevSigner, EthFilterApi, EthFilterApiServer, EthPubSubApi,
@@ -143,12 +147,12 @@
let FullDeps {
client,
pool,
+ graph,
select_chain: _,
enable_dev_signer,
is_authority,
network,
deny_unsafe,
- pending_transactions,
filter_pool,
backend,
max_past_logs,
@@ -184,17 +188,20 @@
fallback: Box::new(RuntimeApiStorageOverride::new(client.clone())),
});
+ let block_data_cache = Arc::new(EthBlockDataCache::new(50, 50));
+
io.extend_with(EthApiServer::to_delegate(EthApi::new(
client.clone(),
pool.clone(),
+ graph,
nft_runtime::TransactionConverter,
network.clone(),
- pending_transactions,
signers,
overrides.clone(),
backend.clone(),
is_authority,
max_past_logs,
+ block_data_cache.clone(),
)));
if let Some(filter_pool) = filter_pool {
@@ -205,6 +212,7 @@
500_usize, // max stored filters
overrides.clone(),
max_past_logs,
+ block_data_cache.clone(),
)));
}
pallets/contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/contract-helpers/Cargo.toml
+++ b/pallets/contract-helpers/Cargo.toml
@@ -16,11 +16,11 @@
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-pallet-contracts = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-contracts = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
[features]
default = ["std"]
pallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-coder-substrate/Cargo.toml
+++ b/pallets/evm-coder-substrate/Cargo.toml
@@ -5,14 +5,14 @@
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
ethereum = { version = "0.9", git = "https://github.com/purestake/ethereum", branch = "joshy-scale-info", default-features = false }
evm-coder = { default-features = false, path = "../../crates/evm-coder" }
-pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
[dependencies.codec]
default-features = false
pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -5,14 +5,14 @@
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
-pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
up-sponsorship = { default-features = false, path = '../../primitives/sponsorship' }
log = "0.4.14"
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -5,15 +5,15 @@
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-benchmarking = { default-features = false, version = '4.0.0-dev', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fp-evm = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
[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
@@ -5,15 +5,15 @@
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fp-evm = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
up-sponsorship = { default-features = false, path = '../../primitives/sponsorship' }
[dependencies.codec]
pallets/evm-transaction-payment/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-transaction-payment/src/lib.rs
+++ b/pallets/evm-transaction-payment/src/lib.rs
@@ -87,8 +87,8 @@
who: &H160,
corrected_fee: U256,
already_withdrawn: Self::LiquidityInfo,
- ) -> core::result::Result<(), pallet_evm::Error<T>> {
- EVMCurrencyAdapter::<<T as Config>::Currency, ()>::correct_and_deposit_fee(
+ ) {
+ <EVMCurrencyAdapter<<T as Config>::Currency, ()> as pallet_evm::OnChargeEVMTransaction<T>>::correct_and_deposit_fee(
&already_withdrawn.as_ref().map(|e| e.who).unwrap_or(*who),
corrected_fee,
already_withdrawn.map(|e| e.negative_imbalance),
pallets/inflation/Cargo.tomldiffbeforeafterboth--- a/pallets/inflation/Cargo.toml
+++ b/pallets/inflation/Cargo.toml
@@ -43,44 +43,37 @@
default-features = false
optional = true
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.serde]
default-features = false
@@ -90,20 +83,17 @@
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
pallets/nft-charge-transaction/Cargo.tomldiffbeforeafterboth--- a/pallets/nft-charge-transaction/Cargo.toml
+++ b/pallets/nft-charge-transaction/Cargo.toml
@@ -21,15 +21,15 @@
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.130", default-features = false }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-pallet-balances = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-pallet-transaction-payment = { default-features = false, version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-benchmarking = { default-features = false, version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-balances = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-transaction-payment = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
pallet-nft-transaction-payment = { default-features = false, path = "../nft-transaction-payment" }
pallets/nft-transaction-payment/Cargo.tomldiffbeforeafterboth--- a/pallets/nft-transaction-payment/Cargo.toml
+++ b/pallets/nft-transaction-payment/Cargo.toml
@@ -21,14 +21,14 @@
[dependencies]
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
serde = { version = "1.0.130", default-features = false }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-pallet-transaction-payment = { default-features = false, version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-benchmarking = { default-features = false, version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+pallet-transaction-payment = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }
pallets/nft/Cargo.tomldiffbeforeafterboth--- a/pallets/nft/Cargo.toml
+++ b/pallets/nft/Cargo.toml
@@ -56,50 +56,42 @@
default-features = false
optional = true
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-transaction-payment]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.serde]
default-features = false
@@ -109,20 +101,17 @@
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
################################################################################
@@ -143,7 +132,7 @@
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
ethereum = { version = "0.9", git = "https://github.com/purestake/ethereum", branch = "joshy-scale-info", default-features = false }
rlp = { default-features = false, version = "0.5.0" }
-sp-api = { default-features = false, version = '4.0.0-dev', git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.11" }
+sp-api = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.12" }
evm-coder = { default-features = false, path = "../../crates/evm-coder" }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
@@ -151,7 +140,7 @@
"serde_no_std",
] }
-pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fp-evm = { default-features = false, version = '3.0.0-dev', git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
hex-literal = "0.3.3"
pallets/scheduler/Cargo.tomldiffbeforeafterboth--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -13,19 +13,19 @@
serde = { version = "1.0.130", default-features = false }
codec = { package = "parity-scale-codec", version = "2.3.0", default-features = false }
scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-benchmarking = { default-features = false, version = '4.0.0-dev', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-io = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-benchmarking = { default-features = false, optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }
log = { version = "0.4.14", default-features = false }
[dev-dependencies]
-sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-substrate-test-utils = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+substrate-test-utils = { git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
[features]
default = ["std"]
primitives/nft/Cargo.tomldiffbeforeafterboth--- a/primitives/nft/Cargo.toml
+++ b/primitives/nft/Cargo.toml
@@ -16,11 +16,11 @@
serde = { version = "1.0.130", features = [
'derive',
], default-features = false, optional = true }
-frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-core = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-std = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
-sp-runtime = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.11' }
+frame-support = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+frame-system = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
+sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.12' }
derivative = "2.2.0"
[features]
runtime/Cargo.tomldiffbeforeafterboth--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -1,5 +1,5 @@
################################################################################
-# Package
+# Package
[package]
authors = ['Unique Network <support@uniquenetwork.io>']
@@ -64,6 +64,7 @@
'pallet-evm-coder-substrate/std',
'pallet-ethereum/std',
'fp-rpc/std',
+ 'fp-self-contained/std',
'parachain-info/std',
'serde',
'pallet-inflation/std',
@@ -103,39 +104,33 @@
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-executive]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-system-benchmarking]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.hex-literal]
optional = true
@@ -150,14 +145,12 @@
[dependencies.pallet-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
# Contracts specific packages
# [dependencies.pallet-contracts]
@@ -181,122 +174,102 @@
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-sudo]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-transaction-payment]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-treasury]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.pallet-vesting]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-arithmetic]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-block-builder]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-consensus-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '0.10.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-inherents]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-offchain]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-session]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-transaction-pool]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.sp-version]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '4.0.0-dev'
+branch = 'polkadot-v0.9.12'
[dependencies.smallvec]
version = '1.6.1'
@@ -307,47 +280,46 @@
[dependencies.parachain-info]
default-features = false
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
-version = '0.1.0'
+branch = 'polkadot-v0.9.12'
[dependencies.cumulus-pallet-aura-ext]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
[dependencies.cumulus-primitives-core]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
[dependencies.cumulus-pallet-xcm]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
[dependencies.cumulus-primitives-utility]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.11'
+branch = 'polkadot-v0.9.12'
default-features = false
################################################################################
@@ -355,27 +327,27 @@
[dependencies.polkadot-parachain]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
default-features = false
[dependencies.xcm]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
default-features = false
[dependencies.xcm-builder]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
default-features = false
[dependencies.xcm-executor]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
default-features = false
[dependencies.pallet-xcm]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.11'
+branch = 'release-v0.9.12'
default-features = false
@@ -397,14 +369,14 @@
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, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
-fp-rpc = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.11" }
+pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
+fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier.git", branch = "unique-polkadot-v0.9.12" }
################################################################################
# Build Dependencies
[build-dependencies.substrate-wasm-builder]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.11'
-version = '5.0.0-dev'
+branch = 'polkadot-v0.9.12'
runtime/src/lib.rsdiffbeforeafterboth--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -70,7 +70,8 @@
use fp_rpc::TransactionStatus;
use sp_core::crypto::Public;
use sp_runtime::{
- traits::{Dispatchable},
+ traits::{Dispatchable, PostDispatchInfoOf},
+ transaction_validity::TransactionValidityError,
};
// pub use pallet_timestamp::Call as TimestampCall;
@@ -843,7 +844,7 @@
// Frontier
EVM: pallet_evm::{Pallet, Config, Call, Storage, Event<T>} = 100,
- Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, ValidateUnsigned} = 101,
+ Ethereum: pallet_ethereum::{Pallet, Config, Call, Storage, Event, Origin} = 101,
EvmCoderSubstrate: pallet_evm_coder_substrate::{Pallet, Storage} = 150,
EvmContractHelpers: pallet_evm_contract_helpers::{Pallet, Storage} = 151,
@@ -916,6 +917,53 @@
}
}
+impl fp_self_contained::SelfContainedCall for Call {
+ type SignedInfo = H160;
+
+ fn is_self_contained(&self) -> bool {
+ match self {
+ Call::Ethereum(call) => call.is_self_contained(),
+ _ => false,
+ }
+ }
+
+ fn check_self_contained(&self) -> Option<Result<Self::SignedInfo, TransactionValidityError>> {
+ match self {
+ Call::Ethereum(call) => call.check_self_contained(),
+ _ => None,
+ }
+ }
+
+ fn validate_self_contained(&self, info: &Self::SignedInfo) -> Option<TransactionValidity> {
+ match self {
+ Call::Ethereum(call) => call.validate_self_contained(info),
+ _ => None,
+ }
+ }
+
+ fn pre_dispatch_self_contained(
+ &self,
+ info: &Self::SignedInfo,
+ ) -> Option<Result<(), TransactionValidityError>> {
+ match self {
+ Call::Ethereum(call) => call.pre_dispatch_self_contained(info),
+ _ => None,
+ }
+ }
+
+ fn apply_self_contained(
+ self,
+ info: Self::SignedInfo,
+ ) -> Option<sp_runtime::DispatchResultWithInfo<PostDispatchInfoOf<Self>>> {
+ match self {
+ call @ Call::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch(
+ Origin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)),
+ )),
+ _ => None,
+ }
+ }
+}
+
impl_runtime_apis! {
impl pallet_nft::NftApi<Block>
for Runtime