difftreelog
build update lockfile
in: master
2 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -117,9 +117,9 @@
[[package]]
name = "anyhow"
-version = "1.0.44"
+version = "1.0.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1"
+checksum = "62e1f47f7dc0422027a4e370dd4548d4d66b26782e513e98dca1e689e058a80e"
[[package]]
name = "approx"
@@ -259,9 +259,9 @@
[[package]]
name = "async-process"
-version = "1.2.0"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b21b63ab5a0db0369deb913540af2892750e42d949faacc7a61495ac418a1692"
+checksum = "83137067e3a2a6a06d67168e49e68a0957d215410473a740cea95a2425c0b7c6"
dependencies = [
"async-io",
"blocking",
@@ -362,9 +362,9 @@
[[package]]
name = "atomic"
-version = "0.5.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3410529e8288c463bedb5930f82833bc0c90e5d2fe639a56582a4d09220b281"
+checksum = "b88d82667eca772c4aa12f0f1348b3ae643424c8876448f3f7bd5787032e234c"
dependencies = [
"autocfg",
]
@@ -460,7 +460,7 @@
dependencies = [
"beefy-primitives",
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"parity-scale-codec",
"parking_lot 0.11.2",
@@ -488,7 +488,7 @@
dependencies = [
"beefy-gadget",
"beefy-primitives",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
@@ -531,9 +531,9 @@
[[package]]
name = "bindgen"
-version = "0.59.1"
+version = "0.59.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "453c49e5950bb0eb63bb3df640e31618846c89d5b7faa54040d76e98e0134375"
+checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8"
dependencies = [
"bitflags",
"cexpr",
@@ -553,18 +553,6 @@
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
-
-[[package]]
-name = "bitvec"
-version = "0.19.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321"
-dependencies = [
- "funty",
- "radium 0.5.3",
- "tap",
- "wyz",
-]
[[package]]
name = "bitvec"
@@ -573,7 +561,7 @@
checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848"
dependencies = [
"funty",
- "radium 0.6.2",
+ "radium",
"tap",
"wyz",
]
@@ -675,9 +663,9 @@
[[package]]
name = "blocking"
-version = "1.0.2"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5e170dbede1f740736619b776d7251cb1b9095c435c34d8ca9f57fcd2f335e9"
+checksum = "046e47d4b2d391b1f6f8b407b1deb8dee56c1852ccd868becf2710f601b5f427"
dependencies = [
"async-channel",
"async-task",
@@ -729,11 +717,11 @@
version = "0.1.0"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec",
"bp-runtime",
"frame-support",
"frame-system",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"scale-info",
"serde",
@@ -971,18 +959,18 @@
[[package]]
name = "cc"
-version = "1.0.71"
+version = "1.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd"
+checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee"
dependencies = [
"jobserver",
]
[[package]]
name = "cexpr"
-version = "0.5.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db507a7679252d2276ed0dd8113c6875ec56d3089f9225b2b42c30cc1f8e5c89"
+checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
dependencies = [
"nom",
]
@@ -1080,7 +1068,7 @@
dependencies = [
"glob",
"libc",
- "libloading 0.7.1",
+ "libloading 0.7.2",
]
[[package]]
@@ -1146,9 +1134,9 @@
[[package]]
name = "cpp_demangle"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ea47428dc9d2237f3c6bc134472edfd63ebba0af932e783506dcfd66f10d18a"
+checksum = "931ab2a3e6330a07900b8e7ca4e106cdcbb93f2b9a52df55e54ee53d8305b55d"
dependencies = [
"cfg-if 1.0.0",
]
@@ -1263,9 +1251,9 @@
[[package]]
name = "crc32fast"
-version = "1.2.1"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
+checksum = "3825b1e8580894917dc4468cb634a1b4e9745fddc854edad72d9c04644c0319f"
dependencies = [
"cfg-if 1.0.0",
]
@@ -1392,7 +1380,7 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"sc-cli",
"sc-service",
@@ -1402,12 +1390,12 @@
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
"cumulus-primitives-core",
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"parking_lot 0.10.2",
"polkadot-node-primitives",
@@ -1425,12 +1413,12 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
"cumulus-primitives-core",
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"polkadot-client",
"sc-client-api",
@@ -1455,11 +1443,11 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"async-trait",
"dyn-clone",
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"polkadot-primitives",
"sc-client-api",
@@ -1475,10 +1463,10 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"parity-scale-codec",
"parking_lot 0.10.2",
@@ -1498,10 +1486,10 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"parity-scale-codec",
"polkadot-node-primitives",
@@ -1521,7 +1509,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-client-collator",
"cumulus-client-consensus-common",
@@ -1550,7 +1538,7 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"frame-executive",
"frame-support",
@@ -1568,7 +1556,7 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1586,7 +1574,7 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
@@ -1615,7 +1603,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.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"proc-macro-crate 1.1.0",
"proc-macro2",
@@ -1626,7 +1614,7 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1643,7 +1631,7 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1661,10 +1649,10 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"frame-support",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-parachain",
@@ -1678,7 +1666,7 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1700,7 +1688,7 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
"sp-inherents",
@@ -1711,7 +1699,7 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1728,7 +1716,7 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec",
@@ -1953,9 +1941,9 @@
[[package]]
name = "ed25519"
-version = "1.2.0"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4620d40f6d2601794401d6dd95a5cf69b6c157852539470eeda433a99b3c0efc"
+checksum = "74e1069e39f1454367eb2de793ed062fac4c35c2934b76a81d90dd9abcd28816"
dependencies = [
"signature",
]
@@ -2111,8 +2099,9 @@
[[package]]
name = "ethereum"
-version = "0.9.0"
-source = "git+https://github.com/purestake/ethereum?branch=joshy-scale-info#2b98173bd88c05bfeefad421d260101b9008497b"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "81fb916554a4dba293ea69c69ad5653e21d770a9d0c2496b5fa0a1f5a3946d87"
dependencies = [
"bytes 1.1.0",
"ethereum-types",
@@ -2151,11 +2140,11 @@
[[package]]
name = "evm"
-version = "0.30.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#bed08923a76339880e05df25a52c5334e9997bb2"
+version = "0.33.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-weights#3113ac1ced53bf27e9845107fd30901708824cc4"
dependencies = [
"environmental",
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"evm-core",
"evm-gasometer",
"evm-runtime",
@@ -2172,12 +2161,12 @@
name = "evm-coder"
version = "0.1.0"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"evm-coder-macros",
"evm-core",
"hex",
"hex-literal",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"primitive-types 0.10.1",
]
@@ -2196,8 +2185,8 @@
[[package]]
name = "evm-core"
-version = "0.30.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#bed08923a76339880e05df25a52c5334e9997bb2"
+version = "0.33.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-weights#3113ac1ced53bf27e9845107fd30901708824cc4"
dependencies = [
"funty",
"parity-scale-codec",
@@ -2208,8 +2197,8 @@
[[package]]
name = "evm-gasometer"
-version = "0.30.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#bed08923a76339880e05df25a52c5334e9997bb2"
+version = "0.33.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-weights#3113ac1ced53bf27e9845107fd30901708824cc4"
dependencies = [
"environmental",
"evm-core",
@@ -2219,8 +2208,8 @@
[[package]]
name = "evm-runtime"
-version = "0.30.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#bed08923a76339880e05df25a52c5334e9997bb2"
+version = "0.33.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=unique-weights#3113ac1ced53bf27e9845107fd30901708824cc4"
dependencies = [
"environmental",
"evm-core",
@@ -2234,7 +2223,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
]
[[package]]
@@ -2261,14 +2250,14 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
"async-trait",
"derive_more",
"fc-db",
"fp-consensus",
"fp-rpc",
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"parity-scale-codec",
"sc-client-api",
@@ -2288,7 +2277,7 @@
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
"fp-storage",
"kvdb",
@@ -2304,13 +2293,13 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
"fc-consensus",
"fc-db",
"fp-consensus",
"fp-rpc",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"log",
"sc-client-api",
@@ -2322,9 +2311,9 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"ethereum-types",
"evm",
"fc-consensus",
@@ -2334,7 +2323,7 @@
"fp-evm",
"fp-rpc",
"fp-storage",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-util",
"jsonrpc-core",
"jsonrpc-pubsub",
@@ -2366,7 +2355,7 @@
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
"ethereum-types",
"jsonrpc-core",
@@ -2404,7 +2393,7 @@
checksum = "e8ac3ff5224ef91f3c97e03eb1de2db82743427e91aaa5ac635f454f0b164f5a"
dependencies = [
"either",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"log",
"num-traits",
@@ -2487,9 +2476,9 @@
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"parity-scale-codec",
"rlp",
"sha3 0.8.2",
@@ -2501,10 +2490,10 @@
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
"evm",
- "impl-trait-for-tuples 0.1.3",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"scale-info",
"serde",
@@ -2515,9 +2504,9 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"ethereum-types",
"fp-evm",
"parity-scale-codec",
@@ -2532,9 +2521,9 @@
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
- "ethereum 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ethereum 0.9.0",
"frame-support",
"parity-scale-codec",
"parity-util-mem",
@@ -2549,7 +2538,7 @@
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
[[package]]
name = "frame-benchmarking"
@@ -2629,9 +2618,9 @@
[[package]]
name = "frame-metadata"
-version = "14.0.0"
+version = "14.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96616f82e069102b95a72c87de4c84d2f87ef7f0f20630e78ce3824436483110"
+checksum = "37ed5e5c346de62ca5c184b4325a6600d1eaca210666e4606fe4e449574978d0"
dependencies = [
"cfg-if 1.0.0",
"parity-scale-codec",
@@ -2647,7 +2636,7 @@
"bitflags",
"frame-metadata",
"frame-support-procedural",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"log",
"once_cell",
"parity-scale-codec",
@@ -2810,9 +2799,9 @@
[[package]]
name = "futures"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a12aa0eb539080d55c3f2d45a67c3b58b6b0773c1a3ca2dfec66d58c97fd66ca"
+checksum = "8cd0210d8c325c245ff06fd95a3b13689a1a276ac8cfa8e8720cb840bfb84b9e"
dependencies = [
"futures-channel",
"futures-core",
@@ -2825,9 +2814,9 @@
[[package]]
name = "futures-channel"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5da6ba8c3bb3c165d3c7319fc1cc8304facf1fb8db99c5de877183c08a273888"
+checksum = "7fc8cd39e3dbf865f7340dce6a2d401d24fd37c6fe6c4f0ee0de8bfca2252d27"
dependencies = [
"futures-core",
"futures-sink",
@@ -2835,15 +2824,15 @@
[[package]]
name = "futures-core"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88d1c26957f23603395cd326b0ffe64124b818f4449552f960d815cfba83a53d"
+checksum = "629316e42fe7c2a0b9a65b47d159ceaa5453ab14e8f0a3c5eedbb8cd55b4a445"
[[package]]
name = "futures-executor"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45025be030969d763025784f7f355043dc6bc74093e4ecc5000ca4dc50d8745c"
+checksum = "7b808bf53348a36cab739d7e04755909b9fcaaa69b7d7e588b37b6ec62704c97"
dependencies = [
"futures-core",
"futures-task",
@@ -2853,9 +2842,9 @@
[[package]]
name = "futures-io"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "522de2a0fe3e380f1bc577ba0474108faf3f6b18321dbf60b3b9c39a75073377"
+checksum = "e481354db6b5c353246ccf6a728b0c5511d752c08da7260546fc0933869daa11"
[[package]]
name = "futures-lite"
@@ -2874,12 +2863,10 @@
[[package]]
name = "futures-macro"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "18e4a4b95cea4b4ccbcf1c5675ca7c4ee4e9e75eb79944d07defde18068f79bb"
+checksum = "a89f17b21645bc4ed773c69af9c9a0effd4a3f1a3876eadd453469f8854e7fdd"
dependencies = [
- "autocfg",
- "proc-macro-hack",
"proc-macro2",
"quote",
"syn",
@@ -2898,15 +2885,15 @@
[[package]]
name = "futures-sink"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36ea153c13024fe480590b3e3d4cad89a0cfacecc24577b68f86c6ced9c2bc11"
+checksum = "996c6442437b62d21a32cd9906f9c41e7dc1e19a9579843fad948696769305af"
[[package]]
name = "futures-task"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d3d00f4eddb73e498a54394f228cd55853bdf059259e8e7bc6e69d408892e99"
+checksum = "dabf1872aaab32c886832f2276d2f5399887e2bd613698a02359e4ea83f8de12"
[[package]]
name = "futures-timer"
@@ -2922,11 +2909,10 @@
[[package]]
name = "futures-util"
-version = "0.3.17"
+version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36568465210a3a6ee45e1f165136d68671471a501e632e9a98d96872222b5481"
+checksum = "41d22213122356472061ac0f1ab2cee28d2bac8491410fd68c2af53d1cedb83e"
dependencies = [
- "autocfg",
"futures 0.1.31",
"futures-channel",
"futures-core",
@@ -2937,8 +2923,6 @@
"memchr",
"pin-project-lite 0.2.7",
"pin-utils",
- "proc-macro-hack",
- "proc-macro-nested",
"slab",
]
@@ -3108,9 +3092,9 @@
[[package]]
name = "hex-literal"
-version = "0.3.3"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21e4590e13640f19f249fe3e4eca5113bc4289f2497710378190e7f4bd96f45b"
+checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0"
[[package]]
name = "hex_fmt"
@@ -3211,9 +3195,9 @@
[[package]]
name = "httpdate"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440"
+checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
[[package]]
name = "humantime"
@@ -3232,9 +3216,9 @@
[[package]]
name = "hyper"
-version = "0.14.14"
+version = "0.14.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b91bb1f221b6ea1f1e4371216b70f40748774c2fb5971b450c07773fb92d26b"
+checksum = "436ec0091e4f20e655156a30a0df3770fe2900aa301e548e08446ec794b6953c"
dependencies = [
"bytes 1.1.0",
"futures-channel",
@@ -3247,7 +3231,7 @@
"itoa",
"pin-project-lite 0.2.7",
"socket2 0.4.2",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"tower-service",
"tracing",
"want",
@@ -3265,7 +3249,7 @@
"log",
"rustls",
"rustls-native-certs",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"tokio-rustls",
"webpki",
]
@@ -3300,9 +3284,9 @@
[[package]]
name = "if-addrs"
-version = "0.6.6"
+version = "0.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9a83ec4af652890ac713ffd8dc859e650420a5ef47f7b9be29b6664ab50fbc8"
+checksum = "2273e421f7c4f0fc99e1934fe4776f59d8df2972f4199d703fc0da9f2a9f73de"
dependencies = [
"if-addrs-sys",
"libc",
@@ -3326,7 +3310,7 @@
checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179"
dependencies = [
"async-io",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-lite",
"if-addrs",
"ipnet",
@@ -3355,22 +3339,11 @@
[[package]]
name = "impl-serde"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b47ca4d2b6931707a55fce5cf66aff80e2178c8b63bbb4ecb5695cbc870ddf6f"
+checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c"
dependencies = [
"serde",
-]
-
-[[package]]
-name = "impl-trait-for-tuples"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
]
[[package]]
@@ -3425,7 +3398,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64fa110ec7b8f493f416eed552740d10e7030ad5f63b2308f82c9608ec2df275"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 2.0.2",
]
@@ -3440,9 +3413,9 @@
[[package]]
name = "ip_network"
-version = "0.4.0"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09b746553d2f4a1ca26fab939943ddfb217a091f34f53571620a8e3d30691303"
+checksum = "aa2f047c0a98b2f299aa5d6d7088443570faae494e9ae1305e48be000c9e0eb1"
[[package]]
name = "ipconfig"
@@ -3502,7 +3475,7 @@
checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-pubsub",
"log",
@@ -3517,7 +3490,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-executor",
"futures-util",
"log",
@@ -3532,7 +3505,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-client-transports",
]
@@ -3554,7 +3527,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"hyper",
"jsonrpc-core",
"jsonrpc-server-utils",
@@ -3570,7 +3543,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-server-utils",
"log",
@@ -3585,7 +3558,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"lazy_static",
"log",
@@ -3601,12 +3574,12 @@
checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4"
dependencies = [
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"globset",
"jsonrpc-core",
"lazy_static",
"log",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"tokio-stream",
"tokio-util",
"unicase",
@@ -3618,7 +3591,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-server-utils",
"log",
@@ -3667,7 +3640,7 @@
dependencies = [
"async-trait",
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpsee-types",
"log",
"pin-project 1.0.8",
@@ -3677,7 +3650,7 @@
"serde_json",
"soketto 0.6.0",
"thiserror",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"tokio-rustls",
"tokio-util",
"url 2.2.2",
@@ -3705,7 +3678,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec",
"frame-benchmarking",
"frame-election-provider-support",
"frame-executive",
@@ -3847,9 +3820,9 @@
[[package]]
name = "libc"
-version = "0.2.106"
+version = "0.2.108"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a60553f9a9e039a333b4e9b20573b9e9b9c0bb3a11e201ccc48ef4283456d673"
+checksum = "8521a1b57e76b1ec69af7599e75e38e7b7fad6610f037db8c79b127201b5d119"
[[package]]
name = "libloading"
@@ -3863,9 +3836,9 @@
[[package]]
name = "libloading"
-version = "0.7.1"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0cf036d15402bea3c5d4de17b3fce76b3e4a56ebc1f577be0e7a72f7c607cf0"
+checksum = "afe203d669ec979b7128619bae5a63b7b42e9203c1b29146079ee05e2f604b52"
dependencies = [
"cfg-if 1.0.0",
"winapi 0.3.9",
@@ -3885,7 +3858,7 @@
dependencies = [
"atomic",
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"lazy_static",
"libp2p-core",
"libp2p-deflate",
@@ -3927,7 +3900,7 @@
"ed25519-dalek",
"either",
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"lazy_static",
"libsecp256k1 0.5.0",
@@ -3945,7 +3918,7 @@
"sha2 0.9.8",
"smallvec",
"thiserror",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
"void",
"zeroize",
]
@@ -3957,7 +3930,7 @@
checksum = "66097fccc0b7f8579f90a03ea76ba6196332ea049fd07fd969490a06819dcdc8"
dependencies = [
"flate2",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
]
@@ -3968,7 +3941,7 @@
checksum = "58ff08b3196b85a17f202d80589e93b1660a574af67275706657fdc762e42c32"
dependencies = [
"async-std-resolver",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"log",
"smallvec",
@@ -3983,7 +3956,7 @@
dependencies = [
"cuckoofilter",
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"libp2p-swarm",
"log",
@@ -4004,7 +3977,7 @@
"byteorder",
"bytes 1.1.0",
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"hex_fmt",
"libp2p-core",
"libp2p-swarm",
@@ -4015,7 +3988,7 @@
"regex",
"sha2 0.9.8",
"smallvec",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
"wasm-timer",
]
@@ -4025,7 +3998,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7b61f6cf07664fb97016c318c4d4512b3dd4cc07238607f3f0163245f99008e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"libp2p-swarm",
"log",
@@ -4046,7 +4019,7 @@
"bytes 1.1.0",
"either",
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"libp2p-swarm",
"log",
@@ -4056,7 +4029,7 @@
"sha2 0.9.8",
"smallvec",
"uint",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
"void",
"wasm-timer",
]
@@ -4070,7 +4043,7 @@
"async-io",
"data-encoding",
"dns-parser",
- "futures 0.3.17",
+ "futures 0.3.18",
"if-watch",
"lazy_static",
"libp2p-core",
@@ -4090,14 +4063,14 @@
dependencies = [
"asynchronous-codec 0.6.0",
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"log",
"nohash-hasher",
"parking_lot 0.11.2",
"rand 0.7.3",
"smallvec",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
]
[[package]]
@@ -4108,7 +4081,7 @@
dependencies = [
"bytes 1.1.0",
"curve25519-dalek 3.2.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"lazy_static",
"libp2p-core",
"log",
@@ -4128,7 +4101,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2482cfd9eb0b7a0baaf3e7b329dc4f2785181a161b1a47b7192f8d758f54a439"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"libp2p-swarm",
"log",
@@ -4145,12 +4118,12 @@
dependencies = [
"asynchronous-codec 0.6.0",
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"log",
"prost",
"prost-build",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
"void",
]
@@ -4160,7 +4133,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07cb4dd4b917e5b40ddefe49b96b07adcd8d342e0317011d175b7b2bb1dcc974"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"pin-project 1.0.8",
"rand 0.7.3",
@@ -4176,7 +4149,7 @@
dependencies = [
"asynchronous-codec 0.6.0",
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"libp2p-core",
"libp2p-swarm",
@@ -4186,7 +4159,7 @@
"prost-build",
"rand 0.7.3",
"smallvec",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
"void",
"wasm-timer",
]
@@ -4199,7 +4172,7 @@
dependencies = [
"async-trait",
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"libp2p-swarm",
"log",
@@ -4207,7 +4180,7 @@
"minicbor",
"rand 0.7.3",
"smallvec",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
"wasm-timer",
]
@@ -4218,7 +4191,7 @@
checksum = "7083861341e1555467863b4cd802bea1e8c4787c0f7b5110097d0f1f3248f9a9"
dependencies = [
"either",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"log",
"rand 0.7.3",
@@ -4244,7 +4217,7 @@
checksum = "79edd26b6b4bb5feee210dcda562dca186940dfecb0024b979c3f50824b3bf28"
dependencies = [
"async-io",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"if-watch",
"ipnet",
@@ -4261,7 +4234,7 @@
checksum = "280e793440dd4e9f273d714f4497325c72cddb0fe85a49f9a03c88f41dd20182"
dependencies = [
"async-std",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"log",
]
@@ -4272,7 +4245,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f553b7140fad3d7a76f50497b0ea591e26737d9607428a75509fc191e4d1b1f6"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"js-sys",
"libp2p-core",
"parity-send-wrapper",
@@ -4287,7 +4260,7 @@
checksum = "ddf99dcbf5063e9d59087f61b1e85c686ceab2f5abedb472d32288065c0e5e27"
dependencies = [
"either",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-rustls",
"libp2p-core",
"log",
@@ -4304,7 +4277,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "214cc0dd9c37cbed27f0bb1eba0c41bbafdb93a8be5e9d6ae1e6b4b42cd044bf"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p-core",
"parking_lot 0.11.2",
"thiserror",
@@ -4603,9 +4576,9 @@
[[package]]
name = "matrixmultiply"
-version = "0.3.1"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a8a15b776d9dfaecd44b03c5828c2199cddff5247215858aac14624f8d6b741"
+checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84"
dependencies = [
"rawpointer",
]
@@ -4678,7 +4651,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"thiserror",
"tracing",
@@ -4686,11 +4659,11 @@
[[package]]
name = "mick-jaeger"
-version = "0.1.4"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c023c3f16109e7f33aa451f773fd61070e265b4977d0b6e344a51049296dd7df"
+checksum = "eaa77fad8461bb1e0d01be11299e24c6e544007715ed442bfec29f165dc487ae"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"rand 0.7.3",
"thrift",
]
@@ -4716,6 +4689,12 @@
]
[[package]]
+name = "minimal-lexical"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
+
+[[package]]
name = "miniz_oxide"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4792,9 +4771,9 @@
[[package]]
name = "more-asserts"
-version = "0.2.1"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238"
+checksum = "7843ec2de400bcbc6a6328c958dc38e5359da6e93e72e37bc5246bf1ae776389"
[[package]]
name = "multiaddr"
@@ -4810,7 +4789,7 @@
"percent-encoding 2.1.0",
"serde",
"static_assertions",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
"url 2.2.2",
]
@@ -4852,7 +4831,7 @@
"generic-array 0.14.4",
"multihash-derive",
"sha2 0.9.8",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
]
[[package]]
@@ -4882,11 +4861,11 @@
checksum = "56a336acba8bc87c8876f6425407dbbe6c417bf478b22015f8fb0994ef3bc0ab"
dependencies = [
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"pin-project 1.0.8",
"smallvec",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.7.1",
]
[[package]]
@@ -4952,13 +4931,12 @@
[[package]]
name = "nom"
-version = "6.1.2"
+version = "7.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
+checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109"
dependencies = [
- "bitvec 0.19.5",
- "funty",
"memchr",
+ "minimal-lexical",
"version_check",
]
@@ -5160,7 +5138,7 @@
dependencies = [
"frame-support",
"frame-system",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"scale-info",
"sp-authorship",
@@ -5330,7 +5308,7 @@
version = "0.1.0"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec",
"bp-message-dispatch",
"bp-messages",
"bp-rialto",
@@ -5509,9 +5487,9 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"ethereum-types",
"evm",
"fp-consensus",
@@ -5538,7 +5516,7 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#00c84135f220baf33e7baa558b4e5857cdf560dd"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=unique-polkadot-v0.9.12-weights#0134806e399412bf896f881f1e3bc284916a1432"
dependencies = [
"evm",
"evm-gasometer",
@@ -5548,7 +5526,7 @@
"frame-support",
"frame-system",
"hex",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"log",
"pallet-balances",
"pallet-timestamp",
@@ -5568,7 +5546,7 @@
name = "pallet-evm-coder-substrate"
version = "0.1.0"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"evm-coder",
"frame-benchmarking",
"frame-support",
@@ -5639,7 +5617,7 @@
name = "pallet-fungible"
version = "0.1.0"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"evm-coder",
"frame-benchmarking",
"frame-support",
@@ -5865,7 +5843,7 @@
name = "pallet-nonfungible"
version = "0.1.0"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"evm-coder",
"frame-benchmarking",
"frame-support",
@@ -6002,7 +5980,7 @@
dependencies = [
"frame-support",
"frame-system",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"log",
"pallet-timestamp",
"parity-scale-codec",
@@ -6213,7 +6191,7 @@
"frame-benchmarking",
"frame-support",
"frame-system",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"pallet-balances",
"parity-scale-codec",
"scale-info",
@@ -6226,7 +6204,7 @@
name = "pallet-unique"
version = "0.1.0"
dependencies = [
- "ethereum 0.9.0 (git+https://github.com/purestake/ethereum?branch=joshy-scale-info)",
+ "ethereum 0.10.0",
"evm-coder",
"fp-evm",
"frame-benchmarking",
@@ -6347,7 +6325,7 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#f5926c2f50df73bf36171b138241437131d76fff"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.12#c02514d8cb66d6860e597f75d53ca07119dbbf32"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -6359,9 +6337,9 @@
[[package]]
name = "parity-db"
-version = "0.3.3"
+version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7ccc4a8687027deb53d45c5434a1f1b330c9d1069a59cfe80a62aa9a1da25ae"
+checksum = "78a95abf24f1097c6e3181abbbbfc3630b3b5e681470940f719b69acb4911c7f"
dependencies = [
"blake2-rfc",
"crc32fast",
@@ -6383,9 +6361,9 @@
checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909"
dependencies = [
"arrayvec 0.7.2",
- "bitvec 0.20.4",
+ "bitvec",
"byte-slice-cast",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec-derive",
"serde",
]
@@ -6414,11 +6392,11 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"libc",
"log",
"rand 0.7.3",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"winapi 0.3.9",
]
@@ -6431,7 +6409,7 @@
"cfg-if 1.0.0",
"ethereum-types",
"hashbrown",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"lru 0.6.6",
"parity-util-mem-derive",
"parking_lot 0.11.2",
@@ -6541,9 +6519,9 @@
[[package]]
name = "paste"
-version = "1.0.5"
+version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58"
+checksum = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5"
[[package]]
name = "pbkdf2"
@@ -6709,7 +6687,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -6723,7 +6701,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
@@ -6737,7 +6715,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"lru 0.7.0",
"parity-scale-codec",
"polkadot-erasure-coding",
@@ -6758,7 +6736,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"lru 0.7.0",
"parity-scale-codec",
"polkadot-erasure-coding",
@@ -6779,7 +6757,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"frame-benchmarking-cli",
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"polkadot-node-core-pvf",
"polkadot-service",
@@ -6830,7 +6808,7 @@
dependencies = [
"always-assert",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
@@ -6863,7 +6841,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"lru 0.7.0",
"parity-scale-codec",
"polkadot-erasure-coding",
@@ -6898,7 +6876,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
@@ -6919,7 +6897,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"parking_lot 0.11.2",
"polkadot-node-network-protocol",
@@ -6937,7 +6915,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"polkadot-erasure-coding",
"polkadot-node-primitives",
@@ -6955,9 +6933,9 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"kvdb",
"lru 0.7.0",
@@ -6983,8 +6961,8 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
- "futures 0.3.17",
+ "bitvec",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"kvdb",
"parity-scale-codec",
@@ -7003,8 +6981,8 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
- "futures 0.3.17",
+ "bitvec",
+ "futures 0.3.18",
"polkadot-erasure-coding",
"polkadot-node-primitives",
"polkadot-node-subsystem",
@@ -7021,7 +6999,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
@@ -7037,7 +7015,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"polkadot-node-core-pvf",
"polkadot-node-primitives",
@@ -7054,7 +7032,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
"polkadot-primitives",
@@ -7069,7 +7047,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"kvdb",
"parity-scale-codec",
@@ -7086,9 +7064,9 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"kvdb",
"parity-scale-codec",
"polkadot-node-primitives",
@@ -7105,7 +7083,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"polkadot-node-primitives",
"polkadot-node-subsystem",
"polkadot-primitives",
@@ -7119,7 +7097,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"polkadot-node-subsystem",
"polkadot-primitives",
@@ -7135,8 +7113,8 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
- "futures 0.3.17",
+ "bitvec",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
@@ -7154,7 +7132,7 @@
"assert_matches",
"async-process",
"async-std",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"libc",
"parity-scale-codec",
@@ -7181,7 +7159,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"memory-lru",
"parity-util-mem",
"polkadot-node-subsystem",
@@ -7217,7 +7195,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"metered-channel",
"substrate-prometheus-endpoint",
@@ -7230,7 +7208,7 @@
dependencies = [
"async-trait",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"polkadot-node-jaeger",
"polkadot-node-primitives",
@@ -7247,7 +7225,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"bounded-vec",
- "futures 0.3.17",
+ "futures 0.3.18",
"parity-scale-codec",
"polkadot-parachain",
"polkadot-primitives",
@@ -7279,7 +7257,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"polkadot-node-jaeger",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
@@ -7299,7 +7277,7 @@
dependencies = [
"async-trait",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"itertools",
"lru 0.7.0",
"metered-channel",
@@ -7324,7 +7302,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"lru 0.7.0",
"parity-util-mem",
@@ -7346,7 +7324,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"metered-channel",
"pin-project 1.0.8",
@@ -7390,7 +7368,7 @@
version = "0.9.12"
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec",
"frame-system",
"hex-literal",
"parity-scale-codec",
@@ -7452,7 +7430,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec",
"frame-benchmarking",
"frame-election-provider-support",
"frame-executive",
@@ -7529,12 +7507,12 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec",
"frame-benchmarking",
"frame-election-provider-support",
"frame-support",
"frame-system",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"libsecp256k1 0.7.0",
"log",
"pallet-authorship",
@@ -7576,7 +7554,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"bitflags",
- "bitvec 0.20.4",
+ "bitvec",
"derive_more",
"frame-benchmarking",
"frame-support",
@@ -7618,7 +7596,7 @@
"beefy-gadget",
"beefy-primitives",
"frame-system-rpc-runtime-api",
- "futures 0.3.17",
+ "futures 0.3.18",
"hex-literal",
"kusama-runtime",
"kvdb",
@@ -7714,7 +7692,7 @@
dependencies = [
"arrayvec 0.5.2",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"indexmap",
"parity-scale-codec",
"polkadot-node-network-protocol",
@@ -7744,7 +7722,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec",
"frame-election-provider-support",
"frame-executive",
"frame-support",
@@ -7807,7 +7785,7 @@
"frame-benchmarking",
"frame-system",
"futures 0.1.31",
- "futures 0.3.17",
+ "futures 0.3.18",
"hex",
"pallet-balances",
"pallet-staking",
@@ -7848,15 +7826,15 @@
"sp-state-machine",
"substrate-test-client",
"tempfile",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"tracing",
]
[[package]]
name = "polling"
-version = "2.1.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92341d779fa34ea8437ef4d82d440d5e1ce3f3ff7f824aa64424cd481f9a1f25"
+checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259"
dependencies = [
"cfg-if 1.0.0",
"libc",
@@ -7988,20 +7966,8 @@
"quote",
"version_check",
]
-
-[[package]]
-name = "proc-macro-hack"
-version = "0.5.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
[[package]]
-name = "proc-macro-nested"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
-
-[[package]]
name = "proc-macro2"
version = "1.0.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -8126,12 +8092,6 @@
dependencies = [
"proc-macro2",
]
-
-[[package]]
-name = "radium"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8"
[[package]]
name = "radium"
@@ -8618,7 +8578,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"pin-project 0.4.28",
"static_assertions",
]
@@ -8674,7 +8634,7 @@
dependencies = [
"async-trait",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"ip_network",
"libp2p",
@@ -8699,7 +8659,7 @@
version = "0.10.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"log",
"parity-scale-codec",
@@ -8738,7 +8698,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"sc-chain-spec-derive",
"sc-network",
@@ -8767,7 +8727,7 @@
dependencies = [
"chrono",
"fdlimit",
- "futures 0.3.17",
+ "futures 0.3.18",
"hex",
"libp2p",
"log",
@@ -8795,7 +8755,7 @@
"structopt",
"thiserror",
"tiny-bip39",
- "tokio 1.13.0",
+ "tokio 1.14.0",
]
[[package]]
@@ -8804,7 +8764,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"hash-db",
"log",
"parity-scale-codec",
@@ -8857,7 +8817,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"libp2p",
"log",
@@ -8882,7 +8842,7 @@
dependencies = [
"async-trait",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"parity-scale-codec",
"sc-block-builder",
@@ -8912,7 +8872,7 @@
"async-trait",
"derive_more",
"fork-tree",
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"merlin",
"num-bigint",
@@ -8953,7 +8913,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
@@ -8990,7 +8950,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"log",
"parity-scale-codec",
@@ -9109,7 +9069,7 @@
"dyn-clone",
"finality-grandpa",
"fork-tree",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"log",
"parity-scale-codec",
@@ -9143,7 +9103,7 @@
dependencies = [
"derive_more",
"finality-grandpa",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
@@ -9166,7 +9126,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"ansi_term 0.12.1",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"log",
"parity-util-mem",
@@ -9225,7 +9185,7 @@
"either",
"fnv",
"fork-tree",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"hex",
"ip_network",
@@ -9266,7 +9226,7 @@
version = "0.10.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"libp2p",
"log",
@@ -9284,7 +9244,7 @@
dependencies = [
"bytes 1.1.0",
"fnv",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"hex",
"hyper",
@@ -9309,7 +9269,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p",
"log",
"sc-utils",
@@ -9331,7 +9291,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"hash-db",
"jsonrpc-core",
"jsonrpc-pubsub",
@@ -9362,7 +9322,7 @@
version = "0.10.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
@@ -9387,7 +9347,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-http-server",
"jsonrpc-ipc-server",
@@ -9396,7 +9356,7 @@
"log",
"serde_json",
"substrate-prometheus-endpoint",
- "tokio 1.13.0",
+ "tokio 1.14.0",
]
[[package]]
@@ -9407,7 +9367,7 @@
"async-trait",
"directories",
"exit-future",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"hash-db",
"jsonrpc-core",
@@ -9459,7 +9419,7 @@
"substrate-prometheus-endpoint",
"tempfile",
"thiserror",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"tracing",
"tracing-futures",
]
@@ -9506,7 +9466,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"chrono",
- "futures 0.3.17",
+ "futures 0.3.18",
"libp2p",
"log",
"parking_lot 0.11.2",
@@ -9564,7 +9524,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"intervalier",
"linked-hash-map",
"log",
@@ -9592,7 +9552,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"serde",
"sp-blockchain",
@@ -9605,7 +9565,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"lazy_static",
"prometheus",
@@ -9617,7 +9577,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c55b744399c25532d63a0d2789b109df8d46fc93752d46b0782991a931a782f"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec",
"cfg-if 1.0.0",
"derive_more",
"parity-scale-codec",
@@ -9784,9 +9744,9 @@
[[package]]
name = "serde_json"
-version = "1.0.68"
+version = "1.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8"
+checksum = "d0ffa0837f2dfa6fb90868c2b5468cad482e175f7dad97e7421951e663f2b527"
dependencies = [
"itoa",
"ryu",
@@ -10007,7 +9967,7 @@
"base64 0.12.3",
"bytes 0.5.6",
"flate2",
- "futures 0.3.17",
+ "futures 0.3.18",
"httparse",
"log",
"rand 0.7.3",
@@ -10022,7 +9982,7 @@
dependencies = [
"base64 0.13.0",
"bytes 1.1.0",
- "futures 0.3.17",
+ "futures 0.3.18",
"httparse",
"log",
"rand 0.8.4",
@@ -10128,7 +10088,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"lru 0.6.6",
"parity-scale-codec",
@@ -10147,7 +10107,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"futures-timer 3.0.2",
"log",
"parity-scale-codec",
@@ -10234,7 +10194,7 @@
"byteorder",
"dyn-clonable",
"ed25519-dalek",
- "futures 0.3.17",
+ "futures 0.3.18",
"hash-db",
"hash256-std-hasher",
"hex",
@@ -10324,7 +10284,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"sp-core",
"sp-runtime",
@@ -10337,7 +10297,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"hash-db",
"libsecp256k1 0.6.0",
"log",
@@ -10374,7 +10334,7 @@
dependencies = [
"async-trait",
"derive_more",
- "futures 0.3.17",
+ "futures 0.3.18",
"merlin",
"parity-scale-codec",
"parking_lot 0.11.2",
@@ -10453,7 +10413,7 @@
dependencies = [
"either",
"hash256-std-hasher",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"log",
"parity-scale-codec",
"parity-util-mem",
@@ -10473,7 +10433,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"primitive-types 0.10.1",
"sp-externalities",
@@ -10699,7 +10659,7 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"parity-scale-codec",
"sp-std",
"wasmi",
@@ -10713,9 +10673,9 @@
[[package]]
name = "ss58-registry"
-version = "1.2.0"
+version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb102b328df61c67f8ccf8471b29c31c7d6da646a867aff95fe8bff386fe7c4d"
+checksum = "78abb01d308934b82e34e9cf1f45846d31539246501745b129539176f4f3368d"
dependencies = [
"Inflector",
"proc-macro2",
@@ -10898,7 +10858,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"frame-system-rpc-runtime-api",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
@@ -10925,7 +10885,7 @@
"hyper",
"log",
"prometheus",
- "tokio 1.13.0",
+ "tokio 1.14.0",
]
[[package]]
@@ -10934,7 +10894,7 @@
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
"async-trait",
- "futures 0.3.17",
+ "futures 0.3.18",
"hex",
"parity-scale-codec",
"sc-client-api",
@@ -10960,9 +10920,9 @@
version = "4.0.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.12#d76f39995315ec36980908e4b99709bd14927044"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"substrate-test-utils-derive",
- "tokio 1.13.0",
+ "tokio 1.14.0",
]
[[package]]
@@ -11005,9 +10965,9 @@
[[package]]
name = "syn"
-version = "1.0.81"
+version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966"
+checksum = "8daf5dd0bb60cbd4137b1b587d2fc0ae729bc07cf01cd70b36a1ed5ade3b9d59"
dependencies = [
"proc-macro2",
"quote",
@@ -11173,9 +11133,9 @@
[[package]]
name = "tinyvec"
-version = "1.5.0"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f83b2a3d4d9091d0abd7eba4dc2710b1718583bd4d8992e2190720ea38f391f7"
+checksum = "2c1c1d5a42b6245520c249549ec267180beaffcc0615401ac8e31853d4b6d8d2"
dependencies = [
"tinyvec_macros",
]
@@ -11200,9 +11160,9 @@
[[package]]
name = "tokio"
-version = "1.13.0"
+version = "1.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "588b2d10a336da58d877567cd8fb8a14b463e2104910f8132cd054b4b96e29ee"
+checksum = "70e992e41e0d2fb9f755b37446f20900f64446ef54874f40a60c78f021ac6144"
dependencies = [
"autocfg",
"bytes 1.1.0",
@@ -11213,7 +11173,7 @@
"once_cell",
"pin-project-lite 0.2.7",
"signal-hook-registry",
- "tokio-macros 1.5.1",
+ "tokio-macros 1.6.0",
"winapi 0.3.9",
]
@@ -11230,9 +11190,9 @@
[[package]]
name = "tokio-macros"
-version = "1.5.1"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "114383b041aa6212c579467afa0075fbbdd0718de036100bc0ba7961d8cb9095"
+checksum = "c9efc1aba077437943f7515666aa2b882dfabfbfdf89c819ea75a8d6e9eaba5e"
dependencies = [
"proc-macro2",
"quote",
@@ -11246,7 +11206,7 @@
checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
dependencies = [
"rustls",
- "tokio 1.13.0",
+ "tokio 1.14.0",
"webpki",
]
@@ -11258,7 +11218,7 @@
dependencies = [
"futures-core",
"pin-project-lite 0.2.7",
- "tokio 1.13.0",
+ "tokio 1.14.0",
]
[[package]]
@@ -11273,7 +11233,7 @@
"futures-sink",
"log",
"pin-project-lite 0.2.7",
- "tokio 1.13.0",
+ "tokio 1.14.0",
]
[[package]]
@@ -11597,7 +11557,7 @@
"fp-rpc",
"frame-benchmarking",
"frame-benchmarking-cli",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-pubsub",
"log",
@@ -11661,7 +11621,7 @@
"fc-rpc",
"fc-rpc-core",
"fp-rpc",
- "futures 0.3.17",
+ "futures 0.3.18",
"jsonrpc-core",
"jsonrpc-pubsub",
"pallet-ethereum",
@@ -11801,9 +11761,9 @@
[[package]]
name = "unsigned-varint"
-version = "0.7.0"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f8d425fafb8cd76bc3f22aace4af471d3156301d7508f2107e98fbeae10bc7f"
+checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836"
dependencies = [
"asynchronous-codec 0.6.0",
"bytes 1.1.0",
@@ -11858,7 +11818,7 @@
version = "0.1.0"
source = "git+https://github.com/UniqueNetwork/pallet-sponsoring#ab8b91e9350a31133f3a3e4f52a84c6de4108e95"
dependencies = [
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
]
[[package]]
@@ -12040,7 +12000,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"js-sys",
"parking_lot 0.11.2",
"pin-utils",
@@ -12280,7 +12240,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec",
"frame-benchmarking",
"frame-election-provider-support",
"frame-executive",
@@ -12460,7 +12420,7 @@
source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.12#5feed981cf0fe671447eabaa9c0d235a8dd0003e"
dependencies = [
"derivative",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"log",
"parity-scale-codec",
"scale-info",
@@ -12494,7 +12454,7 @@
dependencies = [
"frame-benchmarking",
"frame-support",
- "impl-trait-for-tuples 0.2.1",
+ "impl-trait-for-tuples",
"log",
"parity-scale-codec",
"sp-arithmetic",
@@ -12521,7 +12481,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7d9028f208dd5e63c614be69f115c1b53cacc1111437d4c765185856666c107"
dependencies = [
- "futures 0.3.17",
+ "futures 0.3.18",
"log",
"nohash-hasher",
"parking_lot 0.11.2",
@@ -12537,18 +12497,18 @@
[[package]]
name = "zeroize"
-version = "1.4.2"
+version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf68b08513768deaa790264a7fac27a58cbf2705cfcdc9448362229217d7e970"
+checksum = "d68d9dcec5f9b43a30d38c49f91dfedfaac384cb8f085faca366c26207dd1619"
dependencies = [
"zeroize_derive",
]
[[package]]
name = "zeroize_derive"
-version = "1.2.0"
+version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdff2024a851a322b08f179173ae2ba620445aef1e838f0c196820eade4ae0c7"
+checksum = "65f1a51723ec88c66d5d1fe80c841f17f63587d6691901d66be9bec6c3b51f73"
dependencies = [
"proc-macro2",
"quote",
pallets/nonfungible/src/lib.rsdiffbeforeafterboth1#![cfg_attr(not(feature = "std"), no_std)]23use erc::ERC721Events;4use frame_support::{BoundedVec, ensure};5use up_data_structs::{6 AccessMode, CUSTOM_DATA_LIMIT, Collection, CollectionId, CustomDataLimit, TokenId,7};8use pallet_common::{9 Error as CommonError, Pallet as PalletCommon, Event as CommonEvent, account::CrossAccountId,10};11use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};12use sp_core::H160;13use sp_runtime::{ArithmeticError, DispatchError, DispatchResult};14use sp_std::{vec::Vec, vec};15use core::ops::Deref;16use sp_std::collections::btree_map::BTreeMap;17use codec::{Encode, Decode};18use scale_info::TypeInfo;1920pub use pallet::*;21#[cfg(feature = "runtime-benchmarks")]22pub mod benchmarking;23pub mod common;24pub mod erc;25pub mod weights;2627pub struct CreateItemData<T: Config> {28 pub const_data: BoundedVec<u8, CustomDataLimit>,29 pub variable_data: BoundedVec<u8, CustomDataLimit>,30 pub owner: T::CrossAccountId,31}32pub(crate) type SelfWeightOf<T> = <T as Config>::WeightInfo;3334#[derive(Encode, Decode, TypeInfo)]35pub struct ItemData<T: Config> {36 pub const_data: Vec<u8>,37 pub variable_data: Vec<u8>,38 pub owner: T::CrossAccountId,39}4041#[frame_support::pallet]42pub mod pallet {43 use super::*;44 use frame_support::{Blake2_128Concat, Twox64Concat, pallet_prelude::*, storage::Key};45 use up_data_structs::{CollectionId, TokenId};46 use super::weights::WeightInfo;4748 #[pallet::error]49 pub enum Error<T> {50 /// Not Nonfungible item data used to mint in Nonfungible collection.51 NotNonfungibleDataUsedToMintFungibleCollectionToken,52 /// Used amount > 1 with NFT53 NonfungibleItemsHaveNoAmount,54 }5556 #[pallet::config]57 pub trait Config: frame_system::Config + pallet_common::Config {58 type WeightInfo: WeightInfo;59 }6061 #[pallet::pallet]62 #[pallet::generate_store(pub(super) trait Store)]63 pub struct Pallet<T>(_);6465 #[pallet::storage]66 pub type TokensMinted<T: Config> =67 StorageMap<Hasher = Twox64Concat, Key = CollectionId, Value = u32, QueryKind = ValueQuery>;68 #[pallet::storage]69 pub type TokensBurnt<T: Config> =70 StorageMap<Hasher = Twox64Concat, Key = CollectionId, Value = u32, QueryKind = ValueQuery>;7172 #[pallet::storage]73 pub type TokenData<T: Config> = StorageNMap<74 Key = (Key<Twox64Concat, CollectionId>, Key<Twox64Concat, TokenId>),75 Value = ItemData<T>,76 QueryKind = OptionQuery,77 >;7879 /// Used to enumerate tokens owned by account80 #[pallet::storage]81 pub type Owned<T: Config> = StorageNMap<82 Key = (83 Key<Twox64Concat, CollectionId>,84 Key<Blake2_128Concat, T::CrossAccountId>,85 Key<Twox64Concat, TokenId>,86 ),87 Value = bool,88 QueryKind = ValueQuery,89 >;9091 #[pallet::storage]92 pub type AccountBalance<T: Config> = StorageNMap<93 Key = (94 Key<Twox64Concat, CollectionId>,95 Key<Blake2_128Concat, T::CrossAccountId>,96 ),97 Value = u32,98 QueryKind = ValueQuery,99 >;100101 #[pallet::storage]102 pub type Allowance<T: Config> = StorageNMap<103 Key = (Key<Twox64Concat, CollectionId>, Key<Twox64Concat, TokenId>),104 Value = T::CrossAccountId,105 QueryKind = OptionQuery,106 >;107}108109pub struct NonfungibleHandle<T: Config>(pallet_common::CollectionHandle<T>);110impl<T: Config> NonfungibleHandle<T> {111 pub fn cast(inner: pallet_common::CollectionHandle<T>) -> Self {112 Self(inner)113 }114 pub fn into_inner(self) -> pallet_common::CollectionHandle<T> {115 self.0116 }117}118impl<T: Config> WithRecorder<T> for NonfungibleHandle<T> {119 fn recorder(&self) -> &SubstrateRecorder<T> {120 self.0.recorder()121 }122 fn into_recorder(self) -> SubstrateRecorder<T> {123 self.0.into_recorder()124 }125}126impl<T: Config> Deref for NonfungibleHandle<T> {127 type Target = pallet_common::CollectionHandle<T>;128129 fn deref(&self) -> &Self::Target {130 &self.0131 }132}133134impl<T: Config> Pallet<T> {135 pub fn total_supply(collection: &NonfungibleHandle<T>) -> u32 {136 <TokensMinted<T>>::get(collection.id) - <TokensBurnt<T>>::get(collection.id)137 }138 pub fn token_exists(collection: &NonfungibleHandle<T>, token: TokenId) -> bool {139 <TokenData<T>>::contains_key((collection.id, token))140 }141}142143// unchecked calls skips any permission checks144impl<T: Config> Pallet<T> {145 pub fn init_collection(data: Collection<T::AccountId>) -> Result<CollectionId, DispatchError> {146 <PalletCommon<T>>::init_collection(data)147 }148 pub fn destroy_collection(149 collection: NonfungibleHandle<T>,150 sender: &T::CrossAccountId,151 ) -> DispatchResult {152 let id = collection.id;153154 // =========155156 PalletCommon::destroy_collection(collection.0, sender)?;157158 <TokenData<T>>::remove_prefix((id,), None);159 <Owned<T>>::remove_prefix((id,), None);160 <TokensMinted<T>>::remove(id);161 <TokensBurnt<T>>::remove(id);162 <Allowance<T>>::remove_prefix((id,), None);163 <AccountBalance<T>>::remove_prefix((id,), None);164 Ok(())165 }166167 pub fn burn(168 collection: &NonfungibleHandle<T>,169 sender: &T::CrossAccountId,170 token: TokenId,171 ) -> DispatchResult {172 let token_data =173 <TokenData<T>>::get((collection.id, token)).ok_or(<CommonError<T>>::TokenNotFound)?;174 ensure!(175 &token_data.owner == sender176 || (collection.limits.owner_can_transfer() && collection.is_owner_or_admin(sender)),177 <CommonError<T>>::NoPermission178 );179180 if collection.access == AccessMode::AllowList {181 collection.check_allowlist(sender)?;182 }183184 let burnt = <TokensBurnt<T>>::get(collection.id)185 .checked_add(1)186 .ok_or(ArithmeticError::Overflow)?;187188 let balance = <AccountBalance<T>>::get((collection.id, token_data.owner.clone()))189 .checked_sub(1)190 .ok_or(ArithmeticError::Overflow)?;191192 if balance == 0 {193 <AccountBalance<T>>::remove((collection.id, token_data.owner.clone()));194 } else {195 <AccountBalance<T>>::insert((collection.id, token_data.owner.clone()), balance);196 }197 // =========198199 <Owned<T>>::remove((collection.id, &token_data.owner.clone(), token));200 <TokensBurnt<T>>::insert(collection.id, burnt);201 <TokenData<T>>::remove((collection.id, token));202 let old_spender = <Allowance<T>>::take((collection.id, token));203204 if let Some(old_spender) = old_spender {205 <PalletCommon<T>>::deposit_event(CommonEvent::Approved(206 collection.id,207 token,208 sender.clone(),209 old_spender,210 0,211 ));212 }213214 collection.log(ERC721Events::Transfer {215 from: *token_data.owner.as_eth(),216 to: H160::default(),217 token_id: token.into(),218 });219 <PalletCommon<T>>::deposit_event(CommonEvent::ItemDestroyed(220 collection.id,221 token,222 token_data.owner,223 1,224 ));225 Ok(())226 }227228 pub fn transfer(229 collection: &NonfungibleHandle<T>,230 from: &T::CrossAccountId,231 to: &T::CrossAccountId,232 token: TokenId,233 ) -> DispatchResult {234 ensure!(235 collection.limits.transfers_enabled(),236 <CommonError<T>>::TransferNotAllowed237 );238239 let token_data =240 <TokenData<T>>::get((collection.id, token)).ok_or(<CommonError<T>>::TokenNotFound)?;241 ensure!(242 &token_data.owner == from243 || (collection.limits.owner_can_transfer() && collection.is_owner_or_admin(from)),244 <CommonError<T>>::NoPermission245 );246247 if collection.access == AccessMode::AllowList {248 collection.check_allowlist(from)?;249 collection.check_allowlist(to)?;250 }251 <PalletCommon<T>>::ensure_correct_receiver(to)?;252253 let balance_from = <AccountBalance<T>>::get((collection.id, from))254 .checked_sub(1)255 .ok_or(<CommonError<T>>::TokenValueTooLow)?;256 let balance_to = if from != to {257 let balance_to = <AccountBalance<T>>::get((collection.id, to))258 .checked_add(1)259 .ok_or(ArithmeticError::Overflow)?;260261 ensure!(262 balance_to < collection.limits.account_token_ownership_limit(),263 <CommonError<T>>::AccountTokenLimitExceeded,264 );265266 Some(balance_to)267 } else {268 None269 };270271 // =========272273 <TokenData<T>>::insert(274 (collection.id, token),275 ItemData {276 owner: to.clone(),277 ..token_data278 },279 );280281 if let Some(balance_to) = balance_to {282 // from != to283 if balance_from == 0 {284 <AccountBalance<T>>::remove((collection.id, from));285 } else {286 <AccountBalance<T>>::insert((collection.id, from), balance_from);287 }288 <AccountBalance<T>>::insert((collection.id, to), balance_to);289 <Owned<T>>::remove((collection.id, from, token));290 <Owned<T>>::insert((collection.id, to, token), true);291 }292 Self::set_allowance_unchecked(collection, from, token, None, true);293294 collection.log(ERC721Events::Transfer {295 from: *from.as_eth(),296 to: *to.as_eth(),297 token_id: token.into(),298 });299 <PalletCommon<T>>::deposit_event(CommonEvent::Transfer(300 collection.id,301 token,302 from.clone(),303 to.clone(),304 1,305 ));306 Ok(())307 }308309 pub fn create_multiple_items(310 collection: &NonfungibleHandle<T>,311 sender: &T::CrossAccountId,312 data: Vec<CreateItemData<T>>,313 ) -> DispatchResult {314 if !collection.is_owner_or_admin(sender) {315 ensure!(316 collection.mint_mode,317 <CommonError<T>>::PublicMintingNotAllowed318 );319 collection.check_allowlist(sender)?;320321 for item in data.iter() {322 collection.check_allowlist(&item.owner)?;323 }324 }325326 for data in data.iter() {327 <PalletCommon<T>>::ensure_correct_receiver(&data.owner)?;328 }329330 let first_token = <TokensMinted<T>>::get(collection.id);331 let tokens_minted = first_token332 .checked_add(data.len() as u32)333 .ok_or(ArithmeticError::Overflow)?;334 ensure!(335 tokens_minted <= collection.limits.token_limit(),336 <CommonError<T>>::CollectionTokenLimitExceeded337 );338339 let mut balances = BTreeMap::new();340 for data in &data {341 let balance = balances342 .entry(&data.owner)343 .or_insert_with(|| <AccountBalance<T>>::get((collection.id, &data.owner)));344 *balance = balance.checked_add(1).ok_or(ArithmeticError::Overflow)?;345346 ensure!(347 *balance <= collection.limits.account_token_ownership_limit(),348 <CommonError<T>>::AccountTokenLimitExceeded,349 );350 }351352 // =========353354 <TokensMinted<T>>::insert(collection.id, tokens_minted);355 for (account, balance) in balances {356 <AccountBalance<T>>::insert((collection.id, account), balance);357 }358 for (i, data) in data.into_iter().enumerate() {359 let token = first_token + i as u32 + 1;360361 <TokenData<T>>::insert(362 (collection.id, token),363 ItemData {364 const_data: data.const_data.into(),365 variable_data: data.variable_data.into(),366 owner: data.owner.clone(),367 },368 );369 <Owned<T>>::insert((collection.id, &data.owner, token), true);370371 collection.log(ERC721Events::Transfer {372 from: H160::default(),373 to: *data.owner.as_eth(),374 token_id: token.into(),375 });376 <PalletCommon<T>>::deposit_event(CommonEvent::ItemCreated(377 collection.id,378 TokenId(token),379 data.owner.clone(),380 1,381 ));382 }383 Ok(())384 }385386 pub fn set_allowance_unchecked(387 collection: &NonfungibleHandle<T>,388 sender: &T::CrossAccountId,389 token: TokenId,390 spender: Option<&T::CrossAccountId>,391 assume_implicit_eth: bool,392 ) {393 if let Some(spender) = spender {394 let old_spender = <Allowance<T>>::get((collection.id, token));395 <Allowance<T>>::insert((collection.id, token), spender);396 // In ERC721 there is only one possible approved user of token, so we set397 // approved user to spender398 collection.log(ERC721Events::Approval {399 owner: *sender.as_eth(),400 approved: *spender.as_eth(),401 token_id: token.into(),402 });403 // In Unique chain, any token can have any amount of approved users, so we need to404 // set allowance of old owner to 0, and allowance of new owner to 1405 if old_spender.as_ref() != Some(spender) {406 if let Some(old_owner) = old_spender {407 <PalletCommon<T>>::deposit_event(CommonEvent::Approved(408 collection.id,409 token,410 sender.clone(),411 old_owner,412 0,413 ));414 }415 <PalletCommon<T>>::deposit_event(CommonEvent::Approved(416 collection.id,417 token,418 sender.clone(),419 spender.clone(),420 1,421 ));422 }423 } else {424 let old_spender = <Allowance<T>>::take((collection.id, token));425 if !assume_implicit_eth {426 // In ERC721 there is only one possible approved user of token, so we set427 // approved user to zero address428 collection.log(ERC721Events::Approval {429 owner: *sender.as_eth(),430 approved: H160::default(),431 token_id: token.into(),432 });433 }434 // In Unique chain, any token can have any amount of approved users, so we need to435 // set allowance of old owner to 0436 if let Some(old_spender) = old_spender {437 <PalletCommon<T>>::deposit_event(CommonEvent::Approved(438 collection.id,439 token,440 sender.clone(),441 old_spender,442 0,443 ));444 }445 }446 }447448 pub fn set_allowance(449 collection: &NonfungibleHandle<T>,450 sender: &T::CrossAccountId,451 token: TokenId,452 spender: Option<&T::CrossAccountId>,453 ) -> DispatchResult {454 if collection.access == AccessMode::AllowList {455 collection.check_allowlist(sender)?;456 if let Some(spender) = spender {457 collection.check_allowlist(spender)?;458 }459 }460461 if let Some(spender) = spender {462 <PalletCommon<T>>::ensure_correct_receiver(spender)?;463 }464 let token_data =465 <TokenData<T>>::get((collection.id, token)).ok_or(<CommonError<T>>::TokenNotFound)?;466 if &token_data.owner != sender {467 ensure!(468 collection.ignores_owned_amount(sender),469 <CommonError<T>>::CantApproveMoreThanOwned470 );471 }472473 // =========474475 Self::set_allowance_unchecked(collection, sender, token, spender, false);476 Ok(())477 }478479 pub fn transfer_from(480 collection: &NonfungibleHandle<T>,481 spender: &T::CrossAccountId,482 from: &T::CrossAccountId,483 to: &T::CrossAccountId,484 token: TokenId,485 ) -> DispatchResult {486 if spender.conv_eq(from) {487 return Self::transfer(collection, from, to, token);488 }489 if collection.access == AccessMode::AllowList {490 // `from`, `to` checked in [`transfer`]491 collection.check_allowlist(spender)?;492 }493494 if <Allowance<T>>::get((collection.id, token)).as_ref() != Some(spender) {495 ensure!(496 collection.ignores_allowance(spender),497 <CommonError<T>>::TokenValueNotEnough498 );499 }500501 // =========502503 Self::transfer(collection, from, to, token)?;504 // Allowance is reset in [`transfer`]505 Ok(())506 }507508 pub fn burn_from(509 collection: &NonfungibleHandle<T>,510 spender: &T::CrossAccountId,511 from: &T::CrossAccountId,512 token: TokenId,513 ) -> DispatchResult {514 if spender.conv_eq(from) {515 return Self::burn(collection, from, token);516 }517 if collection.access == AccessMode::AllowList {518 // `from` checked in [`burn`]519 collection.check_allowlist(spender)?;520 }521522 if <Allowance<T>>::get((collection.id, token)).as_ref() != Some(spender) {523 ensure!(524 collection.ignores_allowance(spender),525 <CommonError<T>>::TokenValueNotEnough526 );527 }528529 // =========530531 Self::burn(collection, from, token)532 }533534 pub fn set_variable_metadata(535 collection: &NonfungibleHandle<T>,536 sender: &T::CrossAccountId,537 token: TokenId,538 data: Vec<u8>,539 ) -> DispatchResult {540 ensure!(541 data.len() as u32 <= CUSTOM_DATA_LIMIT,542 <CommonError<T>>::TokenVariableDataLimitExceeded543 );544 let token_data =545 <TokenData<T>>::get((collection.id, token)).ok_or(<CommonError<T>>::TokenNotFound)?;546 collection.check_can_update_meta(sender, &token_data.owner)?;547548 // =========549550 <TokenData<T>>::insert(551 (collection.id, token),552 ItemData {553 variable_data: data,554 ..token_data555 },556 );557 Ok(())558 }559560 /// Delegated to `create_multiple_items`561 pub fn create_item(562 collection: &NonfungibleHandle<T>,563 sender: &T::CrossAccountId,564 data: CreateItemData<T>,565 ) -> DispatchResult {566 Self::create_multiple_items(collection, sender, vec![data])567 }568}