difftreelog
test fix for updated frontier payment logic
in: master
9 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -181,9 +181,9 @@
[[package]]
name = "aho-corasick"
-version = "1.0.1"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04"
+checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41"
dependencies = [
"memchr",
]
@@ -195,6 +195,12 @@
checksum = "4436e0292ab1bb631b42973c61205e704475fe8126af845c8d923c0996328127"
[[package]]
+name = "android-tzdata"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
+
+[[package]]
name = "android_system_properties"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -450,7 +456,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -461,7 +467,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -553,9 +559,9 @@
[[package]]
name = "base64"
-version = "0.21.1"
+version = "0.21.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105"
+checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d"
[[package]]
name = "base64ct"
@@ -575,7 +581,7 @@
[[package]]
name = "binary-merkle-tree"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"hash-db 0.16.0",
"log",
@@ -796,9 +802,9 @@
[[package]]
name = "bumpalo"
-version = "3.12.2"
+version = "3.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b"
+checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"
[[package]]
name = "byte-slice-cast"
@@ -950,13 +956,13 @@
[[package]]
name = "chrono"
-version = "0.4.24"
+version = "0.4.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b"
+checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5"
dependencies = [
+ "android-tzdata",
"iana-time-zone",
"js-sys",
- "num-integer",
"num-traits",
"time 0.1.45",
"wasm-bindgen",
@@ -1026,9 +1032,9 @@
[[package]]
name = "clap"
-version = "4.3.0"
+version = "4.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93aae7a4192245f70fe75dd9157fc7b4a5bf53e88d30bd4396f7d8f9284d5acc"
+checksum = "b4ed2379f8603fa2b7509891660e802b88c70a79a6427a70abb5968054de2c28"
dependencies = [
"clap_builder",
"clap_derive",
@@ -1037,9 +1043,9 @@
[[package]]
name = "clap_builder"
-version = "4.3.0"
+version = "4.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f423e341edefb78c9caba2d9c7f7687d0e72e89df3ce3394554754393ac3990"
+checksum = "72394f3339a76daf211e57d4bcb374410f3965dcc606dd0e03738c7888766980"
dependencies = [
"anstream",
"anstyle",
@@ -1050,14 +1056,14 @@
[[package]]
name = "clap_derive"
-version = "4.3.0"
+version = "4.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "191d9573962933b4027f932c600cd252ce27a8ad5979418fe78e43c07996f27b"
+checksum = "59e9ef9a08ee1c0e1f2e162121665ac45ac3783b0f897db7244ae75ad9a8f65b"
dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -1096,9 +1102,9 @@
[[package]]
name = "comfy-table"
-version = "6.1.4"
+version = "6.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e7b787b0dc42e8111badfdbe4c3059158ccb2db8780352fa1b01e8ccf45cc4d"
+checksum = "7e959d788268e3bf9d35ace83e81b124190378e4c91c9067524675e33394b8ba"
dependencies = [
"strum",
"strum_macros",
@@ -1683,7 +1689,7 @@
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -1959,9 +1965,9 @@
[[package]]
name = "cxx"
-version = "1.0.94"
+version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f61f1b6389c3fe1c316bf8a4dccc90a38208354b330925bce1f74a6c4756eb93"
+checksum = "109308c20e8445959c2792e81871054c6a17e6976489a93d2769641a2ba5839c"
dependencies = [
"cc",
"cxxbridge-flags",
@@ -1971,9 +1977,9 @@
[[package]]
name = "cxx-build"
-version = "1.0.94"
+version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12cee708e8962df2aeb38f594aae5d827c022b6460ac71a7a3e2c3c2aae5a07b"
+checksum = "daf4c6755cdf10798b97510e0e2b3edb9573032bd9379de8fffa59d68165494f"
dependencies = [
"cc",
"codespan-reporting",
@@ -1981,24 +1987,24 @@
"proc-macro2",
"quote",
"scratch",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "cxxbridge-flags"
-version = "1.0.94"
+version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7944172ae7e4068c533afbb984114a56c46e9ccddda550499caa222902c7f7bb"
+checksum = "882074421238e84fe3b4c65d0081de34e5b323bf64555d3e61991f76eb64a7bb"
[[package]]
name = "cxxbridge-macro"
-version = "1.0.94"
+version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5"
+checksum = "4a076022ece33e7686fb76513518e219cca4fce5750a8ae6d1ce6c0f48fd1af9"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -2262,7 +2268,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -2449,7 +2455,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -2460,7 +2466,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -2719,7 +2725,7 @@
"fs-err",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -2771,7 +2777,7 @@
[[package]]
name = "fc-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"async-trait",
"fc-db",
@@ -2788,7 +2794,7 @@
[[package]]
name = "fc-db"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"fp-storage",
"kvdb-rocksdb",
@@ -2807,7 +2813,7 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"fc-db",
"fc-storage",
@@ -2828,7 +2834,7 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2877,7 +2883,7 @@
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2890,7 +2896,7 @@
[[package]]
name = "fc-storage"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"ethereum",
"ethereum-types",
@@ -3025,16 +3031,16 @@
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
]
[[package]]
name = "form_urlencoded"
-version = "1.1.0"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8"
+checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652"
dependencies = [
"percent-encoding",
]
@@ -3042,7 +3048,7 @@
[[package]]
name = "fp-account"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"hex",
"impl-serde",
@@ -3060,7 +3066,7 @@
[[package]]
name = "fp-consensus"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"ethereum",
"parity-scale-codec",
@@ -3072,7 +3078,7 @@
[[package]]
name = "fp-ethereum"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"ethereum",
"ethereum-types",
@@ -3086,7 +3092,7 @@
[[package]]
name = "fp-evm"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"evm",
"frame-support",
@@ -3102,7 +3108,7 @@
[[package]]
name = "fp-rpc"
version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"ethereum",
"ethereum-types",
@@ -3119,7 +3125,7 @@
[[package]]
name = "fp-self-contained"
version = "1.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"frame-support",
"parity-scale-codec",
@@ -3131,7 +3137,7 @@
[[package]]
name = "fp-storage"
version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"parity-scale-codec",
"serde",
@@ -3146,7 +3152,7 @@
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-support-procedural",
@@ -3171,7 +3177,7 @@
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"Inflector",
"array-bytes 4.2.0",
@@ -3218,18 +3224,18 @@
[[package]]
name = "frame-election-provider-solution-type"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "frame-election-provider-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-election-provider-solution-type",
"frame-support",
@@ -3246,7 +3252,7 @@
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -3275,7 +3281,7 @@
[[package]]
name = "frame-remote-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-recursion",
"futures",
@@ -3293,7 +3299,7 @@
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"bitflags",
"environmental",
@@ -3326,7 +3332,7 @@
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"Inflector",
"cfg-expr",
@@ -3336,35 +3342,35 @@
"proc-macro-warning",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"log",
@@ -3382,7 +3388,7 @@
[[package]]
name = "frame-system-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -3397,7 +3403,7 @@
[[package]]
name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -3406,7 +3412,7 @@
[[package]]
name = "frame-try-runtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"parity-scale-codec",
@@ -3433,9 +3439,9 @@
[[package]]
name = "fs4"
-version = "0.6.4"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7f5b6908aecca5812a4569056285e58c666588c9573ee59765bf1d3692699e2"
+checksum = "7672706608ecb74ab2e055c68327ffc25ae4cac1e12349204fd5fb0f3487cce2"
dependencies = [
"rustix 0.37.19",
"windows-sys 0.48.0",
@@ -3519,7 +3525,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -4010,9 +4016,9 @@
[[package]]
name = "idna"
-version = "0.3.0"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"
+checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c"
dependencies = [
"unicode-bidi",
"unicode-normalization",
@@ -4150,9 +4156,9 @@
[[package]]
name = "io-lifetimes"
-version = "1.0.10"
+version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220"
+checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
"hermit-abi 0.3.1",
"libc",
@@ -4553,9 +4559,9 @@
[[package]]
name = "libc"
-version = "0.2.144"
+version = "0.2.145"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1"
+checksum = "fc86cde3ff845662b8f4ef6cb50ea0e20c524eb3d29ae048287e06a1b3fa6a81"
[[package]]
name = "libloading"
@@ -5163,12 +5169,9 @@
[[package]]
name = "log"
-version = "0.4.17"
+version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
-dependencies = [
- "cfg-if",
-]
+checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"
[[package]]
name = "lru"
@@ -5372,20 +5375,19 @@
[[package]]
name = "mio"
-version = "0.8.6"
+version = "0.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b9d9a46eff5b4ff64b45a9e316a6d1e0bc719ef429cbec4dc630684212bfdf9"
+checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"
dependencies = [
"libc",
- "log",
"wasi 0.11.0+wasi-snapshot-preview1",
- "windows-sys 0.45.0",
+ "windows-sys 0.48.0",
]
[[package]]
name = "mmr-gadget"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"log",
@@ -5404,7 +5406,7 @@
[[package]]
name = "mmr-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"anyhow",
"jsonrpsee",
@@ -5829,9 +5831,9 @@
[[package]]
name = "once_cell"
-version = "1.17.1"
+version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
+checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
[[package]]
name = "opal-runtime"
@@ -6151,7 +6153,7 @@
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -6167,7 +6169,7 @@
[[package]]
name = "pallet-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -6183,7 +6185,7 @@
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -6197,7 +6199,7 @@
[[package]]
name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6221,7 +6223,7 @@
[[package]]
name = "pallet-bags-list"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6241,7 +6243,7 @@
[[package]]
name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6277,7 +6279,7 @@
[[package]]
name = "pallet-base-fee"
version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"fp-evm",
"frame-support",
@@ -6291,7 +6293,7 @@
[[package]]
name = "pallet-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -6310,7 +6312,7 @@
[[package]]
name = "pallet-beefy-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"binary-merkle-tree",
@@ -6334,7 +6336,7 @@
[[package]]
name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6352,7 +6354,7 @@
[[package]]
name = "pallet-child-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6398,7 +6400,7 @@
[[package]]
name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6452,7 +6454,7 @@
[[package]]
name = "pallet-conviction-voting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"assert_matches",
"frame-benchmarking",
@@ -6469,7 +6471,7 @@
[[package]]
name = "pallet-democracy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6487,7 +6489,7 @@
[[package]]
name = "pallet-election-provider-multi-phase"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6510,7 +6512,7 @@
[[package]]
name = "pallet-election-provider-support-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6523,7 +6525,7 @@
[[package]]
name = "pallet-elections-phragmen"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6541,7 +6543,7 @@
[[package]]
name = "pallet-ethereum"
version = "4.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"ethereum",
"ethereum-types",
@@ -6564,7 +6566,7 @@
[[package]]
name = "pallet-evm"
version = "6.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"environmental",
"evm",
@@ -6643,7 +6645,7 @@
[[package]]
name = "pallet-evm-precompile-simple"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#75ad5b9a49e1942553c4068228f1546ffb1f7246"
+source = "git+https://github.com/uniquenetwork/unique-frontier?branch=unique-polkadot-v0.9.42#4f7a610defd7623aa147d83c83cbc42f907ce8bb"
dependencies = [
"fp-evm",
"ripemd",
@@ -6669,7 +6671,7 @@
[[package]]
name = "pallet-fast-unstake"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6729,7 +6731,7 @@
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6769,7 +6771,7 @@
[[package]]
name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -6785,7 +6787,7 @@
[[package]]
name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6805,7 +6807,7 @@
[[package]]
name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6851,7 +6853,7 @@
[[package]]
name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6868,7 +6870,7 @@
[[package]]
name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6885,7 +6887,7 @@
[[package]]
name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6901,7 +6903,7 @@
[[package]]
name = "pallet-nis"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6917,7 +6919,7 @@
[[package]]
name = "pallet-nomination-pools"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -6934,7 +6936,7 @@
[[package]]
name = "pallet-nomination-pools-benchmarking"
version = "1.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6954,7 +6956,7 @@
[[package]]
name = "pallet-nomination-pools-runtime-api"
version = "1.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"pallet-nomination-pools",
"parity-scale-codec",
@@ -6986,7 +6988,7 @@
[[package]]
name = "pallet-offences"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -7003,7 +7005,7 @@
[[package]]
name = "pallet-offences-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -7027,7 +7029,7 @@
[[package]]
name = "pallet-preimage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7044,7 +7046,7 @@
[[package]]
name = "pallet-proxy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7059,7 +7061,7 @@
[[package]]
name = "pallet-ranked-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7077,7 +7079,7 @@
[[package]]
name = "pallet-recovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7092,7 +7094,7 @@
[[package]]
name = "pallet-referenda"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"assert_matches",
"frame-benchmarking",
@@ -7131,7 +7133,7 @@
[[package]]
name = "pallet-scheduler"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7148,7 +7150,7 @@
[[package]]
name = "pallet-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -7169,7 +7171,7 @@
[[package]]
name = "pallet-session-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7185,7 +7187,7 @@
[[package]]
name = "pallet-society"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -7199,7 +7201,7 @@
[[package]]
name = "pallet-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -7222,18 +7224,18 @@
[[package]]
name = "pallet-staking-reward-curve"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "pallet-staking-reward-fn"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"log",
"sp-arithmetic",
@@ -7242,7 +7244,7 @@
[[package]]
name = "pallet-staking-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -7251,7 +7253,7 @@
[[package]]
name = "pallet-state-trie-migration"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7284,7 +7286,7 @@
[[package]]
name = "pallet-sudo"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -7330,7 +7332,7 @@
[[package]]
name = "pallet-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7348,7 +7350,7 @@
[[package]]
name = "pallet-tips"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7367,7 +7369,7 @@
[[package]]
name = "pallet-transaction-payment"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-support",
"frame-system",
@@ -7383,7 +7385,7 @@
[[package]]
name = "pallet-transaction-payment-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"jsonrpsee",
"pallet-transaction-payment-rpc-runtime-api",
@@ -7399,7 +7401,7 @@
[[package]]
name = "pallet-transaction-payment-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec",
@@ -7411,7 +7413,7 @@
[[package]]
name = "pallet-treasury"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7470,7 +7472,7 @@
[[package]]
name = "pallet-utility"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7486,7 +7488,7 @@
[[package]]
name = "pallet-vesting"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7501,7 +7503,7 @@
[[package]]
name = "pallet-whitelist"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -7728,9 +7730,9 @@
[[package]]
name = "percent-encoding"
-version = "2.2.0"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
+checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"
[[package]]
name = "pest"
@@ -7762,7 +7764,7 @@
"pest_meta",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -7803,7 +7805,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -9211,14 +9213,14 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "proc-macro2"
-version = "1.0.58"
+version = "1.0.59"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8"
+checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b"
dependencies = [
"unicode-ident",
]
@@ -9483,9 +9485,9 @@
[[package]]
name = "quote"
-version = "1.0.27"
+version = "1.0.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500"
+checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
dependencies = [
"proc-macro2",
]
@@ -9688,7 +9690,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -9705,13 +9707,13 @@
[[package]]
name = "regex"
-version = "1.8.1"
+version = "1.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370"
+checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f"
dependencies = [
- "aho-corasick 1.0.1",
+ "aho-corasick 1.0.2",
"memchr",
- "regex-syntax 0.7.1",
+ "regex-syntax 0.7.2",
]
[[package]]
@@ -9731,9 +9733,9 @@
[[package]]
name = "regex-syntax"
-version = "0.7.1"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c"
+checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
[[package]]
name = "region"
@@ -10102,7 +10104,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b"
dependencies = [
- "base64 0.21.1",
+ "base64 0.21.2",
]
[[package]]
@@ -10149,7 +10151,7 @@
[[package]]
name = "sc-allocator"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"log",
"sp-core",
@@ -10160,7 +10162,7 @@
[[package]]
name = "sc-authority-discovery"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures",
@@ -10188,7 +10190,7 @@
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"futures-timer",
@@ -10211,7 +10213,7 @@
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"sc-client-api",
@@ -10226,7 +10228,7 @@
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"memmap2",
"sc-chain-spec-derive",
@@ -10245,18 +10247,18 @@
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"chrono",
@@ -10296,7 +10298,7 @@
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"fnv",
"futures",
@@ -10322,7 +10324,7 @@
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"hash-db 0.16.0",
"kvdb",
@@ -10348,7 +10350,7 @@
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures",
@@ -10373,7 +10375,7 @@
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures",
@@ -10402,7 +10404,7 @@
[[package]]
name = "sc-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"fork-tree",
@@ -10438,7 +10440,7 @@
[[package]]
name = "sc-consensus-babe-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"jsonrpsee",
@@ -10460,7 +10462,7 @@
[[package]]
name = "sc-consensus-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"async-trait",
@@ -10495,7 +10497,7 @@
[[package]]
name = "sc-consensus-beefy-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"jsonrpsee",
@@ -10514,7 +10516,7 @@
[[package]]
name = "sc-consensus-epochs"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"fork-tree",
"parity-scale-codec",
@@ -10527,7 +10529,7 @@
[[package]]
name = "sc-consensus-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"ahash 0.8.3",
"array-bytes 4.2.0",
@@ -10567,7 +10569,7 @@
[[package]]
name = "sc-consensus-grandpa-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"finality-grandpa",
"futures",
@@ -10587,7 +10589,7 @@
[[package]]
name = "sc-consensus-manual-seal"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"assert_matches",
"async-trait",
@@ -10621,7 +10623,7 @@
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures",
@@ -10644,7 +10646,7 @@
[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"lru 0.8.1",
"parity-scale-codec",
@@ -10668,7 +10670,7 @@
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"sc-allocator",
"sp-maybe-compressed-blob",
@@ -10681,7 +10683,7 @@
[[package]]
name = "sc-executor-wasmi"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"log",
"sc-allocator",
@@ -10694,7 +10696,7 @@
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"anyhow",
"cfg-if",
@@ -10712,7 +10714,7 @@
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"ansi_term",
"futures",
@@ -10728,7 +10730,7 @@
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"async-trait",
@@ -10743,7 +10745,7 @@
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"async-channel",
@@ -10788,7 +10790,7 @@
[[package]]
name = "sc-network-bitswap"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"cid",
"futures",
@@ -10808,7 +10810,7 @@
[[package]]
name = "sc-network-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"async-trait",
@@ -10836,7 +10838,7 @@
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"ahash 0.8.3",
"futures",
@@ -10855,7 +10857,7 @@
[[package]]
name = "sc-network-light"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"futures",
@@ -10877,7 +10879,7 @@
[[package]]
name = "sc-network-sync"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"async-trait",
@@ -10911,7 +10913,7 @@
[[package]]
name = "sc-network-transactions"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"futures",
@@ -10931,7 +10933,7 @@
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"bytes",
@@ -10962,7 +10964,7 @@
[[package]]
name = "sc-peerset"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"libp2p",
@@ -10975,7 +10977,7 @@
[[package]]
name = "sc-proposer-metrics"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -10984,7 +10986,7 @@
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"jsonrpsee",
@@ -11014,7 +11016,7 @@
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"jsonrpsee",
"parity-scale-codec",
@@ -11033,7 +11035,7 @@
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"http",
"jsonrpsee",
@@ -11048,7 +11050,7 @@
[[package]]
name = "sc-rpc-spec-v2"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"futures",
@@ -11074,7 +11076,7 @@
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"directories",
@@ -11140,7 +11142,7 @@
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"log",
"parity-scale-codec",
@@ -11151,7 +11153,7 @@
[[package]]
name = "sc-storage-monitor"
version = "0.1.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"clap",
"fs4",
@@ -11167,7 +11169,7 @@
[[package]]
name = "sc-sync-state-rpc"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"jsonrpsee",
"parity-scale-codec",
@@ -11186,7 +11188,7 @@
[[package]]
name = "sc-sysinfo"
version = "6.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"libc",
@@ -11205,7 +11207,7 @@
[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"chrono",
"futures",
@@ -11224,7 +11226,7 @@
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"ansi_term",
"atty",
@@ -11255,18 +11257,18 @@
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures",
@@ -11293,7 +11295,7 @@
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures",
@@ -11307,7 +11309,7 @@
[[package]]
name = "sc-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-channel",
"futures",
@@ -11546,7 +11548,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -11816,7 +11818,7 @@
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"hash-db 0.16.0",
"log",
@@ -11836,7 +11838,7 @@
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"Inflector",
"blake2",
@@ -11844,13 +11846,13 @@
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "sp-application-crypto"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -11863,7 +11865,7 @@
[[package]]
name = "sp-arithmetic"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"integer-sqrt",
"num-traits",
@@ -11877,7 +11879,7 @@
[[package]]
name = "sp-authority-discovery"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -11890,7 +11892,7 @@
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -11902,7 +11904,7 @@
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"log",
@@ -11920,7 +11922,7 @@
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures",
@@ -11935,7 +11937,7 @@
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -11953,7 +11955,7 @@
[[package]]
name = "sp-consensus-babe"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -11974,7 +11976,7 @@
[[package]]
name = "sp-consensus-beefy"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"lazy_static",
"parity-scale-codec",
@@ -11993,7 +11995,7 @@
[[package]]
name = "sp-consensus-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"finality-grandpa",
"log",
@@ -12011,7 +12013,7 @@
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12023,7 +12025,7 @@
[[package]]
name = "sp-core"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"array-bytes 4.2.0",
"bitflags",
@@ -12067,7 +12069,7 @@
[[package]]
name = "sp-core-hashing"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"blake2b_simd",
"byteorder",
@@ -12081,18 +12083,18 @@
[[package]]
name = "sp-core-hashing-proc-macro"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro2",
"quote",
"sp-core-hashing",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"kvdb",
"parking_lot 0.12.1",
@@ -12101,17 +12103,17 @@
[[package]]
name = "sp-debug-derive"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "sp-externalities"
version = "0.13.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -12122,7 +12124,7 @@
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
@@ -12137,7 +12139,7 @@
[[package]]
name = "sp-io"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"bytes",
"ed25519",
@@ -12163,7 +12165,7 @@
[[package]]
name = "sp-keyring"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"lazy_static",
"sp-core",
@@ -12174,7 +12176,7 @@
[[package]]
name = "sp-keystore"
version = "0.13.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"parity-scale-codec",
@@ -12188,7 +12190,7 @@
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.1.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"thiserror",
"zstd 0.12.3+zstd.1.5.2",
@@ -12197,7 +12199,7 @@
[[package]]
name = "sp-metadata-ir"
version = "0.1.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-metadata",
"parity-scale-codec",
@@ -12208,7 +12210,7 @@
[[package]]
name = "sp-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"ckb-merkle-mountain-range",
"log",
@@ -12226,7 +12228,7 @@
[[package]]
name = "sp-npos-elections"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12240,7 +12242,7 @@
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"sp-api",
"sp-core",
@@ -12250,7 +12252,7 @@
[[package]]
name = "sp-panic-handler"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"backtrace",
"lazy_static",
@@ -12260,7 +12262,7 @@
[[package]]
name = "sp-rpc"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"rustc-hash",
"serde",
@@ -12270,7 +12272,7 @@
[[package]]
name = "sp-runtime"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"either",
"hash256-std-hasher",
@@ -12292,7 +12294,7 @@
[[package]]
name = "sp-runtime-interface"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"bytes",
"impl-trait-for-tuples",
@@ -12310,19 +12312,19 @@
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"Inflector",
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12336,7 +12338,7 @@
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12349,7 +12351,7 @@
[[package]]
name = "sp-state-machine"
version = "0.13.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"hash-db 0.16.0",
"log",
@@ -12369,12 +12371,12 @@
[[package]]
name = "sp-std"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
[[package]]
name = "sp-storage"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -12387,7 +12389,7 @@
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"futures-timer",
@@ -12402,7 +12404,7 @@
[[package]]
name = "sp-tracing"
version = "6.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"sp-std",
@@ -12414,7 +12416,7 @@
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"sp-api",
"sp-runtime",
@@ -12423,7 +12425,7 @@
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"log",
@@ -12439,7 +12441,7 @@
[[package]]
name = "sp-trie"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"ahash 0.8.3",
"hash-db 0.16.0",
@@ -12462,7 +12464,7 @@
[[package]]
name = "sp-version"
version = "5.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -12479,18 +12481,18 @@
[[package]]
name = "sp-version-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "sp-wasm-interface"
version = "7.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"anyhow",
"impl-trait-for-tuples",
@@ -12504,7 +12506,7 @@
[[package]]
name = "sp-weights"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"parity-scale-codec",
"scale-info",
@@ -12524,7 +12526,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -12704,7 +12706,7 @@
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"platforms 2.0.0",
]
@@ -12712,7 +12714,7 @@
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"frame-system-rpc-runtime-api",
"futures",
@@ -12731,7 +12733,7 @@
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"hyper",
"log",
@@ -12743,7 +12745,7 @@
[[package]]
name = "substrate-rpc-client"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"jsonrpsee",
@@ -12756,7 +12758,7 @@
[[package]]
name = "substrate-state-trie-migration-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"jsonrpsee",
"log",
@@ -12775,7 +12777,7 @@
[[package]]
name = "substrate-test-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"futures",
"substrate-test-utils-derive",
@@ -12785,18 +12787,18 @@
[[package]]
name = "substrate-test-utils-derive"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
name = "substrate-wasm-builder"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"ansi_term",
"build-helper",
@@ -12838,9 +12840,9 @@
[[package]]
name = "syn"
-version = "2.0.16"
+version = "2.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01"
+checksum = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"
dependencies = [
"proc-macro2",
"quote",
@@ -12969,7 +12971,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -13124,9 +13126,9 @@
[[package]]
name = "tokio"
-version = "1.28.1"
+version = "1.28.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0aa32867d44e6f2ce3385e89dceb990188b8bb0fb25b0cf576647a6f98ac5105"
+checksum = "94d7b1cfd2aa4011f2de74c2c4c63665e27a71006b0a192dcd2710272e73dfa2"
dependencies = [
"autocfg",
"bytes",
@@ -13149,7 +13151,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -13222,9 +13224,9 @@
[[package]]
name = "toml_edit"
-version = "0.19.9"
+version = "0.19.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92d964908cec0d030b812013af25a0e57fddfadb1e066ecc6681d86253129d4f"
+checksum = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739"
dependencies = [
"indexmap",
"serde",
@@ -13295,7 +13297,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -13338,7 +13340,7 @@
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -13484,7 +13486,7 @@
[[package]]
name = "try-runtime-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#3bb3882ce094ac211dea93fabfdcd4f902f5a7fd"
+source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.42#569aae5341ea0c1d10426fa1ec13a36c0b64393b"
dependencies = [
"async-trait",
"clap",
@@ -13621,9 +13623,9 @@
[[package]]
name = "unicode-ident"
-version = "1.0.8"
+version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
+checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0"
[[package]]
name = "unicode-normalization"
@@ -13962,12 +13964,12 @@
[[package]]
name = "url"
-version = "2.3.1"
+version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
+checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb"
dependencies = [
"form_urlencoded",
- "idna 0.3.0",
+ "idna 0.4.0",
"percent-encoding",
]
@@ -14084,7 +14086,7 @@
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
"wasm-bindgen-shared",
]
@@ -14118,7 +14120,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -15179,7 +15181,7 @@
"Inflector",
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
@@ -15222,7 +15224,7 @@
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.16",
+ "syn 2.0.18",
]
[[package]]
tests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth--- a/tests/src/eth/collectionSponsoring.test.ts
+++ b/tests/src/eth/collectionSponsoring.test.ts
@@ -555,7 +555,7 @@
const {collectionAddress, collectionId} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner,'Sponsor collection', '1', '1', '');
const collectionSub = helper.rft.getCollectionObject(collectionId);
- const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'rft', owner, false);
+ const collectionEvm = helper.ethNativeContract.collection(collectionAddress, 'rft', owner, false);
// Set collection sponsor:
expect(await collectionEvm.methods.hasCollectionPendingSponsor().call()).to.be.false;
await collectionEvm.methods.setCollectionSponsorCross(sponsorCross).send();
@@ -592,8 +592,7 @@
tokenId: '1',
},
});
- // FIXME: doesn't work
- expect(await collectionEvm.methods.tokenURI(tokenId).call({from: user})).to.be.equal('Test URI');
+ expect(await collectionEvm.methods.tokenURI(tokenId).call()).to.be.equal('Test URI');
const ownerBalanceAfter = await helper.balance.getSubstrate(helper.address.ethToSubstrate(owner));
expect(ownerBalanceAfter).to.be.eq(ownerBalanceBefore);
tests/src/eth/createNFTCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createNFTCollection.test.ts
+++ b/tests/src/eth/createNFTCollection.test.ts
@@ -199,10 +199,9 @@
// Soft-deprecated
itEth('(!negative test!) [eth] Check owner', async ({helper}) => {
const owner = await helper.eth.createAccountWithBalance(donor);
- // FIXME: do not give balance
- const malfeasant = await helper.eth.createAccountWithBalance(donor);
+ const malfeasant = helper.eth.createAccount();
const {collectionAddress} = await helper.eth.createNFTCollection(owner, 'Transgressed', 'absolutely anything', 'COR');
- const malfeasantCollection = await helper.ethNativeContract.collection(collectionAddress, 'nft', malfeasant, true);
+ const malfeasantCollection = helper.ethNativeContract.collection(collectionAddress, 'nft', malfeasant, true);
const EXPECTED_ERROR = 'NoPermission';
{
const sponsor = await helper.eth.createAccountWithBalance(donor);
tests/src/eth/createRFTCollection.test.tsdiffbeforeafterboth--- a/tests/src/eth/createRFTCollection.test.ts
+++ b/tests/src/eth/createRFTCollection.test.ts
@@ -63,8 +63,7 @@
const baseUri = 'BaseURI';
const {collectionId, collectionAddress} = await helper.eth.createERC721MetadataCompatibleRFTCollection(owner, name, description, prefix, baseUri);
- // FIXME: caller is not needed
- const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);
+ const contract = helper.ethNativeContract.collection(collectionAddress, 'nft');
const collection = helper.rft.getCollectionObject(collectionId);
const data = (await collection.getData())!;
tests/src/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth--- a/tests/src/eth/fractionalizer/fractionalizer.test.ts
+++ b/tests/src/eth/fractionalizer/fractionalizer.test.ts
@@ -170,7 +170,7 @@
const rftTokenAddress = result.events.Fractionalized.returnValues._rftToken;
// FIXME: should work without the caller
- const rftTokenContract = await helper.ethNativeContract.rftToken(rftTokenAddress, owner);
+ const rftTokenContract = helper.ethNativeContract.rftToken(rftTokenAddress);
expect(await rftTokenContract.methods.balanceOf(owner).call()).to.equal('100');
});
tests/src/eth/nativeRpc/estimateGas.test.tsdiffbeforeafterboth--- a/tests/src/eth/nativeRpc/estimateGas.test.ts
+++ b/tests/src/eth/nativeRpc/estimateGas.test.ts
@@ -28,7 +28,7 @@
});
});
- itEth.skip('estimate gas', async ({helper}) => {
+ itEth('estimate gas', async ({helper}) => {
const BALANCE = 100n;
const BALANCE_TO_TRANSFER = 90n;
@@ -57,6 +57,6 @@
maxFeePerGas: '0x14c9338c61d',
});
- expect(estimateGas).to.be.greaterThan(40000).and.to.be.lessThan(60000);
+ expect(estimateGas).to.be.greaterThan(35000).and.to.be.lessThan(50000);
});
});
tests/src/eth/nonFungible.test.tsdiffbeforeafterboth1// Copyright 2019-2022 Unique Network (Gibraltar) Ltd.2// This file is part of Unique Network.34// Unique Network is free software: you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation, either version 3 of the License, or7// (at your option) any later version.89// Unique Network is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12// GNU General Public License for more details.1314// You should have received a copy of the GNU General Public License15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.1617import {itEth, usingEthPlaygrounds, expect, EthUniqueHelper} from './util';18import {IKeyringPair} from '@polkadot/types/types';19import {Contract} from 'web3-eth-contract';20import {ITokenPropertyPermission} from '../util/playgrounds/types';2122describe('Check ERC721 token URI for NFT', () => {23 let donor: IKeyringPair;2425 before(async function() {26 await usingEthPlaygrounds(async (_helper, privateKey) => {27 donor = await privateKey({url: import.meta.url});28 });29 });3031 async function setup(helper: EthUniqueHelper, baseUri: string, propertyKey?: string, propertyValue?: string): Promise<{contract: Contract, nextTokenId: string}> {32 const owner = await helper.eth.createAccountWithBalance(donor);33 const receiver = helper.eth.createAccount();3435 const {collectionAddress} = await helper.eth.createERC721MetadataCompatibleNFTCollection(owner, 'Mint collection', 'a', 'b', baseUri);36 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);3738 const result = await contract.methods.mint(receiver).send();39 const tokenId = result.events.Transfer.returnValues.tokenId;40 expect(tokenId).to.be.equal('1');4142 if(propertyKey && propertyValue) {43 // Set URL or suffix44 await contract.methods.setProperties(tokenId, [{key: propertyKey, value: Buffer.from(propertyValue)}]).send();45 }4647 const event = result.events.Transfer;48 expect(event.address).to.be.equal(collectionAddress);49 expect(event.returnValues.from).to.be.equal('0x0000000000000000000000000000000000000000');50 expect(event.returnValues.to).to.be.equal(receiver);51 expect(event.returnValues.tokenId).to.be.equal(tokenId);5253 return {contract, nextTokenId: tokenId};54 }5556 itEth('Empty tokenURI', async ({helper}) => {57 const {contract, nextTokenId} = await setup(helper, '');58 expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('');59 });6061 itEth('TokenURI from url', async ({helper}) => {62 const {contract, nextTokenId} = await setup(helper, 'BaseURI_', 'URI', 'Token URI');63 expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('Token URI');64 });6566 itEth('TokenURI from baseURI', async ({helper}) => {67 const {contract, nextTokenId} = await setup(helper, 'BaseURI_');68 expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('BaseURI_');69 });7071 itEth('TokenURI from baseURI + suffix', async ({helper}) => {72 const suffix = '/some/suffix';73 const {contract, nextTokenId} = await setup(helper, 'BaseURI_', 'URISuffix', suffix);74 expect(await contract.methods.tokenURI(nextTokenId).call()).to.be.equal('BaseURI_' + suffix);75 });76});7778describe('NFT: Plain calls', () => {79 let donor: IKeyringPair;80 let minter: IKeyringPair;81 let bob: IKeyringPair;82 let charlie: IKeyringPair;8384 before(async function() {85 await usingEthPlaygrounds(async (helper, privateKey) => {86 donor = await privateKey({url: import.meta.url});87 [minter, bob, charlie] = await helper.arrange.createAccounts([100n, 100n, 100n], donor);88 });89 });9091 // TODO combine all minting tests in one place92 [93 'substrate' as const,94 'ethereum' as const,95 ].map(testCase => {96 itEth(`Can perform mintCross() for ${testCase} address`, async ({helper}) => {97 const collectionAdmin = await helper.eth.createAccountWithBalance(donor);9899 const receiverEth = helper.eth.createAccount();100 const receiverCrossEth = helper.ethCrossAccount.fromAddress(receiverEth);101 const receiverSub = bob;102 const receiverCrossSub = helper.ethCrossAccount.fromKeyringPair(receiverSub);103104 // const receiverCross = helper.ethCrossAccount.fromKeyringPair(bob);105 const properties = Array(5).fill(0).map((_, i) => ({key: `key_${i}`, value: Buffer.from(`value_${i}`)}));106 const permissions: ITokenPropertyPermission[] = properties107 .map(p => ({108 key: p.key, permission: {109 tokenOwner: false,110 collectionAdmin: true,111 mutable: false,112 },113 }));114115 const collection = await helper.nft.mintCollection(minter, {116 tokenPrefix: 'ethp',117 tokenPropertyPermissions: permissions,118 });119 await collection.addAdmin(minter, {Ethereum: collectionAdmin});120121 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);122 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', collectionAdmin, true);123 let expectedTokenId = await contract.methods.nextTokenId().call();124 let result = await contract.methods.mintCross(testCase === 'ethereum' ? receiverCrossEth : receiverCrossSub, []).send();125 let tokenId = result.events.Transfer.returnValues.tokenId;126 expect(tokenId).to.be.equal(expectedTokenId);127128 let event = result.events.Transfer;129 expect(event.address).to.be.equal(collectionAddress);130 expect(event.returnValues.from).to.be.equal('0x0000000000000000000000000000000000000000');131 expect(event.returnValues.to).to.be.equal(testCase === 'ethereum' ? receiverEth : helper.address.substrateToEth(bob.address));132 expect(await contract.methods.properties(tokenId, []).call()).to.be.like([]);133134 expectedTokenId = await contract.methods.nextTokenId().call();135 result = await contract.methods.mintCross(testCase === 'ethereum' ? receiverCrossEth : receiverCrossSub, properties).send();136 event = result.events.Transfer;137 expect(event.address).to.be.equal(collectionAddress);138 expect(event.returnValues.from).to.be.equal('0x0000000000000000000000000000000000000000');139 expect(event.returnValues.to).to.be.equal(testCase === 'ethereum' ? receiverEth : helper.address.substrateToEth(bob.address));140 expect(await contract.methods.properties(tokenId, []).call()).to.be.like([]);141142 tokenId = result.events.Transfer.returnValues.tokenId;143144 expect(tokenId).to.be.equal(expectedTokenId);145146 expect(await contract.methods.properties(tokenId, []).call()).to.be.like(properties147 .map(p => helper.ethProperty.property(p.key, p.value.toString())));148149 expect(await helper.nft.getTokenOwner(collection.collectionId, tokenId))150 .to.deep.eq(testCase === 'ethereum' ? {Ethereum: receiverEth.toLowerCase()} : {Substrate: receiverSub.address});151 });152 });153154 itEth('Non-owner and non admin cannot mintCross', async ({helper}) => {155 const nonOwner = await helper.eth.createAccountWithBalance(donor);156 const nonOwnerCross = helper.ethCrossAccount.fromAddress(nonOwner);157158 const collection = await helper.nft.mintCollection(minter);159 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);160 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft');161162 await expect(collectionEvm.methods.mintCross(nonOwnerCross, []).call({from: nonOwner}))163 .to.be.rejectedWith('PublicMintingNotAllowed');164 });165166 //TODO: CORE-302 add eth methods167 itEth.skip('Can perform mintBulk()', async ({helper}) => {168 const caller = await helper.eth.createAccountWithBalance(donor);169 const receiver = helper.eth.createAccount();170171 const collection = await helper.nft.mintCollection(minter);172 await collection.addAdmin(minter, {Ethereum: caller});173174 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);175 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', caller);176 {177 const bulkSize = 3;178 const nextTokenId = await contract.methods.nextTokenId().call();179 expect(nextTokenId).to.be.equal('1');180 const result = await contract.methods.mintBulkWithTokenURI(181 receiver,182 Array.from({length: bulkSize}, (_, i) => (183 [+nextTokenId + i, `Test URI ${i}`]184 )),185 ).send({from: caller});186187 const events = result.events.Transfer.sort((a: any, b: any) => +a.returnValues.tokenId - b.returnValues.tokenId);188 for(let i = 0; i < bulkSize; i++) {189 const event = events[i];190 expect(event.address).to.equal(collectionAddress);191 expect(event.returnValues.from).to.equal('0x0000000000000000000000000000000000000000');192 expect(event.returnValues.to).to.equal(receiver);193 expect(event.returnValues.tokenId).to.equal(`${+nextTokenId+i}`);194195 expect(await contract.methods.tokenURI(+nextTokenId + i).call()).to.be.equal(`Test URI ${i}`);196 }197 }198 });199200 itEth('Can perform burn()', async ({helper}) => {201 const caller = await helper.eth.createAccountWithBalance(donor);202203 const collection = await helper.nft.mintCollection(minter, {});204 const {tokenId} = await collection.mintToken(minter, {Ethereum: caller});205206 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);207 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', caller);208209 {210 const result = await contract.methods.burn(tokenId).send({from: caller});211212 const event = result.events.Transfer;213 expect(event.address).to.be.equal(collectionAddress);214 expect(event.returnValues.from).to.be.equal(caller);215 expect(event.returnValues.to).to.be.equal('0x0000000000000000000000000000000000000000');216 expect(event.returnValues.tokenId).to.be.equal(`${tokenId}`);217 }218 });219220 itEth('Can perform approve()', async ({helper}) => {221 const owner = await helper.eth.createAccountWithBalance(donor);222 const spender = helper.eth.createAccount();223224 const collection = await helper.nft.mintCollection(minter, {});225 const {tokenId} = await collection.mintToken(minter, {Ethereum: owner});226227 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);228 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);229230 {231 const badTokenId = await contract.methods.nextTokenId().call() + 1;232 await expect(contract.methods.getApproved(badTokenId).call()).to.be.rejectedWith('revert TokenNotFound');233 }234 {235 const approved = await contract.methods.getApproved(tokenId).call();236 expect(approved).to.be.equal('0x0000000000000000000000000000000000000000');237 }238 {239 const result = await contract.methods.approve(spender, tokenId).send({from: owner});240241 const event = result.events.Approval;242 expect(event.address).to.be.equal(collectionAddress);243 expect(event.returnValues.owner).to.be.equal(owner);244 expect(event.returnValues.approved).to.be.equal(spender);245 expect(event.returnValues.tokenId).to.be.equal(`${tokenId}`);246 }247 {248 const approved = await contract.methods.getApproved(tokenId).call();249 expect(approved).to.be.equal(spender);250 }251 });252253 itEth('Can perform setApprovalForAll()', async ({helper}) => {254 const owner = await helper.eth.createAccountWithBalance(donor);255 const operator = helper.eth.createAccount();256257 const collection = await helper.nft.mintCollection(minter, {});258259 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);260 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);261262 const approvedBefore = await contract.methods.isApprovedForAll(owner, operator).call();263 expect(approvedBefore).to.be.equal(false);264265 {266 const result = await contract.methods.setApprovalForAll(operator, true).send({from: owner});267268 expect(result.events.ApprovalForAll).to.be.like({269 address: collectionAddress,270 event: 'ApprovalForAll',271 returnValues: {272 owner,273 operator,274 approved: true,275 },276 });277278 const approvedAfter = await contract.methods.isApprovedForAll(owner, operator).call();279 expect(approvedAfter).to.be.equal(true);280 }281282 {283 const result = await contract.methods.setApprovalForAll(operator, false).send({from: owner});284285 expect(result.events.ApprovalForAll).to.be.like({286 address: collectionAddress,287 event: 'ApprovalForAll',288 returnValues: {289 owner,290 operator,291 approved: false,292 },293 });294295 const approvedAfter = await contract.methods.isApprovedForAll(owner, operator).call();296 expect(approvedAfter).to.be.equal(false);297 }298 });299300 itEth('Can perform burn with ApprovalForAll', async ({helper}) => {301 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});302303 const owner = await helper.eth.createAccountWithBalance(donor);304 const operator = await helper.eth.createAccountWithBalance(donor);305306 const token = await collection.mintToken(minter, {Ethereum: owner});307308 const address = helper.ethAddress.fromCollectionId(collection.collectionId);309 const contract = await helper.ethNativeContract.collection(address, 'nft');310311 {312 await contract.methods.setApprovalForAll(operator, true).send({from: owner});313 const ownerCross = helper.ethCrossAccount.fromAddress(owner);314 const result = await contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: operator});315 const events = result.events.Transfer;316317 expect(events).to.be.like({318 address,319 event: 'Transfer',320 returnValues: {321 from: owner,322 to: '0x0000000000000000000000000000000000000000',323 tokenId: token.tokenId.toString(),324 },325 });326 }327328 expect(await helper.nft.doesTokenExist(collection.collectionId, token.tokenId)).to.be.false;329 });330331 itEth('Can perform transfer with ApprovalForAll', async ({helper}) => {332 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});333334 const owner = await helper.eth.createAccountWithBalance(donor);335 const operator = await helper.eth.createAccountWithBalance(donor);336 const receiver = charlie;337338 const token = await collection.mintToken(minter, {Ethereum: owner});339340 const address = helper.ethAddress.fromCollectionId(collection.collectionId);341 const contract = await helper.ethNativeContract.collection(address, 'nft');342343 {344 await contract.methods.setApprovalForAll(operator, true).send({from: owner});345 const ownerCross = helper.ethCrossAccount.fromAddress(owner);346 const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);347 const result = await contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: operator});348 const event = result.events.Transfer;349 expect(event).to.be.like({350 address: helper.ethAddress.fromCollectionId(collection.collectionId),351 event: 'Transfer',352 returnValues: {353 from: owner,354 to: helper.address.substrateToEth(receiver.address),355 tokenId: token.tokenId.toString(),356 },357 });358 }359360 expect(await token.getOwner()).to.be.like({Substrate: receiver.address});361 });362363 itEth('Can perform burnFromCross()', async ({helper}) => {364 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});365 const ownerSub = bob;366 const ownerCrossSub = helper.ethCrossAccount.fromKeyringPair(ownerSub);367 const ownerEth = await helper.eth.createAccountWithBalance(donor);368 const ownerCrossEth = helper.ethCrossAccount.fromAddress(ownerEth);369370 const burnerEth = await helper.eth.createAccountWithBalance(donor);371 const burnerCrossEth = helper.ethCrossAccount.fromAddress(burnerEth);372373 const token1 = await collection.mintToken(minter, {Substrate: ownerSub.address});374 const token2 = await collection.mintToken(minter, {Ethereum: ownerEth});375376 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);377 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft');378379 // Approve tokens from substrate and ethereum:380 await token1.approve(ownerSub, {Ethereum: burnerEth});381 await collectionEvm.methods.approveCross(burnerCrossEth, token2.tokenId).send({from: ownerEth});382383 // can burnFromCross:384 const result1 = await collectionEvm.methods.burnFromCross(ownerCrossSub, token1.tokenId).send({from: burnerEth});385 const result2 = await collectionEvm.methods.burnFromCross(ownerCrossEth, token2.tokenId).send({from: burnerEth});386 const events1 = result1.events.Transfer;387 const events2 = result2.events.Transfer;388389 // Check events for burnFromCross (substrate and ethereum):390 [391 [events1, token1, helper.address.substrateToEth(ownerSub.address)],392 [events2, token2, ownerEth],393 ].map(burnData => {394 expect(burnData[0]).to.be.like({395 address: collectionAddress,396 event: 'Transfer',397 returnValues: {398 from: burnData[2],399 to: '0x0000000000000000000000000000000000000000',400 tokenId: burnData[1].tokenId.toString(),401 },402 });403 });404405 expect(await token1.doesExist()).to.be.false;406 expect(await token2.doesExist()).to.be.false;407 });408409 // TODO combine all approve tests in one place410 itEth('Can perform approveCross()', async ({helper}) => {411 // arrange: create accounts412 const owner = await helper.eth.createAccountWithBalance(donor);413 const ownerCross = helper.ethCrossAccount.fromAddress(owner);414 const receiverSub = charlie;415 const recieverCrossSub = helper.ethCrossAccount.fromKeyringPair(receiverSub);416 const receiverEth = await helper.eth.createAccountWithBalance(donor);417 const receiverCrossEth = helper.ethCrossAccount.fromAddress(receiverEth);418419 // arrange: create collection and tokens:420 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});421 const token1 = await collection.mintToken(minter, {Ethereum: owner});422 const token2 = await collection.mintToken(minter, {Ethereum: owner});423424 const collectionEvm = await helper.ethNativeContract.collection(helper.ethAddress.fromCollectionId(collection.collectionId), 'nft');425426 // Can approveCross substrate and ethereum address:427 const resultSub = await collectionEvm.methods.approveCross(recieverCrossSub, token1.tokenId).send({from: owner});428 const resultEth = await collectionEvm.methods.approveCross(receiverCrossEth, token2.tokenId).send({from: owner});429 const eventSub = resultSub.events.Approval;430 const eventEth = resultEth.events.Approval;431 expect(eventSub).to.be.like({432 address: helper.ethAddress.fromCollectionId(collection.collectionId),433 event: 'Approval',434 returnValues: {435 owner,436 approved: helper.address.substrateToEth(receiverSub.address),437 tokenId: token1.tokenId.toString(),438 },439 });440 expect(eventEth).to.be.like({441 address: helper.ethAddress.fromCollectionId(collection.collectionId),442 event: 'Approval',443 returnValues: {444 owner,445 approved: receiverEth,446 tokenId: token2.tokenId.toString(),447 },448 });449450 // Substrate address can transferFrom approved tokens:451 await helper.nft.transferTokenFrom(receiverSub, collection.collectionId, token1.tokenId, {Ethereum: owner}, {Substrate: receiverSub.address});452 expect(await helper.nft.getTokenOwner(collection.collectionId, token1.tokenId)).to.deep.eq({Substrate: receiverSub.address});453 // Ethereum address can transferFromCross approved tokens:454 await collectionEvm.methods.transferFromCross(ownerCross, receiverCrossEth, token2.tokenId).send({from: receiverEth});455 expect(await helper.nft.getTokenOwner(collection.collectionId, token2.tokenId)).to.deep.eq({Ethereum: receiverEth.toLowerCase()});456 });457458 itEth('Non-owner and non admin cannot approveCross', async ({helper}) => {459 const nonOwner = await helper.eth.createAccountWithBalance(donor);460 const nonOwnerCross = helper.ethCrossAccount.fromAddress(nonOwner);461 const owner = await helper.eth.createAccountWithBalance(donor);462 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});463 const collectionEvm = await helper.ethNativeContract.collection(helper.ethAddress.fromCollectionId(collection.collectionId), 'nft');464 const token = await collection.mintToken(minter, {Ethereum: owner});465466 await expect(collectionEvm.methods.approveCross(nonOwnerCross, token.tokenId).call({from: nonOwner})).to.be.rejectedWith('CantApproveMoreThanOwned');467 });468469 itEth('Can reaffirm approved address', async ({helper}) => {470 const owner = await helper.eth.createAccountWithBalance(donor);471 const ownerCrossEth = helper.ethCrossAccount.fromAddress(owner);472 const [receiver1, receiver2] = await helper.arrange.createAccounts([100n, 100n], donor);473 const receiver1Cross = helper.ethCrossAccount.fromKeyringPair(receiver1);474 const receiver2Cross = helper.ethCrossAccount.fromKeyringPair(receiver2);475 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});476 const token1 = await collection.mintToken(minter, {Ethereum: owner});477 const token2 = await collection.mintToken(minter, {Ethereum: owner});478 const collectionEvm = await helper.ethNativeContract.collection(helper.ethAddress.fromCollectionId(collection.collectionId), 'nft');479480 // Can approve and reaffirm approved address:481 await collectionEvm.methods.approveCross(receiver1Cross, token1.tokenId).send({from: owner});482 await collectionEvm.methods.approveCross(receiver2Cross, token1.tokenId).send({from: owner});483484 // receiver1 cannot transferFrom:485 await expect(helper.nft.transferTokenFrom(receiver1, collection.collectionId, token1.tokenId, {Ethereum: owner}, {Substrate: receiver1.address})).to.be.rejected;486 // receiver2 can transferFrom:487 await helper.nft.transferTokenFrom(receiver2, collection.collectionId, token1.tokenId, {Ethereum: owner}, {Substrate: receiver2.address});488489 // can set approved address to self address to remove approval:490 await collectionEvm.methods.approveCross(receiver1Cross, token2.tokenId).send({from: owner});491 await collectionEvm.methods.approveCross(ownerCrossEth, token2.tokenId).send({from: owner});492493 // receiver1 cannot transfer token anymore:494 await expect(helper.nft.transferTokenFrom(receiver1, collection.collectionId, token2.tokenId, {Ethereum: owner}, {Substrate: receiver1.address})).to.be.rejected;495 });496497 itEth('Can perform transferFrom()', async ({helper}) => {498 const owner = await helper.eth.createAccountWithBalance(donor);499 const spender = await helper.eth.createAccountWithBalance(donor);500 const receiver = helper.eth.createAccount();501502 const collection = await helper.nft.mintCollection(minter, {});503 const {tokenId} = await collection.mintToken(minter, {Ethereum: owner});504505 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);506 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);507508 await contract.methods.approve(spender, tokenId).send({from: owner});509510 {511 const result = await contract.methods.transferFrom(owner, receiver, tokenId).send({from: spender});512513 const event = result.events.Transfer;514 expect(event.address).to.be.equal(collectionAddress);515 expect(event.returnValues.from).to.be.equal(owner);516 expect(event.returnValues.to).to.be.equal(receiver);517 expect(event.returnValues.tokenId).to.be.equal(`${tokenId}`);518 }519520 {521 const balance = await contract.methods.balanceOf(receiver).call();522 expect(+balance).to.equal(1);523 }524525 {526 const balance = await contract.methods.balanceOf(owner).call();527 expect(+balance).to.equal(0);528 }529 });530531 itEth('Can perform transferFromCross()', async ({helper}) => {532 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});533534 const [owner, receiver] = await helper.arrange.createAccounts([100n, 100n], donor);535 const spender = await helper.eth.createAccountWithBalance(donor);536537 const token = await collection.mintToken(minter, {Substrate: owner.address});538539 const address = helper.ethAddress.fromCollectionId(collection.collectionId);540 const contract = await helper.ethNativeContract.collection(address, 'nft');541542 await token.approve(owner, {Ethereum: spender});543544 {545 const ownerCross = helper.ethCrossAccount.fromKeyringPair(owner);546 const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);547 const result = await contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender});548 const event = result.events.Transfer;549 expect(event).to.be.like({550 address: helper.ethAddress.fromCollectionId(collection.collectionId),551 event: 'Transfer',552 returnValues: {553 from: helper.address.substrateToEth(owner.address),554 to: helper.address.substrateToEth(receiver.address),555 tokenId: token.tokenId.toString(),556 },557 });558 }559560 expect(await token.getOwner()).to.be.like({Substrate: receiver.address});561 });562563 itEth('Can perform transfer()', async ({helper}) => {564 const collection = await helper.nft.mintCollection(minter, {});565 const owner = await helper.eth.createAccountWithBalance(donor);566 const receiver = helper.eth.createAccount();567568 const {tokenId} = await collection.mintToken(minter, {Ethereum: owner});569570 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);571 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);572573 {574 const result = await contract.methods.transfer(receiver, tokenId).send({from: owner});575576 const event = result.events.Transfer;577 expect(event.address).to.be.equal(collectionAddress);578 expect(event.returnValues.from).to.be.equal(owner);579 expect(event.returnValues.to).to.be.equal(receiver);580 expect(event.returnValues.tokenId).to.be.equal(`${tokenId}`);581 }582583 {584 const balance = await contract.methods.balanceOf(owner).call();585 expect(+balance).to.equal(0);586 }587588 {589 const balance = await contract.methods.balanceOf(receiver).call();590 expect(+balance).to.equal(1);591 }592 });593594 itEth('Can perform transferCross()', async ({helper}) => {595 const collection = await helper.nft.mintCollection(minter, {});596 const owner = await helper.eth.createAccountWithBalance(donor);597 const receiverEth = await helper.eth.createAccountWithBalance(donor);598 const receiverCrossEth = helper.ethCrossAccount.fromAddress(receiverEth);599 const receiverCrossSub = helper.ethCrossAccount.fromKeyringPair(minter);600601 const {tokenId} = await collection.mintToken(minter, {Ethereum: owner});602603 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);604 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner);605606 {607 // Can transferCross to ethereum address:608 const result = await collectionEvm.methods.transferCross(receiverCrossEth, tokenId).send({from: owner});609 // Check events:610 const event = result.events.Transfer;611 expect(event.address).to.be.equal(collectionAddress);612 expect(event.returnValues.from).to.be.equal(owner);613 expect(event.returnValues.to).to.be.equal(receiverEth);614 expect(event.returnValues.tokenId).to.be.equal(`${tokenId}`);615616 // owner has balance = 0:617 const ownerBalance = await collectionEvm.methods.balanceOf(owner).call();618 expect(+ownerBalance).to.equal(0);619 // receiver owns token:620 const receiverBalance = await collectionEvm.methods.balanceOf(receiverEth).call();621 expect(+receiverBalance).to.equal(1);622 expect(await helper.nft.getTokenOwner(collection.collectionId, tokenId)).to.deep.eq({Ethereum: receiverEth.toLowerCase()});623 }624625 {626 // Can transferCross to substrate address:627 const substrateResult = await collectionEvm.methods.transferCross(receiverCrossSub, tokenId).send({from: receiverEth});628 // Check events:629 const event = substrateResult.events.Transfer;630 expect(event.address).to.be.equal(collectionAddress);631 expect(event.returnValues.from).to.be.equal(receiverEth);632 expect(event.returnValues.to).to.be.equal(helper.address.substrateToEth(minter.address));633 expect(event.returnValues.tokenId).to.be.equal(`${tokenId}`);634635 // owner has balance = 0:636 const ownerBalance = await collectionEvm.methods.balanceOf(receiverEth).call();637 expect(+ownerBalance).to.equal(0);638 // receiver owns token:639 const receiverBalance = await helper.nft.getTokensByAddress(collection.collectionId, {Substrate: minter.address});640 expect(receiverBalance).to.contain(tokenId);641 }642 });643644 ['transfer', 'transferCross'].map(testCase => itEth(`Cannot ${testCase} non-owned token`, async ({helper}) => {645 const sender = await helper.eth.createAccountWithBalance(donor);646 const tokenOwner = await helper.eth.createAccountWithBalance(donor);647 const receiverSub = minter;648 const receiverCrossSub = helper.ethCrossAccount.fromKeyringPair(minter);649650 const collection = await helper.nft.mintCollection(minter, {});651 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);652 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', sender);653654 await collection.mintToken(minter, {Ethereum: sender});655 const nonSendersToken = await collection.mintToken(minter, {Ethereum: tokenOwner});656657 // Cannot transferCross someone else's token:658 const receiver = testCase === 'transfer' ? helper.address.substrateToEth(receiverSub.address) : receiverCrossSub;659 await expect(collectionEvm.methods[testCase](receiver, nonSendersToken.tokenId).send({from: sender})).to.be.rejected;660 // Cannot transfer token if it does not exist:661 await expect(collectionEvm.methods[testCase](receiver, 999999).send({from: sender})).to.be.rejected;662 }));663664 itEth('Check balanceOfCross()', async ({helper}) => {665 const collection = await helper.nft.mintCollection(minter, {});666 const owner = await helper.ethCrossAccount.createAccountWithBalance(donor);667 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);668 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner.eth);669670 expect(await collectionEvm.methods.balanceOfCross(owner).call({from: owner.eth})).to.be.eq('0');671672 for(let i = 1; i < 10; i++) {673 await collection.mintToken(minter, {Ethereum: owner.eth});674 expect(await collectionEvm.methods.balanceOfCross(owner).call({from: owner.eth})).to.be.eq(i.toString());675 }676 });677678 itEth('Check ownerOfCross()', async ({helper}) => {679 const collection = await helper.nft.mintCollection(minter, {});680 let owner = await helper.ethCrossAccount.createAccountWithBalance(donor);681 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);682 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner.eth);683 const {tokenId} = await collection.mintToken(minter, {Ethereum: owner.eth});684685 for(let i = 1n; i < 10n; i++) {686 const ownerCross = await collectionEvm.methods.ownerOfCross(tokenId).call({from: owner.eth});687 expect(ownerCross.eth).to.be.eq(owner.eth);688 expect(ownerCross.sub).to.be.eq(owner.sub);689690 const newOwner = await helper.ethCrossAccount.createAccountWithBalance(donor);691 await collectionEvm.methods.transferCross(newOwner, tokenId).send({from: owner.eth});692 owner = newOwner;693 }694 });695});696697describe('NFT: Fees', () => {698 let donor: IKeyringPair;699 let alice: IKeyringPair;700 let bob: IKeyringPair;701 let charlie: IKeyringPair;702703 before(async function() {704 await usingEthPlaygrounds(async (helper, privateKey) => {705 donor = await privateKey({url: import.meta.url});706 [alice, bob, charlie] = await helper.arrange.createAccounts([10n, 10n, 10n], donor);707 });708 });709710 itEth('approve() call fee is less than 0.2UNQ', async ({helper}) => {711 const owner = await helper.eth.createAccountWithBalance(donor);712 const spender = helper.eth.createAccount();713714 const collection = await helper.nft.mintCollection(alice, {});715 const {tokenId} = await collection.mintToken(alice, {Ethereum: owner});716717 const contract = await helper.ethNativeContract.collectionById(collection.collectionId, 'nft', owner);718719 const cost = await helper.eth.recordCallFee(owner, () => contract.methods.approve(spender, tokenId).send({from: owner}));720 expect(cost < BigInt(0.2 * Number(helper.balance.getOneTokenNominal())));721 });722723 itEth('transferFrom() call fee is less than 0.2UNQ', async ({helper}) => {724 const owner = await helper.eth.createAccountWithBalance(donor);725 const spender = await helper.eth.createAccountWithBalance(donor);726727 const collection = await helper.nft.mintCollection(alice, {});728 const {tokenId} = await collection.mintToken(alice, {Ethereum: owner});729730 const contract = await helper.ethNativeContract.collectionById(collection.collectionId, 'nft', owner);731732 await contract.methods.approve(spender, tokenId).send({from: owner});733734 const cost = await helper.eth.recordCallFee(spender, () => contract.methods.transferFrom(owner, spender, tokenId).send({from: spender}));735 expect(cost < BigInt(0.2 * Number(helper.balance.getOneTokenNominal())));736 });737738 itEth('Can perform transferFromCross()', async ({helper}) => {739 const collectionMinter = alice;740 const owner = bob;741 const receiver = charlie;742 const collection = await helper.nft.mintCollection(collectionMinter, {name: 'A', description: 'B', tokenPrefix: 'C'});743744 const spender = await helper.eth.createAccountWithBalance(donor);745746 const token = await collection.mintToken(collectionMinter, {Substrate: owner.address});747748 const address = helper.ethAddress.fromCollectionId(collection.collectionId);749 const contract = await helper.ethNativeContract.collection(address, 'nft');750751 await token.approve(owner, {Ethereum: spender});752753 {754 const ownerCross = helper.ethCrossAccount.fromKeyringPair(owner);755 const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);756 const result = await contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender});757 const event = result.events.Transfer;758 expect(event).to.be.like({759 address: helper.ethAddress.fromCollectionId(collection.collectionId),760 event: 'Transfer',761 returnValues: {762 from: helper.address.substrateToEth(owner.address),763 to: helper.address.substrateToEth(receiver.address),764 tokenId: token.tokenId.toString(),765 },766 });767 }768769 expect(await token.getOwner()).to.be.like({Substrate: receiver.address});770 });771772 itEth('transfer() call fee is less than 0.2UNQ', async ({helper}) => {773 const owner = await helper.eth.createAccountWithBalance(donor);774 const receiver = helper.eth.createAccount();775776 const collection = await helper.nft.mintCollection(alice, {});777 const {tokenId} = await collection.mintToken(alice, {Ethereum: owner});778779 const contract = await helper.ethNativeContract.collectionById(collection.collectionId, 'nft', owner);780781 const cost = await helper.eth.recordCallFee(owner, () => contract.methods.transfer(receiver, tokenId).send({from: owner}));782 expect(cost < BigInt(0.2 * Number(helper.balance.getOneTokenNominal())));783 });784});785786describe('NFT: Substrate calls', () => {787 let donor: IKeyringPair;788 let alice: IKeyringPair;789790 before(async function() {791 await usingEthPlaygrounds(async (helper, privateKey) => {792 donor = await privateKey({url: import.meta.url});793 [alice] = await helper.arrange.createAccounts([20n], donor);794 });795 });796797 itEth('Events emitted for mint()', async ({helper}) => {798 const collection = await helper.nft.mintCollection(alice, {});799 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);800 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft');801802 const events: any = [];803 contract.events.allEvents((_: any, event: any) => {804 events.push(event);805 });806807 const {tokenId} = await collection.mintToken(alice);808 if(events.length == 0) await helper.wait.newBlocks(1);809 const event = events[0];810811 expect(event.event).to.be.equal('Transfer');812 expect(event.address).to.be.equal(collectionAddress);813 expect(event.returnValues.from).to.be.equal('0x0000000000000000000000000000000000000000');814 expect(event.returnValues.to).to.be.equal(helper.address.substrateToEth(alice.address));815 expect(event.returnValues.tokenId).to.be.equal(tokenId.toString());816 });817818 itEth('Events emitted for burn()', async ({helper}) => {819 const collection = await helper.nft.mintCollection(alice, {});820 const token = await collection.mintToken(alice);821822 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);823 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft');824825 const events: any = [];826 contract.events.allEvents((_: any, event: any) => {827 events.push(event);828 });829830 await token.burn(alice);831 if(events.length == 0) await helper.wait.newBlocks(1);832 const event = events[0];833834 expect(event.event).to.be.equal('Transfer');835 expect(event.address).to.be.equal(collectionAddress);836 expect(event.returnValues.from).to.be.equal(helper.address.substrateToEth(alice.address));837 expect(event.returnValues.to).to.be.equal('0x0000000000000000000000000000000000000000');838 expect(event.returnValues.tokenId).to.be.equal(token.tokenId.toString());839 });840841 itEth('Events emitted for approve()', async ({helper}) => {842 const receiver = helper.eth.createAccount();843844 const collection = await helper.nft.mintCollection(alice, {});845 const token = await collection.mintToken(alice);846847 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);848 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft');849850 const events: any = [];851 contract.events.allEvents((_: any, event: any) => {852 events.push(event);853 });854855 await token.approve(alice, {Ethereum: receiver});856 if(events.length == 0) await helper.wait.newBlocks(1);857 const event = events[0];858859 expect(event.event).to.be.equal('Approval');860 expect(event.address).to.be.equal(collectionAddress);861 expect(event.returnValues.owner).to.be.equal(helper.address.substrateToEth(alice.address));862 expect(event.returnValues.approved).to.be.equal(receiver);863 expect(event.returnValues.tokenId).to.be.equal(token.tokenId.toString());864 });865866 itEth('Events emitted for transferFrom()', async ({helper}) => {867 const [bob] = await helper.arrange.createAccounts([10n], donor);868 const receiver = helper.eth.createAccount();869870 const collection = await helper.nft.mintCollection(alice, {});871 const token = await collection.mintToken(alice);872 await token.approve(alice, {Substrate: bob.address});873874 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);875 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft');876877 const events: any = [];878 contract.events.allEvents((_: any, event: any) => {879 events.push(event);880 });881882 await token.transferFrom(bob, {Substrate: alice.address}, {Ethereum: receiver});883884 if(events.length == 0) await helper.wait.newBlocks(1);885 const event = events[0];886887 expect(event.address).to.be.equal(collectionAddress);888 expect(event.returnValues.from).to.be.equal(helper.address.substrateToEth(alice.address));889 expect(event.returnValues.to).to.be.equal(receiver);890 expect(event.returnValues.tokenId).to.be.equal(`${token.tokenId}`);891 });892893 itEth('Events emitted for transfer()', async ({helper}) => {894 const receiver = helper.eth.createAccount();895896 const collection = await helper.nft.mintCollection(alice, {});897 const token = await collection.mintToken(alice);898899 const collectionAddress = helper.ethAddress.fromCollectionId(collection.collectionId);900 const contract = await helper.ethNativeContract.collection(collectionAddress, 'nft');901902 const events: any = [];903 contract.events.allEvents((_: any, event: any) => {904 events.push(event);905 });906907 await token.transfer(alice, {Ethereum: receiver});908909 if(events.length == 0) await helper.wait.newBlocks(1);910 const event = events[0];911912 expect(event.address).to.be.equal(collectionAddress);913 expect(event.returnValues.from).to.be.equal(helper.address.substrateToEth(alice.address));914 expect(event.returnValues.to).to.be.equal(receiver);915 expect(event.returnValues.tokenId).to.be.equal(`${token.tokenId}`);916 });917});918919describe('Common metadata', () => {920 let donor: IKeyringPair;921 let alice: IKeyringPair;922923 before(async function() {924 await usingEthPlaygrounds(async (helper, privateKey) => {925 donor = await privateKey({url: import.meta.url});926 [alice] = await helper.arrange.createAccounts([20n], donor);927 });928 });929930 itEth('Returns collection name', async ({helper}) => {931 // FIXME: should not have balance to use .call()932 const caller = await helper.eth.createAccountWithBalance(donor);933 const tokenPropertyPermissions = [{934 key: 'URI',935 permission: {936 mutable: true,937 collectionAdmin: true,938 tokenOwner: false,939 },940 }];941 const collection = await helper.nft.mintCollection(942 alice,943 {944 name: 'oh River',945 tokenPrefix: 'CHANGE',946 properties: [{key: 'ERC721Metadata', value: '1'}],947 tokenPropertyPermissions,948 },949 );950951 const contract = await helper.ethNativeContract.collectionById(collection.collectionId, 'nft', caller);952 const name = await contract.methods.name().call();953 expect(name).to.equal('oh River');954 });955956 itEth('Returns symbol name', async ({helper}) => {957 const caller = await helper.eth.createAccountWithBalance(donor);958 const tokenPropertyPermissions = [{959 key: 'URI',960 permission: {961 mutable: true,962 collectionAdmin: true,963 tokenOwner: false,964 },965 }];966 const collection = await helper.nft.mintCollection(967 alice,968 {969 name: 'oh River',970 tokenPrefix: 'CHANGE',971 properties: [{key: 'ERC721Metadata', value: '1'}],972 tokenPropertyPermissions,973 },974 );975976 const contract = await helper.ethNativeContract.collectionById(collection.collectionId, 'nft', caller);977 const symbol = await contract.methods.symbol().call();978 expect(symbol).to.equal('CHANGE');979 });980});981982describe('Negative tests', () => {983 let donor: IKeyringPair;984 let minter: IKeyringPair;985 let alice: IKeyringPair;986987 before(async function() {988 await usingEthPlaygrounds(async (helper, privateKey) => {989 donor = await privateKey({url: import.meta.url});990 [minter, alice] = await helper.arrange.createAccounts([100n, 100n], donor);991 });992 });993994 itEth('[negative] Cant perform burn without approval', async ({helper}) => {995 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});996997 const owner = await helper.eth.createAccountWithBalance(donor);998 const spender = await helper.eth.createAccountWithBalance(donor);9991000 const token = await collection.mintToken(minter, {Ethereum: owner});10011002 const address = helper.ethAddress.fromCollectionId(collection.collectionId);1003 const contract = await helper.ethNativeContract.collection(address, 'nft');10041005 const ownerCross = helper.ethCrossAccount.fromAddress(owner);1006 await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;10071008 await contract.methods.setApprovalForAll(spender, true).send({from: owner});1009 await contract.methods.setApprovalForAll(spender, false).send({from: owner});10101011 await expect(contract.methods.burnFromCross(ownerCross, token.tokenId).send({from: spender})).to.be.rejected;1012 });10131014 itEth('[negative] Cant perform transfer without approval', async ({helper}) => {1015 const collection = await helper.nft.mintCollection(minter, {name: 'A', description: 'B', tokenPrefix: 'C'});1016 const receiver = alice;10171018 const owner = await helper.eth.createAccountWithBalance(donor);1019 const spender = await helper.eth.createAccountWithBalance(donor);10201021 const token = await collection.mintToken(minter, {Ethereum: owner});10221023 const address = helper.ethAddress.fromCollectionId(collection.collectionId);1024 const contract = await helper.ethNativeContract.collection(address, 'nft');10251026 const ownerCross = helper.ethCrossAccount.fromAddress(owner);1027 const recieverCross = helper.ethCrossAccount.fromKeyringPair(receiver);10281029 await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;10301031 await contract.methods.setApprovalForAll(spender, true).send({from: owner});1032 await contract.methods.setApprovalForAll(spender, false).send({from: owner});10331034 await expect(contract.methods.transferFromCross(ownerCross, recieverCross, token.tokenId).send({from: spender})).to.be.rejected;1035 });1036});tests/src/eth/reFungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/reFungible.test.ts
+++ b/tests/src/eth/reFungible.test.ts
@@ -679,8 +679,7 @@
});
itEth('Returns collection name', async ({helper}) => {
- // FIXME: should not have balance to use .call()
- const caller = await helper.eth.createAccountWithBalance(alice);
+ const caller = helper.eth.createAccount();
const tokenPropertyPermissions = [{
key: 'URI',
permission: {
tests/src/eth/tokenProperties.test.tsdiffbeforeafterboth--- a/tests/src/eth/tokenProperties.test.ts
+++ b/tests/src/eth/tokenProperties.test.ts
@@ -315,8 +315,7 @@
}));
itEth('Can be read', async({helper}) => {
- // FIXME: User with no balance should be able to call
- const caller = await helper.eth.createAccountWithBalance(alice);
+ const caller = helper.eth.createAccount();
const collection = await helper.nft.mintCollection(alice, {
tokenPropertyPermissions: [{
key: 'testKey',