difftreelog
Merge branch 'develop' into feature/CORE-167
in: master
50 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -14,27 +14,27 @@
[[package]]
name = "addr2line"
-version = "0.15.2"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7a2e47a1fbe209ee101dd6d61285226744c6c8d3c21c8dc878ba6cb9f467f3a"
+checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7"
dependencies = [
- "gimli 0.24.0",
+ "gimli 0.23.0",
]
[[package]]
name = "addr2line"
-version = "0.16.0"
+version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd"
+checksum = "03345e98af8f3d786b6d9f656ccfa6ac316d954e92bc4841f0bba20789d5fb5a"
dependencies = [
- "gimli 0.25.0",
+ "gimli 0.24.0",
]
[[package]]
name = "adler"
-version = "1.0.2"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
+checksum = "ccc9a9dd069569f212bc4330af9f17c4afb5e8ce185e83dbb14f1349dda18b10"
[[package]]
name = "aead"
@@ -47,9 +47,9 @@
[[package]]
name = "aes"
-version = "0.5.0"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd2bc6d3f370b5666245ff421e231cba4353df936e26986d2918e61a8fd6aef6"
+checksum = "f7001367fde4c768a19d1029f0a8be5abd9308e1119846d5bd9ad26297b8faf5"
dependencies = [
"aes-soft",
"aesni",
@@ -58,43 +58,43 @@
[[package]]
name = "aes-gcm"
-version = "0.7.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0301c9e9c443494d970a07885e8cf3e587bae8356a1d5abd0999068413f7205f"
+checksum = "86f5007801316299f922a6198d1d09a0bae95786815d066d5880d13f7c45ead1"
dependencies = [
"aead",
"aes",
"block-cipher",
"ghash",
- "subtle 2.4.1",
+ "subtle 2.2.3",
]
[[package]]
name = "aes-soft"
-version = "0.5.0"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63dd91889c49327ad7ef3b500fd1109dbd3c509a03db0d4a9ce413b79f575cb6"
+checksum = "4925647ee64e5056cf231608957ce7c81e12d6d6e316b9ce1404778cc1d35fa7"
dependencies = [
"block-cipher",
"byteorder",
- "opaque-debug 0.3.0",
+ "opaque-debug 0.2.3",
]
[[package]]
name = "aesni"
-version = "0.8.0"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a6fe808308bb07d393e2ea47780043ec47683fcf19cf5efc8ca51c50cc8c68a"
+checksum = "d050d39b0b7688b3a3254394c3e30a9d66c41dcf9b05b0e2dbdc623f6505d264"
dependencies = [
"block-cipher",
- "opaque-debug 0.3.0",
+ "opaque-debug 0.2.3",
]
[[package]]
name = "ahash"
-version = "0.4.7"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e"
+checksum = "f6789e291be47ace86a60303502173d84af8327e3627ecf334356ee0f87a164c"
[[package]]
name = "ahash"
@@ -102,16 +102,16 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98"
dependencies = [
- "getrandom 0.2.3",
+ "getrandom 0.2.1",
"once_cell",
"version_check",
]
[[package]]
name = "aho-corasick"
-version = "0.7.18"
+version = "0.7.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
+checksum = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86"
dependencies = [
"memchr",
]
@@ -142,9 +142,9 @@
[[package]]
name = "anyhow"
-version = "1.0.42"
+version = "1.0.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "595d3cfa7a60d4555cb5067b99f07142a08ea778de5cf993f7b75c7d8fabc486"
+checksum = "81cddc5f91628367664cc7c69714ff08deee8a3efc54623011c772544d7b2767"
[[package]]
name = "approx"
@@ -178,9 +178,9 @@
[[package]]
name = "arrayvec"
-version = "0.7.1"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd"
+checksum = "5a2f58b0bb10c380af2b26e57212856b8c9a59e0925b4c20f4a174a49734eaf7"
[[package]]
name = "asn1_der"
@@ -206,9 +206,9 @@
[[package]]
name = "async-channel"
-version = "1.6.1"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2114d64672151c0c5eaa5e131ec84a74f06e1e559830dabba01ca30605d66319"
+checksum = "59740d83946db6a5af71ae25ddf9562c2b176b2ca42cf99a455f09f4a220d6b9"
dependencies = [
"concurrent-queue",
"event-listener",
@@ -247,19 +247,20 @@
[[package]]
name = "async-io"
-version = "1.6.0"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a811e6a479f2439f0c04038796b5cfb3d2ad56c230e0f2d3f7b04d68cfee607b"
+checksum = "9315f8f07556761c3e48fec2e6b276004acf426e6dc068b2c2251854d65ee0fd"
dependencies = [
"concurrent-queue",
+ "fastrand",
"futures-lite",
"libc",
"log",
+ "nb-connect",
"once_cell",
"parking",
"polling",
- "slab",
- "socket2 0.4.0",
+ "vec-arena",
"waker-fn",
"winapi 0.3.9",
]
@@ -311,7 +312,7 @@
"async-io",
"async-lock",
"async-process",
- "crossbeam-utils 0.8.5",
+ "crossbeam-utils 0.8.1",
"futures-channel",
"futures-core",
"futures-io",
@@ -322,7 +323,7 @@
"memchr",
"num_cpus",
"once_cell",
- "pin-project-lite 0.2.7",
+ "pin-project-lite 0.2.4",
"pin-utils",
"slab",
"wasm-bindgen-futures",
@@ -330,9 +331,9 @@
[[package]]
name = "async-std-resolver"
-version = "0.20.3"
+version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed4e2c3da14d8ad45acb1e3191db7a918e9505b6f155b218e70a7c9a1a48c638"
+checksum = "f665c56111e244fe38e7708ee10948a4356ad6a548997c21f5a63a0f4e0edc4d"
dependencies = [
"async-std",
"async-trait",
@@ -369,7 +370,7 @@
"futures-sink",
"futures-util",
"memchr",
- "pin-project-lite 0.2.7",
+ "pin-project-lite 0.2.4",
]
[[package]]
@@ -382,7 +383,7 @@
"futures-sink",
"futures-util",
"memchr",
- "pin-project-lite 0.2.7",
+ "pin-project-lite 0.2.4",
]
[[package]]
@@ -413,26 +414,38 @@
[[package]]
name = "autocfg"
-version = "1.0.1"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
[[package]]
name = "backtrace"
-version = "0.3.61"
+version = "0.3.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7a905d892734eea339e896738c14b9afce22b5318f64b951e70bf3844419b01"
+checksum = "9d117600f438b1707d4e4ae15d3595657288f8235a0eb593e80ecc98ab34e1bc"
dependencies = [
- "addr2line 0.16.0",
- "cc",
+ "addr2line 0.14.1",
"cfg-if 1.0.0",
"libc",
"miniz_oxide",
- "object 0.26.0",
+ "object 0.23.0",
"rustc-demangle",
]
[[package]]
+name = "bae"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec107f431ee3d8a8e45e6dd117adab769556ef463959e77bf6a4888d5fd500cf"
+dependencies = [
+ "heck",
+ "proc-macro-error 0.4.12",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "base-x"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -446,6 +459,12 @@
[[package]]
name = "base64"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7"
+
+[[package]]
+name = "base64"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
@@ -458,9 +477,9 @@
[[package]]
name = "beef"
-version = "0.5.1"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bed554bd50246729a1ec158d08aa3235d1b69d94ad120ebe187e28894787e736"
+checksum = "6736e2428df2ca2848d846c43e88745121a6654696e349ce0054a420815a7409"
dependencies = [
"serde",
]
@@ -468,9 +487,10 @@
[[package]]
name = "beefy-gadget"
version = "0.1.0"
-source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.8#55ae3329847e0bbde51c9d45991d99f444777555"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.9#f40c0ab7b327e874d5c8d699bfa5d762f1759ee0"
dependencies = [
"beefy-primitives",
+ "fnv",
"futures 0.3.16",
"hex",
"log",
@@ -491,12 +511,13 @@
"sp-utils",
"substrate-prometheus-endpoint",
"thiserror",
+ "wasm-timer",
]
[[package]]
name = "beefy-gadget-rpc"
version = "0.1.0"
-source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.8#55ae3329847e0bbde51c9d45991d99f444777555"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.9#f40c0ab7b327e874d5c8d699bfa5d762f1759ee0"
dependencies = [
"beefy-gadget",
"beefy-primitives",
@@ -515,9 +536,14 @@
]
[[package]]
+name = "beefy-merkle-tree"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.9#f40c0ab7b327e874d5c8d699bfa5d762f1759ee0"
+
+[[package]]
name = "beefy-primitives"
version = "0.1.0"
-source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.8#55ae3329847e0bbde51c9d45991d99f444777555"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.9#f40c0ab7b327e874d5c8d699bfa5d762f1759ee0"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -529,10 +555,11 @@
[[package]]
name = "bincode"
-version = "1.3.3"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
+checksum = "f30d3a39baa26f9651f17b375061f3233dde33424a8b72b0dbe93a68a0bc896d"
dependencies = [
+ "byteorder",
"serde",
]
@@ -575,9 +602,9 @@
[[package]]
name = "bitvec"
-version = "0.20.4"
+version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7774144344a4faa177370406a7ff5f1da24303817368584c6206c8303eb07848"
+checksum = "f5011ffc90248764d7005b0e10c7294f5aa1bd87d9dd7248f4ad475b347c294d"
dependencies = [
"funty",
"radium 0.6.2",
@@ -587,13 +614,15 @@
[[package]]
name = "blake2"
-version = "0.9.1"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10a5720225ef5daecf08657f23791354e1685a8c91a4c60c7f3d3b2892f978f4"
+checksum = "84ce5b6108f8e154604bd4eb76a2f726066c3464d5a552a4229262a18c9bb471"
dependencies = [
+ "byte-tools",
+ "byteorder",
"crypto-mac 0.8.0",
"digest 0.9.0",
- "opaque-debug 0.3.0",
+ "opaque-debug 0.2.3",
]
[[package]]
@@ -608,9 +637,9 @@
[[package]]
name = "blake2b_simd"
-version = "0.5.11"
+version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
+checksum = "d8fb2d74254a3a0b5cac33ac9f8ed0e44aa50378d9dbb2e5d83bd21ed1dc2c8a"
dependencies = [
"arrayref",
"arrayvec 0.5.2",
@@ -630,9 +659,9 @@
[[package]]
name = "blake3"
-version = "0.3.8"
+version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b64485778c4f16a6a5a9d335e80d449ac6c70cdd6a06d2af18a6f6f775a125b3"
+checksum = "e9ff35b701f3914bdb8fad3368d822c766ef2858b2583198e41639b936f09d3f"
dependencies = [
"arrayref",
"arrayvec 0.5.2",
@@ -652,7 +681,7 @@
"block-padding 0.1.5",
"byte-tools",
"byteorder",
- "generic-array 0.12.4",
+ "generic-array 0.12.3",
]
[[package]]
@@ -667,9 +696,9 @@
[[package]]
name = "block-cipher"
-version = "0.8.0"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f337a3e6da609650eb74e02bc9fac7b735049f7623ab12f2e4c719316fcc7e80"
+checksum = "fa136449e765dc7faa244561ccae839c394048667929af599b5d931ebe7b7f10"
dependencies = [
"generic-array 0.14.4",
]
@@ -706,7 +735,7 @@
[[package]]
name = "bp-header-chain"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"finality-grandpa",
"frame-support",
@@ -719,15 +748,26 @@
]
[[package]]
+name = "bp-message-dispatch"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "bp-runtime",
+ "frame-support",
+ "parity-scale-codec",
+ "sp-std",
+]
+
+[[package]]
name = "bp-messages"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"bp-runtime",
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
"serde",
"sp-std",
@@ -736,7 +776,7 @@
[[package]]
name = "bp-polkadot-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"bp-messages",
"bp-runtime",
@@ -751,9 +791,24 @@
]
[[package]]
+name = "bp-rialto"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "bp-messages",
+ "bp-runtime",
+ "frame-support",
+ "frame-system",
+ "sp-api",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "bp-rococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -770,7 +825,7 @@
[[package]]
name = "bp-runtime"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"frame-support",
"hash-db",
@@ -787,7 +842,7 @@
[[package]]
name = "bp-test-utils"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"bp-header-chain",
"ed25519-dalek",
@@ -802,7 +857,7 @@
[[package]]
name = "bp-wococo"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"bp-messages",
"bp-polkadot-core",
@@ -815,6 +870,28 @@
]
[[package]]
+name = "bridge-runtime-common"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "bp-message-dispatch",
+ "bp-messages",
+ "bp-runtime",
+ "frame-support",
+ "hash-db",
+ "pallet-bridge-dispatch",
+ "pallet-bridge-grandpa",
+ "pallet-bridge-messages",
+ "pallet-transaction-payment",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-runtime",
+ "sp-state-machine",
+ "sp-std",
+ "sp-trie",
+]
+
+[[package]]
name = "bs58"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -822,9 +899,9 @@
[[package]]
name = "bstr"
-version = "0.2.16"
+version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279"
+checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931"
dependencies = [
"memchr",
]
@@ -840,9 +917,9 @@
[[package]]
name = "bumpalo"
-version = "3.7.0"
+version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c59e7af012c713f529e7a3ee57ce9b31ddd858d4b512923602f74608b009631"
+checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820"
[[package]]
name = "byte-slice-cast"
@@ -858,9 +935,9 @@
[[package]]
name = "byteorder"
-version = "1.4.3"
+version = "1.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
+checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
[[package]]
name = "bytes"
@@ -938,9 +1015,9 @@
[[package]]
name = "cc"
-version = "1.0.69"
+version = "1.0.67"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
+checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd"
dependencies = [
"jobserver",
]
@@ -974,9 +1051,9 @@
[[package]]
name = "chacha20"
-version = "0.5.0"
+version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "244fbce0d47e97e8ef2f63b81d5e05882cb518c68531eb33194990d7b7e85845"
+checksum = "086c0f07ac275808b7bf9a39f2fd013aae1498be83632814c8c4e0bd53f2dc58"
dependencies = [
"stream-cipher",
"zeroize",
@@ -984,9 +1061,9 @@
[[package]]
name = "chacha20poly1305"
-version = "0.6.0"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bf18d374d66df0c05cdddd528a7db98f78c28e2519b120855c4f84c5027b1f5"
+checksum = "18b0c90556d8e3fec7cf18d84a2f53d27b21288f2fe481b830fadcf809e48205"
dependencies = [
"aead",
"chacha20",
@@ -1010,9 +1087,9 @@
[[package]]
name = "cid"
-version = "0.6.1"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff0e3bc0b6446b3f9663c1a6aba6ef06c5aeaa1bc92bd18077be337198ab9768"
+checksum = "7d88f30b1e74e7063df5711496f3ee6e74a9735d62062242d70cddf77717f18e"
dependencies = [
"multibase",
"multihash",
@@ -1073,6 +1150,15 @@
]
[[package]]
+name = "cloudabi"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4344512281c643ae7638bbabc3af17a11307803ec8f0fcad9fae512a8bf36467"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
name = "concurrent-queue"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1127,27 +1213,28 @@
[[package]]
name = "cpp_demangle"
-version = "0.3.3"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ea47428dc9d2237f3c6bc134472edfd63ebba0af932e783506dcfd66f10d18a"
+checksum = "44919ecaf6f99e8e737bc239408931c9a01e9a6c74814fee8242dd2506b65390"
dependencies = [
"cfg-if 1.0.0",
+ "glob",
]
[[package]]
name = "cpufeatures"
-version = "0.1.5"
+version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef"
+checksum = "ed00c67cb5d0a7d64a44f6ad2668db7e7530311dd53ea79bcd4fb022c64911c8"
dependencies = [
"libc",
]
[[package]]
name = "cpuid-bool"
-version = "0.2.0"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba"
+checksum = "6d375c433320f6c5057ae04a04376eef4d04ce2801448cf8863a78da99107be4"
[[package]]
name = "cranelift-bforest"
@@ -1235,7 +1322,7 @@
"cranelift-codegen",
"cranelift-entity",
"cranelift-frontend",
- "itertools 0.10.1",
+ "itertools 0.10.0",
"log",
"serde",
"smallvec 1.6.1",
@@ -1245,46 +1332,25 @@
[[package]]
name = "crc32fast"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
-dependencies = [
- "cfg-if 1.0.0",
-]
-
-[[package]]
-name = "crossbeam-channel"
-version = "0.5.1"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
+checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"
dependencies = [
- "cfg-if 1.0.0",
- "crossbeam-utils 0.8.5",
+ "cfg-if 0.1.10",
]
[[package]]
name = "crossbeam-deque"
-version = "0.7.3"
+version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f02af974daeee82218205558e51ec8768b48cf524bd01d550abe5573a608285"
+checksum = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed"
dependencies = [
- "crossbeam-epoch 0.8.2",
+ "crossbeam-epoch",
"crossbeam-utils 0.7.2",
"maybe-uninit",
]
[[package]]
-name = "crossbeam-deque"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94af6efb46fef72616855b036a624cf27ba656ffc9be1b9a3c931cfc7749a9a9"
-dependencies = [
- "cfg-if 1.0.0",
- "crossbeam-epoch 0.9.5",
- "crossbeam-utils 0.8.5",
-]
-
-[[package]]
name = "crossbeam-epoch"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1295,20 +1361,7 @@
"crossbeam-utils 0.7.2",
"lazy_static",
"maybe-uninit",
- "memoffset 0.5.6",
- "scopeguard",
-]
-
-[[package]]
-name = "crossbeam-epoch"
-version = "0.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd"
-dependencies = [
- "cfg-if 1.0.0",
- "crossbeam-utils 0.8.5",
- "lazy_static",
- "memoffset 0.6.4",
+ "memoffset 0.5.5",
"scopeguard",
]
@@ -1336,10 +1389,11 @@
[[package]]
name = "crossbeam-utils"
-version = "0.8.5"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
+checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d"
dependencies = [
+ "autocfg",
"cfg-if 1.0.0",
"lazy_static",
]
@@ -1356,7 +1410,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5"
dependencies = [
- "generic-array 0.12.4",
+ "generic-array 0.12.3",
"subtle 1.0.0",
]
@@ -1367,7 +1421,7 @@
checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab"
dependencies = [
"generic-array 0.14.4",
- "subtle 2.4.1",
+ "subtle 2.2.3",
]
[[package]]
@@ -1381,9 +1435,9 @@
[[package]]
name = "ctor"
-version = "0.1.20"
+version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e98e2ad1a782e33928b96fc3948e7c355e5af34ba4de7670fe8bac2a3b2006d"
+checksum = "7fbaabec2c953050352311293be5c6aba8e141ba19d6811862b232d6fd020484"
dependencies = [
"quote",
"syn",
@@ -1403,7 +1457,7 @@
[[package]]
name = "cumulus-client-cli"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"sc-cli",
"sc-service",
@@ -1413,7 +1467,7 @@
[[package]]
name = "cumulus-client-collator"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-client-consensus-common",
"cumulus-client-network",
@@ -1437,7 +1491,7 @@
[[package]]
name = "cumulus-client-consensus-aura"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"async-trait",
"cumulus-client-consensus-common",
@@ -1447,6 +1501,7 @@
"parking_lot 0.10.2",
"polkadot-client",
"sc-client-api",
+ "sc-consensus",
"sc-consensus-aura",
"sc-consensus-slots",
"sc-telemetry",
@@ -1467,7 +1522,7 @@
[[package]]
name = "cumulus-client-consensus-common"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"async-trait",
"dyn-clone",
@@ -1476,6 +1531,7 @@
"polkadot-primitives",
"polkadot-runtime",
"sc-client-api",
+ "sc-consensus",
"sp-api",
"sp-block-builder",
"sp-blockchain",
@@ -1491,7 +1547,7 @@
[[package]]
name = "cumulus-client-network"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"derive_more",
"futures 0.3.16",
@@ -1515,7 +1571,7 @@
[[package]]
name = "cumulus-client-pov-recovery"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"futures 0.3.16",
@@ -1527,6 +1583,7 @@
"polkadot-primitives",
"rand 0.8.4",
"sc-client-api",
+ "sc-consensus",
"sp-api",
"sp-consensus",
"sp-core",
@@ -1538,7 +1595,7 @@
[[package]]
name = "cumulus-client-service"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-client-collator",
"cumulus-client-consensus-common",
@@ -1551,6 +1608,7 @@
"polkadot-service",
"sc-chain-spec",
"sc-client-api",
+ "sc-consensus",
"sc-consensus-babe",
"sc-service",
"sc-telemetry",
@@ -1566,7 +1624,7 @@
[[package]]
name = "cumulus-pallet-aura-ext"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"frame-executive",
"frame-support",
@@ -1583,7 +1641,7 @@
[[package]]
name = "cumulus-pallet-dmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1602,7 +1660,7 @@
[[package]]
name = "cumulus-pallet-parachain-system"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-pallet-parachain-system-proc-macro",
"cumulus-primitives-core",
@@ -1630,7 +1688,7 @@
[[package]]
name = "cumulus-pallet-parachain-system-proc-macro"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
@@ -1641,7 +1699,7 @@
[[package]]
name = "cumulus-pallet-xcm"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1657,7 +1715,7 @@
[[package]]
name = "cumulus-pallet-xcmp-queue"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -1675,10 +1733,10 @@
[[package]]
name = "cumulus-primitives-core"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"frame-support",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-parachain",
@@ -1693,7 +1751,7 @@
[[package]]
name = "cumulus-primitives-parachain-inherent"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"async-trait",
"cumulus-primitives-core",
@@ -1714,7 +1772,7 @@
[[package]]
name = "cumulus-primitives-timestamp"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"sp-inherents",
@@ -1725,11 +1783,11 @@
[[package]]
name = "cumulus-primitives-utility"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"frame-support",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-parachain",
@@ -1743,7 +1801,7 @@
[[package]]
name = "cumulus-test-relay-sproof-builder"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"parity-scale-codec",
@@ -1755,27 +1813,27 @@
[[package]]
name = "curve25519-dalek"
-version = "2.1.3"
+version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216"
+checksum = "5d85653f070353a16313d0046f173f70d1aadd5b42600a14de626f0dfb3473a5"
dependencies = [
"byteorder",
"digest 0.8.1",
"rand_core 0.5.1",
- "subtle 2.4.1",
+ "subtle 2.2.3",
"zeroize",
]
[[package]]
name = "curve25519-dalek"
-version = "3.1.0"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "639891fde0dbea823fc3d798a0fdf9d2f9440a42d64a78ab3488b0ca025117b3"
+checksum = "c8492de420e9e60bc9a1d66e2dbb91825390b738a388606600663fc529b4b307"
dependencies = [
"byteorder",
"digest 0.9.0",
"rand_core 0.5.1",
- "subtle 2.4.1",
+ "subtle 2.2.3",
"zeroize",
]
@@ -1822,9 +1880,9 @@
[[package]]
name = "data-encoding-macro"
-version = "0.1.12"
+version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca"
+checksum = "0a94feec3d2ba66c0b6621bca8bc6f68415b1e5c69af3586fdd0af9fd9f29b17"
dependencies = [
"data-encoding",
"data-encoding-macro-internal",
@@ -1832,9 +1890,9 @@
[[package]]
name = "data-encoding-macro-internal"
-version = "0.1.10"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db"
+checksum = "f0f83e699727abca3c56e187945f303389590305ab2f0185ea445aa66e8d5f2a"
dependencies = [
"data-encoding",
"syn",
@@ -1853,14 +1911,13 @@
[[package]]
name = "derive_more"
-version = "0.99.16"
+version = "0.99.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df"
+checksum = "5cc7b9cef1e351660e5443924e4f43ab25fbbed3e9a5f052df3677deb4d6b320"
dependencies = [
"convert_case",
"proc-macro2",
"quote",
- "rustc_version 0.3.3",
"syn",
]
@@ -1870,7 +1927,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
dependencies = [
- "generic-array 0.12.4",
+ "generic-array 0.12.3",
]
[[package]]
@@ -1884,9 +1941,9 @@
[[package]]
name = "directories"
-version = "3.0.2"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7"
+checksum = "f8fed639d60b58d0f53498ab13d26f621fd77569cc6edb031f4cc36a2ad9da0f"
dependencies = [
"dirs-sys",
]
@@ -1903,12 +1960,12 @@
[[package]]
name = "dirs-sys"
-version = "0.3.6"
+version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
+checksum = "8e93d7f5705de3e49895a2b5e0b8855a1c27f080192ae9c32a6432d50741a57a"
dependencies = [
"libc",
- "redox_users",
+ "redox_users 0.3.4",
"winapi 0.3.9",
]
@@ -1919,7 +1976,7 @@
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
dependencies = [
"libc",
- "redox_users",
+ "redox_users 0.4.0",
"winapi 0.3.9",
]
@@ -1968,9 +2025,9 @@
[[package]]
name = "ed25519"
-version = "1.2.0"
+version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4620d40f6d2601794401d6dd95a5cf69b6c157852539470eeda433a99b3c0efc"
+checksum = "bf038a7b6fd7ef78ad3348b63f3a17550877b0e28f8d68bcc94894d1412158bc"
dependencies = [
"signature",
]
@@ -1981,19 +2038,19 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d"
dependencies = [
- "curve25519-dalek 3.1.0",
+ "curve25519-dalek 3.0.0",
"ed25519",
"rand 0.7.3",
"serde",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"zeroize",
]
[[package]]
name = "either"
-version = "1.6.1"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
+checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
[[package]]
name = "enum-as-inner"
@@ -2058,7 +2115,7 @@
checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
dependencies = [
"atty",
- "humantime 2.1.0",
+ "humantime 2.0.1",
"log",
"regex",
"termcolor",
@@ -2072,18 +2129,18 @@
[[package]]
name = "erased-serde"
-version = "0.3.16"
+version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3de9ad4541d99dc22b59134e7ff8dc3d6c988c89ecd7324bf10a8362b07a2afa"
+checksum = "6ca8b296792113e1500fd935ae487be6e00ce318952a6880555554824d6ebf38"
dependencies = [
"serde",
]
[[package]]
name = "errno"
-version = "0.2.7"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa68f2fb9cae9d37c9b2b3584aba698a2e97f72d7aef7b9f7aa71d8b54ce46fe"
+checksum = "b480f641ccf0faf324e20c1d3e53d81b7484c698b42ea677f6907ae4db195371"
dependencies = [
"errno-dragonfly",
"libc",
@@ -2116,12 +2173,12 @@
[[package]]
name = "ethereum"
-version = "0.7.1"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "567ce064a8232c16e2b2c2173a936b91fbe35c2f2c5278871f5a1a31688b42e9"
+checksum = "4a67be3eaf296ef668733f54c637e84d0ca34eaf194f0077455135981ad464c3"
dependencies = [
+ "bytes 1.0.1",
"ethereum-types",
- "funty",
"hash-db",
"hash256-std-hasher",
"parity-scale-codec",
@@ -2134,16 +2191,16 @@
[[package]]
name = "ethereum-types"
-version = "0.11.0"
+version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f64b5df66a228d85e4b17e5d6c6aa43b0310898ffe8a85988c4c032357aaabfd"
+checksum = "0dd6bde671199089e601e8d47e153368b893ef885f11f365a3261ec58153c211"
dependencies = [
"ethbloom",
"fixed-hash",
"impl-codec",
"impl-rlp",
"impl-serde",
- "primitive-types",
+ "primitive-types 0.10.1",
"uint",
]
@@ -2155,8 +2212,8 @@
[[package]]
name = "evm"
-version = "0.27.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#e13990a627375f327ca7da3c85d9bdfa0a9e903b"
+version = "0.30.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#d126c98ab2606bdf1ec1ad90b6d59c024d000b29"
dependencies = [
"environmental",
"ethereum",
@@ -2165,7 +2222,7 @@
"evm-runtime",
"log",
"parity-scale-codec",
- "primitive-types",
+ "primitive-types 0.10.1",
"rlp",
"serde",
"sha3 0.8.2",
@@ -2180,8 +2237,8 @@
"evm-core",
"hex",
"hex-literal",
- "impl-trait-for-tuples",
- "primitive-types",
+ "impl-trait-for-tuples 0.2.1",
+ "primitive-types 0.10.1",
]
[[package]]
@@ -2199,34 +2256,34 @@
[[package]]
name = "evm-core"
-version = "0.27.1"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#e13990a627375f327ca7da3c85d9bdfa0a9e903b"
+version = "0.30.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#d126c98ab2606bdf1ec1ad90b6d59c024d000b29"
dependencies = [
"funty",
"parity-scale-codec",
- "primitive-types",
+ "primitive-types 0.10.1",
"serde",
]
[[package]]
name = "evm-gasometer"
-version = "0.27.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#e13990a627375f327ca7da3c85d9bdfa0a9e903b"
+version = "0.30.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#d126c98ab2606bdf1ec1ad90b6d59c024d000b29"
dependencies = [
"environmental",
"evm-core",
"evm-runtime",
- "primitive-types",
+ "primitive-types 0.10.1",
]
[[package]]
name = "evm-runtime"
-version = "0.27.0"
-source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#e13990a627375f327ca7da3c85d9bdfa0a9e903b"
+version = "0.30.0"
+source = "git+https://github.com/uniquenetwork/evm.git?branch=precompile-output-parachain#d126c98ab2606bdf1ec1ad90b6d59c024d000b29"
dependencies = [
"environmental",
"evm-core",
- "primitive-types",
+ "primitive-types 0.10.1",
"sha3 0.8.2",
]
@@ -2275,17 +2332,17 @@
[[package]]
name = "fastrand"
-version = "1.5.0"
+version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b394ed3d285a429378d3b384b9eb1285267e7df4b166df24b7a6939a04dc392e"
+checksum = "ca5faf057445ce5c9d4329e382b2ce7ca38550ef3b73a5348362d5f24e0c7fe3"
dependencies = [
"instant",
]
[[package]]
name = "fc-consensus"
-version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "2.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"async-trait",
"derive_more",
@@ -2296,6 +2353,8 @@
"log",
"parity-scale-codec",
"sc-client-api",
+ "sc-consensus",
+ "sc-transaction-pool-api",
"sp-api",
"sp-block-builder",
"sp-blockchain",
@@ -2309,11 +2368,13 @@
[[package]]
name = "fc-db"
-version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "2.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
+ "fp-storage",
"kvdb",
- "kvdb-rocksdb",
+ "kvdb-rocksdb 0.14.0",
+ "pallet-ethereum",
"parity-scale-codec",
"parking_lot 0.11.1",
"sp-core",
@@ -2324,7 +2385,7 @@
[[package]]
name = "fc-mapping-sync"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"fc-consensus",
"fc-db",
@@ -2342,7 +2403,7 @@
[[package]]
name = "fc-rpc"
version = "2.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2355,9 +2416,8 @@
"fp-rpc",
"fp-storage",
"futures 0.3.16",
+ "futures-util",
"jsonrpc-core 15.1.0",
- "jsonrpc-core-client 14.2.0",
- "jsonrpc-derive 14.2.2",
"jsonrpc-pubsub 15.1.0",
"libsecp256k1 0.3.5",
"log",
@@ -2371,6 +2431,7 @@
"sc-network",
"sc-rpc",
"sc-service",
+ "sc-transaction-pool-api",
"sha3 0.8.2",
"sp-api",
"sp-blockchain",
@@ -2383,7 +2444,7 @@
[[package]]
name = "fc-rpc-core"
version = "1.1.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"ethereum-types",
"jsonrpc-core 15.1.0",
@@ -2406,9 +2467,9 @@
[[package]]
name = "file-per-thread-logger"
-version = "0.1.4"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126"
+checksum = "8b3937f028664bd0e13df401ba49a4567ccda587420365823242977f06609ed1"
dependencies = [
"env_logger 0.7.1",
"log",
@@ -2449,11 +2510,11 @@
[[package]]
name = "flate2"
-version = "1.0.20"
+version = "1.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd3aec53de10fe96d7d8c565eb17f2c687bb5518a2ec453b5b1252964526abe0"
+checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e"
dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 0.1.10",
"crc32fast",
"libc",
"libz-sys",
@@ -2485,16 +2546,16 @@
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
]
[[package]]
name = "form_urlencoded"
-version = "1.0.1"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
+checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00"
dependencies = [
"matches",
"percent-encoding 2.1.0",
@@ -2502,8 +2563,8 @@
[[package]]
name = "fp-consensus"
-version = "1.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "2.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"ethereum",
"parity-scale-codec",
@@ -2516,11 +2577,11 @@
[[package]]
name = "fp-evm"
-version = "2.0.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "3.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"evm",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.1.3",
"parity-scale-codec",
"serde",
"sp-core",
@@ -2529,8 +2590,8 @@
[[package]]
name = "fp-rpc"
-version = "2.1.0"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "3.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"ethereum",
"ethereum-types",
@@ -2545,13 +2606,13 @@
[[package]]
name = "fp-storage"
-version = "1.0.1"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "2.0.0"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
[[package]]
name = "frame-benchmarking"
-version = "3.1.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -2569,13 +2630,16 @@
[[package]]
name = "frame-benchmarking-cli"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"Inflector",
"chrono",
"frame-benchmarking",
+ "frame-support",
"handlebars",
+ "linked-hash-map",
+ "log",
"parity-scale-codec",
"sc-cli",
"sc-client-db",
@@ -2592,8 +2656,8 @@
[[package]]
name = "frame-election-provider-support"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -2605,8 +2669,8 @@
[[package]]
name = "frame-executive"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -2620,8 +2684,8 @@
[[package]]
name = "frame-metadata"
-version = "13.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "14.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"serde",
@@ -2631,15 +2695,14 @@
[[package]]
name = "frame-support"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"bitflags",
"frame-metadata",
"frame-support-procedural",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
- "max-encoded-len",
"once_cell",
"parity-scale-codec",
"paste",
@@ -2658,8 +2721,8 @@
[[package]]
name = "frame-support-procedural"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"Inflector",
"frame-support-procedural-tools",
@@ -2670,8 +2733,8 @@
[[package]]
name = "frame-support-procedural-tools"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate 1.0.0",
@@ -2683,7 +2746,7 @@
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro2",
"quote",
@@ -2692,11 +2755,11 @@
[[package]]
name = "frame-system"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
"parity-scale-codec",
"serde",
@@ -2709,8 +2772,8 @@
[[package]]
name = "frame-system-benchmarking"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -2723,8 +2786,8 @@
[[package]]
name = "frame-system-rpc-runtime-api"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -2732,8 +2795,8 @@
[[package]]
name = "frame-try-runtime"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"parity-scale-codec",
@@ -2744,9 +2807,9 @@
[[package]]
name = "fs-err"
-version = "2.6.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0"
+checksum = "bcd1163ae48bda72a20ae26d66a04d3094135cadab911cff418ae5e33f253431"
[[package]]
name = "fs-swap"
@@ -2800,9 +2863,9 @@
[[package]]
name = "futures"
-version = "0.1.31"
+version = "0.1.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
+checksum = "1b980f2816d6ee8673b6517b52cb0e808a180efc92e5c19d02cdda79066703ef"
[[package]]
name = "futures"
@@ -2841,7 +2904,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
"num_cpus",
]
@@ -2865,16 +2928,16 @@
[[package]]
name = "futures-lite"
-version = "1.12.0"
+version = "1.11.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7694489acd39452c77daa48516b894c153f192c3578d5a839b62c58099fcbf48"
+checksum = "b4481d0cd0de1d204a4fa55e7d45f07b1d958abcb06714b3446438e2eff695fb"
dependencies = [
"fastrand",
"futures-core",
"futures-io",
"memchr",
"parking",
- "pin-project-lite 0.2.7",
+ "pin-project-lite 0.2.4",
"waker-fn",
]
@@ -2933,7 +2996,7 @@
checksum = "67eb846bfd58e44a8481a00049e82c43e0ccb5d61f8dc071057cb19249dd4d78"
dependencies = [
"autocfg",
- "futures 0.1.31",
+ "futures 0.1.29",
"futures-channel",
"futures-core",
"futures-io",
@@ -2941,7 +3004,7 @@
"futures-sink",
"futures-task",
"memchr",
- "pin-project-lite 0.2.7",
+ "pin-project-lite 0.2.4",
"pin-utils",
"proc-macro-hack",
"proc-macro-nested",
@@ -2955,10 +3018,23 @@
checksum = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2"
[[package]]
+name = "generator"
+version = "0.6.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8cdc09201b2e8ca1b19290cf7e65de2246b8e91fb6874279722189c4de7b94dc"
+dependencies = [
+ "cc",
+ "libc",
+ "log",
+ "rustc_version",
+ "winapi 0.3.9",
+]
+
+[[package]]
name = "generic-array"
-version = "0.12.4"
+version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
+checksum = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec"
dependencies = [
"typenum",
]
@@ -2975,20 +3051,20 @@
[[package]]
name = "getrandom"
-version = "0.1.16"
+version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
+checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 0.1.10",
"libc",
"wasi 0.9.0+wasi-snapshot-preview1",
]
[[package]]
name = "getrandom"
-version = "0.2.3"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
+checksum = "4060f4657be78b8e766215b02b18a2e862d83745545de804638e2b545e81aee6"
dependencies = [
"cfg-if 1.0.0",
"libc",
@@ -2997,16 +3073,21 @@
[[package]]
name = "ghash"
-version = "0.3.1"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375"
+checksum = "d6e27f0689a6e15944bdce7e45425efb87eaa8ab0c6e87f11d0987a9133e2531"
dependencies = [
- "opaque-debug 0.3.0",
"polyval",
]
[[package]]
name = "gimli"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
+
+[[package]]
+name = "gimli"
version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e4075386626662786ddb0ec9081e7c7eeb1ba31951f447ca780ef9f5d568189"
@@ -3015,12 +3096,6 @@
"indexmap",
"stable_deref_trait",
]
-
-[[package]]
-name = "gimli"
-version = "0.25.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7"
[[package]]
name = "glob"
@@ -3030,9 +3105,9 @@
[[package]]
name = "globset"
-version = "0.4.8"
+version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd"
+checksum = "7ad1da430bd7281dde2576f44c84cc3f0f7b475e7202cd503042dff01a8c8120"
dependencies = [
"aho-corasick",
"bstr",
@@ -3063,7 +3138,7 @@
"byteorder",
"bytes 0.4.12",
"fnv",
- "futures 0.1.31",
+ "futures 0.1.29",
"http 0.1.21",
"indexmap",
"log",
@@ -3074,34 +3149,33 @@
[[package]]
name = "h2"
-version = "0.2.7"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535"
+checksum = "79b7246d7e4b979c03fa093da39cfb3617a96bbeee6310af63991668d7e843ff"
dependencies = [
"bytes 0.5.6",
"fnv",
"futures-core",
"futures-sink",
"futures-util",
- "http 0.2.4",
+ "http 0.2.1",
"indexmap",
+ "log",
"slab",
- "tokio 0.2.25",
+ "tokio 0.2.21",
"tokio-util",
- "tracing",
- "tracing-futures",
]
[[package]]
name = "handlebars"
-version = "3.5.5"
+version = "3.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4498fc115fa7d34de968184e473529abb40eeb6be8bc5f7faba3d08c316cb3e3"
+checksum = "2764f9796c0ddca4b82c07f25dd2cb3db30b9a8f47940e78e1c883d9e95c3db9"
dependencies = [
"log",
"pest",
"pest_derive",
- "quick-error 2.0.1",
+ "quick-error 2.0.0",
"serde",
"serde_json",
]
@@ -3127,7 +3201,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
dependencies = [
- "ahash 0.4.7",
+ "ahash 0.4.6",
]
[[package]]
@@ -3141,18 +3215,18 @@
[[package]]
name = "heck"
-version = "0.3.3"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
+checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
dependencies = [
"unicode-segmentation",
]
[[package]]
name = "hermit-abi"
-version = "0.1.19"
+version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
+checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
dependencies = [
"libc",
]
@@ -3165,9 +3239,9 @@
[[package]]
name = "hex-literal"
-version = "0.3.3"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21e4590e13640f19f249fe3e4eca5113bc4289f2497710378190e7f4bd96f45b"
+checksum = "5af1f635ef1bc545d78392b136bfe1c9809e029023c84a3638a864a10b8819c8"
[[package]]
name = "hex_fmt"
@@ -3202,7 +3276,7 @@
checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b"
dependencies = [
"digest 0.8.1",
- "generic-array 0.12.4",
+ "generic-array 0.12.3",
"hmac 0.7.1",
]
@@ -3241,11 +3315,11 @@
[[package]]
name = "http"
-version = "0.2.4"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "527e8c9ac747e28542699a951517aa9a6945af506cd1f2e1b53a576c17b6cc11"
+checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9"
dependencies = [
- "bytes 1.0.1",
+ "bytes 0.5.6",
"fnv",
"itoa",
]
@@ -3257,7 +3331,7 @@
checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"http 0.1.21",
"tokio-buf",
]
@@ -3269,7 +3343,7 @@
checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b"
dependencies = [
"bytes 0.5.6",
- "http 0.2.4",
+ "http 0.2.1",
]
[[package]]
@@ -3279,27 +3353,21 @@
checksum = "60daa14be0e0786db0f03a9e57cb404c9d756eed2b6c62b9ea98ec5743ec75a9"
dependencies = [
"bytes 1.0.1",
- "http 0.2.4",
- "pin-project-lite 0.2.7",
+ "http 0.2.1",
+ "pin-project-lite 0.2.4",
]
[[package]]
name = "httparse"
-version = "1.4.1"
+version = "1.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68"
+checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
[[package]]
name = "httpdate"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47"
-
-[[package]]
-name = "httpdate"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6456b8a6c8f33fee7d958fcd1b60d55b11940a79e63ae87013e6d22e26034440"
[[package]]
name = "humantime"
@@ -3312,18 +3380,18 @@
[[package]]
name = "humantime"
-version = "2.1.0"
+version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
[[package]]
name = "hyper"
-version = "0.12.36"
+version = "0.12.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52"
+checksum = "9dbe6ed1438e1f8ad955a4701e9a944938e9519f6888d12d8558b645e247d5f6"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"futures-cpupool",
"h2 0.1.26",
"http 0.1.21",
@@ -3333,7 +3401,7 @@
"itoa",
"log",
"net2",
- "rustc_version 0.2.3",
+ "rustc_version",
"time",
"tokio 0.1.22",
"tokio-buf",
@@ -3348,23 +3416,23 @@
[[package]]
name = "hyper"
-version = "0.13.10"
+version = "0.13.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb"
+checksum = "f6ad767baac13b44d4529fcf58ba2cd0995e36e7b435bc5b039de6f47e880dbf"
dependencies = [
"bytes 0.5.6",
"futures-channel",
"futures-core",
"futures-util",
- "h2 0.2.7",
- "http 0.2.4",
+ "h2 0.2.5",
+ "http 0.2.1",
"http-body 0.3.1",
"httparse",
- "httpdate 0.3.2",
+ "httpdate",
"itoa",
- "pin-project 1.0.8",
- "socket2 0.3.19",
- "tokio 0.2.25",
+ "pin-project 1.0.7",
+ "socket2 0.3.17",
+ "tokio 0.2.21",
"tower-service",
"tracing",
"want 0.3.0",
@@ -3372,21 +3440,21 @@
[[package]]
name = "hyper"
-version = "0.14.11"
+version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11"
+checksum = "8bf09f61b52cfcf4c00de50df88ae423d6c02354e385a86341133b5338630ad1"
dependencies = [
"bytes 1.0.1",
"futures-channel",
"futures-core",
"futures-util",
- "http 0.2.4",
+ "http 0.2.1",
"http-body 0.4.2",
"httparse",
- "httpdate 1.0.1",
+ "httpdate",
"itoa",
- "pin-project-lite 0.2.7",
- "tokio 1.9.0",
+ "pin-project 1.0.7",
+ "tokio 1.6.1",
"tower-service",
"tracing",
"want 0.3.0",
@@ -3401,12 +3469,12 @@
"bytes 0.5.6",
"ct-logs",
"futures-util",
- "hyper 0.13.10",
+ "hyper 0.13.9",
"log",
- "rustls 0.18.1",
+ "rustls 0.18.0",
"rustls-native-certs 0.4.0",
- "tokio 0.2.25",
- "tokio-rustls 0.14.1",
+ "tokio 0.2.21",
+ "tokio-rustls 0.14.0",
"webpki",
]
@@ -3429,9 +3497,9 @@
[[package]]
name = "idna"
-version = "0.2.3"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8"
+checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
dependencies = [
"matches",
"unicode-bidi",
@@ -3461,9 +3529,9 @@
[[package]]
name = "if-watch"
-version = "0.2.2"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae8ab7f67bad3240049cb24fb9cb0b4c2c6af4c245840917fbbdededeee91179"
+checksum = "6a6d52908d4ea4ab2bc22474ba149bf1011c8e2c3ebc1ff593ae28ac44f494b6"
dependencies = [
"async-io",
"futures 0.3.16",
@@ -3504,6 +3572,17 @@
[[package]]
name = "impl-trait-for-tuples"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ef5550a42e3740a0e71f909d4c861056a284060af885ae7aa6242820f920d9d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "impl-trait-for-tuples"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5dacb10c5b3bb92d46ba347505a9041e676bb20ad220101326bffb0c93031ee"
@@ -3526,27 +3605,21 @@
[[package]]
name = "instant"
-version = "0.1.10"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d"
-dependencies = [
- "cfg-if 1.0.0",
-]
+checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485"
[[package]]
name = "integer-encoding"
-version = "1.1.7"
+version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48dc51180a9b377fd75814d0cc02199c20f8e99433d6762f650d39cdbbd3b56f"
+checksum = "4f4ebd0bd29be0f11973e9b3e219005661042a019fd757798c36a47c87852625"
[[package]]
name = "integer-sqrt"
-version = "0.1.5"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770"
-dependencies = [
- "num-traits",
-]
+checksum = "f65877bf7d44897a473350b1046277941cee20b263397e90869c50b6e766088b"
[[package]]
name = "intervalier"
@@ -3579,7 +3652,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7e2f18aece9709094573a9f24f483c4f65caa4298e2f7ae1b71cc65d853fad7"
dependencies = [
- "socket2 0.3.19",
+ "socket2 0.3.17",
"widestring",
"winapi 0.3.9",
"winreg",
@@ -3587,9 +3660,9 @@
[[package]]
name = "ipnet"
-version = "2.3.1"
+version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68f2d64f2edebec4ce84ad108148e67e1064789bee435edc5b60ad398714a3a9"
+checksum = "47be2f14c678be2fdcab04ab1171db51b2762ce6f0a8ee87c8dd4a04ed216135"
[[package]]
name = "itertools"
@@ -3602,33 +3675,33 @@
[[package]]
name = "itertools"
-version = "0.10.1"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf"
+checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
dependencies = [
"either",
]
[[package]]
name = "itoa"
-version = "0.4.7"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
+checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6"
[[package]]
name = "jobserver"
-version = "0.1.22"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "972f5ae5d1cb9c6ae417789196c803205313edde988685da5e3aae0827b9e7fd"
+checksum = "5c71313ebb9439f74b00d9d2dcec36440beaf57a6aa0623068441dd7cd81a7f2"
dependencies = [
"libc",
]
[[package]]
name = "js-sys"
-version = "0.3.51"
+version = "0.3.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83bdfbace3a0e81a4253f73b49e960b053e396a11012cbd49b9b74d6a2b67062"
+checksum = "ce791b7ca6638aae45be056e068fc756d871eb3b3b10b8efa62d1c9cec616752"
dependencies = [
"wasm-bindgen",
]
@@ -3640,7 +3713,7 @@
checksum = "2773fa94a2a1fd51efb89a8f45b8861023dbb415d18d3c9235ae9388d780f9ec"
dependencies = [
"failure",
- "futures 0.1.31",
+ "futures 0.1.29",
"jsonrpc-core 14.2.0",
"jsonrpc-pubsub 14.2.0",
"log",
@@ -3656,7 +3729,7 @@
checksum = "489b9c612e60c766f751ab40fcb43cbb55a1e10bb44a9b4307ed510ca598cbd7"
dependencies = [
"failure",
- "futures 0.1.31",
+ "futures 0.1.29",
"jsonrpc-core 15.1.0",
"jsonrpc-pubsub 15.1.0",
"log",
@@ -3671,7 +3744,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0747307121ffb9703afd93afbd0fb4f854c38fb873f2c8b90e0e902f27c7b62"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
"log",
"serde",
"serde_derive",
@@ -3684,7 +3757,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
"log",
"serde",
"serde_derive",
@@ -3739,7 +3812,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb5c4513b7b542f42da107942b7b759f27120b5cc894729f88254b28dff44b7"
dependencies = [
- "hyper 0.12.36",
+ "hyper 0.12.35",
"jsonrpc-core 15.1.0",
"jsonrpc-server-utils",
"log",
@@ -3820,11 +3893,12 @@
[[package]]
name = "jsonrpsee-proc-macros"
-version = "0.2.0"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b4c85cfa6767333f3e5f3b2f2f765dad2727b0033ee270ae07c599bf43ed5ae"
+checksum = "f37924e16300e249a52a22cabb5632f846dc9760b39355f5e8bc70cd23dc6300"
dependencies = [
"Inflector",
+ "bae",
"proc-macro-crate 1.0.0",
"proc-macro2",
"quote",
@@ -3833,44 +3907,44 @@
[[package]]
name = "jsonrpsee-types"
-version = "0.2.0"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0cf7bd4e93b3b56e59131de7f24afbea871faf914e97bcdd942c86927ab0172"
+checksum = "d67724d368c59e08b557a516cf8fcc51100e7a708850f502e1044b151fe89788"
dependencies = [
"async-trait",
"beef",
"futures-channel",
"futures-util",
- "hyper 0.14.11",
+ "hyper 0.14.5",
"log",
"serde",
"serde_json",
- "soketto 0.5.0",
+ "soketto 0.6.0",
"thiserror",
]
[[package]]
name = "jsonrpsee-ws-client"
-version = "0.2.0"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ec51150965544e1a4468f372bdab8545243a1b045d4ab272023aac74c60de32"
+checksum = "8e2834b6e7f57ce9a4412ed4d6dc95125d2c8612e68f86b9d9a07369164e4198"
dependencies = [
"async-trait",
"fnv",
"futures 0.3.16",
"jsonrpsee-types",
"log",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"rustls 0.19.1",
"rustls-native-certs 0.5.0",
"serde",
"serde_json",
- "soketto 0.5.0",
+ "soketto 0.6.0",
"thiserror",
- "tokio 0.2.25",
+ "tokio 0.2.21",
"tokio-rustls 0.15.0",
"tokio-util",
- "url 2.2.2",
+ "url 2.2.0",
]
[[package]]
@@ -3891,11 +3965,11 @@
[[package]]
name = "kusama-runtime"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"frame-benchmarking",
"frame-election-provider-support",
"frame-executive",
@@ -3906,7 +3980,6 @@
"frame-try-runtime",
"hex-literal",
"log",
- "max-encoded-len",
"pallet-authority-discovery",
"pallet-authorship",
"pallet-babe",
@@ -3929,7 +4002,7 @@
"pallet-offences-benchmarking",
"pallet-proxy",
"pallet-recovery",
- "pallet-scheduler 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "pallet-scheduler 4.0.0-dev",
"pallet-session",
"pallet-session-benchmarking",
"pallet-society",
@@ -3968,7 +4041,7 @@
"sp-transaction-pool",
"sp-version",
"static_assertions",
- "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "substrate-wasm-builder 5.0.0-dev",
"xcm",
"xcm-builder",
"xcm-executor",
@@ -3985,9 +4058,9 @@
[[package]]
name = "kvdb"
-version = "0.9.0"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8891bd853eff90e33024195d79d578dc984c82f9e0715fcd2b525a0c19d52811"
+checksum = "45a3f58dc069ec0e205a27f5b45920722a46faed802a0541538241af6228f512"
dependencies = [
"parity-util-mem",
"smallvec 1.6.1",
@@ -3995,9 +4068,9 @@
[[package]]
name = "kvdb-memorydb"
-version = "0.9.0"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30a0da8e08caf08d384a620ec19bb6c9b85c84137248e202617fb91881f25912"
+checksum = "c3b6b85fc643f5acd0bffb2cc8a6d150209379267af0d41db72170021841f9f5"
dependencies = [
"kvdb",
"parity-util-mem",
@@ -4006,9 +4079,27 @@
[[package]]
name = "kvdb-rocksdb"
-version = "0.11.1"
+version = "0.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "431ca65516efab86e65d96281f750ebb54277dec656fcf6c027f3d1c0cb69e4c"
+dependencies = [
+ "fs-swap",
+ "kvdb",
+ "log",
+ "num_cpus",
+ "owning_ref",
+ "parity-util-mem",
+ "parking_lot 0.11.1",
+ "regex",
+ "rocksdb 0.16.0",
+ "smallvec 1.6.1",
+]
+
+[[package]]
+name = "kvdb-rocksdb"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94b27cdb788bf1c8ade782289f9dbee626940be2961fd75c7cde993fa2f1ded1"
+checksum = "9b1b6ea8f2536f504b645ad78419c8246550e19d2c3419a167080ce08edee35a"
dependencies = [
"fs-swap",
"kvdb",
@@ -4018,7 +4109,7 @@
"parity-util-mem",
"parking_lot 0.11.1",
"regex",
- "rocksdb",
+ "rocksdb 0.17.0",
"smallvec 1.6.1",
]
@@ -4030,15 +4121,9 @@
[[package]]
name = "lazycell"
-version = "1.3.0"
+version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
-
-[[package]]
-name = "leb128"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3576a87f2ba00f6f106fdfcd16db1d698d648a26ad8e0573cad8537c3c362d2a"
+checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"
[[package]]
name = "libc"
@@ -4106,16 +4191,16 @@
"libp2p-yamux",
"parity-multiaddr",
"parking_lot 0.11.1",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"smallvec 1.6.1",
"wasm-timer",
]
[[package]]
name = "libp2p-core"
-version = "0.28.3"
+version = "0.28.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "554d3e7e9e65f939d66b75fd6a4c67f258fe250da61b91f46c545fc4a89b51d9"
+checksum = "71dd51b562e14846e65bad00e5808d0644376e6588668c490d3c48e1dfeb4a9a"
dependencies = [
"asn1_der",
"bs58",
@@ -4131,13 +4216,13 @@
"multistream-select",
"parity-multiaddr",
"parking_lot 0.11.1",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"prost",
"prost-build",
"rand 0.7.3",
"ring",
"rw-stream-sink",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"smallvec 1.6.1",
"thiserror",
"unsigned-varint 0.7.0",
@@ -4190,9 +4275,9 @@
[[package]]
name = "libp2p-gossipsub"
-version = "0.30.1"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7b0c8506a6ec3344b9e706d7c7a6dba826f8ede735cfe13dde12a8c263c4af9"
+checksum = "73cb9a89a301afde1e588c73f7e9131e12a5388725f290a9047b878862db1b53"
dependencies = [
"asynchronous-codec 0.6.0",
"base64 0.13.0",
@@ -4208,7 +4293,7 @@
"prost-build",
"rand 0.7.3",
"regex",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"smallvec 1.6.1",
"unsigned-varint 0.7.0",
"wasm-timer",
@@ -4248,7 +4333,7 @@
"prost",
"prost-build",
"rand 0.7.3",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"smallvec 1.6.1",
"uint",
"unsigned-varint 0.7.0",
@@ -4258,9 +4343,9 @@
[[package]]
name = "libp2p-mdns"
-version = "0.30.2"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4efa70c1c3d2d91237f8546e27aeb85e287d62c066a7b4f3ea6a696d43ced714"
+checksum = "c221897b3fd7f215de7ecfec215c5eba598e5b61c605b5f8b56fe8a4fb507724"
dependencies = [
"async-io",
"data-encoding",
@@ -4302,7 +4387,7 @@
checksum = "36db0f0db3b0433f5b9463f1c0cd9eadc0a3734a9170439ce501ff99733a88bd"
dependencies = [
"bytes 1.0.1",
- "curve25519-dalek 3.1.0",
+ "curve25519-dalek 3.0.0",
"futures 0.3.16",
"lazy_static",
"libp2p-core",
@@ -4310,10 +4395,10 @@
"prost",
"prost-build",
"rand 0.7.3",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"snow",
"static_assertions",
- "x25519-dalek",
+ "x25519-dalek 1.1.0",
"zeroize",
]
@@ -4357,7 +4442,7 @@
dependencies = [
"futures 0.3.16",
"log",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"rand 0.7.3",
"salsa20",
"sha3 0.9.1",
@@ -4376,7 +4461,7 @@
"libp2p-core",
"libp2p-swarm",
"log",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"prost",
"prost-build",
"rand 0.7.3",
@@ -4463,9 +4548,9 @@
[[package]]
name = "libp2p-wasm-ext"
-version = "0.28.2"
+version = "0.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2d413e4cf9b8e5dfbcd2a60d3dc5a3391308bdb463684093d4f67137b7113de"
+checksum = "cef45d61e43c313531b5e903e4e8415212ff6338e0c54c47da5b9b412b5760de"
dependencies = [
"futures 0.3.16",
"js-sys",
@@ -4488,8 +4573,8 @@
"log",
"quicksink",
"rw-stream-sink",
- "soketto 0.4.2",
- "url 2.2.2",
+ "soketto 0.4.1",
+ "url 2.2.0",
"webpki-roots",
]
@@ -4530,7 +4615,7 @@
"hmac-drbg 0.2.0",
"rand 0.7.3",
"sha2 0.8.2",
- "subtle 2.4.1",
+ "subtle 2.2.3",
"typenum",
]
@@ -4549,7 +4634,26 @@
"libsecp256k1-gen-genmult",
"rand 0.7.3",
"serde",
- "sha2 0.9.5",
+ "sha2 0.9.2",
+ "typenum",
+]
+
+[[package]]
+name = "libsecp256k1"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c9d220bc1feda2ac231cb78c3d26f27676b8cf82c96971f7aeef3d0cf2797c73"
+dependencies = [
+ "arrayref",
+ "base64 0.12.3",
+ "digest 0.9.0",
+ "hmac-drbg 0.3.0",
+ "libsecp256k1-core",
+ "libsecp256k1-gen-ecmult",
+ "libsecp256k1-gen-genmult",
+ "rand 0.7.3",
+ "serde",
+ "sha2 0.9.2",
"typenum",
]
@@ -4561,7 +4665,7 @@
dependencies = [
"crunchy",
"digest 0.9.0",
- "subtle 2.4.1",
+ "subtle 2.2.3",
]
[[package]]
@@ -4584,11 +4688,12 @@
[[package]]
name = "libz-sys"
-version = "1.1.3"
+version = "1.0.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66"
+checksum = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe"
dependencies = [
"cc",
+ "libc",
"pkg-config",
"vcpkg",
]
@@ -4601,9 +4706,9 @@
[[package]]
name = "linked_hash_set"
-version = "0.1.4"
+version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588"
+checksum = "3c7c91c4c7bbeb4f2f7c4e5be11e6a05bd6830bc37249c47ce1ad86ad453ff9c"
dependencies = [
"linked-hash-map",
]
@@ -4629,9 +4734,9 @@
[[package]]
name = "lock_api"
-version = "0.4.4"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb"
+checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c"
dependencies = [
"scopeguard",
]
@@ -4647,6 +4752,19 @@
]
[[package]]
+name = "loom"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a0e8460f2f2121162705187214720353c517b97bdfb3494c0b1e33d83ebe4bed"
+dependencies = [
+ "cfg-if 0.1.10",
+ "generator",
+ "scoped-tls",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
name = "lru"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4707,31 +4825,9 @@
checksum = "5a8a15b776d9dfaecd44b03c5828c2199cddff5247215858aac14624f8d6b741"
dependencies = [
"rawpointer",
-]
-
-[[package]]
-name = "max-encoded-len"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
-dependencies = [
- "impl-trait-for-tuples",
- "max-encoded-len-derive",
- "parity-scale-codec",
- "primitive-types",
]
[[package]]
-name = "max-encoded-len-derive"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
-dependencies = [
- "proc-macro-crate 1.0.0",
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
name = "maybe-uninit"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4739,45 +4835,45 @@
[[package]]
name = "memchr"
-version = "2.4.0"
+version = "2.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
+checksum = "3728d817d99e5ac407411fa471ff9800a778d88a24685968b36824eaf4bee400"
[[package]]
name = "memmap2"
-version = "0.2.3"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4"
+checksum = "e73be3b7d04a0123e933fea1d50d126cc7196bbc0362c0ce426694f777194eee"
dependencies = [
"libc",
]
[[package]]
name = "memoffset"
-version = "0.5.6"
+version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"
+checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f"
dependencies = [
"autocfg",
]
[[package]]
name = "memoffset"
-version = "0.6.4"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9"
+checksum = "157b4208e3059a8f9e78d559edc658e13df41410cb3ae03979c83130067fdd87"
dependencies = [
"autocfg",
]
[[package]]
name = "memory-db"
-version = "0.26.0"
+version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "814bbecfc0451fc314eeea34f05bbcd5b98a7ad7af37faee088b86a1e633f1d4"
+checksum = "de006e09d04fc301a5f7e817b75aa49801c4479a8af753764416b085337ddcc5"
dependencies = [
"hash-db",
- "hashbrown 0.9.1",
+ "hashbrown 0.11.2",
"parity-util-mem",
]
@@ -4798,9 +4894,9 @@
[[package]]
name = "merlin"
-version = "2.0.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42"
+checksum = "c6feca46f4fa3443a01769d768727f10c10a20fdb65e52dc16a81f0c8269bb78"
dependencies = [
"byteorder",
"keccak",
@@ -4810,8 +4906,8 @@
[[package]]
name = "metered-channel"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"derive_more",
"futures 0.3.16",
@@ -4831,18 +4927,18 @@
[[package]]
name = "minicbor"
-version = "0.8.1"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51aa5bb0ca22415daca596a227b507f880ad1b2318a87fa9325312a5d285ca0d"
+checksum = "ea79ce4ab9f445ec6b71833a2290ac0a29c9dde0fa7cae4c481eecae021d9bd9"
dependencies = [
"minicbor-derive",
]
[[package]]
name = "minicbor-derive"
-version = "0.6.4"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54999f917cd092b13904737e26631aa2b2b88d625db68e4bab461dcd8006c788"
+checksum = "19ce18b5423c573a13e80cb3046ea0af6379ef725dc3af4886bdb8f4e5093068"
dependencies = [
"proc-macro2",
"quote",
@@ -4851,19 +4947,18 @@
[[package]]
name = "miniz_oxide"
-version = "0.4.4"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b"
+checksum = "be0f75932c1f6cfae3c04000e40114adf955636e19040f9c0a2c380702aa1c7f"
dependencies = [
"adler",
- "autocfg",
]
[[package]]
name = "mio"
-version = "0.6.23"
+version = "0.6.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4"
+checksum = "fce347092656428bc8eaf6201042cb551b8d67855af7374542a92a0fbfcac430"
dependencies = [
"cfg-if 0.1.10",
"fuchsia-zircon",
@@ -4872,7 +4967,7 @@
"kernel32-sys",
"libc",
"log",
- "miow 0.2.2",
+ "miow 0.2.1",
"net2",
"slab",
"winapi 0.2.8",
@@ -4898,7 +4993,7 @@
dependencies = [
"log",
"mio",
- "miow 0.3.7",
+ "miow 0.3.5",
"winapi 0.3.9",
]
@@ -4915,9 +5010,9 @@
[[package]]
name = "miow"
-version = "0.2.2"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d"
+checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
dependencies = [
"kernel32-sys",
"net2",
@@ -4927,10 +5022,11 @@
[[package]]
name = "miow"
-version = "0.3.7"
+version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
+checksum = "07b88fb9795d4d36d62a012dfbf49a8f5cf12751f36d31a9dbe66d528e58979e"
dependencies = [
+ "socket2 0.3.17",
"winapi 0.3.9",
]
@@ -4953,9 +5049,9 @@
[[package]]
name = "multihash"
-version = "0.13.2"
+version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dac63698b887d2d929306ea48b63760431ff8a24fac40ddb22f9c7f49fb7cab"
+checksum = "fb63389ee5fcd4df3f8727600f4a0c3df53c541f0ed4e8b50a9ae51a80fc1efe"
dependencies = [
"blake2b_simd",
"blake2s_simd",
@@ -4963,19 +5059,19 @@
"digest 0.9.0",
"generic-array 0.14.4",
"multihash-derive",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"sha3 0.9.1",
"unsigned-varint 0.5.1",
]
[[package]]
name = "multihash-derive"
-version = "0.7.2"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99"
+checksum = "2f5653449cd45d502a53480ee08d7a599e8f4893d2bacb33c63d65bc20af6c1a"
dependencies = [
- "proc-macro-crate 1.0.0",
- "proc-macro-error",
+ "proc-macro-crate 0.1.5",
+ "proc-macro-error 1.0.4",
"proc-macro2",
"quote",
"syn",
@@ -4984,22 +5080,22 @@
[[package]]
name = "multimap"
-version = "0.8.3"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a"
+checksum = "d8883adfde9756c1d30b0f519c9b8c502a94b41ac62f696453c37c7fc0a958ce"
[[package]]
name = "multistream-select"
-version = "0.10.2"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7d91ec0a2440aaff5f78ec35631a7027d50386c6163aa975f7caa0d5da4b6ff8"
+checksum = "10ddc0eb0117736f19d556355464fc87efc8ad98b29e3fd84f02531eb6e90840"
dependencies = [
"bytes 1.0.1",
"futures 0.3.16",
"log",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"smallvec 1.6.1",
- "unsigned-varint 0.7.0",
+ "unsigned-varint 0.6.0",
]
[[package]]
@@ -5041,10 +5137,20 @@
]
[[package]]
+name = "nb-connect"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8123a81538e457d44b933a02faf885d3fe8408806b23fa700e8f01c6c3a98998"
+dependencies = [
+ "libc",
+ "winapi 0.3.9",
+]
+
+[[package]]
name = "net2"
-version = "0.2.37"
+version = "0.2.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "391630d12b68002ae1e25e8f974306474966550ad82dac6886fb8910c19568ae"
+checksum = "2ba7c918ac76704fb42afcbbb43891e72731f3dcca3bef2a19786297baf14af7"
dependencies = [
"cfg-if 0.1.10",
"libc",
@@ -5134,7 +5240,6 @@
"derivative",
"frame-support",
"frame-system",
- "max-encoded-len",
"parity-scale-codec",
"serde",
"sp-core",
@@ -5169,7 +5274,6 @@
"sc-rpc",
"sc-rpc-api",
"sc-service",
- "sc-transaction-graph",
"sc-transaction-pool",
"sp-api",
"sp-block-builder",
@@ -5183,7 +5287,7 @@
"sp-storage",
"sp-transaction-pool",
"substrate-frame-rpc-system",
- "tokio 0.2.25",
+ "tokio 0.2.21",
]
[[package]]
@@ -5207,7 +5311,6 @@
"frame-system-benchmarking",
"frame-system-rpc-runtime-api",
"hex-literal",
- "max-encoded-len",
"nft-data-structs",
"pallet-aura",
"pallet-balances",
@@ -5248,7 +5351,7 @@
"sp-std",
"sp-transaction-pool",
"sp-version",
- "substrate-wasm-builder 4.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "substrate-wasm-builder 4.0.0",
"xcm",
"xcm-builder",
"xcm-executor",
@@ -5268,9 +5371,9 @@
[[package]]
name = "nom"
-version = "6.1.2"
+version = "6.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
+checksum = "9c5c51b9083a3c620fa67a2a635d1ce7d95b897e957d6b28ff9a5da960a103a6"
dependencies = [
"bitvec 0.19.5",
"funty",
@@ -5300,9 +5403,9 @@
[[package]]
name = "num-integer"
-version = "0.1.44"
+version = "0.1.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"
dependencies = [
"autocfg",
"num-traits",
@@ -5353,6 +5456,12 @@
[[package]]
name = "object"
+version = "0.23.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a9a7ab5d64814df0fe4a4b5ead45ed6c5f181ee3ff04ba344313a6c80446c5d4"
+
+[[package]]
+name = "object"
version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a5b3dd1c072ee7963717671d1ca129f1048fda25edea6b752bfc71ac8854170"
@@ -5362,19 +5471,10 @@
]
[[package]]
-name = "object"
-version = "0.26.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c55827317fb4c08822499848a14237d2874d6f139828893017237e7ab93eb386"
-dependencies = [
- "memchr",
-]
-
-[[package]]
name = "once_cell"
-version = "1.8.0"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56"
+checksum = "4ad167a2f54e832b82dbe003a046280dceffe5227b5f79e08e363a29638cfddd"
dependencies = [
"parking_lot 0.11.1",
]
@@ -5393,15 +5493,15 @@
[[package]]
name = "openssl-probe"
-version = "0.1.4"
+version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
+checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
[[package]]
name = "ordered-float"
-version = "1.1.1"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7"
+checksum = "3741934be594d77de1c8461ebcbbe866f585ea616a9753aa78f2bdc69f0e4579"
dependencies = [
"num-traits",
]
@@ -5417,8 +5517,8 @@
[[package]]
name = "pallet-aura"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -5433,8 +5533,8 @@
[[package]]
name = "pallet-authority-discovery"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -5448,12 +5548,12 @@
[[package]]
name = "pallet-authorship"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
"sp-authorship",
"sp-runtime",
@@ -5462,8 +5562,8 @@
[[package]]
name = "pallet-babe"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5485,14 +5585,13 @@
[[package]]
name = "pallet-balances"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "max-encoded-len",
"parity-scale-codec",
"sp-runtime",
"sp-std",
@@ -5501,22 +5600,48 @@
[[package]]
name = "pallet-beefy"
version = "0.1.0"
-source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.8#55ae3329847e0bbde51c9d45991d99f444777555"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.9#f40c0ab7b327e874d5c8d699bfa5d762f1759ee0"
dependencies = [
"beefy-primitives",
"frame-support",
"frame-system",
"pallet-session",
"parity-scale-codec",
+ "scale-info",
"serde",
"sp-runtime",
"sp-std",
]
[[package]]
+name = "pallet-beefy-mmr"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=polkadot-v0.9.9#f40c0ab7b327e874d5c8d699bfa5d762f1759ee0"
+dependencies = [
+ "beefy-merkle-tree",
+ "beefy-primitives",
+ "frame-support",
+ "frame-system",
+ "hex",
+ "libsecp256k1 0.6.0",
+ "log",
+ "pallet-beefy",
+ "pallet-mmr",
+ "pallet-mmr-primitives",
+ "pallet-session",
+ "parity-scale-codec",
+ "scale-info",
+ "serde",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-bounties"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5528,9 +5653,25 @@
]
[[package]]
+name = "pallet-bridge-dispatch"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "bp-message-dispatch",
+ "bp-runtime",
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-bridge-grandpa"
version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"bp-header-chain",
"bp-runtime",
@@ -5549,9 +5690,30 @@
]
[[package]]
+name = "pallet-bridge-messages"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "bitvec 0.20.1",
+ "bp-message-dispatch",
+ "bp-messages",
+ "bp-rialto",
+ "bp-runtime",
+ "frame-support",
+ "frame-system",
+ "log",
+ "num-traits",
+ "parity-scale-codec",
+ "serde",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
name = "pallet-collective"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5579,8 +5741,8 @@
[[package]]
name = "pallet-contracts"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"bitflags",
"frame-support",
@@ -5602,8 +5764,8 @@
[[package]]
name = "pallet-contracts-primitives"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"bitflags",
"parity-scale-codec",
@@ -5615,8 +5777,8 @@
[[package]]
name = "pallet-contracts-proc-macro"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro2",
"quote",
@@ -5625,8 +5787,8 @@
[[package]]
name = "pallet-democracy"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5640,8 +5802,8 @@
[[package]]
name = "pallet-election-provider-multi-phase"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -5661,8 +5823,8 @@
[[package]]
name = "pallet-elections-phragmen"
-version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "5.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5678,8 +5840,8 @@
[[package]]
name = "pallet-ethereum"
-version = "3.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "4.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"ethereum",
"ethereum-types",
@@ -5706,8 +5868,8 @@
[[package]]
name = "pallet-evm"
-version = "5.0.0-dev"
-source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#1e2a0537db656af0b300493b4f8eda72c22e9421"
+version = "6.0.0-dev"
+source = "git+https://github.com/uniquenetwork/frontier.git?branch=injected-transactions-parachain#264af3adc427aefba9ce8a1c5d1c11a6d98d009c"
dependencies = [
"evm",
"evm-gasometer",
@@ -5717,12 +5879,12 @@
"frame-support",
"frame-system",
"hex",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
"pallet-balances",
"pallet-timestamp",
"parity-scale-codec",
- "primitive-types",
+ "primitive-types 0.9.1",
"rlp",
"serde",
"sha3 0.8.2",
@@ -5799,8 +5961,8 @@
[[package]]
name = "pallet-gilt"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5813,8 +5975,8 @@
[[package]]
name = "pallet-grandpa"
-version = "3.1.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5835,8 +5997,8 @@
[[package]]
name = "pallet-identity"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -5850,8 +6012,8 @@
[[package]]
name = "pallet-im-online"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5869,8 +6031,8 @@
[[package]]
name = "pallet-indices"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5903,8 +6065,8 @@
[[package]]
name = "pallet-membership"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -5918,8 +6080,8 @@
[[package]]
name = "pallet-mmr"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"ckb-merkle-mountain-range",
"frame-benchmarking",
@@ -5935,8 +6097,8 @@
[[package]]
name = "pallet-mmr-primitives"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -5952,7 +6114,7 @@
[[package]]
name = "pallet-mmr-rpc"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"jsonrpc-core 15.1.0",
"jsonrpc-core-client 15.1.0",
@@ -5969,8 +6131,8 @@
[[package]]
name = "pallet-multisig"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6002,7 +6164,7 @@
"pallet-timestamp",
"pallet-transaction-payment",
"parity-scale-codec",
- "primitive-types",
+ "primitive-types 0.10.1",
"rlp",
"serde",
"sp-api",
@@ -6050,8 +6212,8 @@
[[package]]
name = "pallet-nicks"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -6063,8 +6225,8 @@
[[package]]
name = "pallet-offences"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -6079,8 +6241,8 @@
[[package]]
name = "pallet-offences-benchmarking"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6101,13 +6263,12 @@
[[package]]
name = "pallet-proxy"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "max-encoded-len",
"parity-scale-codec",
"sp-core",
"sp-io",
@@ -6117,8 +6278,8 @@
[[package]]
name = "pallet-randomness-collective-flip"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -6130,8 +6291,8 @@
[[package]]
name = "pallet-recovery"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"enumflags2",
"frame-support",
@@ -6145,44 +6306,44 @@
[[package]]
name = "pallet-scheduler"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"parity-scale-codec",
+ "serde",
+ "sp-core",
"sp-io",
"sp-runtime",
"sp-std",
+ "substrate-test-utils",
+ "up-sponsorship",
]
[[package]]
name = "pallet-scheduler"
-version = "3.0.0"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"parity-scale-codec",
- "serde",
- "sp-core",
"sp-io",
"sp-runtime",
"sp-std",
- "substrate-test-utils",
- "up-sponsorship",
]
[[package]]
name = "pallet-session"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
"pallet-timestamp",
"parity-scale-codec",
@@ -6197,8 +6358,8 @@
[[package]]
name = "pallet-session-benchmarking"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6213,8 +6374,8 @@
[[package]]
name = "pallet-society"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -6226,8 +6387,8 @@
[[package]]
name = "pallet-staking"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-election-provider-support",
@@ -6250,8 +6411,8 @@
[[package]]
name = "pallet-staking-reward-curve"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
@@ -6261,8 +6422,8 @@
[[package]]
name = "pallet-staking-reward-fn"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"log",
"sp-arithmetic",
@@ -6270,8 +6431,8 @@
[[package]]
name = "pallet-sudo"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -6283,13 +6444,13 @@
[[package]]
name = "pallet-timestamp"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
"parity-scale-codec",
"sp-inherents",
@@ -6301,8 +6462,8 @@
[[package]]
name = "pallet-tips"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6316,8 +6477,8 @@
[[package]]
name = "pallet-transaction-payment"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-support",
"frame-system",
@@ -6332,8 +6493,8 @@
[[package]]
name = "pallet-transaction-payment-rpc"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"jsonrpc-core 15.1.0",
"jsonrpc-core-client 15.1.0",
@@ -6349,8 +6510,8 @@
[[package]]
name = "pallet-transaction-payment-rpc-runtime-api"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"pallet-transaction-payment",
"parity-scale-codec",
@@ -6360,13 +6521,13 @@
[[package]]
name = "pallet-treasury"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"pallet-balances",
"parity-scale-codec",
"serde",
@@ -6376,8 +6537,8 @@
[[package]]
name = "pallet-utility"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -6391,8 +6552,8 @@
[[package]]
name = "pallet-vesting"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"enumflags2",
"frame-benchmarking",
@@ -6405,11 +6566,12 @@
[[package]]
name = "pallet-xcm"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"frame-support",
"frame-system",
+ "log",
"parity-scale-codec",
"serde",
"sp-runtime",
@@ -6421,7 +6583,7 @@
[[package]]
name = "parachain-info"
version = "0.1.0"
-source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.8#ed6ba5dfb2c112c29505e856e8971da3420ce6d0"
+source = "git+https://github.com/paritytech/cumulus.git?branch=polkadot-v0.9.9#fd80849dde5c209c20a996cfcc5aaacd4666dcbe"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -6462,7 +6624,7 @@
"serde",
"static_assertions",
"unsigned-varint 0.7.0",
- "url 2.2.2",
+ "url 2.2.0",
]
[[package]]
@@ -6471,10 +6633,10 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8975095a2a03bbbdc70a74ab11a4f76a6d0b84680d87c68d722531b0ac28e8a9"
dependencies = [
- "arrayvec 0.7.1",
- "bitvec 0.20.4",
+ "arrayvec 0.7.0",
+ "bitvec 0.20.1",
"byte-slice-cast",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec-derive",
"serde",
]
@@ -6504,11 +6666,11 @@
checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"libc",
"log",
"mio-named-pipes",
- "miow 0.3.7",
+ "miow 0.3.5",
"rand 0.7.3",
"tokio 0.1.22",
"tokio-named-pipes",
@@ -6518,18 +6680,18 @@
[[package]]
name = "parity-util-mem"
-version = "0.9.0"
+version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "664a8c6b8e62d8f9f2f937e391982eb433ab285b4cd9545b342441e04a906e42"
+checksum = "7ad6f1acec69b95caf435bbd158d486e5a0a44fcf51531e84922c59ff09e8457"
dependencies = [
"cfg-if 1.0.0",
"ethereum-types",
- "hashbrown 0.9.1",
- "impl-trait-for-tuples",
+ "hashbrown 0.11.2",
+ "impl-trait-for-tuples 0.2.1",
"lru",
"parity-util-mem-derive",
"parking_lot 0.11.1",
- "primitive-types",
+ "primitive-types 0.10.1",
"smallvec 1.6.1",
"winapi 0.3.9",
]
@@ -6575,7 +6737,7 @@
"rand 0.7.3",
"sha-1 0.8.2",
"slab",
- "url 2.2.2",
+ "url 2.2.0",
]
[[package]]
@@ -6592,7 +6754,7 @@
dependencies = [
"lock_api 0.3.4",
"parking_lot_core 0.6.2",
- "rustc_version 0.2.3",
+ "rustc_version",
]
[[package]]
@@ -6612,8 +6774,8 @@
checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
dependencies = [
"instant",
- "lock_api 0.4.4",
- "parking_lot_core 0.8.3",
+ "lock_api 0.4.1",
+ "parking_lot_core 0.8.0",
]
[[package]]
@@ -6623,11 +6785,11 @@
checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"
dependencies = [
"cfg-if 0.1.10",
- "cloudabi",
+ "cloudabi 0.0.3",
"libc",
- "redox_syscall 0.1.57",
- "rustc_version 0.2.3",
- "smallvec 0.6.14",
+ "redox_syscall 0.1.56",
+ "rustc_version",
+ "smallvec 0.6.13",
"winapi 0.3.9",
]
@@ -6638,23 +6800,24 @@
checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3"
dependencies = [
"cfg-if 0.1.10",
- "cloudabi",
+ "cloudabi 0.0.3",
"libc",
- "redox_syscall 0.1.57",
+ "redox_syscall 0.1.56",
"smallvec 1.6.1",
"winapi 0.3.9",
]
[[package]]
name = "parking_lot_core"
-version = "0.8.3"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
+checksum = "c361aa727dd08437f2f1447be8b59a33b0edd15e0fcee698f935613d9efbca9b"
dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 0.1.10",
+ "cloudabi 0.1.0",
"instant",
"libc",
- "redox_syscall 0.2.9",
+ "redox_syscall 0.1.56",
"smallvec 1.6.1",
"winapi 0.3.9",
]
@@ -6763,27 +6926,27 @@
[[package]]
name = "pin-project"
-version = "0.4.28"
+version = "0.4.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "918192b5c59119d51e0cd221f4d49dde9112824ba717369e903c97d076083d0f"
+checksum = "ca4433fff2ae79342e497d9f8ee990d174071408f28f726d6d83af93e58e48aa"
dependencies = [
- "pin-project-internal 0.4.28",
+ "pin-project-internal 0.4.23",
]
[[package]]
name = "pin-project"
-version = "1.0.8"
+version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08"
+checksum = "c7509cc106041c40a4518d2af7a61530e1eed0e6285296a3d8c5472806ccc4a4"
dependencies = [
- "pin-project-internal 1.0.8",
+ "pin-project-internal 1.0.7",
]
[[package]]
name = "pin-project-internal"
-version = "0.4.28"
+version = "0.4.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e"
+checksum = "2c0e815c3ee9a031fdf5af21c10aa17c573c9c6a566328d99e3936c34e36461f"
dependencies = [
"proc-macro2",
"quote",
@@ -6792,9 +6955,9 @@
[[package]]
name = "pin-project-internal"
-version = "1.0.8"
+version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389"
+checksum = "48c950132583b500556b1efd71d45b319029f2b71518d979fcc208e16b42426f"
dependencies = [
"proc-macro2",
"quote",
@@ -6803,15 +6966,15 @@
[[package]]
name = "pin-project-lite"
-version = "0.1.12"
+version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777"
+checksum = "282adbf10f2698a7a77f8e983a74b2d18176c19a7fd32a45446139ae7b02b715"
[[package]]
name = "pin-project-lite"
-version = "0.2.7"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
+checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827"
[[package]]
name = "pin-utils"
@@ -6821,9 +6984,9 @@
[[package]]
name = "pkg-config"
-version = "0.3.19"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
+checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677"
[[package]]
name = "platforms"
@@ -6833,8 +6996,8 @@
[[package]]
name = "polkadot-approval-distribution"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"polkadot-node-network-protocol",
@@ -6847,8 +7010,8 @@
[[package]]
name = "polkadot-availability-bitfield-distribution"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"polkadot-node-network-protocol",
@@ -6860,8 +7023,8 @@
[[package]]
name = "polkadot-availability-distribution"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"lru",
@@ -6883,8 +7046,8 @@
[[package]]
name = "polkadot-availability-recovery"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"lru",
@@ -6902,8 +7065,8 @@
[[package]]
name = "polkadot-cli"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"frame-benchmarking-cli",
"futures 0.3.16",
@@ -6922,8 +7085,8 @@
[[package]]
name = "polkadot-client"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"beefy-primitives",
"frame-benchmarking",
@@ -6933,6 +7096,7 @@
"polkadot-primitives",
"polkadot-runtime",
"sc-client-api",
+ "sc-consensus",
"sc-executor",
"sc-service",
"sp-api",
@@ -6951,8 +7115,8 @@
[[package]]
name = "polkadot-collator-protocol"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"always-assert",
"futures 0.3.16",
@@ -6971,8 +7135,8 @@
[[package]]
name = "polkadot-core-primitives"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"parity-scale-codec",
"parity-util-mem",
@@ -6982,9 +7146,33 @@
]
[[package]]
+name = "polkadot-dispute-distribution"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "futures 0.3.16",
+ "lru",
+ "parity-scale-codec",
+ "polkadot-erasure-coding",
+ "polkadot-node-core-runtime-api",
+ "polkadot-node-network-protocol",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "rand 0.8.4",
+ "sc-network",
+ "sp-application-crypto",
+ "sp-core",
+ "sp-keystore",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
name = "polkadot-erasure-coding"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"parity-scale-codec",
"polkadot-node-primitives",
@@ -6997,8 +7185,8 @@
[[package]]
name = "polkadot-gossip-support"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"polkadot-node-network-protocol",
@@ -7015,8 +7203,8 @@
[[package]]
name = "polkadot-network-bridge"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"async-trait",
"futures 0.3.16",
@@ -7025,8 +7213,8 @@
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
"polkadot-node-subsystem-util",
+ "polkadot-overseer",
"polkadot-primitives",
- "sc-authority-discovery",
"sc-network",
"sp-consensus",
"strum",
@@ -7035,8 +7223,8 @@
[[package]]
name = "polkadot-node-collation-generation"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"parity-scale-codec",
@@ -7053,10 +7241,10 @@
[[package]]
name = "polkadot-node-core-approval-voting"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"derive_more",
"futures 0.3.16",
"futures-timer 3.0.2",
@@ -7083,10 +7271,10 @@
[[package]]
name = "polkadot-node-core-av-store"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"futures 0.3.16",
"futures-timer 3.0.2",
"kvdb",
@@ -7103,10 +7291,10 @@
[[package]]
name = "polkadot-node-core-backing"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"futures 0.3.16",
"polkadot-erasure-coding",
"polkadot-node-primitives",
@@ -7121,8 +7309,8 @@
[[package]]
name = "polkadot-node-core-bitfield-signing"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"polkadot-node-subsystem",
@@ -7136,8 +7324,8 @@
[[package]]
name = "polkadot-node-core-candidate-validation"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"async-trait",
"futures 0.3.16",
@@ -7154,8 +7342,8 @@
[[package]]
name = "polkadot-node-core-chain-api"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"polkadot-node-subsystem",
@@ -7168,15 +7356,63 @@
]
[[package]]
+name = "polkadot-node-core-chain-selection"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "kvdb",
+ "parity-scale-codec",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-dispute-coordinator"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "bitvec 0.20.1",
+ "derive_more",
+ "futures 0.3.16",
+ "kvdb",
+ "parity-scale-codec",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "sc-keystore",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-dispute-participation"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "futures 0.3.16",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-primitives",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
name = "polkadot-node-core-parachains-inherent"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"async-trait",
"futures 0.3.16",
"futures-timer 3.0.2",
"polkadot-node-subsystem",
- "polkadot-overseer",
"polkadot-primitives",
"sp-blockchain",
"sp-inherents",
@@ -7187,10 +7423,10 @@
[[package]]
name = "polkadot-node-core-provisioner"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"futures 0.3.16",
"futures-timer 3.0.2",
"polkadot-node-subsystem",
@@ -7202,8 +7438,8 @@
[[package]]
name = "polkadot-node-core-pvf"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"always-assert",
"assert_matches",
@@ -7213,7 +7449,7 @@
"futures-timer 3.0.2",
"libc",
"parity-scale-codec",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"polkadot-core-primitives",
"polkadot-parachain",
"rand 0.8.4",
@@ -7225,14 +7461,15 @@
"sp-externalities",
"sp-io",
"sp-maybe-compressed-blob",
+ "sp-tracing",
"sp-wasm-interface",
"tracing",
]
[[package]]
name = "polkadot-node-core-runtime-api"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"memory-lru",
@@ -7249,8 +7486,8 @@
[[package]]
name = "polkadot-node-jaeger"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"async-std",
"lazy_static",
@@ -7266,15 +7503,33 @@
]
[[package]]
+name = "polkadot-node-metrics"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "async-trait",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "metered-channel",
+ "sc-network",
+ "sp-application-crypto",
+ "sp-core",
+ "sp-keystore",
+ "substrate-prometheus-endpoint",
+]
+
+[[package]]
name = "polkadot-node-network-protocol"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
+ "async-trait",
"futures 0.3.16",
"parity-scale-codec",
"polkadot-node-jaeger",
"polkadot-node-primitives",
"polkadot-primitives",
+ "sc-authority-discovery",
"sc-network",
"strum",
"thiserror",
@@ -7282,8 +7537,8 @@
[[package]]
name = "polkadot-node-primitives"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"futures 0.3.16",
"parity-scale-codec",
@@ -7300,14 +7555,25 @@
"sp-maybe-compressed-blob",
"sp-runtime",
"thiserror",
+ "tracing",
"zstd",
]
[[package]]
name = "polkadot-node-subsystem"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
+ "polkadot-node-jaeger",
+ "polkadot-node-subsystem-types",
+ "polkadot-overseer",
+]
+
+[[package]]
+name = "polkadot-node-subsystem-types"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
"async-std",
"async-trait",
"derive_more",
@@ -7318,12 +7584,12 @@
"mick-jaeger",
"parity-scale-codec",
"parking_lot 0.11.1",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"polkadot-node-jaeger",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
+ "polkadot-overseer-gen",
"polkadot-primitives",
- "polkadot-procmacro-subsystem-dispatch-gen",
"polkadot-statement-table",
"sc-network",
"smallvec 1.6.1",
@@ -7335,21 +7601,23 @@
[[package]]
name = "polkadot-node-subsystem-util"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"async-trait",
"futures 0.3.16",
"futures-timer 3.0.2",
- "itertools 0.10.1",
+ "itertools 0.10.0",
"lru",
"metered-channel",
"parity-scale-codec",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"polkadot-node-jaeger",
+ "polkadot-node-metrics",
"polkadot-node-network-protocol",
"polkadot-node-primitives",
"polkadot-node-subsystem",
+ "polkadot-overseer",
"polkadot-primitives",
"rand 0.8.4",
"sc-network",
@@ -7363,29 +7631,72 @@
[[package]]
name = "polkadot-overseer"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"async-trait",
"futures 0.3.16",
"futures-timer 3.0.2",
"lru",
+ "parking_lot 0.11.1",
+ "polkadot-node-metrics",
+ "polkadot-node-network-protocol",
"polkadot-node-primitives",
- "polkadot-node-subsystem",
- "polkadot-node-subsystem-util",
+ "polkadot-node-subsystem-types",
+ "polkadot-overseer-all-subsystems-gen",
+ "polkadot-overseer-gen",
"polkadot-primitives",
- "polkadot-procmacro-overseer-subsystems-gen",
"sc-client-api",
"sp-api",
"tracing",
]
[[package]]
+name = "polkadot-overseer-all-subsystems-gen"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "assert_matches",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "polkadot-overseer-gen"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "async-trait",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "metered-channel",
+ "pin-project 1.0.7",
+ "polkadot-node-network-protocol",
+ "polkadot-node-primitives",
+ "polkadot-overseer-gen-proc-macro",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-overseer-gen-proc-macro"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
+dependencies = [
+ "proc-macro-crate 1.0.0",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "polkadot-parachain"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"derive_more",
+ "frame-support",
"parity-scale-codec",
"parity-util-mem",
"polkadot-core-primitives",
@@ -7397,10 +7708,10 @@
[[package]]
name = "polkadot-primitives"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"frame-system",
"hex-literal",
"parity-scale-codec",
@@ -7426,31 +7737,9 @@
]
[[package]]
-name = "polkadot-procmacro-overseer-subsystems-gen"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
-dependencies = [
- "assert_matches",
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
-name = "polkadot-procmacro-subsystem-dispatch-gen"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
-dependencies = [
- "assert_matches",
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
name = "polkadot-rpc"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"beefy-gadget",
"beefy-gadget-rpc",
@@ -7469,6 +7758,7 @@
"sc-keystore",
"sc-rpc",
"sc-sync-state-rpc",
+ "sc-transaction-pool-api",
"sp-api",
"sp-block-builder",
"sp-blockchain",
@@ -7476,17 +7766,16 @@
"sp-consensus-babe",
"sp-keystore",
"sp-runtime",
- "sp-transaction-pool",
"substrate-frame-rpc-system",
]
[[package]]
name = "polkadot-runtime"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"frame-benchmarking",
"frame-election-provider-support",
"frame-executive",
@@ -7497,7 +7786,6 @@
"frame-try-runtime",
"hex-literal",
"log",
- "max-encoded-len",
"pallet-authority-discovery",
"pallet-authorship",
"pallet-babe",
@@ -7518,7 +7806,7 @@
"pallet-offences",
"pallet-offences-benchmarking",
"pallet-proxy",
- "pallet-scheduler 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "pallet-scheduler 4.0.0-dev",
"pallet-session",
"pallet-session-benchmarking",
"pallet-staking",
@@ -7553,28 +7841,26 @@
"sp-transaction-pool",
"sp-version",
"static_assertions",
- "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "substrate-wasm-builder 5.0.0-dev",
]
[[package]]
name = "polkadot-runtime-common"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"frame-benchmarking",
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
- "libsecp256k1 0.3.5",
+ "impl-trait-for-tuples 0.2.1",
+ "libsecp256k1 0.6.0",
"log",
"pallet-authorship",
"pallet-babe",
"pallet-balances",
- "pallet-beefy",
+ "pallet-beefy-mmr",
"pallet-election-provider-multi-phase",
- "pallet-mmr",
"pallet-offences",
"pallet-session",
"pallet-staking",
@@ -7603,15 +7889,15 @@
[[package]]
name = "polkadot-runtime-parachains"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
- "bitvec 0.20.4",
+ "bitflags",
+ "bitvec 0.20.1",
"derive_more",
"frame-benchmarking",
"frame-support",
"frame-system",
- "libsecp256k1 0.3.5",
"log",
"pallet-authority-discovery",
"pallet-authorship",
@@ -7642,8 +7928,8 @@
[[package]]
name = "polkadot-service"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"async-trait",
"beefy-gadget",
@@ -7653,7 +7939,7 @@
"hex-literal",
"kusama-runtime",
"kvdb",
- "kvdb-rocksdb",
+ "kvdb-rocksdb 0.12.0",
"pallet-babe",
"pallet-im-online",
"pallet-mmr-primitives",
@@ -7665,6 +7951,7 @@
"polkadot-availability-recovery",
"polkadot-client",
"polkadot-collator-protocol",
+ "polkadot-dispute-distribution",
"polkadot-gossip-support",
"polkadot-network-bridge",
"polkadot-node-collation-generation",
@@ -7674,6 +7961,9 @@
"polkadot-node-core-bitfield-signing",
"polkadot-node-core-candidate-validation",
"polkadot-node-core-chain-api",
+ "polkadot-node-core-chain-selection",
+ "polkadot-node-core-dispute-coordinator",
+ "polkadot-node-core-dispute-participation",
"polkadot-node-core-parachains-inherent",
"polkadot-node-core-provisioner",
"polkadot-node-core-runtime-api",
@@ -7700,10 +7990,10 @@
"sc-consensus-uncles",
"sc-executor",
"sc-finality-grandpa",
- "sc-finality-grandpa-warp-sync",
"sc-keystore",
"sc-network",
"sc-service",
+ "sc-sync-state-rpc",
"sc-telemetry",
"sc-transaction-pool",
"serde",
@@ -7734,8 +8024,8 @@
[[package]]
name = "polkadot-statement-distribution"
-version = "0.1.0"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"arrayvec 0.5.2",
"futures 0.3.16",
@@ -7755,8 +8045,8 @@
[[package]]
name = "polkadot-statement-table"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"parity-scale-codec",
"polkadot-primitives",
@@ -7765,11 +8055,11 @@
[[package]]
name = "polkadot-test-runtime"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"frame-election-provider-support",
"frame-executive",
"frame-support",
@@ -7793,6 +8083,7 @@
"pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
"pallet-vesting",
+ "pallet-xcm",
"parity-scale-codec",
"polkadot-parachain",
"polkadot-primitives",
@@ -7816,17 +8107,20 @@
"sp-std",
"sp-transaction-pool",
"sp-version",
- "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "substrate-wasm-builder 5.0.0-dev",
+ "xcm",
+ "xcm-builder",
+ "xcm-executor",
]
[[package]]
name = "polkadot-test-service"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"frame-benchmarking",
"frame-system",
- "futures 0.1.31",
+ "futures 0.1.29",
"futures 0.3.16",
"hex",
"pallet-balances",
@@ -7873,43 +8167,41 @@
[[package]]
name = "polling"
-version = "2.1.0"
+version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92341d779fa34ea8437ef4d82d440d5e1ce3f3ff7f824aa64424cd481f9a1f25"
+checksum = "a2a7bc6b2a29e632e45451c941832803a18cce6781db04de8a04696cdca8bde4"
dependencies = [
- "cfg-if 1.0.0",
+ "cfg-if 0.1.10",
"libc",
"log",
- "wepoll-ffi",
+ "wepoll-sys",
"winapi 0.3.9",
]
[[package]]
name = "poly1305"
-version = "0.6.2"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b7456bc1ad2d4cf82b3a016be4c2ac48daf11bf990c1603ebd447fe6f30fca8"
+checksum = "d9b42192ab143ed7619bf888a7f9c6733a9a2153b218e2cd557cfdb52fbf9bb1"
dependencies = [
- "cpuid-bool",
"universal-hash",
]
[[package]]
name = "polyval"
-version = "0.4.5"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd"
+checksum = "d9a50142b55ab3ed0e9f68dfb3709f1d90d29da24e91033f28b96330643107dc"
dependencies = [
- "cpuid-bool",
- "opaque-debug 0.3.0",
+ "cfg-if 0.1.10",
"universal-hash",
]
[[package]]
name = "ppv-lite86"
-version = "0.2.10"
+version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
+checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea"
[[package]]
name = "primitive-types"
@@ -7920,6 +8212,18 @@
"fixed-hash",
"impl-codec",
"impl-rlp",
+ "uint",
+]
+
+[[package]]
+name = "primitive-types"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373"
+dependencies = [
+ "fixed-hash",
+ "impl-codec",
+ "impl-rlp",
"impl-serde",
"uint",
]
@@ -7945,11 +8249,24 @@
[[package]]
name = "proc-macro-error"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "18f33027081eba0a6d8aba6d1b1c3a3be58cbb12106341c2d5759fcd9b5277e7"
+dependencies = [
+ "proc-macro-error-attr 0.4.12",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
- "proc-macro-error-attr",
+ "proc-macro-error-attr 1.0.4",
"proc-macro2",
"quote",
"syn",
@@ -7958,6 +8275,19 @@
[[package]]
name = "proc-macro-error-attr"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a5b4b77fdb63c1eca72173d68d24501c54ab1269409f6b672c85deb18af69de"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "syn-mid",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
@@ -7975,9 +8305,9 @@
[[package]]
name = "proc-macro-nested"
-version = "0.1.7"
+version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc881b2c22681370c6a780e47af9840ef841837bc98118431d4e1868bd0c1086"
+checksum = "eba180dafb9038b050a4c280019bbedf9f2467b61e5d892dcad585bb57aadc5a"
[[package]]
name = "proc-macro2"
@@ -8055,18 +8385,18 @@
[[package]]
name = "psm"
-version = "0.1.14"
+version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14ce37fa8c0428a37307d163292add09b3aedc003472e6b3622486878404191d"
+checksum = "3abf49e5417290756acfd26501536358560c4a5cc4a0934d390939acb3e7083a"
dependencies = [
"cc",
]
[[package]]
name = "pwasm-utils"
-version = "0.18.1"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0c1a2f10b47d446372a4f397c58b329aaea72b2daf9395a623a411cb8ccb54f"
+checksum = "a0e517f47d9964362883182404b68d0b6949382c0baa40aa5ffca94f5f1e3481"
dependencies = [
"byteorder",
"log",
@@ -8081,9 +8411,9 @@
[[package]]
name = "quick-error"
-version = "2.0.1"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
+checksum = "3ac73b1112776fc109b2e61909bc46c7e1bf0d7f690ffb1676553acce16d5cda"
[[package]]
name = "quicksink"
@@ -8093,7 +8423,7 @@
dependencies = [
"futures-core",
"futures-sink",
- "pin-project-lite 0.1.12",
+ "pin-project-lite 0.1.7",
]
[[package]]
@@ -8146,7 +8476,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
dependencies = [
- "getrandom 0.1.16",
+ "getrandom 0.1.14",
"libc",
"rand_chacha 0.2.2",
"rand_core 0.5.1",
@@ -8162,8 +8492,8 @@
dependencies = [
"libc",
"rand_chacha 0.3.1",
- "rand_core 0.6.3",
- "rand_hc 0.3.1",
+ "rand_core 0.6.1",
+ "rand_hc 0.3.0",
]
[[package]]
@@ -8183,7 +8513,7 @@
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
- "rand_core 0.6.3",
+ "rand_core 0.6.1",
]
[[package]]
@@ -8207,16 +8537,16 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
dependencies = [
- "getrandom 0.1.16",
+ "getrandom 0.1.14",
]
[[package]]
name = "rand_core"
-version = "0.6.3"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
+checksum = "c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5"
dependencies = [
- "getrandom 0.2.3",
+ "getrandom 0.2.1",
]
[[package]]
@@ -8240,11 +8570,11 @@
[[package]]
name = "rand_hc"
-version = "0.3.1"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d51e9f596de227fda2ea6c84607f5558e196eeaf43c986b724ba4fb8fdf497e7"
+checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73"
dependencies = [
- "rand_core 0.6.3",
+ "rand_core 0.6.1",
]
[[package]]
@@ -8264,25 +8594,25 @@
[[package]]
name = "rayon"
-version = "1.5.1"
+version = "1.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
+checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080"
dependencies = [
"autocfg",
- "crossbeam-deque 0.8.0",
+ "crossbeam-deque",
"either",
"rayon-core",
]
[[package]]
name = "rayon-core"
-version = "1.9.1"
+version = "1.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
+checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280"
dependencies = [
- "crossbeam-channel",
- "crossbeam-deque 0.8.0",
- "crossbeam-utils 0.8.5",
+ "crossbeam-deque",
+ "crossbeam-queue",
+ "crossbeam-utils 0.7.2",
"lazy_static",
"num_cpus",
]
@@ -8298,27 +8628,38 @@
[[package]]
name = "redox_syscall"
-version = "0.1.57"
+version = "0.1.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
+checksum = "2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84"
[[package]]
name = "redox_syscall"
-version = "0.2.9"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ab49abadf3f9e1c4bc499e8845e152ad87d2ad2d30371841171169e9d75feee"
+checksum = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570"
dependencies = [
"bitflags",
]
[[package]]
name = "redox_users"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09b23093265f8d200fa7b4c2c76297f47e681c655f6f1285a8780d6a022f7431"
+dependencies = [
+ "getrandom 0.1.14",
+ "redox_syscall 0.1.56",
+ "rust-argon2",
+]
+
+[[package]]
+name = "redox_users"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
dependencies = [
- "getrandom 0.2.3",
- "redox_syscall 0.2.9",
+ "getrandom 0.2.1",
+ "redox_syscall 0.2.4",
]
[[package]]
@@ -8329,25 +8670,25 @@
dependencies = [
"derive_more",
"fs-err",
- "itertools 0.10.1",
+ "itertools 0.10.0",
"static_init",
"thiserror",
]
[[package]]
name = "ref-cast"
-version = "1.0.6"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "300f2a835d808734ee295d45007adacb9ebb29dd3ae2424acfa17930cae541da"
+checksum = "745c1787167ddae5569661d5ffb8b25ae5fedbf46717eaa92d652221cec72623"
dependencies = [
"ref-cast-impl",
]
[[package]]
name = "ref-cast-impl"
-version = "1.0.6"
+version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2"
+checksum = "7d21b475ab879ef0e315ad99067fa25778c3b0377f57f1b00207448dac1a3144"
dependencies = [
"proc-macro2",
"quote",
@@ -8368,29 +8709,31 @@
[[package]]
name = "regex"
-version = "1.5.4"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
+checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c"
dependencies = [
"aho-corasick",
"memchr",
"regex-syntax",
+ "thread_local",
]
[[package]]
name = "regex-automata"
-version = "0.1.10"
+version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
+checksum = "ae1ded71d66a4a97f5e961fd0cb25a5f366a42a41570d16a763a69c092c26ae4"
dependencies = [
+ "byteorder",
"regex-syntax",
]
[[package]]
name = "regex-syntax"
-version = "0.6.25"
+version = "0.6.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
+checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189"
[[package]]
name = "region"
@@ -8406,8 +8749,8 @@
[[package]]
name = "remote-externalities"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"env_logger 0.8.4",
"hex",
@@ -8494,26 +8837,41 @@
]
[[package]]
+name = "rocksdb"
+version = "0.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7a62eca5cacf2c8261128631bed9f045598d40bfbe4b29f5163f0f802f8f44a7"
+dependencies = [
+ "libc",
+ "librocksdb-sys",
+]
+
+[[package]]
name = "rococo-runtime"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"beefy-primitives",
+ "bp-messages",
"bp-rococo",
+ "bp-runtime",
"bp-wococo",
+ "bridge-runtime-common",
"frame-executive",
"frame-support",
"frame-system",
"frame-system-rpc-runtime-api",
"hex-literal",
"log",
- "max-encoded-len",
"pallet-authority-discovery",
"pallet-authorship",
"pallet-babe",
"pallet-balances",
"pallet-beefy",
+ "pallet-beefy-mmr",
+ "pallet-bridge-dispatch",
"pallet-bridge-grandpa",
+ "pallet-bridge-messages",
"pallet-collective",
"pallet-grandpa",
"pallet-im-online",
@@ -8554,7 +8912,7 @@
"sp-std",
"sp-transaction-pool",
"sp-version",
- "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "substrate-wasm-builder 5.0.0-dev",
"xcm",
"xcm-builder",
"xcm-executor",
@@ -8562,19 +8920,31 @@
[[package]]
name = "rpassword"
-version = "5.0.1"
+version = "5.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffc936cf8a7ea60c58f030fd36a612a48f440610214dc54bc36431f9ea0c3efb"
+checksum = "d755237fc0f99d98641540e66abac8bc46a0652f19148ac9e21de2da06b326c9"
dependencies = [
"libc",
"winapi 0.3.9",
]
[[package]]
+name = "rust-argon2"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2bc8af4bda8e1ff4932523b94d3dd20ee30a87232323eda55903ffd71d2fb017"
+dependencies = [
+ "base64 0.11.0",
+ "blake2b_simd",
+ "constant_time_eq",
+ "crossbeam-utils 0.7.2",
+]
+
+[[package]]
name = "rustc-demangle"
-version = "0.1.20"
+version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dead70b0b5e03e9c814bcb6b01e03e68f7c57a80aa48c72ec92152ab3e818d49"
+checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
[[package]]
name = "rustc-hash"
@@ -8598,19 +8968,10 @@
]
[[package]]
-name = "rustc_version"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0dfe2087c51c460008730de8b57e6a320782fbfb312e1f4d520e6c6fae155ee"
-dependencies = [
- "semver 0.11.0",
-]
-
-[[package]]
name = "rustls"
-version = "0.18.1"
+version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81"
+checksum = "cac94b333ee2aac3284c5b8a1b7fb4dd11cba88c244e3fe33cdbd047af0eb693"
dependencies = [
"base64 0.12.3",
"log",
@@ -8639,7 +9000,7 @@
checksum = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8"
dependencies = [
"openssl-probe",
- "rustls 0.18.1",
+ "rustls 0.18.0",
"schannel",
"security-framework 1.0.0",
]
@@ -8653,14 +9014,14 @@
"openssl-probe",
"rustls 0.19.1",
"schannel",
- "security-framework 2.3.1",
+ "security-framework 2.2.0",
]
[[package]]
name = "ruzstd"
-version = "0.2.4"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cada0ef59efa6a5f4dc5e491f93d9f31e3fc7758df421ff1de8a706338e1100"
+checksum = "3d425143485a37727c7a46e689bbe3b883a00f42b4a52c4ac0f44855c1009b00"
dependencies = [
"byteorder",
"twox-hash",
@@ -8673,7 +9034,7 @@
checksum = "4da5fcb054c46f5a5dff833b129285a93d3f0179531735e6c866e8cc307d2020"
dependencies = [
"futures 0.3.16",
- "pin-project 0.4.28",
+ "pin-project 0.4.23",
"static_assertions",
]
@@ -8689,7 +9050,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d3d055a2582e6b00ed7a31c1524040aa391092bf636328350813f3a0605215c"
dependencies = [
- "rustc_version 0.2.3",
+ "rustc_version",
]
[[package]]
@@ -8712,20 +9073,19 @@
[[package]]
name = "sc-allocator"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"log",
"sp-core",
- "sp-std",
"sp-wasm-interface",
"thiserror",
]
[[package]]
name = "sc-authority-discovery"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"derive_more",
@@ -8753,8 +9113,8 @@
[[package]]
name = "sc-basic-authorship"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"futures-timer 3.0.2",
@@ -8764,20 +9124,20 @@
"sc-client-api",
"sc-proposer-metrics",
"sc-telemetry",
+ "sc-transaction-pool-api",
"sp-api",
"sp-blockchain",
"sp-consensus",
"sp-core",
"sp-inherents",
"sp-runtime",
- "sp-transaction-pool",
"substrate-prometheus-endpoint",
]
[[package]]
name = "sc-block-builder"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sc-client-api",
@@ -8792,28 +9152,24 @@
[[package]]
name = "sc-chain-spec"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
"sc-chain-spec-derive",
- "sc-consensus-babe",
- "sc-consensus-epochs",
- "sc-finality-grandpa",
"sc-network",
"sc-telemetry",
"serde",
"serde_json",
- "sp-consensus-babe",
"sp-core",
"sp-runtime",
]
[[package]]
name = "sc-chain-spec-derive"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
@@ -8823,8 +9179,8 @@
[[package]]
name = "sc-cli"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"chrono",
"fdlimit",
@@ -8856,13 +9212,13 @@
"structopt",
"thiserror",
"tiny-bip39",
- "tokio 0.2.25",
+ "tokio 0.2.21",
]
[[package]]
name = "sc-client-api"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"derive_more",
"fnv",
@@ -8874,6 +9230,7 @@
"parity-scale-codec",
"parking_lot 0.11.1",
"sc-executor",
+ "sc-transaction-pool-api",
"sp-api",
"sp-blockchain",
"sp-consensus",
@@ -8886,7 +9243,6 @@
"sp-state-machine",
"sp-std",
"sp-storage",
- "sp-transaction-pool",
"sp-trie",
"sp-utils",
"sp-version",
@@ -8895,14 +9251,14 @@
[[package]]
name = "sc-client-db"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"blake2-rfc",
"hash-db",
"kvdb",
"kvdb-memorydb",
- "kvdb-rocksdb",
+ "kvdb-rocksdb 0.12.0",
"linked-hash-map",
"log",
"parity-db",
@@ -8914,7 +9270,6 @@
"sc-state-db",
"sp-arithmetic",
"sp-blockchain",
- "sp-consensus",
"sp-core",
"sp-database",
"sp-runtime",
@@ -8925,21 +9280,33 @@
[[package]]
name = "sc-consensus"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "libp2p",
+ "log",
"parking_lot 0.11.1",
"sc-client-api",
+ "serde",
+ "sp-api",
"sp-blockchain",
"sp-consensus",
+ "sp-core",
"sp-runtime",
+ "sp-state-machine",
+ "sp-utils",
+ "substrate-prometheus-endpoint",
+ "thiserror",
+ "wasm-timer",
]
[[package]]
name = "sc-consensus-aura"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"derive_more",
@@ -8949,6 +9316,7 @@
"parity-scale-codec",
"sc-block-builder",
"sc-client-api",
+ "sc-consensus",
"sc-consensus-slots",
"sc-telemetry",
"sp-api",
@@ -8969,8 +9337,8 @@
[[package]]
name = "sc-consensus-babe"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"derive_more",
@@ -8988,6 +9356,7 @@
"rand 0.7.3",
"retain_mut",
"sc-client-api",
+ "sc-consensus",
"sc-consensus-epochs",
"sc-consensus-slots",
"sc-consensus-uncles",
@@ -9015,8 +9384,8 @@
[[package]]
name = "sc-consensus-babe-rpc"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"derive_more",
"futures 0.3.16",
@@ -9039,8 +9408,8 @@
[[package]]
name = "sc-consensus-epochs"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"fork-tree",
"parity-scale-codec",
@@ -9052,16 +9421,17 @@
[[package]]
name = "sc-consensus-slots"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"futures 0.3.16",
"futures-timer 3.0.2",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
"parity-scale-codec",
"sc-client-api",
+ "sc-consensus",
"sc-telemetry",
"sp-api",
"sp-application-crypto",
@@ -9080,8 +9450,8 @@
[[package]]
name = "sc-consensus-uncles"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"sc-client-api",
"sp-authorship",
@@ -9091,8 +9461,8 @@
[[package]]
name = "sc-executor"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"derive_more",
"lazy_static",
@@ -9120,8 +9490,8 @@
[[package]]
name = "sc-executor-common"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"derive_more",
"parity-scale-codec",
@@ -9137,8 +9507,8 @@
[[package]]
name = "sc-executor-wasmi"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"log",
"parity-scale-codec",
@@ -9152,14 +9522,15 @@
[[package]]
name = "sc-executor-wasmtime"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"cfg-if 1.0.0",
"libc",
"log",
"parity-scale-codec",
"parity-wasm 0.42.2",
+ "pwasm-utils",
"sc-allocator",
"sc-executor-common",
"scoped-tls",
@@ -9171,8 +9542,8 @@
[[package]]
name = "sc-finality-grandpa"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"derive_more",
@@ -9185,8 +9556,8 @@
"log",
"parity-scale-codec",
"parking_lot 0.11.1",
- "pin-project 1.0.8",
- "rand 0.7.3",
+ "pin-project 1.0.7",
+ "rand 0.8.4",
"sc-block-builder",
"sc-client-api",
"sc-consensus",
@@ -9212,8 +9583,8 @@
[[package]]
name = "sc-finality-grandpa-rpc"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"derive_more",
"finality-grandpa",
@@ -9235,30 +9606,9 @@
]
[[package]]
-name = "sc-finality-grandpa-warp-sync"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
-dependencies = [
- "derive_more",
- "futures 0.3.16",
- "log",
- "num-traits",
- "parity-scale-codec",
- "parking_lot 0.11.1",
- "prost",
- "sc-client-api",
- "sc-finality-grandpa",
- "sc-network",
- "sc-service",
- "sp-blockchain",
- "sp-finality-grandpa",
- "sp-runtime",
-]
-
-[[package]]
name = "sc-informant"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"ansi_term 0.12.1",
"futures 0.3.16",
@@ -9267,16 +9617,16 @@
"parity-util-mem",
"sc-client-api",
"sc-network",
+ "sc-transaction-pool-api",
"sp-blockchain",
"sp-runtime",
- "sp-transaction-pool",
"wasm-timer",
]
[[package]]
name = "sc-keystore"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"derive_more",
@@ -9290,13 +9640,13 @@
"sp-application-crypto",
"sp-core",
"sp-keystore",
- "subtle 2.4.1",
+ "subtle 2.2.3",
]
[[package]]
name = "sc-light"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"hash-db",
"lazy_static",
@@ -9314,8 +9664,8 @@
[[package]]
name = "sc-network"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-std",
"async-trait",
@@ -9341,12 +9691,13 @@
"nohash-hasher",
"parity-scale-codec",
"parking_lot 0.11.1",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"prost",
"prost-build",
"rand 0.7.3",
"sc-block-builder",
"sc-client-api",
+ "sc-consensus",
"sc-peerset",
"serde",
"serde_json",
@@ -9355,6 +9706,7 @@
"sp-blockchain",
"sp-consensus",
"sp-core",
+ "sp-finality-grandpa",
"sp-runtime",
"sp-utils",
"substrate-prometheus-endpoint",
@@ -9367,8 +9719,8 @@
[[package]]
name = "sc-network-gossip"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"futures-timer 3.0.2",
@@ -9384,15 +9736,15 @@
[[package]]
name = "sc-offchain"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"bytes 0.5.6",
"fnv",
"futures 0.3.16",
"futures-timer 3.0.2",
"hex",
- "hyper 0.13.10",
+ "hyper 0.13.9",
"hyper-rustls",
"log",
"num_cpus",
@@ -9412,8 +9764,8 @@
[[package]]
name = "sc-peerset"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"libp2p",
@@ -9426,7 +9778,7 @@
[[package]]
name = "sc-proposer-metrics"
version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -9434,8 +9786,8 @@
[[package]]
name = "sc-rpc"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"hash-db",
@@ -9451,6 +9803,7 @@
"sc-keystore",
"sc-rpc-api",
"sc-tracing",
+ "sc-transaction-pool-api",
"serde_json",
"sp-api",
"sp-blockchain",
@@ -9462,15 +9815,14 @@
"sp-session",
"sp-state-machine",
"sp-tracing",
- "sp-transaction-pool",
"sp-utils",
"sp-version",
]
[[package]]
name = "sc-rpc-api"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"derive_more",
"futures 0.3.16",
@@ -9482,22 +9834,22 @@
"parity-scale-codec",
"parking_lot 0.11.1",
"sc-chain-spec",
+ "sc-transaction-pool-api",
"serde",
"serde_json",
"sp-core",
"sp-rpc",
"sp-runtime",
"sp-tracing",
- "sp-transaction-pool",
"sp-version",
]
[[package]]
name = "sc-rpc-server"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
"jsonrpc-core 15.1.0",
"jsonrpc-http-server",
"jsonrpc-ipc-server",
@@ -9512,13 +9864,13 @@
[[package]]
name = "sc-service"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"directories",
"exit-future",
- "futures 0.1.31",
+ "futures 0.1.29",
"futures 0.3.16",
"futures-timer 3.0.2",
"hash-db",
@@ -9529,12 +9881,13 @@
"parity-scale-codec",
"parity-util-mem",
"parking_lot 0.11.1",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"rand 0.7.3",
"sc-block-builder",
"sc-chain-spec",
"sc-client-api",
"sc-client-db",
+ "sc-consensus",
"sc-executor",
"sc-informant",
"sc-keystore",
@@ -9546,6 +9899,7 @@
"sc-telemetry",
"sc-tracing",
"sc-transaction-pool",
+ "sc-transaction-pool-api",
"serde",
"serde_json",
"sp-api",
@@ -9578,8 +9932,8 @@
[[package]]
name = "sc-state-db"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"log",
"parity-scale-codec",
@@ -9593,18 +9947,20 @@
[[package]]
name = "sc-sync-state-rpc"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"jsonrpc-core 15.1.0",
"jsonrpc-core-client 15.1.0",
"jsonrpc-derive 15.1.0",
+ "parity-scale-codec",
"sc-chain-spec",
"sc-client-api",
"sc-consensus-babe",
"sc-consensus-epochs",
"sc-finality-grandpa",
"sc-rpc-api",
+ "serde",
"serde_json",
"sp-blockchain",
"sp-runtime",
@@ -9613,15 +9969,15 @@
[[package]]
name = "sc-telemetry"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"chrono",
"futures 0.3.16",
"libp2p",
"log",
"parking_lot 0.11.1",
- "pin-project 1.0.8",
+ "pin-project 1.0.7",
"rand 0.7.3",
"serde",
"serde_json",
@@ -9633,8 +9989,8 @@
[[package]]
name = "sc-tracing"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"ansi_term 0.12.1",
"atty",
@@ -9670,8 +10026,8 @@
[[package]]
name = "sc-tracing-proc-macro"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
@@ -9680,53 +10036,75 @@
]
[[package]]
-name = "sc-transaction-graph"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+name = "sc-transaction-pool"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"derive_more",
"futures 0.3.16",
+ "intervalier",
"linked-hash-map",
"log",
+ "parity-scale-codec",
"parity-util-mem",
"parking_lot 0.11.1",
"retain_mut",
+ "sc-client-api",
+ "sc-transaction-pool-api",
"serde",
+ "sp-api",
"sp-blockchain",
"sp-core",
"sp-runtime",
+ "sp-tracing",
"sp-transaction-pool",
"sp-utils",
+ "substrate-prometheus-endpoint",
"thiserror",
"wasm-timer",
]
[[package]]
-name = "sc-transaction-pool"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+name = "sc-transaction-pool-api"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
+ "derive_more",
"futures 0.3.16",
- "intervalier",
"log",
"parity-scale-codec",
- "parity-util-mem",
- "parking_lot 0.11.1",
- "sc-client-api",
- "sc-transaction-graph",
- "sp-api",
+ "serde",
"sp-blockchain",
- "sp-core",
"sp-runtime",
- "sp-tracing",
- "sp-transaction-pool",
- "sp-utils",
- "substrate-prometheus-endpoint",
"thiserror",
- "wasm-timer",
]
[[package]]
+name = "scale-info"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2e62ff266e136db561a007c84569985805f84a1d5a08278e52c36aacb6e061b"
+dependencies = [
+ "bitvec 0.20.1",
+ "cfg-if 1.0.0",
+ "derive_more",
+ "parity-scale-codec",
+ "scale-info-derive",
+]
+
+[[package]]
+name = "scale-info-derive"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b648fa291891a4c80187a25532f6a7d96b82c70353e30b868b14632b8fe043d6"
+dependencies = [
+ "proc-macro-crate 1.0.0",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "schannel"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -9744,13 +10122,13 @@
dependencies = [
"arrayref",
"arrayvec 0.5.2",
- "curve25519-dalek 2.1.3",
- "getrandom 0.1.16",
+ "curve25519-dalek 2.1.0",
+ "getrandom 0.1.14",
"merlin",
"rand 0.7.3",
"rand_core 0.5.1",
"sha2 0.8.2",
- "subtle 2.4.1",
+ "subtle 2.2.3",
"zeroize",
]
@@ -9765,32 +10143,12 @@
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
-
-[[package]]
-name = "scroll"
-version = "0.10.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fda28d4b4830b807a8b43f7b0e6b5df875311b3e7621d84577188c175b6ec1ec"
-dependencies = [
- "scroll_derive",
-]
[[package]]
-name = "scroll_derive"
-version = "0.10.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aaaae8f38bb311444cfb7f1979af0bc9240d95795f75f9ceddf6a59b79ceffa0"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn",
-]
-
-[[package]]
name = "sct"
-version = "0.6.1"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce"
+checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c"
dependencies = [
"ring",
"untrusted",
@@ -9820,15 +10178,15 @@
[[package]]
name = "security-framework"
-version = "2.3.1"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23a2ac85147a3a11d77ecf1bc7166ec0b92febfa4461c37944e180f319ece467"
+checksum = "3670b1d2fdf6084d192bc71ead7aabe6c06aa2ea3fbd9cc3ac111fa5c2b1bd84"
dependencies = [
"bitflags",
"core-foundation 0.9.1",
"core-foundation-sys 0.8.2",
"libc",
- "security-framework-sys 2.3.0",
+ "security-framework-sys 2.2.0",
]
[[package]]
@@ -9843,9 +10201,9 @@
[[package]]
name = "security-framework-sys"
-version = "2.3.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e4effb91b4b8b6fb7732e670b6cee160278ff8e6bf485c7805d9e319d76e284"
+checksum = "3676258fd3cfe2c9a0ec99ce3038798d847ce3e4bb17746373eb9f0f1ac16339"
dependencies = [
"core-foundation-sys 0.8.2",
"libc",
@@ -9896,18 +10254,18 @@
[[package]]
name = "serde"
-version = "1.0.126"
+version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03"
+checksum = "f03b9878abf6d14e6779d3f24f07b2cfa90352cfec4acc5aab8f1ac7f146fae8"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.126"
+version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43"
+checksum = "a024926d3432516606328597e0f224a51355a493b49fdd67e9209187cbe55ecc"
dependencies = [
"proc-macro2",
"quote",
@@ -9939,9 +10297,9 @@
[[package]]
name = "sha-1"
-version = "0.9.7"
+version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a0c8611594e2ab4ebbf06ec7cbbf0a99450b8570e96cbf5188b5d5f6ef18d81"
+checksum = "8c4cfa741c5832d0ef7fab46cabed29c2aae926db0b11bb2069edd8db5e64e16"
dependencies = [
"block-buffer 0.9.0",
"cfg-if 1.0.0",
@@ -9964,13 +10322,13 @@
[[package]]
name = "sha2"
-version = "0.9.5"
+version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12"
+checksum = "6e7aab86fe2149bad8c507606bdb3f4ef5e7b2380eb92350f56122cca72a42a8"
dependencies = [
"block-buffer 0.9.0",
"cfg-if 1.0.0",
- "cpufeatures",
+ "cpuid-bool",
"digest 0.9.0",
"opaque-debug 0.3.0",
]
@@ -10002,18 +10360,19 @@
[[package]]
name = "sharded-slab"
-version = "0.1.1"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3"
+checksum = "7b4921be914e16899a80adefb821f8ddb7974e3f1250223575a44ed994882127"
dependencies = [
"lazy_static",
+ "loom",
]
[[package]]
name = "shlex"
-version = "1.0.0"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d"
+checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
[[package]]
name = "signal-hook"
@@ -10036,9 +10395,9 @@
[[package]]
name = "signature"
-version = "1.3.1"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c19772be3c4dd2ceaacf03cb41d5885f2a02c4d8804884918e3a258480803335"
+checksum = "65211b7b6fc3f14ff9fc7a2011a434e3e6880585bd2e9e9396315ae24cbf7852"
[[package]]
name = "simba"
@@ -10054,9 +10413,9 @@
[[package]]
name = "slab"
-version = "0.4.3"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527"
+checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
[[package]]
name = "slog"
@@ -10069,8 +10428,8 @@
[[package]]
name = "slot-range-helper"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"enumn",
"parity-scale-codec",
@@ -10090,9 +10449,9 @@
[[package]]
name = "smallvec"
-version = "0.6.14"
+version = "0.6.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0"
+checksum = "f7b0758c52e15a8b5e3691eae6cc559f08eee9406e548a4477ba4e67770a82b6"
dependencies = [
"maybe-uninit",
]
@@ -10105,9 +10464,9 @@
[[package]]
name = "snow"
-version = "0.7.2"
+version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50"
+checksum = "32bf8474159a95551661246cda4976e89356999e3cbfef36f493dacc3fae1e8e"
dependencies = [
"aes-gcm",
"blake2",
@@ -10115,20 +10474,21 @@
"rand 0.7.3",
"rand_core 0.5.1",
"ring",
- "rustc_version 0.2.3",
- "sha2 0.9.5",
- "subtle 2.4.1",
- "x25519-dalek",
+ "rustc_version",
+ "sha2 0.9.2",
+ "subtle 2.2.3",
+ "x25519-dalek 0.6.0",
]
[[package]]
name = "socket2"
-version = "0.3.19"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e"
+checksum = "2c29947abdee2a218277abeca306f25789c938e500ea5a9d4b12a5a504466902"
dependencies = [
"cfg-if 1.0.0",
"libc",
+ "redox_syscall 0.1.56",
"winapi 0.3.9",
]
@@ -10144,9 +10504,9 @@
[[package]]
name = "soketto"
-version = "0.4.2"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b5c71ed3d54db0a699f4948e1bb3e45b450fa31fe602621dee6680361d569c88"
+checksum = "85457366ae0c6ce56bf05a958aef14cd38513c236568618edbcd9a8c52cb80b0"
dependencies = [
"base64 0.12.3",
"bytes 0.5.6",
@@ -10155,14 +10515,14 @@
"httparse",
"log",
"rand 0.7.3",
- "sha-1 0.9.7",
+ "sha-1 0.8.2",
]
[[package]]
name = "soketto"
-version = "0.5.0"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4919971d141dbadaa0e82b5d369e2d7666c98e4625046140615ca363e50d4daa"
+checksum = "a74e48087dbeed4833785c2f3352b59140095dc192dce966a3bfc155020a439f"
dependencies = [
"base64 0.13.0",
"bytes 1.0.1",
@@ -10170,13 +10530,13 @@
"httparse",
"log",
"rand 0.8.4",
- "sha-1 0.9.7",
+ "sha-1 0.9.6",
]
[[package]]
name = "sp-api"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"hash-db",
"log",
@@ -10192,8 +10552,8 @@
[[package]]
name = "sp-api-proc-macro"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"blake2-rfc",
"proc-macro-crate 1.0.0",
@@ -10204,10 +10564,9 @@
[[package]]
name = "sp-application-crypto"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
- "max-encoded-len",
"parity-scale-codec",
"serde",
"sp-core",
@@ -10217,8 +10576,8 @@
[[package]]
name = "sp-arithmetic"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"integer-sqrt",
"num-traits",
@@ -10231,8 +10590,8 @@
[[package]]
name = "sp-authority-discovery"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -10243,8 +10602,8 @@
[[package]]
name = "sp-authorship"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -10255,8 +10614,8 @@
[[package]]
name = "sp-block-builder"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -10267,8 +10626,8 @@
[[package]]
name = "sp-blockchain"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"log",
@@ -10285,13 +10644,12 @@
[[package]]
name = "sp-consensus"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"futures 0.3.16",
"futures-timer 3.0.2",
- "libp2p",
"log",
"parity-scale-codec",
"parking_lot 0.11.1",
@@ -10312,8 +10670,8 @@
[[package]]
name = "sp-consensus-aura"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -10329,8 +10687,8 @@
[[package]]
name = "sp-consensus-babe"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"merlin",
@@ -10351,8 +10709,8 @@
[[package]]
name = "sp-consensus-slots"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sp-arithmetic",
@@ -10361,8 +10719,8 @@
[[package]]
name = "sp-consensus-vrf"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"schnorrkel",
@@ -10373,8 +10731,8 @@
[[package]]
name = "sp-core"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"base58",
"blake2-rfc",
@@ -10389,19 +10747,18 @@
"lazy_static",
"libsecp256k1 0.3.5",
"log",
- "max-encoded-len",
"merlin",
"num-traits",
"parity-scale-codec",
"parity-util-mem",
"parking_lot 0.11.1",
- "primitive-types",
+ "primitive-types 0.10.1",
"rand 0.7.3",
"regex",
"schnorrkel",
"secrecy",
"serde",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"sp-debug-derive",
"sp-externalities",
"sp-runtime-interface",
@@ -10418,8 +10775,8 @@
[[package]]
name = "sp-database"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"kvdb",
"parking_lot 0.11.1",
@@ -10428,7 +10785,7 @@
[[package]]
name = "sp-debug-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro2",
"quote",
@@ -10437,8 +10794,8 @@
[[package]]
name = "sp-externalities"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -10448,8 +10805,8 @@
[[package]]
name = "sp-finality-grandpa"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"finality-grandpa",
"log",
@@ -10465,11 +10822,11 @@
[[package]]
name = "sp-inherents"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
"sp-core",
"sp-runtime",
@@ -10479,8 +10836,8 @@
[[package]]
name = "sp-io"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"hash-db",
@@ -10504,8 +10861,8 @@
[[package]]
name = "sp-keyring"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"lazy_static",
"sp-core",
@@ -10515,8 +10872,8 @@
[[package]]
name = "sp-keystore"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"derive_more",
@@ -10532,8 +10889,8 @@
[[package]]
name = "sp-maybe-compressed-blob"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"ruzstd",
"zstd",
@@ -10541,8 +10898,8 @@
[[package]]
name = "sp-npos-elections"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"serde",
@@ -10554,8 +10911,8 @@
[[package]]
name = "sp-npos-elections-compact"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
@@ -10565,8 +10922,8 @@
[[package]]
name = "sp-offchain"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"sp-api",
"sp-core",
@@ -10576,15 +10933,15 @@
[[package]]
name = "sp-panic-handler"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"backtrace",
]
[[package]]
name = "sp-rpc"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"rustc-hash",
"serde",
@@ -10594,14 +10951,13 @@
[[package]]
name = "sp-runtime"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"either",
"hash256-std-hasher",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
- "max-encoded-len",
"parity-scale-codec",
"parity-util-mem",
"paste",
@@ -10616,12 +10972,12 @@
[[package]]
name = "sp-runtime-interface"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
- "primitive-types",
+ "primitive-types 0.10.1",
"sp-externalities",
"sp-runtime-interface-proc-macro",
"sp-std",
@@ -10633,8 +10989,8 @@
[[package]]
name = "sp-runtime-interface-proc-macro"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"Inflector",
"proc-macro-crate 1.0.0",
@@ -10645,8 +11001,8 @@
[[package]]
name = "sp-sandbox"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sp-core",
@@ -10659,7 +11015,7 @@
[[package]]
name = "sp-serializer"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"serde",
"serde_json",
@@ -10667,8 +11023,8 @@
[[package]]
name = "sp-session"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -10680,8 +11036,8 @@
[[package]]
name = "sp-staking"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"sp-runtime",
@@ -10690,8 +11046,8 @@
[[package]]
name = "sp-state-machine"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"hash-db",
"log",
@@ -10713,13 +11069,13 @@
[[package]]
name = "sp-std"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
[[package]]
name = "sp-storage"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -10731,8 +11087,8 @@
[[package]]
name = "sp-tasks"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"log",
"sp-core",
@@ -10744,8 +11100,8 @@
[[package]]
name = "sp-timestamp"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"futures-timer 3.0.2",
@@ -10761,8 +11117,8 @@
[[package]]
name = "sp-tracing"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"erased-serde",
"log",
@@ -10779,24 +11135,17 @@
[[package]]
name = "sp-transaction-pool"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
- "derive_more",
- "futures 0.3.16",
- "log",
- "parity-scale-codec",
- "serde",
"sp-api",
- "sp-blockchain",
"sp-runtime",
- "thiserror",
]
[[package]]
name = "sp-transaction-storage-proof"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
"log",
@@ -10810,8 +11159,8 @@
[[package]]
name = "sp-trie"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"hash-db",
"memory-db",
@@ -10824,8 +11173,8 @@
[[package]]
name = "sp-utils"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"futures-core",
@@ -10836,21 +11185,23 @@
[[package]]
name = "sp-version"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"impl-serde",
"parity-scale-codec",
+ "parity-wasm 0.42.2",
"serde",
"sp-runtime",
"sp-std",
"sp-version-proc-macro",
+ "thiserror",
]
[[package]]
name = "sp-version-proc-macro"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"parity-scale-codec",
"proc-macro-crate 1.0.0",
@@ -10861,10 +11212,10 @@
[[package]]
name = "sp-wasm-interface"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"parity-scale-codec",
"sp-std",
"wasmi",
@@ -10878,9 +11229,9 @@
[[package]]
name = "stable_deref_trait"
-version = "1.2.0"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
+checksum = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8"
[[package]]
name = "static_assertions"
@@ -10928,11 +11279,10 @@
[[package]]
name = "stream-cipher"
-version = "0.7.1"
+version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c80e15f898d8d8f25db24c253ea615cc14acf418ff307822995814e7d42cfa89"
+checksum = "09f8ed9974042b8c3672ff3030a69fcc03b74c47c3d1ecb7755e8a3626011e88"
dependencies = [
- "block-cipher",
"generic-array 0.14.4",
]
@@ -10975,7 +11325,7 @@
checksum = "7813934aecf5f51a54775e00068c237de98489463968231a51746bbbc03f9c10"
dependencies = [
"heck",
- "proc-macro-error",
+ "proc-macro-error 1.0.4",
"proc-macro2",
"quote",
"syn",
@@ -11018,15 +11368,15 @@
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"platforms",
]
[[package]]
name = "substrate-frame-rpc-system"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-system-rpc-runtime-api",
"futures 0.3.16",
@@ -11037,36 +11387,36 @@
"parity-scale-codec",
"sc-client-api",
"sc-rpc-api",
+ "sc-transaction-pool-api",
"serde",
"sp-api",
"sp-block-builder",
"sp-blockchain",
"sp-core",
"sp-runtime",
- "sp-transaction-pool",
]
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-std",
"derive_more",
"futures-util",
- "hyper 0.13.10",
+ "hyper 0.13.9",
"log",
"prometheus",
- "tokio 0.2.25",
+ "tokio 0.2.21",
]
[[package]]
name = "substrate-test-client"
version = "2.0.1"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"async-trait",
- "futures 0.1.31",
+ "futures 0.1.29",
"futures 0.3.16",
"hash-db",
"hex",
@@ -11091,18 +11441,18 @@
[[package]]
name = "substrate-test-utils"
-version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"futures 0.3.16",
"substrate-test-utils-derive",
- "tokio 0.2.25",
+ "tokio 0.2.21",
]
[[package]]
name = "substrate-test-utils-derive"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"proc-macro-crate 1.0.0",
"quote",
@@ -11112,13 +11462,13 @@
[[package]]
name = "substrate-wasm-builder"
version = "4.0.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93a3d51ad6abbc408b03ea962062bfcc959b438a318d7d4bedd181e1effd0610"
dependencies = [
"ansi_term 0.12.1",
"atty",
"build-helper",
- "cargo_metadata 0.13.1",
- "sp-maybe-compressed-blob",
+ "cargo_metadata 0.12.3",
"tempfile",
"toml",
"walkdir",
@@ -11127,14 +11477,14 @@
[[package]]
name = "substrate-wasm-builder"
-version = "4.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93a3d51ad6abbc408b03ea962062bfcc959b438a318d7d4bedd181e1effd0610"
+version = "5.0.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"ansi_term 0.12.1",
"atty",
"build-helper",
- "cargo_metadata 0.12.3",
+ "cargo_metadata 0.13.1",
+ "sp-maybe-compressed-blob",
"tempfile",
"toml",
"walkdir",
@@ -11149,9 +11499,9 @@
[[package]]
name = "subtle"
-version = "2.4.1"
+version = "2.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
+checksum = "502d53007c02d7605a05df1c1a73ee436952781653da5d0bf57ad608f66932c1"
[[package]]
name = "syn"
@@ -11165,10 +11515,21 @@
]
[[package]]
+name = "syn-mid"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baa8e7560a164edb1621a55d18a0c59abf49d360f47aa7b821061dd7eea7fac9"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "synstructure"
-version = "0.12.5"
+version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "474aaa926faa1603c40b7885a9eaea29b444d1cb2850cb7c0e37bb1a4182f4fa"
+checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"
dependencies = [
"proc-macro2",
"quote",
@@ -11184,15 +11545,15 @@
[[package]]
name = "tap"
-version = "1.0.1"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
+checksum = "36474e732d1affd3a6ed582781b3683df3d0563714c59c39591e8ff707cf078e"
[[package]]
name = "target-lexicon"
-version = "0.12.1"
+version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b0652da4c4121005e9ed22b79f6c5f2d9e2752906b53a33e9490489ba421a6fb"
+checksum = "64ae3b39281e4b14b8123bdbaddd472b7dfe215e444181f2f9d2443c2444f834"
[[package]]
name = "tempfile"
@@ -11203,16 +11564,16 @@
"cfg-if 1.0.0",
"libc",
"rand 0.8.4",
- "redox_syscall 0.2.9",
+ "redox_syscall 0.2.4",
"remove_dir_all",
"winapi 0.3.9",
]
[[package]]
name = "termcolor"
-version = "1.1.2"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"
+checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f"
dependencies = [
"winapi-util",
]
@@ -11279,12 +11640,11 @@
[[package]]
name = "time"
-version = "0.1.44"
+version = "0.1.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
+checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
dependencies = [
"libc",
- "wasi 0.10.0+wasi-snapshot-preview1",
"winapi 0.3.9",
]
@@ -11300,7 +11660,7 @@
"pbkdf2 0.4.0",
"rand 0.7.3",
"rustc-hash",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"thiserror",
"unicode-normalization",
"zeroize",
@@ -11317,9 +11677,15 @@
[[package]]
name = "tinyvec"
-version = "1.3.1"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "53953d2d3a5ad81d9f844a32f14ebb121f50b650cd59d0ee2a07cf13c617efed"
+
+[[package]]
+name = "tinyvec"
+version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "848a1e1181b9f6753b5e96a092749e29b11d19ede67dfbbd6c7dc7e0f49b5338"
+checksum = "317cca572a0e89c3ce0ca1f1bdc9369547fe318a683418e42ac8f59d14701023"
dependencies = [
"tinyvec_macros",
]
@@ -11337,7 +11703,7 @@
checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"mio",
"num_cpus",
"tokio-codec",
@@ -11356,9 +11722,9 @@
[[package]]
name = "tokio"
-version = "0.2.25"
+version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092"
+checksum = "d099fa27b9702bed751524694adbe393e18b36b204da91eb1cbbbbb4a5ee2d58"
dependencies = [
"bytes 0.5.6",
"fnv",
@@ -11370,7 +11736,7 @@
"mio",
"mio-uds",
"num_cpus",
- "pin-project-lite 0.1.12",
+ "pin-project-lite 0.1.7",
"signal-hook-registry",
"slab",
"tokio-macros",
@@ -11379,12 +11745,12 @@
[[package]]
name = "tokio"
-version = "1.9.0"
+version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b7b349f11a7047e6d1276853e612d152f5e8a352c61917887cc2169e2366b4c"
+checksum = "0a38d31d7831c6ed7aad00aa4c12d9375fd225a6dd77da1d25b707346319a975"
dependencies = [
"autocfg",
- "pin-project-lite 0.2.7",
+ "pin-project-lite 0.2.4",
]
[[package]]
@@ -11395,7 +11761,7 @@
dependencies = [
"bytes 0.4.12",
"either",
- "futures 0.1.31",
+ "futures 0.1.29",
]
[[package]]
@@ -11405,7 +11771,7 @@
checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"tokio-io",
]
@@ -11415,7 +11781,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
"tokio-executor",
]
@@ -11426,7 +11792,7 @@
checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
dependencies = [
"crossbeam-utils 0.7.2",
- "futures 0.1.31",
+ "futures 0.1.29",
]
[[package]]
@@ -11435,7 +11801,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
"tokio-io",
"tokio-threadpool",
]
@@ -11447,15 +11813,15 @@
checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"log",
]
[[package]]
name = "tokio-macros"
-version = "0.2.6"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a"
+checksum = "f0c3acc6aa564495a0f2e1d59fab677cd7f81a19994cfc7f3ad0e64301560389"
dependencies = [
"proc-macro2",
"quote",
@@ -11469,7 +11835,7 @@
checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"mio",
"mio-named-pipes",
"tokio 0.1.22",
@@ -11482,7 +11848,7 @@
checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
dependencies = [
"crossbeam-utils 0.7.2",
- "futures 0.1.31",
+ "futures 0.1.29",
"lazy_static",
"log",
"mio",
@@ -11496,13 +11862,13 @@
[[package]]
name = "tokio-rustls"
-version = "0.14.1"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a"
+checksum = "228139ddd4fea3fa345a29233009635235833e52807af7ea6448ead03890d6a9"
dependencies = [
"futures-core",
- "rustls 0.18.1",
- "tokio 0.2.25",
+ "rustls 0.18.0",
+ "tokio 0.2.21",
"webpki",
]
@@ -11514,7 +11880,7 @@
dependencies = [
"futures-core",
"rustls 0.19.1",
- "tokio 0.2.25",
+ "tokio 0.2.21",
"webpki",
]
@@ -11524,7 +11890,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
]
[[package]]
@@ -11534,7 +11900,7 @@
checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
dependencies = [
"fnv",
- "futures 0.1.31",
+ "futures 0.1.29",
]
[[package]]
@@ -11544,7 +11910,7 @@
checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"iovec",
"mio",
"tokio-io",
@@ -11557,10 +11923,10 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89"
dependencies = [
- "crossbeam-deque 0.7.3",
+ "crossbeam-deque",
"crossbeam-queue",
"crossbeam-utils 0.7.2",
- "futures 0.1.31",
+ "futures 0.1.29",
"lazy_static",
"log",
"num_cpus",
@@ -11575,7 +11941,7 @@
checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
dependencies = [
"crossbeam-utils 0.7.2",
- "futures 0.1.31",
+ "futures 0.1.29",
"slab",
"tokio-executor",
]
@@ -11587,7 +11953,7 @@
checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"log",
"mio",
"tokio-codec",
@@ -11602,7 +11968,7 @@
checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0"
dependencies = [
"bytes 0.4.12",
- "futures 0.1.31",
+ "futures 0.1.29",
"iovec",
"libc",
"log",
@@ -11624,24 +11990,24 @@
"futures-io",
"futures-sink",
"log",
- "pin-project-lite 0.1.12",
- "tokio 0.2.25",
+ "pin-project-lite 0.1.7",
+ "tokio 0.2.21",
]
[[package]]
name = "toml"
-version = "0.5.8"
+version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa"
+checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a"
dependencies = [
"serde",
]
[[package]]
name = "tower-service"
-version = "0.3.1"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
+checksum = "e987b6bf443f4b5b3b6f38704195592cca41c5bb7aedd3c3693c7081f8289860"
[[package]]
name = "tracing"
@@ -11651,7 +12017,7 @@
dependencies = [
"cfg-if 1.0.0",
"log",
- "pin-project-lite 0.2.7",
+ "pin-project-lite 0.2.4",
"tracing-attributes",
"tracing-core",
]
@@ -11678,11 +12044,11 @@
[[package]]
name = "tracing-futures"
-version = "0.2.5"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2"
+checksum = "ab7bb6f14721aa00656086e9335d363c5c8747bae02ebe32ea2c7dece5689b4c"
dependencies = [
- "pin-project 1.0.8",
+ "pin-project 0.4.23",
"tracing",
]
@@ -11709,9 +12075,9 @@
[[package]]
name = "tracing-subscriber"
-version = "0.2.19"
+version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab69019741fca4d98be3c62d2b75254528b5432233fd8a4d2739fec20278de48"
+checksum = "aa5553bf0883ba7c9cbe493b085c29926bd41b66afc31ff72cf17ff4fb60dcd5"
dependencies = [
"ansi_term 0.12.1",
"chrono",
@@ -11763,9 +12129,9 @@
[[package]]
name = "trust-dns-proto"
-version = "0.20.3"
+version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad0d7f5db438199a6e2609debe3f69f808d074e0a2888ee0bccb45fe234d03f4"
+checksum = "8d57e219ba600dd96c2f6d82eb79645068e14edbc5c7e27514af40436b88150c"
dependencies = [
"async-trait",
"cfg-if 1.0.0",
@@ -11774,22 +12140,22 @@
"futures-channel",
"futures-io",
"futures-util",
- "idna 0.2.3",
+ "idna 0.2.0",
"ipnet",
"lazy_static",
"log",
"rand 0.8.4",
"smallvec 1.6.1",
"thiserror",
- "tinyvec",
- "url 2.2.2",
+ "tinyvec 1.1.1",
+ "url 2.2.0",
]
[[package]]
name = "trust-dns-resolver"
-version = "0.20.3"
+version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6ad17b608a64bd0735e67bde16b0636f8aa8591f831a25d18443ed00a699770"
+checksum = "b0437eea3a6da51acc1e946545ff53d5b8fb2611ff1c3bed58522dde100536ae"
dependencies = [
"cfg-if 1.0.0",
"futures-util",
@@ -11806,14 +12172,14 @@
[[package]]
name = "try-lock"
-version = "0.2.3"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
+checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382"
[[package]]
name = "try-runtime-cli"
-version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8#74101dc21cfffb4c2d014fcc28edc166d5ca1b16"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.9#91061a7d925b5bc597804293da283477512ba4ff"
dependencies = [
"frame-try-runtime",
"log",
@@ -11829,7 +12195,6 @@
"sp-blockchain",
"sp-core",
"sp-externalities",
- "sp-io",
"sp-keystore",
"sp-runtime",
"sp-state-machine",
@@ -11849,9 +12214,9 @@
[[package]]
name = "typenum"
-version = "1.13.0"
+version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06"
+checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
[[package]]
name = "ucd-trie"
@@ -11861,9 +12226,9 @@
[[package]]
name = "uint"
-version = "0.9.1"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6470ab50f482bde894a037a57064480a246dbfdd5960bd65a44824693f08da5f"
+checksum = "e11fe9a9348741cf134085ad57c249508345fe16411b3d7fb4ff2da2f1d6382e"
dependencies = [
"byteorder",
"crunchy",
@@ -11882,27 +12247,27 @@
[[package]]
name = "unicode-bidi"
-version = "0.3.5"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0"
+checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
dependencies = [
"matches",
]
[[package]]
name = "unicode-normalization"
-version = "0.1.19"
+version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9"
+checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977"
dependencies = [
- "tinyvec",
+ "tinyvec 0.3.3",
]
[[package]]
name = "unicode-segmentation"
-version = "1.8.0"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b"
+checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
[[package]]
name = "unicode-width"
@@ -11912,18 +12277,18 @@
[[package]]
name = "unicode-xid"
-version = "0.2.2"
+version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
+checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
[[package]]
name = "universal-hash"
-version = "0.4.1"
+version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05"
+checksum = "8326b2c654932e3e4f9196e69d08fdf7cfd718e1dc6f66b347e6024a0c961402"
dependencies = [
"generic-array 0.14.4",
- "subtle 2.4.1",
+ "subtle 2.2.3",
]
[[package]]
@@ -11966,7 +12331,7 @@
name = "up-sponsorship"
version = "0.1.0"
dependencies = [
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
]
[[package]]
@@ -11982,31 +12347,36 @@
[[package]]
name = "url"
-version = "2.2.2"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
+checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e"
dependencies = [
"form_urlencoded",
- "idna 0.2.3",
+ "idna 0.2.0",
"matches",
"percent-encoding 2.1.0",
]
[[package]]
name = "value-bag"
-version = "1.0.0-alpha.7"
+version = "1.0.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd320e1520f94261153e96f7534476ad869c14022aee1e59af7c778075d840ae"
+checksum = "6b676010e055c99033117c2343b33a40a30b91fecd6c49055ac9cd2d6c305ab1"
dependencies = [
"ctor",
- "version_check",
]
[[package]]
name = "vcpkg"
-version = "0.2.15"
+version = "0.2.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c"
+
+[[package]]
+name = "vec-arena"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
+checksum = "eafc1b9b2dfc6f5529177b62cf806484db55b32dc7c9658a118e11bbeb33061d"
[[package]]
name = "vec_map"
@@ -12016,9 +12386,9 @@
[[package]]
name = "version_check"
-version = "0.9.3"
+version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
+checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
[[package]]
name = "void"
@@ -12049,7 +12419,7 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
dependencies = [
- "futures 0.1.31",
+ "futures 0.1.29",
"log",
"try-lock",
]
@@ -12078,9 +12448,9 @@
[[package]]
name = "wasm-bindgen"
-version = "0.2.74"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d54ee1d4ed486f78874278e63e4069fc1ab9f6a18ca492076ffb90c5eb2997fd"
+checksum = "b608ecc8f4198fe8680e2ed18eccab5f0cd4caaf3d83516fa5fb2e927fda2586"
dependencies = [
"cfg-if 1.0.0",
"wasm-bindgen-macro",
@@ -12088,9 +12458,9 @@
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.74"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b33f6a0694ccfea53d94db8b2ed1c3a8a4c86dd936b13b9f0a15ec4a451b900"
+checksum = "580aa3a91a63d23aac5b6b267e2d13cb4f363e31dce6c352fca4752ae12e479f"
dependencies = [
"bumpalo",
"lazy_static",
@@ -12103,9 +12473,9 @@
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.24"
+version = "0.4.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fba7978c679d53ce2d0ac80c8c175840feb849a161664365d1287b41f2e67f1"
+checksum = "16646b21c3add8e13fdb8f20172f8a28c3dbf62f45406bcff0233188226cfe0c"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
@@ -12115,9 +12485,9 @@
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.74"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "088169ca61430fe1e58b8096c24975251700e7b1f6fd91cc9d59b04fb9b18bd4"
+checksum = "171ebf0ed9e1458810dfcb31f2e766ad6b3a89dbda42d8901f2b268277e5f09c"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -12125,9 +12495,9 @@
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.74"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be2241542ff3d9f241f5e2cb6dd09b37efe786df8851c54957683a49f0987a97"
+checksum = "6c2657dd393f03aa2a659c25c6ae18a13a4048cebd220e147933ea837efc589f"
dependencies = [
"proc-macro2",
"quote",
@@ -12138,9 +12508,9 @@
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.74"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f"
+checksum = "2e0c4a743a309662d45f4ede961d7afa4ba4131a59a639f29b0069c3798bbcc2"
[[package]]
name = "wasm-gc-api"
@@ -12223,11 +12593,9 @@
"wasmparser",
"wasmtime-cache",
"wasmtime-environ",
- "wasmtime-fiber",
"wasmtime-jit",
"wasmtime-profiling",
"wasmtime-runtime",
- "wat",
"winapi 0.3.9",
]
@@ -12246,7 +12614,7 @@
"libc",
"log",
"serde",
- "sha2 0.9.5",
+ "sha2 0.9.2",
"toml",
"winapi 0.3.9",
"zstd",
@@ -12303,23 +12671,12 @@
]
[[package]]
-name = "wasmtime-fiber"
-version = "0.27.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a089d44cd7e2465d41a53b840a5b4fca1bf6d1ecfebc970eac9592b34ea5f0b3"
-dependencies = [
- "cc",
- "libc",
- "winapi 0.3.9",
-]
-
-[[package]]
name = "wasmtime-jit"
version = "0.27.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d4539ea734422b7c868107e2187d7746d8affbcaa71916d72639f53757ad707"
dependencies = [
- "addr2line 0.15.2",
+ "addr2line 0.15.1",
"anyhow",
"cfg-if 1.0.0",
"cranelift-codegen",
@@ -12368,11 +12725,8 @@
dependencies = [
"anyhow",
"cfg-if 1.0.0",
- "gimli 0.24.0",
"lazy_static",
"libc",
- "object 0.24.0",
- "scroll",
"serde",
"target-lexicon",
"wasmtime-environ",
@@ -12394,39 +12748,20 @@
"libc",
"log",
"mach",
- "memoffset 0.6.4",
+ "memoffset 0.6.1",
"more-asserts",
"rand 0.8.4",
"region",
"thiserror",
"wasmtime-environ",
- "wasmtime-fiber",
"winapi 0.3.9",
]
[[package]]
-name = "wast"
-version = "36.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b5d7ba374a364571da1cb0a379a3dc302582a2d9937a183bfe35b68ad5bb9c4"
-dependencies = [
- "leb128",
-]
-
-[[package]]
-name = "wat"
-version = "1.0.38"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16383df7f0e3901484c2dda6294ed6895caa3627ce4f6584141dcf30a33a23e6"
-dependencies = [
- "wast",
-]
-
-[[package]]
name = "web-sys"
-version = "0.3.51"
+version = "0.3.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e828417b379f3df7111d3a2a9e5753706cae29c41f7c4029ee9fd77f3e09e582"
+checksum = "222b1ef9334f92a21d3fb53dc3fd80f30836959a90f9274a626d7e06315ba3c3"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -12434,9 +12769,9 @@
[[package]]
name = "webpki"
-version = "0.21.4"
+version = "0.21.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea"
+checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae"
dependencies = [
"ring",
"untrusted",
@@ -12444,29 +12779,29 @@
[[package]]
name = "webpki-roots"
-version = "0.21.1"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aabe153544e473b775453675851ecc86863d2a81d786d741f6b76778f2a48940"
+checksum = "82015b7e0b8bad8185994674a13a93306bea76cf5a16c5a181382fd3a5ec2376"
dependencies = [
"webpki",
]
[[package]]
-name = "wepoll-ffi"
-version = "0.1.2"
+name = "wepoll-sys"
+version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d743fdedc5c64377b5fc2bc036b01c7fd642205a0d96356034ae3404d49eb7fb"
+checksum = "0fcb14dea929042224824779fbc82d9fab8d2e6d3cbc0ac404de8edf489e77ff"
dependencies = [
"cc",
]
[[package]]
name = "westend-runtime"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"beefy-primitives",
- "bitvec 0.20.4",
+ "bitvec 0.20.1",
"frame-benchmarking",
"frame-election-provider-support",
"frame-executive",
@@ -12477,7 +12812,6 @@
"frame-try-runtime",
"hex-literal",
"log",
- "max-encoded-len",
"pallet-authority-discovery",
"pallet-authorship",
"pallet-babe",
@@ -12498,7 +12832,7 @@
"pallet-offences-benchmarking",
"pallet-proxy",
"pallet-recovery",
- "pallet-scheduler 3.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "pallet-scheduler 4.0.0-dev",
"pallet-session",
"pallet-session-benchmarking",
"pallet-society",
@@ -12537,7 +12871,7 @@
"sp-transaction-pool",
"sp-version",
"static_assertions",
- "substrate-wasm-builder 4.0.0 (git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.8)",
+ "substrate-wasm-builder 5.0.0-dev",
"xcm",
"xcm-builder",
"xcm-executor",
@@ -12545,12 +12879,12 @@
[[package]]
name = "which"
-version = "4.1.0"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b55551e42cbdf2ce2bedd2203d0cc08dba002c27510f86dab6d0ce304cba3dfe"
+checksum = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef"
dependencies = [
- "either",
"libc",
+ "thiserror",
]
[[package]]
@@ -12629,33 +12963,45 @@
[[package]]
name = "x25519-dalek"
-version = "1.1.1"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a0c105152107e3b96f6a00a65e86ce82d9b125230e1c4302940eca58ff71f4f"
+checksum = "637ff90c9540fa3073bb577e65033069e4bae7c79d49d74aa3ffdf5342a53217"
dependencies = [
- "curve25519-dalek 3.1.0",
+ "curve25519-dalek 2.1.0",
"rand_core 0.5.1",
"zeroize",
]
[[package]]
+name = "x25519-dalek"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc614d95359fd7afc321b66d2107ede58b246b844cf5d8a0adcca413e439f088"
+dependencies = [
+ "curve25519-dalek 3.0.0",
+ "rand_core 0.5.1",
+ "zeroize",
+]
+
+[[package]]
name = "xcm"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"derivative",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
+ "log",
"parity-scale-codec",
]
[[package]]
name = "xcm-builder"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"pallet-transaction-payment",
"parity-scale-codec",
"polkadot-parachain",
@@ -12669,11 +13015,11 @@
[[package]]
name = "xcm-executor"
-version = "0.9.8"
-source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.8#3a10ee63c0b5703a1c802db3438ab7e01344a8ce"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.9#7a9f624777ad2d2adb3a1e6797a31f9d653c9587"
dependencies = [
"frame-support",
- "impl-trait-for-tuples",
+ "impl-trait-for-tuples 0.2.1",
"log",
"parity-scale-codec",
"sp-arithmetic",
@@ -12706,18 +13052,18 @@
[[package]]
name = "zeroize"
-version = "1.4.1"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "377db0846015f7ae377174787dd452e1c5f5a9050bc6f954911d01f116daa0cd"
+checksum = "81a974bcdd357f0dca4d41677db03436324d45a4c9ed2d0b873a5a360ce41c36"
dependencies = [
"zeroize_derive",
]
[[package]]
name = "zeroize_derive"
-version = "1.1.0"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2c1e130bebaeab2f23886bf9acbaca14b092408c452543c857f66399cd6dab1"
+checksum = "de251eec69fc7c1bc3923403d18ececb929380e016afe103da75f396704f8ca2"
dependencies = [
"proc-macro2",
"quote",
README.mddiffbeforeafterboth--- a/README.md
+++ b/README.md
@@ -257,7 +257,7 @@
Uncomment following lies:
1. In node/rpc/Cargo.toml
```
-# pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+# pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
```
2. In node/rpc/src/lib.rs
@@ -280,19 +280,19 @@
# [dependencies.pallet-contracts]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
- # branch = 'polkadot-v0.9.8'
+ # branch = 'polkadot-v0.9.9'
# version = '3.0.0'
# [dependencies.pallet-contracts-primitives]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
- # branch = 'polkadot-v0.9.8'
+ # branch = 'polkadot-v0.9.9'
# version = '3.0.0'
# [dependencies.pallet-contracts-rpc-runtime-api]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
- # branch = 'polkadot-v0.9.8'
+ # branch = 'polkadot-v0.9.9'
# version = '3.0.0'
...
# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
crates/evm-coder/Cargo.tomldiffbeforeafterboth--- a/crates/evm-coder/Cargo.toml
+++ b/crates/evm-coder/Cargo.toml
@@ -5,9 +5,9 @@
[dependencies]
evm-coder-macros = { path = "../evm-coder-macros" }
-primitive-types = { version = "0.9", default-features = false }
-hex-literal = "0.3"
-ethereum = { version = "0.7.1", default-features = false }
+primitive-types = { version = "0.10.1", default-features = false }
+hex-literal = "0.3.3"
+ethereum = { version = "0.9.0", default-features = false }
evm-core = { default-features = false, git = "https://github.com/uniquenetwork/evm.git", branch="precompile-output-parachain" }
impl-trait-for-tuples = "0.2.1"
@@ -16,4 +16,4 @@
[features]
default = ["std"]
-std = ["ethereum/std", "primitive-types/std", "evm-core/std"]
\ No newline at end of file
+std = ["ethereum/std", "primitive-types/std", "evm-core/std"]
crates/evm-coder/tests/a.rsdiffbeforeafterboth--- a/crates/evm-coder/tests/a.rs
+++ b/crates/evm-coder/tests/a.rs
@@ -2,7 +2,6 @@
use evm_coder::{solidity_interface, types::*, ToLog, execution::Result};
use evm_coder_macros::solidity;
-use std as sp_std;
struct Impls;
node/cli/Cargo.tomldiffbeforeafterboth--- a/node/cli/Cargo.toml
+++ b/node/cli/Cargo.toml
@@ -3,7 +3,7 @@
[build-dependencies.substrate-build-script-utils]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
version = '3.0.0'
################################################################################
@@ -17,186 +17,186 @@
[dependencies.frame-benchmarking]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-benchmarking-cli]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-transaction-payment-rpc]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.substrate-prometheus-endpoint]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
version = '0.9.0'
[dependencies.sc-basic-authorship]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-chain-spec]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sc-cli]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-client-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sc-consensus]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-executor]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-keystore]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sc-rpc]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sc-rpc-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-service]
features = ['wasmtime']
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sc-telemetry]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sc-transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sc-tracing]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-block-builder]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-api]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-blockchain]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-consensus]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sp-consensus-aura]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sp-core]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-finality-grandpa]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-inherents]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-keystore]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sp-offchain]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-runtime]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-session]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-timestamp]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-transaction-pool]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-trie]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.substrate-frame-rpc-system]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sc-network]
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.serde]
features = ['derive']
@@ -211,58 +211,58 @@
[dependencies.cumulus-client-consensus-aura]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
[dependencies.cumulus-client-consensus-common]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
[dependencies.cumulus-client-collator]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
[dependencies.cumulus-client-cli]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
[dependencies.cumulus-client-network]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
[dependencies.cumulus-primitives-core]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
[dependencies.cumulus-primitives-parachain-inherent]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
[dependencies.cumulus-client-service]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
################################################################################
# Polkadot dependencies
[dependencies.polkadot-primitives]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
[dependencies.polkadot-service]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
[dependencies.polkadot-cli]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
[dependencies.polkadot-test-service]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
[dependencies.polkadot-parachain]
git = "https://github.com/paritytech/polkadot"
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
################################################################################
@@ -309,9 +309,9 @@
fc-consensus = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
fc-mapping-sync = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
fc-rpc = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-fc-db = { version = "1.0.0", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-fp-rpc = { version = "2.0.0", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-pallet-ethereum = { version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+fc-db = { version = "2.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+fp-rpc = { version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-ethereum = { version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
nft-rpc = { path = "../rpc" }
node/cli/src/chain_spec.rsdiffbeforeafterboth--- a/node/cli/src/chain_spec.rs
+++ b/node/cli/src/chain_spec.rs
@@ -196,6 +196,7 @@
const_on_chain_schema: vec![],
variable_on_chain_schema: vec![],
limits: CollectionLimits::default(),
+ meta_update_permission: MetaUpdatePermission::ItemOwner,
transfers_enabled: true,
},
)],
node/cli/src/service.rsdiffbeforeafterboth--- a/node/cli/src/service.rs
+++ b/node/cli/src/service.rs
@@ -41,7 +41,7 @@
// Frontier Imports
use fc_rpc_core::types::FilterPool;
use fc_rpc_core::types::PendingTransactions;
-use fc_mapping_sync::MappingSyncWorker;
+use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};
// Runtime type overrides
type BlockNumber = u32;
@@ -96,7 +96,7 @@
FullClient,
FullBackend,
FullSelectChain,
- sp_consensus::DefaultImportQueue<Block, FullClient>,
+ sc_consensus::DefaultImportQueue<Block, FullClient>,
sc_transaction_pool::FullPool<Block, FullClient>,
(
Option<Telemetry>,
@@ -116,7 +116,7 @@
&Configuration,
Option<TelemetryHandle>,
&TaskManager,
- ) -> Result<sp_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,
+ ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,
{
let _telemetry = config
.telemetry_endpoints
@@ -216,7 +216,7 @@
&Configuration,
Option<TelemetryHandle>,
&TaskManager,
- ) -> Result<sp_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,
+ ) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error>,
BIC: FnOnce(
Arc<FullClient>,
Option<&Registry>,
@@ -266,6 +266,7 @@
let transaction_pool = params.transaction_pool.clone();
let mut task_manager = params.task_manager;
let import_queue = cumulus_client_service::SharedImportQueue::new(params.import_queue);
+
let (network, system_rpc_tx, start_network) =
sc_service::build_network(sc_service::BuildNetworkParams {
config: ¶chain_config,
@@ -275,6 +276,7 @@
import_queue: import_queue.clone(),
on_demand: None,
block_announce_validator_builder: Some(Box::new(|_| block_announce_validator)),
+ warp_sync: None,
})?;
let subscription_executor = sc_rpc::SubscriptionTaskExecutor::new(task_manager.spawn_handle());
@@ -302,7 +304,10 @@
max_past_logs: 10000,
};
- nft_rpc::create_full::<_, _, _, RuntimeApi, _>(full_deps, subscription_executor.clone())
+ Ok(nft_rpc::create_full::<_, _, _, RuntimeApi, _>(
+ full_deps,
+ subscription_executor.clone(),
+ ))
});
task_manager.spawn_essential_handle().spawn(
@@ -313,6 +318,7 @@
client.clone(),
backend.clone(),
frontier_backend.clone(),
+ SyncStrategy::Normal,
)
.for_each(|()| futures::future::ready(())),
);
@@ -388,7 +394,7 @@
config: &Configuration,
telemetry: Option<TelemetryHandle>,
task_manager: &TaskManager,
-) -> Result<sp_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error> {
+) -> Result<sc_consensus::DefaultImportQueue<Block, FullClient>, sc_service::Error> {
let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?;
cumulus_client_consensus_aura::import_queue::<
node/rpc/Cargo.tomldiffbeforeafterboth--- a/node/rpc/Cargo.toml
+++ b/node/rpc/Cargo.toml
@@ -13,33 +13,32 @@
futures = { version = "0.3.1", features = ["compat"] }
jsonrpc-core = "15.0.0"
jsonrpc-pubsub = "15.0.0"
-# pallet-contracts-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-transaction-payment-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-transaction-payment-rpc-runtime-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-client-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-consensus-aura = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-consensus-epochs = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-finality-grandpa = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-finality-grandpa-rpc = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-keystore = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-network = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-rpc-api = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-rpc = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-service = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-api = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-block-builder = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-blockchain = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-consensus = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-consensus-aura = { version = "0.9", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-offchain = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-storage = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-session = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-transaction-pool = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-transaction-pool = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sc-transaction-graph = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-substrate-frame-rpc-system = { version = "3.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+# pallet-contracts-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-client-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-consensus-aura = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-consensus-epochs = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-finality-grandpa = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-finality-grandpa-rpc = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-keystore = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-network = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-rpc-api = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-rpc = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-service = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-api = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-block-builder = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-blockchain = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-consensus = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-consensus-aura = { version = "0.10.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-offchain = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-storage = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-session = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sc-transaction-pool = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+substrate-frame-rpc-system = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
tokio = { version = "0.2.13", features = ["macros", "sync"] }
pallet-ethereum = { git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
@@ -53,4 +52,4 @@
nft-runtime = { path = "../../runtime" }
[features]
-std = []
\ No newline at end of file
+std = []
node/rpc/src/lib.rsdiffbeforeafterboth--- a/node/rpc/src/lib.rs
+++ b/node/rpc/src/lib.rs
@@ -18,7 +18,7 @@
use sp_block_builder::BlockBuilder;
use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata};
use sp_consensus::SelectChain;
-use sp_transaction_pool::TransactionPool;
+use sc_service::TransactionPool;
use std::{collections::BTreeMap, marker::PhantomData, sync::Arc};
/// Public io handler for exporting into other modules
@@ -192,7 +192,7 @@
pending_transactions,
signers,
overrides.clone(),
- backend,
+ backend.clone(),
is_authority,
max_past_logs,
)));
@@ -200,6 +200,7 @@
if let Some(filter_pool) = filter_pool {
io.extend_with(EthFilterApiServer::to_delegate(EthFilterApi::new(
client.clone(),
+ backend,
filter_pool,
500_usize, // max stored filters
overrides.clone(),
pallets/contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/contract-helpers/Cargo.toml
+++ b/pallets/contract-helpers/Cargo.toml
@@ -15,11 +15,11 @@
version = '0.1.0'
[dependencies]
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-contracts = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-contracts = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
[features]
default = ["std"]
pallets/contract-helpers/src/lib.rsdiffbeforeafterboth--- a/pallets/contract-helpers/src/lib.rs
+++ b/pallets/contract-helpers/src/lib.rs
@@ -7,6 +7,7 @@
use frame_support::sp_runtime::traits::StaticLookup;
use frame_support::{pallet_prelude::*, traits::IsSubType};
use frame_system::pallet_prelude::*;
+ use frame_system::Config as SysConfig;
use pallet_contracts::chain_extension::UncheckedFrom;
use sp_runtime::{
traits::{DispatchInfoOf, Hash, PostDispatchInfoOf, SignedExtension},
@@ -176,14 +177,14 @@
impl<T> SignedExtension for ContractHelpersExtension<T>
where
T: Config + Send + Sync,
- T::Call: sp_runtime::traits::Dispatchable,
- T::Call: IsSubType<pallet_contracts::Call<T>>,
+ <T as SysConfig>::Call: sp_runtime::traits::Dispatchable,
+ <T as SysConfig>::Call: IsSubType<pallet_contracts::Call<T>>,
T::AccountId: UncheckedFrom<T::Hash>,
T::AccountId: AsRef<[u8]>,
{
const IDENTIFIER: &'static str = "ContractHelpers";
type AccountId = T::AccountId;
- type Call = T::Call;
+ type Call = <T as SysConfig>::Call;
type AdditionalSigned = ();
type Pre = Option<(Self::AccountId, CodeHash<T>, Vec<u8>)>;
pallets/evm-coder-substrate/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-coder-substrate/Cargo.toml
+++ b/pallets/evm-coder-substrate/Cargo.toml
@@ -4,14 +4,14 @@
edition = "2018"
[dependencies]
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-ethereum = { default-features = false, version = "0.7.1" }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+ethereum = { default-features = false, version = "0.9.0" }
evm-coder = { default-features = false, path = "../../crates/evm-coder" }
-pallet-ethereum = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
[dependencies.codec]
default-features = false
pallets/evm-coder-substrate/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-coder-substrate/src/lib.rs
+++ b/pallets/evm-coder-substrate/src/lib.rs
@@ -60,9 +60,9 @@
.saturating_add((topics as u64).saturating_mul(G_LOGTOPIC))
}
- pub fn generate_transaction() -> ethereum::Transaction {
- use ethereum::{Transaction, TransactionAction, TransactionSignature};
- Transaction {
+ pub fn generate_transaction() -> ethereum::TransactionV0 {
+ use ethereum::{TransactionV0, TransactionAction, TransactionSignature};
+ TransactionV0 {
nonce: 0.into(),
gas_price: 0.into(),
gas_limit: 0.into(),
pallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-contract-helpers/Cargo.toml
+++ b/pallets/evm-contract-helpers/Cargo.toml
@@ -4,14 +4,14 @@
edition = "2018"
[dependencies]
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
evm-coder = { default-features = false, path = '../../crates/evm-coder' }
pallet-evm-coder-substrate = { default-features = false, path = '../../pallets/evm-coder-substrate' }
-pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
up-sponsorship = { default-features = false, path = '../../primitives/sponsorship' }
log = "0.4.14"
pallets/evm-migration/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-migration/Cargo.toml
+++ b/pallets/evm-migration/Cargo.toml
@@ -4,15 +4,15 @@
edition = "2018"
[dependencies]
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-benchmarking = { default-features = false, version = '3.0.0', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-fp-evm = { default-features = false, version = "2.0.0", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-benchmarking = { default-features = false, version = '4.0.0-dev', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+fp-evm = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
[dependencies.codec]
default-features = false
pallets/evm-migration/src/lib.rsdiffbeforeafterboth--- a/pallets/evm-migration/src/lib.rs
+++ b/pallets/evm-migration/src/lib.rs
@@ -55,7 +55,6 @@
address: H160,
data: Vec<(H256, H256)>,
) -> DispatchResult {
- use frame_support::StorageDoubleMap;
ensure_root(origin)?;
ensure!(
<MigrationPending<T>>::get(&address),
@@ -63,7 +62,7 @@
);
for (k, v) in data {
- pallet_evm::AccountStorages::insert(&address, k, v);
+ <pallet_evm::AccountStorages<T>>::insert(&address, k, v);
}
Ok(())
}
@@ -71,14 +70,13 @@
#[pallet::weight(<SelfWeightOf<T>>::finish(code.len() as u32))]
#[transactional]
pub fn finish(origin: OriginFor<T>, address: H160, code: Vec<u8>) -> DispatchResult {
- use frame_support::StorageMap;
ensure_root(origin)?;
ensure!(
<MigrationPending<T>>::get(&address),
<Error<T>>::AccountIsNotMigrating,
);
- pallet_evm::AccountCodes::insert(&address, code);
+ <pallet_evm::AccountCodes<T>>::insert(&address, code);
<MigrationPending<T>>::remove(address);
Ok(())
}
pallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth--- a/pallets/evm-transaction-payment/Cargo.toml
+++ b/pallets/evm-transaction-payment/Cargo.toml
@@ -4,15 +4,15 @@
edition = "2018"
[dependencies]
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-fp-evm = { default-features = false, version = "2.0.0", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-pallet-ethereum = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+fp-evm = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
up-sponsorship = { default-features = false, path = '../../primitives/sponsorship' }
[dependencies.codec]
pallets/inflation/Cargo.tomldiffbeforeafterboth--- a/pallets/inflation/Cargo.toml
+++ b/pallets/inflation/Cargo.toml
@@ -43,44 +43,44 @@
default-features = false
optional = true
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.serde]
default-features = false
@@ -90,18 +90,17 @@
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
-
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
pallets/nft-charge-transaction/Cargo.tomldiffbeforeafterboth--- a/pallets/nft-charge-transaction/Cargo.toml
+++ b/pallets/nft-charge-transaction/Cargo.toml
@@ -20,17 +20,17 @@
[dependencies]
serde = { version = "1.0.119", default-features = false }
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-balances = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-transaction-payment = { default-features = false, version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-benchmarking = { default-features = false, version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-balances = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-transaction-payment = { default-features = false, version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-benchmarking = { default-features = false, version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
-pallet-nft-transaction-payment = { default-features = false, path="../nft-transaction-payment" }
+pallet-nft-transaction-payment = { default-features = false, path = "../nft-transaction-payment" }
[features]
default = ['std']
pallets/nft-transaction-payment/Cargo.tomldiffbeforeafterboth--- a/pallets/nft-transaction-payment/Cargo.toml
+++ b/pallets/nft-transaction-payment/Cargo.toml
@@ -20,14 +20,14 @@
[dependencies]
serde = { version = "1.0.119", default-features = false }
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-pallet-transaction-payment = { default-features = false, version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-benchmarking = { default-features = false, version = "3.0.0", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+pallet-transaction-payment = { default-features = false, version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-benchmarking = { default-features = false, version = "4.0.0-dev", optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }
pallets/nft/Cargo.tomldiffbeforeafterboth--- a/pallets/nft/Cargo.toml
+++ b/pallets/nft/Cargo.toml
@@ -56,50 +56,50 @@
default-features = false
optional = true
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-transaction-payment]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.serde]
default-features = false
@@ -109,20 +109,20 @@
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
################################################################################
@@ -140,17 +140,17 @@
[dependencies]
-ethereum = { default-features = false, version = "0.7.1" }
+ethereum = { default-features = false, version = "0.9.0" }
rlp = { default-features = false, version = "0.5.0" }
-sp-api = { default-features = false, version = '3.0.0', git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.8" }
+sp-api = { default-features = false, version = '4.0.0-dev', git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.9" }
evm-coder = { default-features = false, path = "../../crates/evm-coder" }
pallet-evm-coder-substrate = { default-features = false, path = "../../pallets/evm-coder-substrate" }
-primitive-types = { version = "0.9.0", default-features = false, features = [
+primitive-types = { version = "0.10.1", default-features = false, features = [
"serde_no_std",
] }
-pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-pallet-ethereum = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-fp-evm = { default-features = false, version = '2.0.0', git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+fp-evm = { default-features = false, version = '3.0.0-dev', git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
hex-literal = "0.3.1"
pallets/nft/src/lib.rsdiffbeforeafterboth1//2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.4//56#![recursion_limit = "1024"]7#![cfg_attr(not(feature = "std"), no_std)]8#![allow(9 clippy::too_many_arguments,10 clippy::unnecessary_mut_passed,11 clippy::unused_unit12)]1314extern crate alloc;1516pub use serde::{Serialize, Deserialize};1718pub use frame_support::{19 construct_runtime, decl_event, decl_module, decl_storage, decl_error,20 dispatch::DispatchResult,21 ensure, fail, parameter_types,22 traits::{23 Currency, ExistenceRequirement, Get, Imbalance, KeyOwnerProofSystem, OnUnbalanced,24 Randomness, IsSubType, WithdrawReasons,25 },26 weights::{27 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},28 DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,29 WeightToFeePolynomial, DispatchClass,30 },31 StorageValue, transactional,32};3334use frame_system::{self as system, ensure_signed};35use sp_core::H160;36use sp_std::vec;37use sp_runtime::{DispatchError, sp_std::prelude::Vec};38use core::ops::{Deref, DerefMut};39use nft_data_structs::{40 MAX_DECIMAL_POINTS, MAX_SPONSOR_TIMEOUT, MAX_TOKEN_OWNERSHIP, MAX_REFUNGIBLE_PIECES,41 CUSTOM_DATA_LIMIT, COLLECTION_NUMBER_LIMIT, ACCOUNT_TOKEN_OWNERSHIP_LIMIT,42 VARIABLE_ON_CHAIN_SCHEMA_LIMIT, CONST_ON_CHAIN_SCHEMA_LIMIT, COLLECTION_ADMINS_LIMIT,43 OFFCHAIN_SCHEMA_LIMIT, MAX_TOKEN_PREFIX_LENGTH, MAX_COLLECTION_NAME_LENGTH,44 MAX_COLLECTION_DESCRIPTION_LENGTH, AccessMode, Collection, CreateItemData, CollectionLimits,45 CollectionId, CollectionMode, TokenId, SchemaVersion, SponsorshipState, Ownership, NftItemType,46 FungibleItemType, ReFungibleItemType,47};4849#[cfg(test)]50mod mock;5152#[cfg(test)]53mod tests;5455mod eth;56mod sponsorship;57pub use sponsorship::NftSponsorshipHandler;58pub use eth::sponsoring::NftEthSponsorshipHandler;5960pub use eth::NftErcSupport;61pub use eth::account::*;62use eth::erc::{ERC20Events, ERC721Events};6364#[cfg(feature = "runtime-benchmarks")]65mod benchmarking;66pub mod weights;67use weights::WeightInfo;6869decl_error! {70 /// Error for non-fungible-token module.71 pub enum Error for Module<T: Config> {72 /// Total collections bound exceeded.73 TotalCollectionsLimitExceeded,74 /// Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.75 CollectionDecimalPointLimitExceeded,76 /// Collection name can not be longer than 63 char.77 CollectionNameLimitExceeded,78 /// Collection description can not be longer than 255 char.79 CollectionDescriptionLimitExceeded,80 /// Token prefix can not be longer than 15 char.81 CollectionTokenPrefixLimitExceeded,82 /// This collection does not exist.83 CollectionNotFound,84 /// Item not exists.85 TokenNotFound,86 /// Admin not found87 AdminNotFound,88 /// Arithmetic calculation overflow.89 NumOverflow,90 /// Account already has admin role.91 AlreadyAdmin,92 /// You do not own this collection.93 NoPermission,94 /// This address is not set as sponsor, use setCollectionSponsor first.95 ConfirmUnsetSponsorFail,96 /// Collection is not in mint mode.97 PublicMintingNotAllowed,98 /// Sender parameter and item owner must be equal.99 MustBeTokenOwner,100 /// Item balance not enough.101 TokenValueTooLow,102 /// Size of item is too large.103 NftSizeLimitExceeded,104 /// No approve found105 ApproveNotFound,106 /// Requested value more than approved.107 TokenValueNotEnough,108 /// Only approved addresses can call this method.109 ApproveRequired,110 /// Address is not in white list.111 AddresNotInWhiteList,112 /// Number of collection admins bound exceeded.113 CollectionAdminsLimitExceeded,114 /// Owned tokens by a single address bound exceeded.115 AddressOwnershipLimitExceeded,116 /// Length of items properties must be greater than 0.117 EmptyArgument,118 /// const_data exceeded data limit.119 TokenConstDataLimitExceeded,120 /// variable_data exceeded data limit.121 TokenVariableDataLimitExceeded,122 /// Not NFT item data used to mint in NFT collection.123 NotNftDataUsedToMintNftCollectionToken,124 /// Not Fungible item data used to mint in Fungible collection.125 NotFungibleDataUsedToMintFungibleCollectionToken,126 /// Not Re Fungible item data used to mint in Re Fungible collection.127 NotReFungibleDataUsedToMintReFungibleCollectionToken,128 /// Unexpected collection type.129 UnexpectedCollectionType,130 /// Can't store metadata in fungible tokens.131 CantStoreMetadataInFungibleTokens,132 /// Collection token limit exceeded133 CollectionTokenLimitExceeded,134 /// Account token limit exceeded per collection135 AccountTokenLimitExceeded,136 /// Collection limit bounds per collection exceeded137 CollectionLimitBoundsExceeded,138 /// Tried to enable permissions which are only permitted to be disabled139 OwnerPermissionsCantBeReverted,140 /// Schema data size limit bound exceeded141 SchemaDataLimitExceeded,142 /// Maximum refungibility exceeded143 WrongRefungiblePieces,144 /// createRefungible should be called with one owner145 BadCreateRefungibleCall,146 /// Gas limit exceeded147 OutOfGas,148 /// Collection settings not allowing items transferring149 TransferNotAllowed,150 /// Can't transfer tokens to ethereum zero address151 AddressIsZero,152 }153}154155#[must_use = "Should call submit_logs or save, otherwise some data will be lost for evm side"]156pub struct CollectionHandle<T: Config> {157 pub id: CollectionId,158 collection: Collection<T>,159 recorder: pallet_evm_coder_substrate::SubstrateRecorder<T>,160}161impl<T: Config> CollectionHandle<T> {162 pub fn get_with_gas_limit(id: CollectionId, gas_limit: u64) -> Option<Self> {163 <CollectionById<T>>::get(id).map(|collection| Self {164 id,165 collection,166 recorder: pallet_evm_coder_substrate::SubstrateRecorder::new(167 eth::collection_id_to_address(id),168 gas_limit,169 ),170 })171 }172 pub fn get(id: CollectionId) -> Option<Self> {173 Self::get_with_gas_limit(id, u64::MAX)174 }175 pub fn log(&self, log: impl evm_coder::ToLog) -> DispatchResult {176 self.recorder.log_sub(log)177 }178 #[allow(dead_code)]179 fn consume_gas(&self, gas: u64) -> DispatchResult {180 self.recorder.consume_gas_sub(gas)181 }182 fn consume_sload(&self) -> DispatchResult {183 self.recorder.consume_sload_sub()184 }185 fn consume_sstore(&self) -> DispatchResult {186 self.recorder.consume_sstore_sub()187 }188 pub fn submit_logs(self) -> DispatchResult {189 self.recorder.submit_logs()190 }191 pub fn save(self) -> DispatchResult {192 self.recorder.submit_logs()?;193 <CollectionById<T>>::insert(self.id, self.collection);194 Ok(())195 }196}197impl<T: Config> Deref for CollectionHandle<T> {198 type Target = Collection<T>;199200 fn deref(&self) -> &Self::Target {201 &self.collection202 }203}204205impl<T: Config> DerefMut for CollectionHandle<T> {206 fn deref_mut(&mut self) -> &mut Self::Target {207 &mut self.collection208 }209}210211pub trait Config: system::Config + pallet_evm_coder_substrate::Config + Sized {212 type Event: From<Event<Self>> + Into<<Self as system::Config>::Event>;213214 /// Weight information for extrinsics in this pallet.215 type WeightInfo: WeightInfo;216217 type EvmAddressMapping: pallet_evm::AddressMapping<Self::AccountId>;218 type EvmBackwardsAddressMapping: EvmBackwardsAddressMapping<Self::AccountId>;219220 type CrossAccountId: CrossAccountId<Self::AccountId>;221 type Currency: Currency<Self::AccountId>;222 type CollectionCreationPrice: Get<223 <<Self as Config>::Currency as Currency<Self::AccountId>>::Balance,224 >;225 type TreasuryAccountId: Get<Self::AccountId>;226}227228type SelfWeightOf<T> = <T as Config>::WeightInfo;229230trait WeightInfoHelpers: WeightInfo {231 fn transfer() -> Weight {232 Self::transfer_nft()233 .max(Self::transfer_fungible())234 .max(Self::transfer_refungible())235 }236 fn transfer_from() -> Weight {237 Self::transfer_from_nft()238 .max(Self::transfer_from_fungible())239 .max(Self::transfer_from_refungible())240 }241 fn approve() -> Weight {242 // TODO: refungible, fungible243 Self::approve_nft()244 }245 fn set_variable_meta_data(data: u32) -> Weight {246 // TODO: refungible247 Self::set_variable_meta_data_nft(data)248 }249 fn create_item(data: u32) -> Weight {250 Self::create_item_nft(data)251 .max(Self::create_item_fungible())252 .max(Self::create_item_refungible(data))253 }254 fn create_multiple_items(amount: u32) -> Weight {255 Self::create_multiple_items_nft(amount)256 .max(Self::create_multiple_items_fungible(amount))257 .max(Self::create_multiple_items_refungible(amount))258 }259 fn burn_item() -> Weight {260 // TODO: refungible, fungible261 Self::burn_item_nft()262 }263}264impl<T: WeightInfo> WeightInfoHelpers for T {}265266// # Used definitions267//268// ## User control levels269//270// chain-controlled - key is uncontrolled by user271// i.e autoincrementing index272// can use non-cryptographic hash273// real - key is controlled by user274// but it is hard to generate enough colliding values, i.e owner of signed txs275// can use non-cryptographic hash276// controlled - key is completly controlled by users277// i.e maps with mutable keys278// should use cryptographic hash279//280// ## User control level downgrade reasons281//282// ?1 - chain-controlled -> controlled283// collections/tokens can be destroyed, resulting in massive holes284// ?2 - chain-controlled -> controlled285// same as ?1, but can be only added, resulting in easier exploitation286// ?3 - real -> controlled287// no confirmation required, so addresses can be easily generated288decl_storage! {289 trait Store for Module<T: Config> as Nft {290291 //#region Private members292 /// Id of next collection293 CreatedCollectionCount: u32;294 /// Used for migrations295 ChainVersion: u64;296 /// Id of last collection token297 /// Collection id (controlled?1)298 ItemListIndex: map hasher(blake2_128_concat) CollectionId => TokenId;299 //#endregion300301 //#region Bound counters302 /// Amount of collections destroyed, used for total amount tracking with303 /// CreatedCollectionCount304 DestroyedCollectionCount: u32;305 //#endregion306307 //#region Basic collections308 /// Collection info309 /// Collection id (controlled?1)310 pub CollectionById get(fn collection_id) config(): map hasher(blake2_128_concat) CollectionId => Option<Collection<T>> = None;311 /// List of collection admins312 /// Collection id (controlled?2)313 pub AdminList get(fn admin_list_collection): map hasher(blake2_128_concat) CollectionId => Vec<T::CrossAccountId>;314 /// Whitelisted collection users315 /// Collection id (controlled?2), user id (controlled?3)316 pub WhiteList get(fn white_list): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) T::AccountId => bool;317 //#endregion318319 /// How many of collection items user have320 /// Collection id (controlled?2), account id (real)321 pub Balance get(fn balance_count): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => u128;322323 /// Amount of items which spender can transfer out of owners account (via transferFrom)324 /// Collection id (controlled?2), (token id (controlled ?2) + owner account id (real) + spender account id (controlled?3))325 /// TODO: Off chain worker should remove from this map when token gets removed326 pub Allowances get(fn approved): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) (TokenId, T::AccountId, T::AccountId) => u128;327328 //#region Item collections329 /// Collection id (controlled?2), token id (controlled?1)330 pub NftItemList get(fn nft_item_id) config(): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<NftItemType<T::CrossAccountId>>;331 /// Collection id (controlled?2), owner (controlled?2)332 pub FungibleItemList get(fn fungible_item_id) config(): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) T::AccountId => FungibleItemType;333 /// Collection id (controlled?2), token id (controlled?1)334 pub ReFungibleItemList get(fn refungible_item_id) config(): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<ReFungibleItemType<T::CrossAccountId>>;335 //#endregion336337 //#region Index list338 /// Collection id (controlled?2), tokens owner (controlled?2)339 pub AddressTokens get(fn address_tokens): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) T::AccountId => Vec<TokenId>;340 //#endregion341342 //#region Tokens transfer rate limit baskets343 /// (Collection id (controlled?2), who created (real))344 /// TODO: Off chain worker should remove from this map when collection gets removed345 pub CreateItemBasket get(fn create_item_basket): map hasher(blake2_128_concat) (CollectionId, T::AccountId) => T::BlockNumber;346 /// Collection id (controlled?2), token id (controlled?2)347 pub NftTransferBasket get(fn nft_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => T::BlockNumber;348 /// Collection id (controlled?2), owning user (real)349 pub FungibleTransferBasket get(fn fungible_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => T::BlockNumber;350 /// Collection id (controlled?2), token id (controlled?2)351 pub ReFungibleTransferBasket get(fn refungible_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => T::BlockNumber;352 //#endregion353354 /// Variable metadata sponsoring355 /// Collection id (controlled?2), token id (controlled?2)356 pub VariableMetaDataBasket get(fn variable_meta_data_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber> = None;357 }358 add_extra_genesis {359 build(|config: &GenesisConfig<T>| {360 // Modification of storage361 for (_num, _c) in &config.collection_id {362 <Module<T>>::init_collection(_c);363 }364365 for (_num, _c, _i) in &config.nft_item_id {366 <Module<T>>::init_nft_token(*_c, _i);367 }368369 for (collection_id, account_id, fungible_item) in &config.fungible_item_id {370 <Module<T>>::init_fungible_token(*collection_id, &T::CrossAccountId::from_sub(account_id.clone()), fungible_item);371 }372373 for (_num, _c, _i) in &config.refungible_item_id {374 <Module<T>>::init_refungible_token(*_c, _i);375 }376 })377 }378}379380decl_event!(381 pub enum Event<T>382 where383 AccountId = <T as frame_system::Config>::AccountId,384 CrossAccountId = <T as Config>::CrossAccountId,385 {386 /// New collection was created387 ///388 /// # Arguments389 ///390 /// * collection_id: Globally unique identifier of newly created collection.391 ///392 /// * mode: [CollectionMode] converted into u8.393 ///394 /// * account_id: Collection owner.395 CollectionCreated(CollectionId, u8, AccountId),396397 /// New item was created.398 ///399 /// # Arguments400 ///401 /// * collection_id: Id of the collection where item was created.402 ///403 /// * item_id: Id of an item. Unique within the collection.404 ///405 /// * recipient: Owner of newly created item406 ItemCreated(CollectionId, TokenId, CrossAccountId),407408 /// Collection item was burned.409 ///410 /// # Arguments411 ///412 /// collection_id.413 ///414 /// item_id: Identifier of burned NFT.415 ItemDestroyed(CollectionId, TokenId),416417 /// Item was transferred418 ///419 /// * collection_id: Id of collection to which item is belong420 ///421 /// * item_id: Id of an item422 ///423 /// * sender: Original owner of item424 ///425 /// * recipient: New owner of item426 ///427 /// * amount: Always 1 for NFT428 Transfer(CollectionId, TokenId, CrossAccountId, CrossAccountId, u128),429430 /// * collection_id431 ///432 /// * item_id433 ///434 /// * sender435 ///436 /// * spender437 ///438 /// * amount439 Approved(CollectionId, TokenId, CrossAccountId, CrossAccountId, u128),440 }441);442443decl_module! {444 pub struct Module<T: Config> for enum Call445 where446 origin: T::Origin447 {448 fn deposit_event() = default;449 const CollectionAdminsLimit: u64 = COLLECTION_ADMINS_LIMIT;450 type Error = Error<T>;451452 fn on_initialize(_now: T::BlockNumber) -> Weight {453 0454 }455456 /// This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner and admin of the collection are set to the address that signed the transaction. Both addresses can be changed later.457 ///458 /// # Permissions459 ///460 /// * Anyone.461 ///462 /// # Arguments463 ///464 /// * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.465 ///466 /// * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.467 ///468 /// * token_prefix: UTF-8 string with token prefix.469 ///470 /// * mode: [CollectionMode] collection type and type dependent data.471 // returns collection ID472 #[weight = <SelfWeightOf<T>>::create_collection()]473 #[transactional]474 pub fn create_collection(origin,475 collection_name: Vec<u16>,476 collection_description: Vec<u16>,477 token_prefix: Vec<u8>,478 mode: CollectionMode) -> DispatchResult {479480 // Anyone can create a collection481 let who = ensure_signed(origin)?;482483 // Take a (non-refundable) deposit of collection creation484 let mut imbalance = <<<T as Config>::Currency as Currency<T::AccountId>>::PositiveImbalance>::zero();485 imbalance.subsume(<<T as Config>::Currency as Currency<T::AccountId>>::deposit_creating(486 &T::TreasuryAccountId::get(),487 T::CollectionCreationPrice::get(),488 ));489 <T as Config>::Currency::settle(490 &who,491 imbalance,492 WithdrawReasons::TRANSFER,493 ExistenceRequirement::KeepAlive,494 ).map_err(|_| Error::<T>::NoPermission)?;495496 let decimal_points = match mode {497 CollectionMode::Fungible(points) => points,498 _ => 0499 };500501 let created_count = CreatedCollectionCount::get();502 let destroyed_count = DestroyedCollectionCount::get();503504 // bound Total number of collections505 ensure!(created_count - destroyed_count < COLLECTION_NUMBER_LIMIT, Error::<T>::TotalCollectionsLimitExceeded);506507 // check params508 ensure!(decimal_points <= MAX_DECIMAL_POINTS, Error::<T>::CollectionDecimalPointLimitExceeded);509 ensure!(collection_name.len() <= MAX_COLLECTION_NAME_LENGTH, Error::<T>::CollectionNameLimitExceeded);510 ensure!(collection_description.len() <= MAX_COLLECTION_DESCRIPTION_LENGTH, Error::<T>::CollectionDescriptionLimitExceeded);511 ensure!(token_prefix.len() <= MAX_TOKEN_PREFIX_LENGTH, Error::<T>::CollectionTokenPrefixLimitExceeded);512513 // Generate next collection ID514 let next_id = created_count515 .checked_add(1)516 .ok_or(Error::<T>::NumOverflow)?;517518 CreatedCollectionCount::put(next_id);519520 let limits = CollectionLimits {521 sponsored_data_size: CUSTOM_DATA_LIMIT,522 ..Default::default()523 };524525 // Create new collection526 let new_collection = Collection {527 owner: who.clone(),528 name: collection_name,529 mode: mode.clone(),530 mint_mode: false,531 access: AccessMode::Normal,532 description: collection_description,533 decimal_points,534 token_prefix,535 offchain_schema: Vec::new(),536 schema_version: SchemaVersion::ImageURL,537 sponsorship: SponsorshipState::Disabled,538 variable_on_chain_schema: Vec::new(),539 const_on_chain_schema: Vec::new(),540 limits,541 transfers_enabled: true,542 };543544 // Add new collection to map545 <CollectionById<T>>::insert(next_id, new_collection);546547 // call event548 Self::deposit_event(RawEvent::CollectionCreated(next_id, mode.id(), who));549550 Ok(())551 }552553 /// **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.554 ///555 /// # Permissions556 ///557 /// * Collection Owner.558 ///559 /// # Arguments560 ///561 /// * collection_id: collection to destroy.562 #[weight = <SelfWeightOf<T>>::destroy_collection()]563 #[transactional]564 pub fn destroy_collection(origin, collection_id: CollectionId) -> DispatchResult {565566 let sender = ensure_signed(origin)?;567 let collection = Self::get_collection(collection_id)?;568 Self::check_owner_permissions(&collection, &sender)?;569 if !collection.limits.owner_can_destroy {570 fail!(Error::<T>::NoPermission);571 }572573 <AddressTokens<T>>::remove_prefix(collection_id, None);574 <Allowances<T>>::remove_prefix(collection_id, None);575 <Balance<T>>::remove_prefix(collection_id, None);576 <ItemListIndex>::remove(collection_id);577 <AdminList<T>>::remove(collection_id);578 <CollectionById<T>>::remove(collection_id);579 <WhiteList<T>>::remove_prefix(collection_id, None);580581 <NftItemList<T>>::remove_prefix(collection_id, None);582 <FungibleItemList<T>>::remove_prefix(collection_id, None);583 <ReFungibleItemList<T>>::remove_prefix(collection_id, None);584585 <NftTransferBasket<T>>::remove_prefix(collection_id, None);586 <FungibleTransferBasket<T>>::remove_prefix(collection_id, None);587 <ReFungibleTransferBasket<T>>::remove_prefix(collection_id, None);588589 <VariableMetaDataBasket<T>>::remove_prefix(collection_id, None);590591 DestroyedCollectionCount::put(DestroyedCollectionCount::get()592 .checked_add(1)593 .ok_or(Error::<T>::NumOverflow)?);594595 Ok(())596 }597598 /// Add an address to white list.599 ///600 /// # Permissions601 ///602 /// * Collection Owner603 /// * Collection Admin604 ///605 /// # Arguments606 ///607 /// * collection_id.608 ///609 /// * address.610 #[weight = <SelfWeightOf<T>>::add_to_white_list()]611 #[transactional]612 pub fn add_to_white_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{613614 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);615 let collection = Self::get_collection(collection_id)?;616617 Self::toggle_white_list_internal(618 &sender,619 &collection,620 &address,621 true,622 )?;623624 Ok(())625 }626627 /// Remove an address from white list.628 ///629 /// # Permissions630 ///631 /// * Collection Owner632 /// * Collection Admin633 ///634 /// # Arguments635 ///636 /// * collection_id.637 ///638 /// * address.639 #[weight = <SelfWeightOf<T>>::remove_from_white_list()]640 #[transactional]641 pub fn remove_from_white_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{642643 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);644 let collection = Self::get_collection(collection_id)?;645646 Self::toggle_white_list_internal(647 &sender,648 &collection,649 &address,650 false,651 )?;652653 Ok(())654 }655656 /// Toggle between normal and white list access for the methods with access for `Anyone`.657 ///658 /// # Permissions659 ///660 /// * Collection Owner.661 ///662 /// # Arguments663 ///664 /// * collection_id.665 ///666 /// * mode: [AccessMode]667 #[weight = <SelfWeightOf<T>>::set_public_access_mode()]668 #[transactional]669 pub fn set_public_access_mode(origin, collection_id: CollectionId, mode: AccessMode) -> DispatchResult670 {671 let sender = ensure_signed(origin)?;672673 let mut target_collection = Self::get_collection(collection_id)?;674 Self::check_owner_permissions(&target_collection, &sender)?;675 target_collection.access = mode;676 target_collection.save()677 }678679 /// Allows Anyone to create tokens if:680 /// * White List is enabled, and681 /// * Address is added to white list, and682 /// * This method was called with True parameter683 ///684 /// # Permissions685 /// * Collection Owner686 ///687 /// # Arguments688 ///689 /// * collection_id.690 ///691 /// * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.692 #[weight = <SelfWeightOf<T>>::set_mint_permission()]693 #[transactional]694 pub fn set_mint_permission(origin, collection_id: CollectionId, mint_permission: bool) -> DispatchResult695 {696 let sender = ensure_signed(origin)?;697698 let mut target_collection = Self::get_collection(collection_id)?;699 Self::check_owner_permissions(&target_collection, &sender)?;700 target_collection.mint_mode = mint_permission;701 target_collection.save()702 }703704 /// Change the owner of the collection.705 ///706 /// # Permissions707 ///708 /// * Collection Owner.709 ///710 /// # Arguments711 ///712 /// * collection_id.713 ///714 /// * new_owner.715 #[weight = <SelfWeightOf<T>>::change_collection_owner()]716 #[transactional]717 pub fn change_collection_owner(origin, collection_id: CollectionId, new_owner: T::AccountId) -> DispatchResult {718719 let sender = ensure_signed(origin)?;720 let mut target_collection = Self::get_collection(collection_id)?;721 Self::check_owner_permissions(&target_collection, &sender)?;722 target_collection.owner = new_owner;723 target_collection.save()724 }725726 /// Adds an admin of the Collection.727 /// NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.728 ///729 /// # Permissions730 ///731 /// * Collection Owner.732 /// * Collection Admin.733 ///734 /// # Arguments735 ///736 /// * collection_id: ID of the Collection to add admin for.737 ///738 /// * new_admin_id: Address of new admin to add.739 #[weight = <SelfWeightOf<T>>::add_collection_admin()]740 #[transactional]741 pub fn add_collection_admin(origin, collection_id: CollectionId, new_admin_id: T::CrossAccountId) -> DispatchResult {742 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);743 let collection = Self::get_collection(collection_id)?;744 Self::check_owner_or_admin_permissions(&collection, &sender)?;745 let mut admin_arr = <AdminList<T>>::get(collection_id);746747 match admin_arr.binary_search(&new_admin_id) {748 Ok(_) => {},749 Err(idx) => {750 ensure!(admin_arr.len() < COLLECTION_ADMINS_LIMIT as usize, Error::<T>::CollectionAdminsLimitExceeded);751 admin_arr.insert(idx, new_admin_id);752 <AdminList<T>>::insert(collection_id, admin_arr);753 }754 }755 Ok(())756 }757758 /// Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.759 ///760 /// # Permissions761 ///762 /// * Collection Owner.763 /// * Collection Admin.764 ///765 /// # Arguments766 ///767 /// * collection_id: ID of the Collection to remove admin for.768 ///769 /// * account_id: Address of admin to remove.770 #[weight = <SelfWeightOf<T>>::remove_collection_admin()]771 #[transactional]772 pub fn remove_collection_admin(origin, collection_id: CollectionId, account_id: T::CrossAccountId) -> DispatchResult {773 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);774 let collection = Self::get_collection(collection_id)?;775 Self::check_owner_or_admin_permissions(&collection, &sender)?;776 let mut admin_arr = <AdminList<T>>::get(collection_id);777778 if let Ok(idx) = admin_arr.binary_search(&account_id) {779 admin_arr.remove(idx);780 <AdminList<T>>::insert(collection_id, admin_arr);781 }782 Ok(())783 }784785 /// # Permissions786 ///787 /// * Collection Owner788 ///789 /// # Arguments790 ///791 /// * collection_id.792 ///793 /// * new_sponsor.794 #[weight = <SelfWeightOf<T>>::set_collection_sponsor()]795 #[transactional]796 pub fn set_collection_sponsor(origin, collection_id: CollectionId, new_sponsor: T::AccountId) -> DispatchResult {797 let sender = ensure_signed(origin)?;798 let mut target_collection = Self::get_collection(collection_id)?;799 Self::check_owner_permissions(&target_collection, &sender)?;800801 target_collection.sponsorship = SponsorshipState::Unconfirmed(new_sponsor);802 target_collection.save()803 }804805 /// # Permissions806 ///807 /// * Sponsor.808 ///809 /// # Arguments810 ///811 /// * collection_id.812 #[weight = <SelfWeightOf<T>>::confirm_sponsorship()]813 #[transactional]814 pub fn confirm_sponsorship(origin, collection_id: CollectionId) -> DispatchResult {815 let sender = ensure_signed(origin)?;816817 let mut target_collection = Self::get_collection(collection_id)?;818 ensure!(819 target_collection.sponsorship.pending_sponsor() == Some(&sender),820 Error::<T>::ConfirmUnsetSponsorFail821 );822823 target_collection.sponsorship = SponsorshipState::Confirmed(sender);824 target_collection.save()825 }826827 /// Switch back to pay-per-own-transaction model.828 ///829 /// # Permissions830 ///831 /// * Collection owner.832 ///833 /// # Arguments834 ///835 /// * collection_id.836 #[weight = <SelfWeightOf<T>>::remove_collection_sponsor()]837 #[transactional]838 pub fn remove_collection_sponsor(origin, collection_id: CollectionId) -> DispatchResult {839 let sender = ensure_signed(origin)?;840841 let mut target_collection = Self::get_collection(collection_id)?;842 Self::check_owner_permissions(&target_collection, &sender)?;843844 target_collection.sponsorship = SponsorshipState::Disabled;845 target_collection.save()846 }847848 /// This method creates a concrete instance of NFT Collection created with CreateCollection method.849 ///850 /// # Permissions851 ///852 /// * Collection Owner.853 /// * Collection Admin.854 /// * Anyone if855 /// * White List is enabled, and856 /// * Address is added to white list, and857 /// * MintPermission is enabled (see SetMintPermission method)858 ///859 /// # Arguments860 ///861 /// * collection_id: ID of the collection.862 ///863 /// * owner: Address, initial owner of the NFT.864 ///865 /// * data: Token data to store on chain.866 // #[weight =867 // (130_000_000 as Weight)868 // .saturating_add((2135 as Weight).saturating_mul((properties.len() as u64) as Weight))869 // .saturating_add(RocksDbWeight::get().reads(10 as Weight))870 // .saturating_add(RocksDbWeight::get().writes(8 as Weight))]871872 #[weight = <SelfWeightOf<T>>::create_item(data.data_size() as u32)]873 #[transactional]874 pub fn create_item(origin, collection_id: CollectionId, owner: T::CrossAccountId, data: CreateItemData) -> DispatchResult {875 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);876 let collection = Self::get_collection(collection_id)?;877878 Self::create_item_internal(&sender, &collection, &owner, data)?;879880 collection.submit_logs()881 }882883 /// This method creates multiple items in a collection created with CreateCollection method.884 ///885 /// # Permissions886 ///887 /// * Collection Owner.888 /// * Collection Admin.889 /// * Anyone if890 /// * White List is enabled, and891 /// * Address is added to white list, and892 /// * MintPermission is enabled (see SetMintPermission method)893 ///894 /// # Arguments895 ///896 /// * collection_id: ID of the collection.897 ///898 /// * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].899 ///900 /// * owner: Address, initial owner of the NFT.901 #[weight = <SelfWeightOf<T>>::create_multiple_items(items_data.len() as u32)]902 #[transactional]903 pub fn create_multiple_items(origin, collection_id: CollectionId, owner: T::CrossAccountId, items_data: Vec<CreateItemData>) -> DispatchResult {904905 ensure!(!items_data.is_empty(), Error::<T>::EmptyArgument);906 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);907 let collection = Self::get_collection(collection_id)?;908909 Self::create_multiple_items_internal(&sender, &collection, &owner, items_data)?;910911 collection.submit_logs()912 }913914 // TODO! transaction weight915916 /// Set transfers_enabled value for particular collection917 ///918 /// # Permissions919 ///920 /// * Collection Owner.921 ///922 /// # Arguments923 ///924 /// * collection_id: ID of the collection.925 ///926 /// * value: New flag value.927 #[weight = <SelfWeightOf<T>>::set_transfers_enabled_flag()]928 #[transactional]929 pub fn set_transfers_enabled_flag(origin, collection_id: CollectionId, value: bool) -> DispatchResult {930931 let sender = ensure_signed(origin)?;932 let mut target_collection = Self::get_collection(collection_id)?;933934 Self::check_owner_permissions(&target_collection, &sender)?;935936 target_collection.transfers_enabled = value;937 target_collection.save()938 }939940 /// Destroys a concrete instance of NFT.941 ///942 /// # Permissions943 ///944 /// * Collection Owner.945 /// * Collection Admin.946 /// * Current NFT Owner.947 ///948 /// # Arguments949 ///950 /// * collection_id: ID of the collection.951 ///952 /// * item_id: ID of NFT to burn.953 #[weight = <SelfWeightOf<T>>::burn_item()]954 #[transactional]955 pub fn burn_item(origin, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResult {956957 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);958 let target_collection = Self::get_collection(collection_id)?;959960 Self::burn_item_internal(&sender, &target_collection, item_id, value)?;961962 target_collection.submit_logs()963 }964965 /// Change ownership of the token.966 ///967 /// # Permissions968 ///969 /// * Collection Owner970 /// * Collection Admin971 /// * Current NFT owner972 ///973 /// # Arguments974 ///975 /// * recipient: Address of token recipient.976 ///977 /// * collection_id.978 ///979 /// * item_id: ID of the item980 /// * Non-Fungible Mode: Required.981 /// * Fungible Mode: Ignored.982 /// * Re-Fungible Mode: Required.983 ///984 /// * value: Amount to transfer.985 /// * Non-Fungible Mode: Ignored986 /// * Fungible Mode: Must specify transferred amount987 /// * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)988 #[weight = <SelfWeightOf<T>>::transfer()]989 #[transactional]990 pub fn transfer(origin, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResult {991 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);992 let collection = Self::get_collection(collection_id)?;993994 Self::transfer_internal(&sender, &recipient, &collection, item_id, value)?;995996 collection.submit_logs()997 }998999 /// Set, change, or remove approved address to transfer the ownership of the NFT.1000 ///1001 /// # Permissions1002 ///1003 /// * Collection Owner1004 /// * Collection Admin1005 /// * Current NFT owner1006 ///1007 /// # Arguments1008 ///1009 /// * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).1010 ///1011 /// * collection_id.1012 ///1013 /// * item_id: ID of the item.1014 #[weight = <SelfWeightOf<T>>::approve()]1015 #[transactional]1016 pub fn approve(origin, spender: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, amount: u128) -> DispatchResult {1017 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1018 let collection = Self::get_collection(collection_id)?;10191020 Self::approve_internal(&sender, &spender, &collection, item_id, amount)?;10211022 collection.submit_logs()1023 }10241025 /// Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.1026 ///1027 /// # Permissions1028 /// * Collection Owner1029 /// * Collection Admin1030 /// * Current NFT owner1031 /// * Address approved by current NFT owner1032 ///1033 /// # Arguments1034 ///1035 /// * from: Address that owns token.1036 ///1037 /// * recipient: Address of token recipient.1038 ///1039 /// * collection_id.1040 ///1041 /// * item_id: ID of the item.1042 ///1043 /// * value: Amount to transfer.1044 #[weight = <SelfWeightOf<T>>::transfer_from()]1045 #[transactional]1046 pub fn transfer_from(origin, from: T::CrossAccountId, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128 ) -> DispatchResult {1047 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1048 let collection = Self::get_collection(collection_id)?;10491050 Self::transfer_from_internal(&sender, &from, &recipient, &collection, item_id, value)?;10511052 collection.submit_logs()1053 }1054 // #[weight = 0]1055 // // let no_perm_mes = "You do not have permissions to modify this collection";1056 // // ensure!(<ApprovedList<T>>::contains_key((collection_id, item_id)), no_perm_mes);1057 // // let list_itm = <ApprovedList<T>>::get((collection_id, item_id));1058 // // ensure!(list_itm.contains(&new_owner.clone()), no_perm_mes);10591060 // // // on_nft_received call10611062 // // Self::transfer(origin, collection_id, item_id, new_owner)?;10631064 // Ok(())1065 // }10661067 /// Set off-chain data schema.1068 ///1069 /// # Permissions1070 ///1071 /// * Collection Owner1072 /// * Collection Admin1073 ///1074 /// # Arguments1075 ///1076 /// * collection_id.1077 ///1078 /// * schema: String representing the offchain data schema.1079 #[weight = <SelfWeightOf<T>>::set_variable_meta_data(data.len() as u32)]1080 #[transactional]1081 pub fn set_variable_meta_data (1082 origin,1083 collection_id: CollectionId,1084 item_id: TokenId,1085 data: Vec<u8>1086 ) -> DispatchResult {1087 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);10881089 let collection = Self::get_collection(collection_id)?;10901091 Self::set_variable_meta_data_internal(&sender, &collection, item_id, data)?;10921093 Ok(())1094 }10951096 /// Set schema standard1097 /// ImageURL1098 /// Unique1099 ///1100 /// # Permissions1101 ///1102 /// * Collection Owner1103 /// * Collection Admin1104 ///1105 /// # Arguments1106 ///1107 /// * collection_id.1108 ///1109 /// * schema: SchemaVersion: enum1110 #[weight = <SelfWeightOf<T>>::set_schema_version()]1111 #[transactional]1112 pub fn set_schema_version(1113 origin,1114 collection_id: CollectionId,1115 version: SchemaVersion1116 ) -> DispatchResult {1117 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1118 let mut target_collection = Self::get_collection(collection_id)?;1119 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;1120 target_collection.schema_version = version;1121 target_collection.save()1122 }11231124 /// Set off-chain data schema.1125 ///1126 /// # Permissions1127 ///1128 /// * Collection Owner1129 /// * Collection Admin1130 ///1131 /// # Arguments1132 ///1133 /// * collection_id.1134 ///1135 /// * schema: String representing the offchain data schema.1136 #[weight = <SelfWeightOf<T>>::set_offchain_schema(schema.len() as u32)]1137 #[transactional]1138 pub fn set_offchain_schema(1139 origin,1140 collection_id: CollectionId,1141 schema: Vec<u8>1142 ) -> DispatchResult {1143 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1144 let mut target_collection = Self::get_collection(collection_id)?;1145 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;11461147 // check schema limit1148 ensure!(schema.len() as u32 <= OFFCHAIN_SCHEMA_LIMIT, "");11491150 target_collection.offchain_schema = schema;1151 target_collection.save()1152 }11531154 /// Set const on-chain data schema.1155 ///1156 /// # Permissions1157 ///1158 /// * Collection Owner1159 /// * Collection Admin1160 ///1161 /// # Arguments1162 ///1163 /// * collection_id.1164 ///1165 /// * schema: String representing the const on-chain data schema.1166 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1167 #[transactional]1168 pub fn set_const_on_chain_schema (1169 origin,1170 collection_id: CollectionId,1171 schema: Vec<u8>1172 ) -> DispatchResult {1173 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1174 let mut target_collection = Self::get_collection(collection_id)?;1175 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;11761177 // check schema limit1178 ensure!(schema.len() as u32 <= CONST_ON_CHAIN_SCHEMA_LIMIT, "");11791180 target_collection.const_on_chain_schema = schema;1181 target_collection.save()1182 }11831184 /// Set variable on-chain data schema.1185 ///1186 /// # Permissions1187 ///1188 /// * Collection Owner1189 /// * Collection Admin1190 ///1191 /// # Arguments1192 ///1193 /// * collection_id.1194 ///1195 /// * schema: String representing the variable on-chain data schema.1196 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1197 #[transactional]1198 pub fn set_variable_on_chain_schema (1199 origin,1200 collection_id: CollectionId,1201 schema: Vec<u8>1202 ) -> DispatchResult {1203 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1204 let mut target_collection = Self::get_collection(collection_id)?;1205 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;12061207 // check schema limit1208 ensure!(schema.len() as u32 <= VARIABLE_ON_CHAIN_SCHEMA_LIMIT, "");12091210 target_collection.variable_on_chain_schema = schema;1211 target_collection.save()1212 }12131214 #[weight = <SelfWeightOf<T>>::set_collection_limits()]1215 #[transactional]1216 pub fn set_collection_limits(1217 origin,1218 collection_id: u32,1219 new_limits: CollectionLimits<T::BlockNumber>,1220 ) -> DispatchResult {1221 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1222 let mut target_collection = Self::get_collection(collection_id)?;1223 Self::check_owner_permissions(&target_collection, sender.as_sub())?;1224 let old_limits = &target_collection.limits;12251226 // collection bounds1227 ensure!(new_limits.sponsor_transfer_timeout <= MAX_SPONSOR_TIMEOUT &&1228 new_limits.account_token_ownership_limit <= MAX_TOKEN_OWNERSHIP &&1229 new_limits.sponsored_data_size <= CUSTOM_DATA_LIMIT,1230 Error::<T>::CollectionLimitBoundsExceeded);12311232 // token_limit check prev1233 ensure!(old_limits.token_limit >= new_limits.token_limit, Error::<T>::CollectionTokenLimitExceeded);1234 ensure!(new_limits.token_limit > 0, Error::<T>::CollectionTokenLimitExceeded);12351236 ensure!(1237 (old_limits.owner_can_transfer || !new_limits.owner_can_transfer) &&1238 (old_limits.owner_can_destroy || !new_limits.owner_can_destroy),1239 Error::<T>::OwnerPermissionsCantBeReverted,1240 );12411242 target_collection.limits = new_limits;12431244 target_collection.save()1245 }1246 }1247}12481249impl<T: Config> Module<T> {1250 pub fn create_item_internal(1251 sender: &T::CrossAccountId,1252 collection: &CollectionHandle<T>,1253 owner: &T::CrossAccountId,1254 data: CreateItemData,1255 ) -> DispatchResult {1256 ensure!(1257 owner != &T::CrossAccountId::from_eth(H160([0; 20])),1258 Error::<T>::AddressIsZero1259 );12601261 Self::can_create_items_in_collection(collection, sender, owner, 1)?;1262 Self::validate_create_item_args(collection, &data)?;1263 Self::create_item_no_validation(collection, owner, data)?;12641265 Ok(())1266 }12671268 pub fn transfer_internal(1269 sender: &T::CrossAccountId,1270 recipient: &T::CrossAccountId,1271 target_collection: &CollectionHandle<T>,1272 item_id: TokenId,1273 value: u128,1274 ) -> DispatchResult {1275 ensure!(1276 recipient != &T::CrossAccountId::from_eth(H160([0; 20])),1277 Error::<T>::AddressIsZero1278 );12791280 // Limits check1281 Self::is_correct_transfer(target_collection, recipient)?;12821283 // Transfer permissions check1284 ensure!(1285 Self::is_item_owner(sender, target_collection, item_id)?1286 || Self::is_owner_or_admin_permissions(target_collection, sender)?,1287 Error::<T>::NoPermission1288 );12891290 if target_collection.access == AccessMode::WhiteList {1291 Self::check_white_list(target_collection, sender)?;1292 Self::check_white_list(target_collection, recipient)?;1293 }12941295 match target_collection.mode {1296 CollectionMode::NFT => Self::transfer_nft(1297 target_collection,1298 item_id,1299 sender.clone(),1300 recipient.clone(),1301 )?,1302 CollectionMode::Fungible(_) => {1303 Self::transfer_fungible(target_collection, value, sender, recipient)?1304 }1305 CollectionMode::ReFungible => Self::transfer_refungible(1306 target_collection,1307 item_id,1308 value,1309 sender.clone(),1310 recipient.clone(),1311 )?,1312 _ => (),1313 };13141315 Self::deposit_event(RawEvent::Transfer(1316 target_collection.id,1317 item_id,1318 sender.clone(),1319 recipient.clone(),1320 value,1321 ));13221323 Ok(())1324 }13251326 pub fn approve_internal(1327 sender: &T::CrossAccountId,1328 spender: &T::CrossAccountId,1329 collection: &CollectionHandle<T>,1330 item_id: TokenId,1331 amount: u128,1332 ) -> DispatchResult {1333 Self::token_exists(collection, item_id)?;13341335 // Transfer permissions check1336 let bypasses_limits = collection.limits.owner_can_transfer1337 && Self::is_owner_or_admin_permissions(collection, sender)?;13381339 let allowance_limit = if bypasses_limits {1340 None1341 } else if let Some(amount) = Self::owned_amount(sender, collection, item_id)? {1342 Some(amount)1343 } else {1344 fail!(Error::<T>::NoPermission);1345 };13461347 if collection.access == AccessMode::WhiteList {1348 Self::check_white_list(collection, sender)?;1349 Self::check_white_list(collection, spender)?;1350 }13511352 collection.consume_sload()?;1353 let allowance: u128 = amount1354 .checked_add(<Allowances<T>>::get(1355 collection.id,1356 (item_id, sender.as_sub(), spender.as_sub()),1357 ))1358 .ok_or(Error::<T>::NumOverflow)?;1359 if let Some(limit) = allowance_limit {1360 ensure!(limit >= allowance, Error::<T>::TokenValueTooLow);1361 }1362 collection.consume_sstore()?;1363 <Allowances<T>>::insert(1364 collection.id,1365 (item_id, sender.as_sub(), spender.as_sub()),1366 allowance,1367 );13681369 if matches!(collection.mode, CollectionMode::NFT) {1370 // TODO: NFT: only one owner may exist for token in ERC7211371 collection.log(ERC721Events::Approval {1372 owner: *sender.as_eth(),1373 approved: *spender.as_eth(),1374 token_id: item_id.into(),1375 })?;1376 }13771378 if matches!(collection.mode, CollectionMode::Fungible(_)) {1379 // TODO: NFT: only one owner may exist for token in ERC201380 collection.log(ERC20Events::Approval {1381 owner: *sender.as_eth(),1382 spender: *spender.as_eth(),1383 value: allowance.into(),1384 })?;1385 }13861387 Self::deposit_event(RawEvent::Approved(1388 collection.id,1389 item_id,1390 sender.clone(),1391 spender.clone(),1392 allowance,1393 ));1394 Ok(())1395 }13961397 pub fn transfer_from_internal(1398 sender: &T::CrossAccountId,1399 from: &T::CrossAccountId,1400 recipient: &T::CrossAccountId,1401 collection: &CollectionHandle<T>,1402 item_id: TokenId,1403 amount: u128,1404 ) -> DispatchResult {1405 if sender == from {1406 // Transfer by `from`, because it is either equal to sender, or derived from him1407 return Self::transfer_internal(from, recipient, collection, item_id, amount);1408 }14091410 // Check approval1411 collection.consume_sload()?;1412 let approval: u128 =1413 <Allowances<T>>::get(collection.id, (item_id, from.as_sub(), sender.as_sub()));14141415 // Limits check1416 Self::is_correct_transfer(collection, recipient)?;14171418 // Transfer permissions check1419 ensure!(1420 approval >= amount1421 || (collection.limits.owner_can_transfer1422 && Self::is_owner_or_admin_permissions(collection, sender)?),1423 Error::<T>::NoPermission1424 );14251426 if collection.access == AccessMode::WhiteList {1427 Self::check_white_list(collection, sender)?;1428 Self::check_white_list(collection, recipient)?;1429 }14301431 // Reduce approval by transferred amount or remove if remaining approval drops to 01432 let allowance = approval.saturating_sub(amount);1433 collection.consume_sstore()?;1434 if allowance > 0 {1435 <Allowances<T>>::insert(1436 collection.id,1437 (item_id, from.as_sub(), sender.as_sub()),1438 allowance,1439 );1440 } else {1441 <Allowances<T>>::remove(collection.id, (item_id, from.as_sub(), sender.as_sub()));1442 }14431444 match collection.mode {1445 CollectionMode::NFT => {1446 Self::transfer_nft(collection, item_id, from.clone(), recipient.clone())?1447 }1448 CollectionMode::Fungible(_) => {1449 Self::transfer_fungible(collection, amount, from, recipient)?1450 }1451 CollectionMode::ReFungible => Self::transfer_refungible(1452 collection,1453 item_id,1454 amount,1455 from.clone(),1456 recipient.clone(),1457 )?,1458 _ => (),1459 };14601461 if matches!(collection.mode, CollectionMode::Fungible(_)) {1462 collection.log(ERC20Events::Approval {1463 owner: *from.as_eth(),1464 spender: *sender.as_eth(),1465 value: allowance.into(),1466 })?;1467 }14681469 Ok(())1470 }14711472 pub fn set_variable_meta_data_internal(1473 sender: &T::CrossAccountId,1474 collection: &CollectionHandle<T>,1475 item_id: TokenId,1476 data: Vec<u8>,1477 ) -> DispatchResult {1478 Self::token_exists(collection, item_id)?;14791480 ensure!(1481 CUSTOM_DATA_LIMIT >= data.len() as u32,1482 Error::<T>::TokenVariableDataLimitExceeded1483 );14841485 // Modify permissions check1486 ensure!(1487 Self::is_item_owner(sender, collection, item_id)?1488 || Self::is_owner_or_admin_permissions(collection, sender)?,1489 Error::<T>::NoPermission1490 );14911492 match collection.mode {1493 CollectionMode::NFT => Self::set_nft_variable_data(collection, item_id, data)?,1494 CollectionMode::ReFungible => {1495 Self::set_re_fungible_variable_data(collection, item_id, data)?1496 }1497 CollectionMode::Fungible(_) => fail!(Error::<T>::CantStoreMetadataInFungibleTokens),1498 _ => fail!(Error::<T>::UnexpectedCollectionType),1499 };15001501 Ok(())1502 }15031504 pub fn get_variable_metadata(1505 collection: &CollectionHandle<T>,1506 item_id: TokenId,1507 ) -> Result<Vec<u8>, DispatchError> {1508 Ok(match collection.mode {1509 CollectionMode::NFT => {1510 <NftItemList<T>>::get(collection.id, item_id)1511 .ok_or(Error::<T>::TokenNotFound)?1512 .variable_data1513 }1514 CollectionMode::ReFungible => {1515 <ReFungibleItemList<T>>::get(collection.id, item_id)1516 .ok_or(Error::<T>::TokenNotFound)?1517 .variable_data1518 }1519 _ => fail!(Error::<T>::UnexpectedCollectionType),1520 })1521 }15221523 pub fn create_multiple_items_internal(1524 sender: &T::CrossAccountId,1525 collection: &CollectionHandle<T>,1526 owner: &T::CrossAccountId,1527 items_data: Vec<CreateItemData>,1528 ) -> DispatchResult {1529 Self::can_create_items_in_collection(collection, sender, owner, items_data.len() as u32)?;15301531 for data in &items_data {1532 Self::validate_create_item_args(collection, data)?;1533 }1534 for data in &items_data {1535 Self::create_item_no_validation(collection, owner, data.clone())?;1536 }15371538 Ok(())1539 }15401541 pub fn burn_item_internal(1542 sender: &T::CrossAccountId,1543 collection: &CollectionHandle<T>,1544 item_id: TokenId,1545 value: u128,1546 ) -> DispatchResult {1547 ensure!(1548 Self::is_item_owner(sender, collection, item_id)?1549 || (collection.limits.owner_can_transfer1550 && Self::is_owner_or_admin_permissions(collection, sender)?),1551 Error::<T>::NoPermission1552 );15531554 if collection.access == AccessMode::WhiteList {1555 Self::check_white_list(collection, sender)?;1556 }15571558 match collection.mode {1559 CollectionMode::NFT => Self::burn_nft_item(collection, item_id)?,1560 CollectionMode::Fungible(_) => Self::burn_fungible_item(sender, collection, value)?,1561 CollectionMode::ReFungible => Self::burn_refungible_item(collection, item_id, sender)?,1562 _ => (),1563 };15641565 Ok(())1566 }15671568 pub fn toggle_white_list_internal(1569 sender: &T::CrossAccountId,1570 collection: &CollectionHandle<T>,1571 address: &T::CrossAccountId,1572 whitelisted: bool,1573 ) -> DispatchResult {1574 Self::check_owner_or_admin_permissions(collection, sender)?;15751576 if whitelisted {1577 <WhiteList<T>>::insert(collection.id, address.as_sub(), true);1578 } else {1579 <WhiteList<T>>::remove(collection.id, address.as_sub());1580 }15811582 Ok(())1583 }15841585 fn is_correct_transfer(1586 collection: &CollectionHandle<T>,1587 recipient: &T::CrossAccountId,1588 ) -> DispatchResult {1589 let collection_id = collection.id;15901591 // check token limit and account token limit1592 collection.consume_sload()?;1593 let account_items: u32 =1594 <AddressTokens<T>>::get(collection_id, recipient.as_sub()).len() as u32;15951596 // zero limit means collection limit is disabled1597 // otherwise get lower value1598 let limit = if collection.limits.account_token_ownership_limit == 01599 || collection.limits.account_token_ownership_limit > ACCOUNT_TOKEN_OWNERSHIP_LIMIT1600 {1601 ACCOUNT_TOKEN_OWNERSHIP_LIMIT1602 } else {1603 collection.limits.account_token_ownership_limit1604 };16051606 ensure!(limit > account_items, Error::<T>::AccountTokenLimitExceeded);16071608 // preliminary transfer check1609 ensure!(collection.transfers_enabled, Error::<T>::TransferNotAllowed);16101611 Ok(())1612 }16131614 fn can_create_items_in_collection(1615 collection: &CollectionHandle<T>,1616 sender: &T::CrossAccountId,1617 owner: &T::CrossAccountId,1618 amount: u32,1619 ) -> DispatchResult {1620 let collection_id = collection.id;16211622 // check token limit and account token limit1623 let total_items: u32 = ItemListIndex::get(collection_id)1624 .checked_add(amount)1625 .ok_or(Error::<T>::CollectionTokenLimitExceeded)?;1626 let account_items: u32 = (<AddressTokens<T>>::get(collection_id, owner.as_sub()).len()1627 as u32)1628 .checked_add(amount)1629 .ok_or(Error::<T>::AccountTokenLimitExceeded)?;16301631 // zero limit means collection limit is disabled1632 // otherwise get lower value1633 let account_token_limit = if collection.limits.account_token_ownership_limit == 01634 || collection.limits.account_token_ownership_limit > ACCOUNT_TOKEN_OWNERSHIP_LIMIT1635 {1636 ACCOUNT_TOKEN_OWNERSHIP_LIMIT1637 } else {1638 collection.limits.account_token_ownership_limit1639 };16401641 ensure!(1642 collection.limits.token_limit >= total_items,1643 Error::<T>::CollectionTokenLimitExceeded1644 );1645 ensure!(1646 account_token_limit >= account_items,1647 Error::<T>::AccountTokenLimitExceeded1648 );16491650 if !Self::is_owner_or_admin_permissions(collection, sender)? {1651 ensure!(collection.mint_mode, Error::<T>::PublicMintingNotAllowed);1652 Self::check_white_list(collection, owner)?;1653 Self::check_white_list(collection, sender)?;1654 }16551656 Ok(())1657 }16581659 fn validate_create_item_args(1660 target_collection: &CollectionHandle<T>,1661 data: &CreateItemData,1662 ) -> DispatchResult {1663 match target_collection.mode {1664 CollectionMode::NFT => {1665 if !matches!(data, CreateItemData::NFT(_)) {1666 fail!(Error::<T>::NotNftDataUsedToMintNftCollectionToken);1667 }1668 }1669 CollectionMode::Fungible(_) => {1670 if !matches!(data, CreateItemData::Fungible(_)) {1671 fail!(Error::<T>::NotFungibleDataUsedToMintFungibleCollectionToken);1672 }1673 }1674 CollectionMode::ReFungible => {1675 if let CreateItemData::ReFungible(data) = data {1676 // Check refungibility limits1677 ensure!(1678 data.pieces <= MAX_REFUNGIBLE_PIECES,1679 Error::<T>::WrongRefungiblePieces1680 );1681 ensure!(data.pieces > 0, Error::<T>::WrongRefungiblePieces);1682 } else {1683 fail!(Error::<T>::NotReFungibleDataUsedToMintReFungibleCollectionToken);1684 }1685 }1686 _ => {1687 fail!(Error::<T>::UnexpectedCollectionType);1688 }1689 };16901691 Ok(())1692 }16931694 fn create_item_no_validation(1695 collection: &CollectionHandle<T>,1696 owner: &T::CrossAccountId,1697 data: CreateItemData,1698 ) -> DispatchResult {1699 match data {1700 CreateItemData::NFT(data) => {1701 let item = NftItemType {1702 owner: owner.clone(),1703 const_data: data.const_data.into_inner(),1704 variable_data: data.variable_data.into_inner(),1705 };17061707 Self::add_nft_item(collection, item)?;1708 }1709 CreateItemData::Fungible(data) => {1710 Self::add_fungible_item(collection, owner, data.value)?;1711 }1712 CreateItemData::ReFungible(data) => {1713 let owner_list = vec![Ownership {1714 owner: owner.clone(),1715 fraction: data.pieces,1716 }];17171718 let item = ReFungibleItemType {1719 owner: owner_list,1720 const_data: data.const_data.into_inner(),1721 variable_data: data.variable_data.into_inner(),1722 };17231724 Self::add_refungible_item(collection, item)?;1725 }1726 };17271728 Ok(())1729 }17301731 fn add_fungible_item(1732 collection: &CollectionHandle<T>,1733 owner: &T::CrossAccountId,1734 value: u128,1735 ) -> DispatchResult {1736 let collection_id = collection.id;17371738 // Does new owner already have an account?1739 collection.consume_sload()?;1740 let balance: u128 = <FungibleItemList<T>>::get(collection_id, owner.as_sub()).value;17411742 // Mint1743 let item = FungibleItemType {1744 value: balance.checked_add(value).ok_or(Error::<T>::NumOverflow)?,1745 };1746 collection.consume_sstore()?;1747 <FungibleItemList<T>>::insert(collection_id, owner.as_sub(), item);17481749 // Update balance1750 collection.consume_sload()?;1751 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())1752 .checked_add(value)1753 .ok_or(Error::<T>::NumOverflow)?;1754 collection.consume_sstore()?;1755 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);17561757 collection.log(ERC20Events::Transfer {1758 from: H160::default(),1759 to: *owner.as_eth(),1760 value: value.into(),1761 })?;1762 Self::deposit_event(RawEvent::ItemCreated(collection_id, 0, owner.clone()));1763 Ok(())1764 }17651766 fn add_refungible_item(1767 collection: &CollectionHandle<T>,1768 item: ReFungibleItemType<T::CrossAccountId>,1769 ) -> DispatchResult {1770 let collection_id = collection.id;17711772 let current_index = <ItemListIndex>::get(collection_id)1773 .checked_add(1)1774 .ok_or(Error::<T>::NumOverflow)?;1775 let itemcopy = item.clone();17761777 ensure!(item.owner.len() == 1, Error::<T>::BadCreateRefungibleCall,);1778 let item_owner = item.owner.first().expect("only one owner is defined");17791780 let value = item_owner.fraction;1781 let owner = item_owner.owner.clone();17821783 Self::add_token_index(collection, current_index, &owner)?;17841785 <ItemListIndex>::insert(collection_id, current_index);1786 <ReFungibleItemList<T>>::insert(collection_id, current_index, itemcopy);17871788 // Update balance1789 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())1790 .checked_add(value)1791 .ok_or(Error::<T>::NumOverflow)?;1792 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);17931794 Self::deposit_event(RawEvent::ItemCreated(collection_id, current_index, owner));1795 Ok(())1796 }17971798 fn add_nft_item(1799 collection: &CollectionHandle<T>,1800 item: NftItemType<T::CrossAccountId>,1801 ) -> DispatchResult {1802 let collection_id = collection.id;18031804 let current_index = <ItemListIndex>::get(collection_id)1805 .checked_add(1)1806 .ok_or(Error::<T>::NumOverflow)?;18071808 let item_owner = item.owner.clone();1809 Self::add_token_index(collection, current_index, &item.owner)?;18101811 <ItemListIndex>::insert(collection_id, current_index);1812 <NftItemList<T>>::insert(collection_id, current_index, item);18131814 // Update balance1815 let new_balance = <Balance<T>>::get(collection_id, item_owner.as_sub())1816 .checked_add(1)1817 .ok_or(Error::<T>::NumOverflow)?;1818 <Balance<T>>::insert(collection_id, item_owner.as_sub(), new_balance);18191820 collection.log(ERC721Events::Transfer {1821 from: H160::default(),1822 to: *item_owner.as_eth(),1823 token_id: current_index.into(),1824 })?;1825 Self::deposit_event(RawEvent::ItemCreated(1826 collection_id,1827 current_index,1828 item_owner,1829 ));1830 Ok(())1831 }18321833 fn burn_refungible_item(1834 collection: &CollectionHandle<T>,1835 item_id: TokenId,1836 owner: &T::CrossAccountId,1837 ) -> DispatchResult {1838 let collection_id = collection.id;18391840 let mut token = <ReFungibleItemList<T>>::get(collection_id, item_id)1841 .ok_or(Error::<T>::TokenNotFound)?;1842 let rft_balance = token1843 .owner1844 .iter()1845 .find(|&i| i.owner == *owner)1846 .ok_or(Error::<T>::TokenNotFound)?;1847 Self::remove_token_index(collection, item_id, owner)?;18481849 // update balance1850 let new_balance = <Balance<T>>::get(collection_id, rft_balance.owner.as_sub())1851 .checked_sub(rft_balance.fraction)1852 .ok_or(Error::<T>::NumOverflow)?;1853 <Balance<T>>::insert(collection_id, rft_balance.owner.as_sub(), new_balance);18541855 // Re-create owners list with sender removed1856 let index = token1857 .owner1858 .iter()1859 .position(|i| i.owner == *owner)1860 .expect("owned item is exists");1861 token.owner.remove(index);1862 let owner_count = token.owner.len();18631864 // Burn the token completely if this was the last (only) owner1865 if owner_count == 0 {1866 <ReFungibleItemList<T>>::remove(collection_id, item_id);1867 <VariableMetaDataBasket<T>>::remove(collection_id, item_id);1868 } else {1869 <ReFungibleItemList<T>>::insert(collection_id, item_id, token);1870 }18711872 Ok(())1873 }18741875 fn burn_nft_item(collection: &CollectionHandle<T>, item_id: TokenId) -> DispatchResult {1876 let collection_id = collection.id;18771878 let item =1879 <NftItemList<T>>::get(collection_id, item_id).ok_or(Error::<T>::TokenNotFound)?;1880 Self::remove_token_index(collection, item_id, &item.owner)?;18811882 // update balance1883 let new_balance = <Balance<T>>::get(collection_id, item.owner.as_sub())1884 .checked_sub(1)1885 .ok_or(Error::<T>::NumOverflow)?;1886 <Balance<T>>::insert(collection_id, item.owner.as_sub(), new_balance);1887 <NftItemList<T>>::remove(collection_id, item_id);1888 <VariableMetaDataBasket<T>>::remove(collection_id, item_id);18891890 collection.log(ERC721Events::Transfer {1891 from: *item.owner.as_eth(),1892 to: H160::default(),1893 token_id: item_id.into(),1894 })?;1895 Self::deposit_event(RawEvent::ItemDestroyed(collection.id, item_id));1896 Ok(())1897 }18981899 fn burn_fungible_item(1900 owner: &T::CrossAccountId,1901 collection: &CollectionHandle<T>,1902 value: u128,1903 ) -> DispatchResult {1904 let collection_id = collection.id;19051906 let mut balance = <FungibleItemList<T>>::get(collection_id, owner.as_sub());1907 ensure!(balance.value >= value, Error::<T>::TokenValueNotEnough);19081909 // update balance1910 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())1911 .checked_sub(value)1912 .ok_or(Error::<T>::NumOverflow)?;1913 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);19141915 if balance.value - value > 0 {1916 balance.value -= value;1917 <FungibleItemList<T>>::insert(collection_id, owner.as_sub(), balance);1918 } else {1919 <FungibleItemList<T>>::remove(collection_id, owner.as_sub());1920 }19211922 collection.log(ERC20Events::Transfer {1923 from: *owner.as_eth(),1924 to: H160::default(),1925 value: value.into(),1926 })?;1927 Ok(())1928 }19291930 pub fn get_collection(1931 collection_id: CollectionId,1932 ) -> Result<CollectionHandle<T>, sp_runtime::DispatchError> {1933 Ok(<CollectionHandle<T>>::get(collection_id).ok_or(Error::<T>::CollectionNotFound)?)1934 }19351936 fn check_owner_permissions(1937 target_collection: &CollectionHandle<T>,1938 subject: &T::AccountId,1939 ) -> DispatchResult {1940 ensure!(1941 *subject == target_collection.owner,1942 Error::<T>::NoPermission1943 );19441945 Ok(())1946 }19471948 fn is_owner_or_admin_permissions(1949 collection: &CollectionHandle<T>,1950 subject: &T::CrossAccountId,1951 ) -> Result<bool, DispatchError> {1952 collection.consume_sload()?;1953 Ok(*subject.as_sub() == collection.owner1954 || <AdminList<T>>::get(collection.id).contains(subject))1955 }19561957 fn check_owner_or_admin_permissions(1958 collection: &CollectionHandle<T>,1959 subject: &T::CrossAccountId,1960 ) -> DispatchResult {1961 ensure!(1962 Self::is_owner_or_admin_permissions(collection, subject)?,1963 Error::<T>::NoPermission1964 );19651966 Ok(())1967 }19681969 fn owned_amount(1970 subject: &T::CrossAccountId,1971 collection: &CollectionHandle<T>,1972 item_id: TokenId,1973 ) -> Result<Option<u128>, DispatchError> {1974 collection.consume_sload()?;1975 Ok(Self::owned_amount_unchecked(subject, collection, item_id))1976 }19771978 fn owned_amount_unchecked(1979 subject: &T::CrossAccountId,1980 target_collection: &CollectionHandle<T>,1981 item_id: TokenId,1982 ) -> Option<u128> {1983 let collection_id = target_collection.id;19841985 match target_collection.mode {1986 CollectionMode::NFT => {1987 (<NftItemList<T>>::get(collection_id, item_id)?.owner == *subject).then(|| 1)1988 }1989 CollectionMode::Fungible(_) => {1990 Some(<FungibleItemList<T>>::get(collection_id, &subject.as_sub()).value)1991 }1992 CollectionMode::ReFungible => <ReFungibleItemList<T>>::get(collection_id, item_id)?1993 .owner1994 .iter()1995 .find(|i| i.owner == *subject)1996 .map(|i| i.fraction),1997 CollectionMode::Invalid => None,1998 }1999 }20002001 fn is_item_owner(2002 subject: &T::CrossAccountId,2003 target_collection: &CollectionHandle<T>,2004 item_id: TokenId,2005 ) -> Result<bool, DispatchError> {2006 Ok(match target_collection.mode {2007 CollectionMode::Fungible(_) => true,2008 _ => Self::owned_amount(subject, target_collection, item_id)?.is_some(),2009 })2010 }20112012 fn check_white_list(2013 collection: &CollectionHandle<T>,2014 address: &T::CrossAccountId,2015 ) -> DispatchResult {2016 collection.consume_sload()?;2017 ensure!(2018 <WhiteList<T>>::contains_key(collection.id, address.as_sub()),2019 Error::<T>::AddresNotInWhiteList,2020 );2021 Ok(())2022 }20232024 /// Check if token exists. In case of Fungible, check if there is an entry for2025 /// the owner in fungible balances double map2026 fn token_exists(target_collection: &CollectionHandle<T>, item_id: TokenId) -> DispatchResult {2027 let collection_id = target_collection.id;2028 let exists = match target_collection.mode {2029 CollectionMode::NFT => <NftItemList<T>>::contains_key(collection_id, item_id),2030 CollectionMode::Fungible(_) => true,2031 CollectionMode::ReFungible => {2032 <ReFungibleItemList<T>>::contains_key(collection_id, item_id)2033 }2034 _ => false,2035 };20362037 ensure!(exists, Error::<T>::TokenNotFound);2038 Ok(())2039 }20402041 fn transfer_fungible(2042 collection: &CollectionHandle<T>,2043 value: u128,2044 owner: &T::CrossAccountId,2045 recipient: &T::CrossAccountId,2046 ) -> DispatchResult {2047 let collection_id = collection.id;20482049 collection.consume_sload()?;2050 collection.consume_sload()?;2051 let mut recipient_balance = <FungibleItemList<T>>::get(collection_id, recipient.as_sub());2052 let mut balance = <FungibleItemList<T>>::get(collection_id, owner.as_sub());20532054 recipient_balance.value = recipient_balance2055 .value2056 .checked_add(value)2057 .ok_or(Error::<T>::NumOverflow)?;2058 balance.value = balance2059 .value2060 .checked_sub(value)2061 .ok_or(Error::<T>::TokenValueTooLow)?;20622063 // update balanceOf2064 collection.consume_sstore()?;2065 collection.consume_sstore()?;2066 if balance.value != 0 {2067 <Balance<T>>::insert(collection_id, owner.as_sub(), balance.value);2068 } else {2069 <Balance<T>>::remove(collection_id, owner.as_sub());2070 }2071 <Balance<T>>::insert(collection_id, recipient.as_sub(), recipient_balance.value);20722073 // Reduce or remove sender2074 collection.consume_sstore()?;2075 collection.consume_sstore()?;2076 if balance.value != 0 {2077 <FungibleItemList<T>>::insert(collection_id, owner.as_sub(), balance);2078 } else {2079 <FungibleItemList<T>>::remove(collection_id, owner.as_sub());2080 }2081 <FungibleItemList<T>>::insert(collection_id, recipient.as_sub(), recipient_balance);20822083 collection.log(ERC20Events::Transfer {2084 from: *owner.as_eth(),2085 to: *recipient.as_eth(),2086 value: value.into(),2087 })?;2088 Self::deposit_event(RawEvent::Transfer(2089 collection.id,2090 1,2091 owner.clone(),2092 recipient.clone(),2093 value,2094 ));20952096 Ok(())2097 }20982099 fn transfer_refungible(2100 collection: &CollectionHandle<T>,2101 item_id: TokenId,2102 value: u128,2103 owner: T::CrossAccountId,2104 new_owner: T::CrossAccountId,2105 ) -> DispatchResult {2106 let collection_id = collection.id;2107 collection.consume_sload()?;2108 let full_item = <ReFungibleItemList<T>>::get(collection_id, item_id)2109 .ok_or(Error::<T>::TokenNotFound)?;21102111 let item = full_item2112 .owner2113 .iter()2114 .find(|i| i.owner == owner)2115 .ok_or(Error::<T>::TokenNotFound)?;2116 let amount = item.fraction;21172118 ensure!(amount >= value, Error::<T>::TokenValueTooLow);21192120 collection.consume_sload()?;2121 // update balance2122 let balance_old_owner = <Balance<T>>::get(collection_id, item.owner.as_sub())2123 .checked_sub(value)2124 .ok_or(Error::<T>::NumOverflow)?;2125 collection.consume_sstore()?;2126 <Balance<T>>::insert(collection_id, item.owner.as_sub(), balance_old_owner);21272128 collection.consume_sload()?;2129 let balance_new_owner = <Balance<T>>::get(collection_id, new_owner.as_sub())2130 .checked_add(value)2131 .ok_or(Error::<T>::NumOverflow)?;2132 collection.consume_sstore()?;2133 <Balance<T>>::insert(collection_id, new_owner.as_sub(), balance_new_owner);21342135 let old_owner = item.owner.clone();2136 let new_owner_has_account = full_item.owner.iter().any(|i| i.owner == new_owner);21372138 let mut new_full_item = full_item.clone();2139 // transfer2140 if amount == value && !new_owner_has_account {2141 // change owner2142 // new owner do not have account2143 new_full_item2144 .owner2145 .iter_mut()2146 .find(|i| i.owner == owner)2147 .expect("old owner does present in refungible")2148 .owner = new_owner.clone();2149 collection.consume_sstore()?;2150 <ReFungibleItemList<T>>::insert(collection_id, item_id, new_full_item);21512152 // update index collection2153 Self::move_token_index(collection, item_id, &old_owner, &new_owner)?;2154 } else {2155 new_full_item2156 .owner2157 .iter_mut()2158 .find(|i| i.owner == owner)2159 .expect("old owner does present in refungible")2160 .fraction -= value;21612162 // separate amount2163 if new_owner_has_account {2164 // new owner has account2165 new_full_item2166 .owner2167 .iter_mut()2168 .find(|i| i.owner == new_owner)2169 .expect("new owner has account")2170 .fraction += value;2171 } else {2172 // new owner do not have account2173 new_full_item.owner.push(Ownership {2174 owner: new_owner.clone(),2175 fraction: value,2176 });2177 Self::add_token_index(collection, item_id, &new_owner)?;2178 }21792180 collection.consume_sstore()?;2181 <ReFungibleItemList<T>>::insert(collection_id, item_id, new_full_item);2182 }21832184 Self::deposit_event(RawEvent::Transfer(2185 collection.id,2186 item_id,2187 owner,2188 new_owner,2189 amount,2190 ));21912192 Ok(())2193 }21942195 fn transfer_nft(2196 collection: &CollectionHandle<T>,2197 item_id: TokenId,2198 sender: T::CrossAccountId,2199 new_owner: T::CrossAccountId,2200 ) -> DispatchResult {2201 let collection_id = collection.id;2202 collection.consume_sload()?;2203 let mut item =2204 <NftItemList<T>>::get(collection_id, item_id).ok_or(Error::<T>::TokenNotFound)?;22052206 ensure!(sender == item.owner, Error::<T>::MustBeTokenOwner);22072208 collection.consume_sload()?;2209 // update balance2210 let balance_old_owner = <Balance<T>>::get(collection_id, item.owner.as_sub())2211 .checked_sub(1)2212 .ok_or(Error::<T>::NumOverflow)?;2213 collection.consume_sstore()?;2214 <Balance<T>>::insert(collection_id, item.owner.as_sub(), balance_old_owner);22152216 collection.consume_sload()?;2217 let balance_new_owner = <Balance<T>>::get(collection_id, new_owner.as_sub())2218 .checked_add(1)2219 .ok_or(Error::<T>::NumOverflow)?;2220 collection.consume_sstore()?;2221 <Balance<T>>::insert(collection_id, new_owner.as_sub(), balance_new_owner);22222223 // change owner2224 let old_owner = item.owner.clone();2225 item.owner = new_owner.clone();2226 collection.consume_sstore()?;2227 <NftItemList<T>>::insert(collection_id, item_id, item);22282229 // update index collection2230 Self::move_token_index(collection, item_id, &old_owner, &new_owner)?;22312232 collection.log(ERC721Events::Transfer {2233 from: *sender.as_eth(),2234 to: *new_owner.as_eth(),2235 token_id: item_id.into(),2236 })?;2237 Self::deposit_event(RawEvent::Transfer(2238 collection.id,2239 item_id,2240 sender,2241 new_owner,2242 1,2243 ));22442245 Ok(())2246 }22472248 fn set_re_fungible_variable_data(2249 collection: &CollectionHandle<T>,2250 item_id: TokenId,2251 data: Vec<u8>,2252 ) -> DispatchResult {2253 let collection_id = collection.id;2254 let mut item = <ReFungibleItemList<T>>::get(collection_id, item_id)2255 .ok_or(Error::<T>::TokenNotFound)?;22562257 item.variable_data = data;22582259 <ReFungibleItemList<T>>::insert(collection_id, item_id, item);22602261 Ok(())2262 }22632264 fn set_nft_variable_data(2265 collection: &CollectionHandle<T>,2266 item_id: TokenId,2267 data: Vec<u8>,2268 ) -> DispatchResult {2269 let collection_id = collection.id;2270 let mut item =2271 <NftItemList<T>>::get(collection_id, item_id).ok_or(Error::<T>::TokenNotFound)?;22722273 item.variable_data = data;22742275 <NftItemList<T>>::insert(collection_id, item_id, item);22762277 Ok(())2278 }22792280 #[allow(dead_code)]2281 fn init_collection(item: &Collection<T>) {2282 // check params2283 assert!(2284 item.decimal_points <= MAX_DECIMAL_POINTS,2285 "decimal_points parameter must be lower than MAX_DECIMAL_POINTS"2286 );2287 assert!(2288 item.name.len() <= 64,2289 "Collection name can not be longer than 63 char"2290 );2291 assert!(2292 item.name.len() <= 256,2293 "Collection description can not be longer than 255 char"2294 );2295 assert!(2296 item.token_prefix.len() <= 16,2297 "Token prefix can not be longer than 15 char"2298 );22992300 // Generate next collection ID2301 let next_id = CreatedCollectionCount::get().checked_add(1).unwrap();23022303 CreatedCollectionCount::put(next_id);2304 }23052306 #[allow(dead_code)]2307 fn init_nft_token(collection_id: CollectionId, item: &NftItemType<T::CrossAccountId>) {2308 let current_index = <ItemListIndex>::get(collection_id).checked_add(1).unwrap();23092310 Self::add_token_index(2311 &CollectionHandle::get(collection_id).unwrap(),2312 current_index,2313 &item.owner,2314 )2315 .unwrap();23162317 <ItemListIndex>::insert(collection_id, current_index);23182319 // Update balance2320 let new_balance = <Balance<T>>::get(collection_id, item.owner.as_sub())2321 .checked_add(1)2322 .unwrap();2323 <Balance<T>>::insert(collection_id, item.owner.as_sub(), new_balance);2324 }23252326 #[allow(dead_code)]2327 fn init_fungible_token(2328 collection_id: CollectionId,2329 owner: &T::CrossAccountId,2330 item: &FungibleItemType,2331 ) {2332 let current_index = <ItemListIndex>::get(collection_id).checked_add(1).unwrap();23332334 Self::add_token_index(2335 &CollectionHandle::get(collection_id).unwrap(),2336 current_index,2337 owner,2338 )2339 .unwrap();23402341 <ItemListIndex>::insert(collection_id, current_index);23422343 // Update balance2344 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())2345 .checked_add(item.value)2346 .unwrap();2347 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);2348 }23492350 #[allow(dead_code)]2351 fn init_refungible_token(2352 collection_id: CollectionId,2353 item: &ReFungibleItemType<T::CrossAccountId>,2354 ) {2355 let current_index = <ItemListIndex>::get(collection_id).checked_add(1).unwrap();23562357 let value = item.owner.first().unwrap().fraction;2358 let owner = item.owner.first().unwrap().owner.clone();23592360 Self::add_token_index(2361 &CollectionHandle::get(collection_id).unwrap(),2362 current_index,2363 &owner,2364 )2365 .unwrap();23662367 <ItemListIndex>::insert(collection_id, current_index);23682369 // Update balance2370 let new_balance = <Balance<T>>::get(collection_id, &owner.as_sub())2371 .checked_add(value)2372 .unwrap();2373 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);2374 }23752376 fn add_token_index(2377 collection: &CollectionHandle<T>,2378 item_index: TokenId,2379 owner: &T::CrossAccountId,2380 ) -> DispatchResult {2381 collection.consume_sload()?;2382 let list_exists = <AddressTokens<T>>::contains_key(collection.id, owner.as_sub());2383 if list_exists {2384 collection.consume_sload()?;2385 let mut list = <AddressTokens<T>>::get(collection.id, owner.as_sub());23862387 // bound Owned tokens by a single address in collection2388 let account_items: u32 = list.len() as u32;2389 ensure!(2390 account_items < ACCOUNT_TOKEN_OWNERSHIP_LIMIT,2391 Error::<T>::AddressOwnershipLimitExceeded2392 );23932394 let item_contains = list.contains(&item_index.clone());23952396 if !item_contains {2397 list.push(item_index);2398 }23992400 collection.consume_sstore()?;2401 <AddressTokens<T>>::insert(collection.id, owner.as_sub(), list);2402 } else {2403 let itm = vec![item_index];2404 collection.consume_sstore()?;2405 <AddressTokens<T>>::insert(collection.id, owner.as_sub(), itm);2406 }24072408 Ok(())2409 }24102411 fn remove_token_index(2412 collection: &CollectionHandle<T>,2413 item_index: TokenId,2414 owner: &T::CrossAccountId,2415 ) -> DispatchResult {2416 collection.consume_sload()?;2417 let list_exists = <AddressTokens<T>>::contains_key(collection.id, owner.as_sub());2418 if list_exists {2419 collection.consume_sload()?;2420 let mut list = <AddressTokens<T>>::get(collection.id, owner.as_sub());2421 let item_contains = list.contains(&item_index.clone());24222423 if item_contains {2424 list.retain(|&item| item != item_index);2425 collection.consume_sstore()?;2426 <AddressTokens<T>>::insert(collection.id, owner.as_sub(), list);2427 }2428 }24292430 Ok(())2431 }24322433 fn move_token_index(2434 collection: &CollectionHandle<T>,2435 item_index: TokenId,2436 old_owner: &T::CrossAccountId,2437 new_owner: &T::CrossAccountId,2438 ) -> DispatchResult {2439 Self::remove_token_index(collection, item_index, old_owner)?;2440 Self::add_token_index(collection, item_index, new_owner)?;24412442 Ok(())2443 }2444}24452446sp_api::decl_runtime_apis! {2447 pub trait NftApi {2448 /// Used for ethereum integration2449 fn eth_contract_code(account: H160) -> Option<Vec<u8>>;2450 }2451}1//2// This file is subject to the terms and conditions defined in3// file 'LICENSE', which is part of this source code package.4//56#![recursion_limit = "1024"]7#![cfg_attr(not(feature = "std"), no_std)]8#![allow(9 clippy::too_many_arguments,10 clippy::unnecessary_mut_passed,11 clippy::unused_unit12)]1314extern crate alloc;1516pub use serde::{Serialize, Deserialize};1718pub use frame_support::{19 construct_runtime, decl_event, decl_module, decl_storage, decl_error,20 dispatch::DispatchResult,21 ensure, fail, parameter_types,22 traits::{23 Currency, ExistenceRequirement, Get, Imbalance, KeyOwnerProofSystem, OnUnbalanced,24 Randomness, IsSubType, WithdrawReasons,25 },26 weights::{27 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},28 DispatchInfo, GetDispatchInfo, IdentityFee, Pays, PostDispatchInfo, Weight,29 WeightToFeePolynomial, DispatchClass,30 },31 StorageValue, transactional,32};3334use frame_system::{self as system, ensure_signed};35use sp_core::H160;36use sp_std::vec;37use sp_runtime::{DispatchError, sp_std::prelude::Vec};38use core::ops::{Deref, DerefMut};39use nft_data_structs::{40 MAX_DECIMAL_POINTS, MAX_SPONSOR_TIMEOUT, MAX_TOKEN_OWNERSHIP, MAX_REFUNGIBLE_PIECES,41 CUSTOM_DATA_LIMIT, COLLECTION_NUMBER_LIMIT, ACCOUNT_TOKEN_OWNERSHIP_LIMIT,42 VARIABLE_ON_CHAIN_SCHEMA_LIMIT, CONST_ON_CHAIN_SCHEMA_LIMIT, COLLECTION_ADMINS_LIMIT,43 OFFCHAIN_SCHEMA_LIMIT, MAX_TOKEN_PREFIX_LENGTH, MAX_COLLECTION_NAME_LENGTH,44 MAX_COLLECTION_DESCRIPTION_LENGTH, AccessMode, Collection, CreateItemData, CollectionLimits,45 CollectionId, CollectionMode, TokenId, SchemaVersion, SponsorshipState, Ownership, NftItemType,46 MetaUpdatePermission, FungibleItemType, ReFungibleItemType,47};4849#[cfg(test)]50mod mock;5152#[cfg(test)]53mod tests;5455mod eth;56mod sponsorship;57pub use sponsorship::NftSponsorshipHandler;58pub use eth::sponsoring::NftEthSponsorshipHandler;5960pub use eth::NftErcSupport;61pub use eth::account::*;62use eth::erc::{ERC20Events, ERC721Events};6364#[cfg(feature = "runtime-benchmarks")]65mod benchmarking;66pub mod weights;67use weights::WeightInfo;6869decl_error! {70 /// Error for non-fungible-token module.71 pub enum Error for Module<T: Config> {72 /// Total collections bound exceeded.73 TotalCollectionsLimitExceeded,74 /// Decimal_points parameter must be lower than MAX_DECIMAL_POINTS constant, currently it is 30.75 CollectionDecimalPointLimitExceeded,76 /// Collection name can not be longer than 63 char.77 CollectionNameLimitExceeded,78 /// Collection description can not be longer than 255 char.79 CollectionDescriptionLimitExceeded,80 /// Token prefix can not be longer than 15 char.81 CollectionTokenPrefixLimitExceeded,82 /// This collection does not exist.83 CollectionNotFound,84 /// Item not exists.85 TokenNotFound,86 /// Admin not found87 AdminNotFound,88 /// Arithmetic calculation overflow.89 NumOverflow,90 /// Account already has admin role.91 AlreadyAdmin,92 /// You do not own this collection.93 NoPermission,94 /// This address is not set as sponsor, use setCollectionSponsor first.95 ConfirmUnsetSponsorFail,96 /// Collection is not in mint mode.97 PublicMintingNotAllowed,98 /// Sender parameter and item owner must be equal.99 MustBeTokenOwner,100 /// Item balance not enough.101 TokenValueTooLow,102 /// Size of item is too large.103 NftSizeLimitExceeded,104 /// No approve found105 ApproveNotFound,106 /// Requested value more than approved.107 TokenValueNotEnough,108 /// Only approved addresses can call this method.109 ApproveRequired,110 /// Address is not in white list.111 AddresNotInWhiteList,112 /// Number of collection admins bound exceeded.113 CollectionAdminsLimitExceeded,114 /// Owned tokens by a single address bound exceeded.115 AddressOwnershipLimitExceeded,116 /// Length of items properties must be greater than 0.117 EmptyArgument,118 /// const_data exceeded data limit.119 TokenConstDataLimitExceeded,120 /// variable_data exceeded data limit.121 TokenVariableDataLimitExceeded,122 /// Not NFT item data used to mint in NFT collection.123 NotNftDataUsedToMintNftCollectionToken,124 /// Not Fungible item data used to mint in Fungible collection.125 NotFungibleDataUsedToMintFungibleCollectionToken,126 /// Not Re Fungible item data used to mint in Re Fungible collection.127 NotReFungibleDataUsedToMintReFungibleCollectionToken,128 /// Unexpected collection type.129 UnexpectedCollectionType,130 /// Can't store metadata in fungible tokens.131 CantStoreMetadataInFungibleTokens,132 /// Collection token limit exceeded133 CollectionTokenLimitExceeded,134 /// Account token limit exceeded per collection135 AccountTokenLimitExceeded,136 /// Collection limit bounds per collection exceeded137 CollectionLimitBoundsExceeded,138 /// Tried to enable permissions which are only permitted to be disabled139 OwnerPermissionsCantBeReverted,140 /// Schema data size limit bound exceeded141 SchemaDataLimitExceeded,142 /// Maximum refungibility exceeded143 WrongRefungiblePieces,144 /// createRefungible should be called with one owner145 BadCreateRefungibleCall,146 /// Gas limit exceeded147 OutOfGas,148 /// Metadata update denied by collection settings149 MetadataUpdateDenied,150 /// Metadata update flag become unmutable with None option151 MetadataFlagFrozen,152 /// Collection settings not allowing items transferring153 TransferNotAllowed,154 /// Can't transfer tokens to ethereum zero address155 AddressIsZero,156 }157}158159#[must_use = "Should call submit_logs or save, otherwise some data will be lost for evm side"]160pub struct CollectionHandle<T: Config> {161 pub id: CollectionId,162 collection: Collection<T>,163 recorder: pallet_evm_coder_substrate::SubstrateRecorder<T>,164}165impl<T: Config> CollectionHandle<T> {166 pub fn get_with_gas_limit(id: CollectionId, gas_limit: u64) -> Option<Self> {167 <CollectionById<T>>::get(id).map(|collection| Self {168 id,169 collection,170 recorder: pallet_evm_coder_substrate::SubstrateRecorder::new(171 eth::collection_id_to_address(id),172 gas_limit,173 ),174 })175 }176 pub fn get(id: CollectionId) -> Option<Self> {177 Self::get_with_gas_limit(id, u64::MAX)178 }179 pub fn log(&self, log: impl evm_coder::ToLog) -> DispatchResult {180 self.recorder.log_sub(log)181 }182 #[allow(dead_code)]183 fn consume_gas(&self, gas: u64) -> DispatchResult {184 self.recorder.consume_gas_sub(gas)185 }186 fn consume_sload(&self) -> DispatchResult {187 self.recorder.consume_sload_sub()188 }189 fn consume_sstore(&self) -> DispatchResult {190 self.recorder.consume_sstore_sub()191 }192 pub fn submit_logs(self) -> DispatchResult {193 self.recorder.submit_logs()194 }195 pub fn save(self) -> DispatchResult {196 self.recorder.submit_logs()?;197 <CollectionById<T>>::insert(self.id, self.collection);198 Ok(())199 }200}201impl<T: Config> Deref for CollectionHandle<T> {202 type Target = Collection<T>;203204 fn deref(&self) -> &Self::Target {205 &self.collection206 }207}208209impl<T: Config> DerefMut for CollectionHandle<T> {210 fn deref_mut(&mut self) -> &mut Self::Target {211 &mut self.collection212 }213}214215pub trait Config: system::Config + pallet_evm_coder_substrate::Config + Sized {216 type Event: From<Event<Self>> + Into<<Self as system::Config>::Event>;217218 /// Weight information for extrinsics in this pallet.219 type WeightInfo: WeightInfo;220221 type EvmAddressMapping: pallet_evm::AddressMapping<Self::AccountId>;222 type EvmBackwardsAddressMapping: EvmBackwardsAddressMapping<Self::AccountId>;223224 type CrossAccountId: CrossAccountId<Self::AccountId>;225 type Currency: Currency<Self::AccountId>;226 type CollectionCreationPrice: Get<227 <<Self as Config>::Currency as Currency<Self::AccountId>>::Balance,228 >;229 type TreasuryAccountId: Get<Self::AccountId>;230}231232type SelfWeightOf<T> = <T as Config>::WeightInfo;233234trait WeightInfoHelpers: WeightInfo {235 fn transfer() -> Weight {236 Self::transfer_nft()237 .max(Self::transfer_fungible())238 .max(Self::transfer_refungible())239 }240 fn transfer_from() -> Weight {241 Self::transfer_from_nft()242 .max(Self::transfer_from_fungible())243 .max(Self::transfer_from_refungible())244 }245 fn approve() -> Weight {246 // TODO: refungible, fungible247 Self::approve_nft()248 }249 fn set_variable_meta_data(data: u32) -> Weight {250 // TODO: refungible251 Self::set_variable_meta_data_nft(data)252 }253 fn create_item(data: u32) -> Weight {254 Self::create_item_nft(data)255 .max(Self::create_item_fungible())256 .max(Self::create_item_refungible(data))257 }258 fn create_multiple_items(amount: u32) -> Weight {259 Self::create_multiple_items_nft(amount)260 .max(Self::create_multiple_items_fungible(amount))261 .max(Self::create_multiple_items_refungible(amount))262 }263 fn burn_item() -> Weight {264 // TODO: refungible, fungible265 Self::burn_item_nft()266 }267}268impl<T: WeightInfo> WeightInfoHelpers for T {}269270// # Used definitions271//272// ## User control levels273//274// chain-controlled - key is uncontrolled by user275// i.e autoincrementing index276// can use non-cryptographic hash277// real - key is controlled by user278// but it is hard to generate enough colliding values, i.e owner of signed txs279// can use non-cryptographic hash280// controlled - key is completly controlled by users281// i.e maps with mutable keys282// should use cryptographic hash283//284// ## User control level downgrade reasons285//286// ?1 - chain-controlled -> controlled287// collections/tokens can be destroyed, resulting in massive holes288// ?2 - chain-controlled -> controlled289// same as ?1, but can be only added, resulting in easier exploitation290// ?3 - real -> controlled291// no confirmation required, so addresses can be easily generated292decl_storage! {293 trait Store for Module<T: Config> as Nft {294295 //#region Private members296 /// Id of next collection297 CreatedCollectionCount: u32;298 /// Used for migrations299 ChainVersion: u64;300 /// Id of last collection token301 /// Collection id (controlled?1)302 ItemListIndex: map hasher(blake2_128_concat) CollectionId => TokenId;303 //#endregion304305 //#region Bound counters306 /// Amount of collections destroyed, used for total amount tracking with307 /// CreatedCollectionCount308 DestroyedCollectionCount: u32;309 //#endregion310311 //#region Basic collections312 /// Collection info313 /// Collection id (controlled?1)314 pub CollectionById get(fn collection_id) config(): map hasher(blake2_128_concat) CollectionId => Option<Collection<T>> = None;315 /// List of collection admins316 /// Collection id (controlled?2)317 pub AdminList get(fn admin_list_collection): map hasher(blake2_128_concat) CollectionId => Vec<T::CrossAccountId>;318 /// Whitelisted collection users319 /// Collection id (controlled?2), user id (controlled?3)320 pub WhiteList get(fn white_list): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) T::AccountId => bool;321 //#endregion322323 /// How many of collection items user have324 /// Collection id (controlled?2), account id (real)325 pub Balance get(fn balance_count): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => u128;326327 /// Amount of items which spender can transfer out of owners account (via transferFrom)328 /// Collection id (controlled?2), (token id (controlled ?2) + owner account id (real) + spender account id (controlled?3))329 /// TODO: Off chain worker should remove from this map when token gets removed330 pub Allowances get(fn approved): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) (TokenId, T::AccountId, T::AccountId) => u128;331332 //#region Item collections333 /// Collection id (controlled?2), token id (controlled?1)334 pub NftItemList get(fn nft_item_id) config(): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<NftItemType<T::CrossAccountId>>;335 /// Collection id (controlled?2), owner (controlled?2)336 pub FungibleItemList get(fn fungible_item_id) config(): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) T::AccountId => FungibleItemType;337 /// Collection id (controlled?2), token id (controlled?1)338 pub ReFungibleItemList get(fn refungible_item_id) config(): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<ReFungibleItemType<T::CrossAccountId>>;339 //#endregion340341 //#region Index list342 /// Collection id (controlled?2), tokens owner (controlled?2)343 pub AddressTokens get(fn address_tokens): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) T::AccountId => Vec<TokenId>;344 //#endregion345346 //#region Tokens transfer rate limit baskets347 /// (Collection id (controlled?2), who created (real))348 /// TODO: Off chain worker should remove from this map when collection gets removed349 pub CreateItemBasket get(fn create_item_basket): map hasher(blake2_128_concat) (CollectionId, T::AccountId) => T::BlockNumber;350 /// Collection id (controlled?2), token id (controlled?2)351 pub NftTransferBasket get(fn nft_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => T::BlockNumber;352 /// Collection id (controlled?2), owning user (real)353 pub FungibleTransferBasket get(fn fungible_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(twox_64_concat) T::AccountId => T::BlockNumber;354 /// Collection id (controlled?2), token id (controlled?2)355 pub ReFungibleTransferBasket get(fn refungible_transfer_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => T::BlockNumber;356 //#endregion357358 /// Variable metadata sponsoring359 /// Collection id (controlled?2), token id (controlled?2)360 pub VariableMetaDataBasket get(fn variable_meta_data_basket): double_map hasher(blake2_128_concat) CollectionId, hasher(blake2_128_concat) TokenId => Option<T::BlockNumber> = None;361 }362 add_extra_genesis {363 build(|config: &GenesisConfig<T>| {364 // Modification of storage365 for (_num, _c) in &config.collection_id {366 <Module<T>>::init_collection(_c);367 }368369 for (_num, _c, _i) in &config.nft_item_id {370 <Module<T>>::init_nft_token(*_c, _i);371 }372373 for (collection_id, account_id, fungible_item) in &config.fungible_item_id {374 <Module<T>>::init_fungible_token(*collection_id, &T::CrossAccountId::from_sub(account_id.clone()), fungible_item);375 }376377 for (_num, _c, _i) in &config.refungible_item_id {378 <Module<T>>::init_refungible_token(*_c, _i);379 }380 })381 }382}383384decl_event!(385 pub enum Event<T>386 where387 AccountId = <T as frame_system::Config>::AccountId,388 CrossAccountId = <T as Config>::CrossAccountId,389 {390 /// New collection was created391 ///392 /// # Arguments393 ///394 /// * collection_id: Globally unique identifier of newly created collection.395 ///396 /// * mode: [CollectionMode] converted into u8.397 ///398 /// * account_id: Collection owner.399 CollectionCreated(CollectionId, u8, AccountId),400401 /// New item was created.402 ///403 /// # Arguments404 ///405 /// * collection_id: Id of the collection where item was created.406 ///407 /// * item_id: Id of an item. Unique within the collection.408 ///409 /// * recipient: Owner of newly created item410 ItemCreated(CollectionId, TokenId, CrossAccountId),411412 /// Collection item was burned.413 ///414 /// # Arguments415 ///416 /// collection_id.417 ///418 /// item_id: Identifier of burned NFT.419 ItemDestroyed(CollectionId, TokenId),420421 /// Item was transferred422 ///423 /// * collection_id: Id of collection to which item is belong424 ///425 /// * item_id: Id of an item426 ///427 /// * sender: Original owner of item428 ///429 /// * recipient: New owner of item430 ///431 /// * amount: Always 1 for NFT432 Transfer(CollectionId, TokenId, CrossAccountId, CrossAccountId, u128),433434 /// * collection_id435 ///436 /// * item_id437 ///438 /// * sender439 ///440 /// * spender441 ///442 /// * amount443 Approved(CollectionId, TokenId, CrossAccountId, CrossAccountId, u128),444 }445);446447decl_module! {448 pub struct Module<T: Config> for enum Call449 where450 origin: T::Origin451 {452 fn deposit_event() = default;453 const CollectionAdminsLimit: u64 = COLLECTION_ADMINS_LIMIT;454 type Error = Error<T>;455456 fn on_initialize(_now: T::BlockNumber) -> Weight {457 0458 }459460 /// This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner and admin of the collection are set to the address that signed the transaction. Both addresses can be changed later.461 ///462 /// # Permissions463 ///464 /// * Anyone.465 ///466 /// # Arguments467 ///468 /// * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.469 ///470 /// * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.471 ///472 /// * token_prefix: UTF-8 string with token prefix.473 ///474 /// * mode: [CollectionMode] collection type and type dependent data.475 // returns collection ID476 #[weight = <SelfWeightOf<T>>::create_collection()]477 #[transactional]478 pub fn create_collection(origin,479 collection_name: Vec<u16>,480 collection_description: Vec<u16>,481 token_prefix: Vec<u8>,482 mode: CollectionMode) -> DispatchResult {483484 // Anyone can create a collection485 let who = ensure_signed(origin)?;486487 // Take a (non-refundable) deposit of collection creation488 let mut imbalance = <<<T as Config>::Currency as Currency<T::AccountId>>::PositiveImbalance>::zero();489 imbalance.subsume(<<T as Config>::Currency as Currency<T::AccountId>>::deposit_creating(490 &T::TreasuryAccountId::get(),491 T::CollectionCreationPrice::get(),492 ));493 <T as Config>::Currency::settle(494 &who,495 imbalance,496 WithdrawReasons::TRANSFER,497 ExistenceRequirement::KeepAlive,498 ).map_err(|_| Error::<T>::NoPermission)?;499500 let decimal_points = match mode {501 CollectionMode::Fungible(points) => points,502 _ => 0503 };504505 let created_count = CreatedCollectionCount::get();506 let destroyed_count = DestroyedCollectionCount::get();507508 // bound Total number of collections509 ensure!(created_count - destroyed_count < COLLECTION_NUMBER_LIMIT, Error::<T>::TotalCollectionsLimitExceeded);510511 // check params512 ensure!(decimal_points <= MAX_DECIMAL_POINTS, Error::<T>::CollectionDecimalPointLimitExceeded);513 ensure!(collection_name.len() <= MAX_COLLECTION_NAME_LENGTH, Error::<T>::CollectionNameLimitExceeded);514 ensure!(collection_description.len() <= MAX_COLLECTION_DESCRIPTION_LENGTH, Error::<T>::CollectionDescriptionLimitExceeded);515 ensure!(token_prefix.len() <= MAX_TOKEN_PREFIX_LENGTH, Error::<T>::CollectionTokenPrefixLimitExceeded);516517 // Generate next collection ID518 let next_id = created_count519 .checked_add(1)520 .ok_or(Error::<T>::NumOverflow)?;521522 CreatedCollectionCount::put(next_id);523524 let limits = CollectionLimits {525 sponsored_data_size: CUSTOM_DATA_LIMIT,526 ..Default::default()527 };528529 // Create new collection530 let new_collection = Collection {531 owner: who.clone(),532 name: collection_name,533 mode: mode.clone(),534 mint_mode: false,535 access: AccessMode::Normal,536 description: collection_description,537 decimal_points,538 token_prefix,539 offchain_schema: Vec::new(),540 schema_version: SchemaVersion::ImageURL,541 sponsorship: SponsorshipState::Disabled,542 variable_on_chain_schema: Vec::new(),543 const_on_chain_schema: Vec::new(),544 limits,545 meta_update_permission: MetaUpdatePermission::default(),546 transfers_enabled: true,547 };548549 // Add new collection to map550 <CollectionById<T>>::insert(next_id, new_collection);551552 // call event553 Self::deposit_event(RawEvent::CollectionCreated(next_id, mode.id(), who));554555 Ok(())556 }557558 /// **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.559 ///560 /// # Permissions561 ///562 /// * Collection Owner.563 ///564 /// # Arguments565 ///566 /// * collection_id: collection to destroy.567 #[weight = <SelfWeightOf<T>>::destroy_collection()]568 #[transactional]569 pub fn destroy_collection(origin, collection_id: CollectionId) -> DispatchResult {570571 let sender = ensure_signed(origin)?;572 let collection = Self::get_collection(collection_id)?;573 Self::check_owner_permissions(&collection, &sender)?;574 if !collection.limits.owner_can_destroy {575 fail!(Error::<T>::NoPermission);576 }577578 <AddressTokens<T>>::remove_prefix(collection_id, None);579 <Allowances<T>>::remove_prefix(collection_id, None);580 <Balance<T>>::remove_prefix(collection_id, None);581 <ItemListIndex>::remove(collection_id);582 <AdminList<T>>::remove(collection_id);583 <CollectionById<T>>::remove(collection_id);584 <WhiteList<T>>::remove_prefix(collection_id, None);585586 <NftItemList<T>>::remove_prefix(collection_id, None);587 <FungibleItemList<T>>::remove_prefix(collection_id, None);588 <ReFungibleItemList<T>>::remove_prefix(collection_id, None);589590 <NftTransferBasket<T>>::remove_prefix(collection_id, None);591 <FungibleTransferBasket<T>>::remove_prefix(collection_id, None);592 <ReFungibleTransferBasket<T>>::remove_prefix(collection_id, None);593594 <VariableMetaDataBasket<T>>::remove_prefix(collection_id, None);595596 DestroyedCollectionCount::put(DestroyedCollectionCount::get()597 .checked_add(1)598 .ok_or(Error::<T>::NumOverflow)?);599600 Ok(())601 }602603 /// Add an address to white list.604 ///605 /// # Permissions606 ///607 /// * Collection Owner608 /// * Collection Admin609 ///610 /// # Arguments611 ///612 /// * collection_id.613 ///614 /// * address.615 #[weight = <SelfWeightOf<T>>::add_to_white_list()]616 #[transactional]617 pub fn add_to_white_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{618619 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);620 let collection = Self::get_collection(collection_id)?;621622 Self::toggle_white_list_internal(623 &sender,624 &collection,625 &address,626 true,627 )?;628629 Ok(())630 }631632 /// Remove an address from white list.633 ///634 /// # Permissions635 ///636 /// * Collection Owner637 /// * Collection Admin638 ///639 /// # Arguments640 ///641 /// * collection_id.642 ///643 /// * address.644 #[weight = <SelfWeightOf<T>>::remove_from_white_list()]645 #[transactional]646 pub fn remove_from_white_list(origin, collection_id: CollectionId, address: T::CrossAccountId) -> DispatchResult{647648 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);649 let collection = Self::get_collection(collection_id)?;650651 Self::toggle_white_list_internal(652 &sender,653 &collection,654 &address,655 false,656 )?;657658 Ok(())659 }660661 /// Toggle between normal and white list access for the methods with access for `Anyone`.662 ///663 /// # Permissions664 ///665 /// * Collection Owner.666 ///667 /// # Arguments668 ///669 /// * collection_id.670 ///671 /// * mode: [AccessMode]672 #[weight = <SelfWeightOf<T>>::set_public_access_mode()]673 #[transactional]674 pub fn set_public_access_mode(origin, collection_id: CollectionId, mode: AccessMode) -> DispatchResult675 {676 let sender = ensure_signed(origin)?;677678 let mut target_collection = Self::get_collection(collection_id)?;679 Self::check_owner_permissions(&target_collection, &sender)?;680 target_collection.access = mode;681 target_collection.save()682 }683684 /// Allows Anyone to create tokens if:685 /// * White List is enabled, and686 /// * Address is added to white list, and687 /// * This method was called with True parameter688 ///689 /// # Permissions690 /// * Collection Owner691 ///692 /// # Arguments693 ///694 /// * collection_id.695 ///696 /// * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.697 #[weight = <SelfWeightOf<T>>::set_mint_permission()]698 #[transactional]699 pub fn set_mint_permission(origin, collection_id: CollectionId, mint_permission: bool) -> DispatchResult700 {701 let sender = ensure_signed(origin)?;702703 let mut target_collection = Self::get_collection(collection_id)?;704 Self::check_owner_permissions(&target_collection, &sender)?;705 target_collection.mint_mode = mint_permission;706 target_collection.save()707 }708709 /// Change the owner of the collection.710 ///711 /// # Permissions712 ///713 /// * Collection Owner.714 ///715 /// # Arguments716 ///717 /// * collection_id.718 ///719 /// * new_owner.720 #[weight = <SelfWeightOf<T>>::change_collection_owner()]721 #[transactional]722 pub fn change_collection_owner(origin, collection_id: CollectionId, new_owner: T::AccountId) -> DispatchResult {723724 let sender = ensure_signed(origin)?;725 let mut target_collection = Self::get_collection(collection_id)?;726 Self::check_owner_permissions(&target_collection, &sender)?;727 target_collection.owner = new_owner;728 target_collection.save()729 }730731 /// Adds an admin of the Collection.732 /// NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.733 ///734 /// # Permissions735 ///736 /// * Collection Owner.737 /// * Collection Admin.738 ///739 /// # Arguments740 ///741 /// * collection_id: ID of the Collection to add admin for.742 ///743 /// * new_admin_id: Address of new admin to add.744 #[weight = <SelfWeightOf<T>>::add_collection_admin()]745 #[transactional]746 pub fn add_collection_admin(origin, collection_id: CollectionId, new_admin_id: T::CrossAccountId) -> DispatchResult {747 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);748 let collection = Self::get_collection(collection_id)?;749 Self::check_owner_or_admin_permissions(&collection, &sender)?;750 let mut admin_arr = <AdminList<T>>::get(collection_id);751752 match admin_arr.binary_search(&new_admin_id) {753 Ok(_) => {},754 Err(idx) => {755 ensure!(admin_arr.len() < COLLECTION_ADMINS_LIMIT as usize, Error::<T>::CollectionAdminsLimitExceeded);756 admin_arr.insert(idx, new_admin_id);757 <AdminList<T>>::insert(collection_id, admin_arr);758 }759 }760 Ok(())761 }762763 /// Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.764 ///765 /// # Permissions766 ///767 /// * Collection Owner.768 /// * Collection Admin.769 ///770 /// # Arguments771 ///772 /// * collection_id: ID of the Collection to remove admin for.773 ///774 /// * account_id: Address of admin to remove.775 #[weight = <SelfWeightOf<T>>::remove_collection_admin()]776 #[transactional]777 pub fn remove_collection_admin(origin, collection_id: CollectionId, account_id: T::CrossAccountId) -> DispatchResult {778 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);779 let collection = Self::get_collection(collection_id)?;780 Self::check_owner_or_admin_permissions(&collection, &sender)?;781 let mut admin_arr = <AdminList<T>>::get(collection_id);782783 if let Ok(idx) = admin_arr.binary_search(&account_id) {784 admin_arr.remove(idx);785 <AdminList<T>>::insert(collection_id, admin_arr);786 }787 Ok(())788 }789790 /// # Permissions791 ///792 /// * Collection Owner793 ///794 /// # Arguments795 ///796 /// * collection_id.797 ///798 /// * new_sponsor.799 #[weight = <SelfWeightOf<T>>::set_collection_sponsor()]800 #[transactional]801 pub fn set_collection_sponsor(origin, collection_id: CollectionId, new_sponsor: T::AccountId) -> DispatchResult {802 let sender = ensure_signed(origin)?;803 let mut target_collection = Self::get_collection(collection_id)?;804 Self::check_owner_permissions(&target_collection, &sender)?;805806 target_collection.sponsorship = SponsorshipState::Unconfirmed(new_sponsor);807 target_collection.save()808 }809810 /// # Permissions811 ///812 /// * Sponsor.813 ///814 /// # Arguments815 ///816 /// * collection_id.817 #[weight = <SelfWeightOf<T>>::confirm_sponsorship()]818 #[transactional]819 pub fn confirm_sponsorship(origin, collection_id: CollectionId) -> DispatchResult {820 let sender = ensure_signed(origin)?;821822 let mut target_collection = Self::get_collection(collection_id)?;823 ensure!(824 target_collection.sponsorship.pending_sponsor() == Some(&sender),825 Error::<T>::ConfirmUnsetSponsorFail826 );827828 target_collection.sponsorship = SponsorshipState::Confirmed(sender);829 target_collection.save()830 }831832 /// Switch back to pay-per-own-transaction model.833 ///834 /// # Permissions835 ///836 /// * Collection owner.837 ///838 /// # Arguments839 ///840 /// * collection_id.841 #[weight = <SelfWeightOf<T>>::remove_collection_sponsor()]842 #[transactional]843 pub fn remove_collection_sponsor(origin, collection_id: CollectionId) -> DispatchResult {844 let sender = ensure_signed(origin)?;845846 let mut target_collection = Self::get_collection(collection_id)?;847 Self::check_owner_permissions(&target_collection, &sender)?;848849 target_collection.sponsorship = SponsorshipState::Disabled;850 target_collection.save()851 }852853 /// This method creates a concrete instance of NFT Collection created with CreateCollection method.854 ///855 /// # Permissions856 ///857 /// * Collection Owner.858 /// * Collection Admin.859 /// * Anyone if860 /// * White List is enabled, and861 /// * Address is added to white list, and862 /// * MintPermission is enabled (see SetMintPermission method)863 ///864 /// # Arguments865 ///866 /// * collection_id: ID of the collection.867 ///868 /// * owner: Address, initial owner of the NFT.869 ///870 /// * data: Token data to store on chain.871 // #[weight =872 // (130_000_000 as Weight)873 // .saturating_add((2135 as Weight).saturating_mul((properties.len() as u64) as Weight))874 // .saturating_add(RocksDbWeight::get().reads(10 as Weight))875 // .saturating_add(RocksDbWeight::get().writes(8 as Weight))]876877 #[weight = <SelfWeightOf<T>>::create_item(data.data_size() as u32)]878 #[transactional]879 pub fn create_item(origin, collection_id: CollectionId, owner: T::CrossAccountId, data: CreateItemData) -> DispatchResult {880 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);881 let collection = Self::get_collection(collection_id)?;882883 Self::create_item_internal(&sender, &collection, &owner, data)?;884885 collection.submit_logs()886 }887888 /// This method creates multiple items in a collection created with CreateCollection method.889 ///890 /// # Permissions891 ///892 /// * Collection Owner.893 /// * Collection Admin.894 /// * Anyone if895 /// * White List is enabled, and896 /// * Address is added to white list, and897 /// * MintPermission is enabled (see SetMintPermission method)898 ///899 /// # Arguments900 ///901 /// * collection_id: ID of the collection.902 ///903 /// * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].904 ///905 /// * owner: Address, initial owner of the NFT.906 #[weight = <SelfWeightOf<T>>::create_multiple_items(items_data.len() as u32)]907 #[transactional]908 pub fn create_multiple_items(origin, collection_id: CollectionId, owner: T::CrossAccountId, items_data: Vec<CreateItemData>) -> DispatchResult {909910 ensure!(!items_data.is_empty(), Error::<T>::EmptyArgument);911 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);912 let collection = Self::get_collection(collection_id)?;913914 Self::create_multiple_items_internal(&sender, &collection, &owner, items_data)?;915916 collection.submit_logs()917 }918919 // TODO! transaction weight920921 /// Set transfers_enabled value for particular collection922 ///923 /// # Permissions924 ///925 /// * Collection Owner.926 ///927 /// # Arguments928 ///929 /// * collection_id: ID of the collection.930 ///931 /// * value: New flag value.932 #[weight = <SelfWeightOf<T>>::set_transfers_enabled_flag()]933 #[transactional]934 pub fn set_transfers_enabled_flag(origin, collection_id: CollectionId, value: bool) -> DispatchResult {935936 let sender = ensure_signed(origin)?;937 let mut target_collection = Self::get_collection(collection_id)?;938939 Self::check_owner_permissions(&target_collection, &sender)?;940941 target_collection.transfers_enabled = value;942 target_collection.save()943 }944945 // TODO! transaction weight946 /// Set meta_update_permission value for particular collection947 ///948 /// # Permissions949 ///950 /// * Collection Owner.951 ///952 /// # Arguments953 ///954 /// * collection_id: ID of the collection.955 ///956 /// * value: New flag value.957 #[weight = <T as Config>::WeightInfo::burn_item()]958 #[transactional]959 pub fn set_meta_update_permission_flag(origin, collection_id: CollectionId, value: MetaUpdatePermission) -> DispatchResult {960961 let sender = ensure_signed(origin)?;962 let mut target_collection = Self::get_collection(collection_id)?;963964 ensure!(965 target_collection.meta_update_permission != MetaUpdatePermission::None,966 Error::<T>::MetadataFlagFrozen967 );968 Self::check_owner_permissions(&target_collection, &sender)?;969970 target_collection.meta_update_permission = value;971972 target_collection.save()973 }974975 /// Destroys a concrete instance of NFT.976 ///977 /// # Permissions978 ///979 /// * Collection Owner.980 /// * Collection Admin.981 /// * Current NFT Owner.982 ///983 /// # Arguments984 ///985 /// * collection_id: ID of the collection.986 ///987 /// * item_id: ID of NFT to burn.988 #[weight = <SelfWeightOf<T>>::burn_item()]989 #[transactional]990 pub fn burn_item(origin, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResult {991992 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);993 let target_collection = Self::get_collection(collection_id)?;994995 Self::burn_item_internal(&sender, &target_collection, item_id, value)?;996997 target_collection.submit_logs()998 }9991000 /// Change ownership of the token.1001 ///1002 /// # Permissions1003 ///1004 /// * Collection Owner1005 /// * Collection Admin1006 /// * Current NFT owner1007 ///1008 /// # Arguments1009 ///1010 /// * recipient: Address of token recipient.1011 ///1012 /// * collection_id.1013 ///1014 /// * item_id: ID of the item1015 /// * Non-Fungible Mode: Required.1016 /// * Fungible Mode: Ignored.1017 /// * Re-Fungible Mode: Required.1018 ///1019 /// * value: Amount to transfer.1020 /// * Non-Fungible Mode: Ignored1021 /// * Fungible Mode: Must specify transferred amount1022 /// * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)1023 #[weight = <SelfWeightOf<T>>::transfer()]1024 #[transactional]1025 pub fn transfer(origin, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128) -> DispatchResult {1026 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1027 let collection = Self::get_collection(collection_id)?;10281029 Self::transfer_internal(&sender, &recipient, &collection, item_id, value)?;10301031 collection.submit_logs()1032 }10331034 /// Set, change, or remove approved address to transfer the ownership of the NFT.1035 ///1036 /// # Permissions1037 ///1038 /// * Collection Owner1039 /// * Collection Admin1040 /// * Current NFT owner1041 ///1042 /// # Arguments1043 ///1044 /// * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).1045 ///1046 /// * collection_id.1047 ///1048 /// * item_id: ID of the item.1049 #[weight = <SelfWeightOf<T>>::approve()]1050 #[transactional]1051 pub fn approve(origin, spender: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, amount: u128) -> DispatchResult {1052 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1053 let collection = Self::get_collection(collection_id)?;10541055 Self::approve_internal(&sender, &spender, &collection, item_id, amount)?;10561057 collection.submit_logs()1058 }10591060 /// Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.1061 ///1062 /// # Permissions1063 /// * Collection Owner1064 /// * Collection Admin1065 /// * Current NFT owner1066 /// * Address approved by current NFT owner1067 ///1068 /// # Arguments1069 ///1070 /// * from: Address that owns token.1071 ///1072 /// * recipient: Address of token recipient.1073 ///1074 /// * collection_id.1075 ///1076 /// * item_id: ID of the item.1077 ///1078 /// * value: Amount to transfer.1079 #[weight = <SelfWeightOf<T>>::transfer_from()]1080 #[transactional]1081 pub fn transfer_from(origin, from: T::CrossAccountId, recipient: T::CrossAccountId, collection_id: CollectionId, item_id: TokenId, value: u128 ) -> DispatchResult {1082 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1083 let collection = Self::get_collection(collection_id)?;10841085 Self::transfer_from_internal(&sender, &from, &recipient, &collection, item_id, value)?;10861087 collection.submit_logs()1088 }1089 // #[weight = 0]1090 // // let no_perm_mes = "You do not have permissions to modify this collection";1091 // // ensure!(<ApprovedList<T>>::contains_key((collection_id, item_id)), no_perm_mes);1092 // // let list_itm = <ApprovedList<T>>::get((collection_id, item_id));1093 // // ensure!(list_itm.contains(&new_owner.clone()), no_perm_mes);10941095 // // // on_nft_received call10961097 // // Self::transfer(origin, collection_id, item_id, new_owner)?;10981099 // Ok(())1100 // }11011102 /// Set off-chain data schema.1103 ///1104 /// # Permissions1105 ///1106 /// * Collection Owner1107 /// * Collection Admin1108 ///1109 /// # Arguments1110 ///1111 /// * collection_id.1112 ///1113 /// * schema: String representing the offchain data schema.1114 #[weight = <SelfWeightOf<T>>::set_variable_meta_data(data.len() as u32)]1115 #[transactional]1116 pub fn set_variable_meta_data (1117 origin,1118 collection_id: CollectionId,1119 item_id: TokenId,1120 data: Vec<u8>1121 ) -> DispatchResult {1122 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);11231124 let collection = Self::get_collection(collection_id)?;11251126 Self::set_variable_meta_data_internal(&sender, &collection, item_id, data)?;11271128 Ok(())1129 }11301131 /// Set schema standard1132 /// ImageURL1133 /// Unique1134 ///1135 /// # Permissions1136 ///1137 /// * Collection Owner1138 /// * Collection Admin1139 ///1140 /// # Arguments1141 ///1142 /// * collection_id.1143 ///1144 /// * schema: SchemaVersion: enum1145 #[weight = <SelfWeightOf<T>>::set_schema_version()]1146 #[transactional]1147 pub fn set_schema_version(1148 origin,1149 collection_id: CollectionId,1150 version: SchemaVersion1151 ) -> DispatchResult {1152 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1153 let mut target_collection = Self::get_collection(collection_id)?;1154 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;1155 target_collection.schema_version = version;1156 target_collection.save()1157 }11581159 /// Set off-chain data schema.1160 ///1161 /// # Permissions1162 ///1163 /// * Collection Owner1164 /// * Collection Admin1165 ///1166 /// # Arguments1167 ///1168 /// * collection_id.1169 ///1170 /// * schema: String representing the offchain data schema.1171 #[weight = <SelfWeightOf<T>>::set_offchain_schema(schema.len() as u32)]1172 #[transactional]1173 pub fn set_offchain_schema(1174 origin,1175 collection_id: CollectionId,1176 schema: Vec<u8>1177 ) -> DispatchResult {1178 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1179 let mut target_collection = Self::get_collection(collection_id)?;1180 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;11811182 // check schema limit1183 ensure!(schema.len() as u32 <= OFFCHAIN_SCHEMA_LIMIT, "");11841185 target_collection.offchain_schema = schema;1186 target_collection.save()1187 }11881189 /// Set const on-chain data schema.1190 ///1191 /// # Permissions1192 ///1193 /// * Collection Owner1194 /// * Collection Admin1195 ///1196 /// # Arguments1197 ///1198 /// * collection_id.1199 ///1200 /// * schema: String representing the const on-chain data schema.1201 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1202 #[transactional]1203 pub fn set_const_on_chain_schema (1204 origin,1205 collection_id: CollectionId,1206 schema: Vec<u8>1207 ) -> DispatchResult {1208 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1209 let mut target_collection = Self::get_collection(collection_id)?;1210 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;12111212 // check schema limit1213 ensure!(schema.len() as u32 <= CONST_ON_CHAIN_SCHEMA_LIMIT, "");12141215 target_collection.const_on_chain_schema = schema;1216 target_collection.save()1217 }12181219 /// Set variable on-chain data schema.1220 ///1221 /// # Permissions1222 ///1223 /// * Collection Owner1224 /// * Collection Admin1225 ///1226 /// # Arguments1227 ///1228 /// * collection_id.1229 ///1230 /// * schema: String representing the variable on-chain data schema.1231 #[weight = <SelfWeightOf<T>>::set_const_on_chain_schema(schema.len() as u32)]1232 #[transactional]1233 pub fn set_variable_on_chain_schema (1234 origin,1235 collection_id: CollectionId,1236 schema: Vec<u8>1237 ) -> DispatchResult {1238 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1239 let mut target_collection = Self::get_collection(collection_id)?;1240 Self::check_owner_or_admin_permissions(&target_collection, &sender)?;12411242 // check schema limit1243 ensure!(schema.len() as u32 <= VARIABLE_ON_CHAIN_SCHEMA_LIMIT, "");12441245 target_collection.variable_on_chain_schema = schema;1246 target_collection.save()1247 }12481249 #[weight = <SelfWeightOf<T>>::set_collection_limits()]1250 #[transactional]1251 pub fn set_collection_limits(1252 origin,1253 collection_id: u32,1254 new_limits: CollectionLimits<T::BlockNumber>,1255 ) -> DispatchResult {1256 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);1257 let mut target_collection = Self::get_collection(collection_id)?;1258 Self::check_owner_permissions(&target_collection, sender.as_sub())?;1259 let old_limits = &target_collection.limits;12601261 // collection bounds1262 ensure!(new_limits.sponsor_transfer_timeout <= MAX_SPONSOR_TIMEOUT &&1263 new_limits.account_token_ownership_limit <= MAX_TOKEN_OWNERSHIP &&1264 new_limits.sponsored_data_size <= CUSTOM_DATA_LIMIT,1265 Error::<T>::CollectionLimitBoundsExceeded);12661267 // token_limit check prev1268 ensure!(old_limits.token_limit >= new_limits.token_limit, Error::<T>::CollectionTokenLimitExceeded);1269 ensure!(new_limits.token_limit > 0, Error::<T>::CollectionTokenLimitExceeded);12701271 ensure!(1272 (old_limits.owner_can_transfer || !new_limits.owner_can_transfer) &&1273 (old_limits.owner_can_destroy || !new_limits.owner_can_destroy),1274 Error::<T>::OwnerPermissionsCantBeReverted,1275 );12761277 target_collection.limits = new_limits;12781279 target_collection.save()1280 }1281 }1282}12831284impl<T: Config> Module<T> {1285 pub fn create_item_internal(1286 sender: &T::CrossAccountId,1287 collection: &CollectionHandle<T>,1288 owner: &T::CrossAccountId,1289 data: CreateItemData,1290 ) -> DispatchResult {1291 ensure!(1292 owner != &T::CrossAccountId::from_eth(H160([0; 20])),1293 Error::<T>::AddressIsZero1294 );12951296 Self::can_create_items_in_collection(collection, sender, owner, 1)?;1297 Self::validate_create_item_args(collection, &data)?;1298 Self::create_item_no_validation(collection, owner, data)?;12991300 Ok(())1301 }13021303 pub fn transfer_internal(1304 sender: &T::CrossAccountId,1305 recipient: &T::CrossAccountId,1306 target_collection: &CollectionHandle<T>,1307 item_id: TokenId,1308 value: u128,1309 ) -> DispatchResult {1310 ensure!(1311 recipient != &T::CrossAccountId::from_eth(H160([0; 20])),1312 Error::<T>::AddressIsZero1313 );13141315 // Limits check1316 Self::is_correct_transfer(target_collection, recipient)?;13171318 // Transfer permissions check1319 ensure!(1320 Self::is_item_owner(sender, target_collection, item_id)?1321 || Self::is_owner_or_admin_permissions(target_collection, sender)?,1322 Error::<T>::NoPermission1323 );13241325 if target_collection.access == AccessMode::WhiteList {1326 Self::check_white_list(target_collection, sender)?;1327 Self::check_white_list(target_collection, recipient)?;1328 }13291330 match target_collection.mode {1331 CollectionMode::NFT => Self::transfer_nft(1332 target_collection,1333 item_id,1334 sender.clone(),1335 recipient.clone(),1336 )?,1337 CollectionMode::Fungible(_) => {1338 Self::transfer_fungible(target_collection, value, sender, recipient)?1339 }1340 CollectionMode::ReFungible => Self::transfer_refungible(1341 target_collection,1342 item_id,1343 value,1344 sender.clone(),1345 recipient.clone(),1346 )?,1347 _ => (),1348 };13491350 Self::deposit_event(RawEvent::Transfer(1351 target_collection.id,1352 item_id,1353 sender.clone(),1354 recipient.clone(),1355 value,1356 ));13571358 Ok(())1359 }13601361 pub fn approve_internal(1362 sender: &T::CrossAccountId,1363 spender: &T::CrossAccountId,1364 collection: &CollectionHandle<T>,1365 item_id: TokenId,1366 amount: u128,1367 ) -> DispatchResult {1368 Self::token_exists(collection, item_id)?;13691370 // Transfer permissions check1371 let bypasses_limits = collection.limits.owner_can_transfer1372 && Self::is_owner_or_admin_permissions(collection, sender)?;13731374 let allowance_limit = if bypasses_limits {1375 None1376 } else if let Some(amount) = Self::owned_amount(sender, collection, item_id)? {1377 Some(amount)1378 } else {1379 fail!(Error::<T>::NoPermission);1380 };13811382 if collection.access == AccessMode::WhiteList {1383 Self::check_white_list(collection, sender)?;1384 Self::check_white_list(collection, spender)?;1385 }13861387 collection.consume_sload()?;1388 let allowance: u128 = amount1389 .checked_add(<Allowances<T>>::get(1390 collection.id,1391 (item_id, sender.as_sub(), spender.as_sub()),1392 ))1393 .ok_or(Error::<T>::NumOverflow)?;1394 if let Some(limit) = allowance_limit {1395 ensure!(limit >= allowance, Error::<T>::TokenValueTooLow);1396 }1397 collection.consume_sstore()?;1398 <Allowances<T>>::insert(1399 collection.id,1400 (item_id, sender.as_sub(), spender.as_sub()),1401 allowance,1402 );14031404 if matches!(collection.mode, CollectionMode::NFT) {1405 // TODO: NFT: only one owner may exist for token in ERC7211406 collection.log(ERC721Events::Approval {1407 owner: *sender.as_eth(),1408 approved: *spender.as_eth(),1409 token_id: item_id.into(),1410 })?;1411 }14121413 if matches!(collection.mode, CollectionMode::Fungible(_)) {1414 // TODO: NFT: only one owner may exist for token in ERC201415 collection.log(ERC20Events::Approval {1416 owner: *sender.as_eth(),1417 spender: *spender.as_eth(),1418 value: allowance.into(),1419 })?;1420 }14211422 Self::deposit_event(RawEvent::Approved(1423 collection.id,1424 item_id,1425 sender.clone(),1426 spender.clone(),1427 allowance,1428 ));1429 Ok(())1430 }14311432 pub fn transfer_from_internal(1433 sender: &T::CrossAccountId,1434 from: &T::CrossAccountId,1435 recipient: &T::CrossAccountId,1436 collection: &CollectionHandle<T>,1437 item_id: TokenId,1438 amount: u128,1439 ) -> DispatchResult {1440 if sender == from {1441 // Transfer by `from`, because it is either equal to sender, or derived from him1442 return Self::transfer_internal(from, recipient, collection, item_id, amount);1443 }14441445 // Check approval1446 collection.consume_sload()?;1447 let approval: u128 =1448 <Allowances<T>>::get(collection.id, (item_id, from.as_sub(), sender.as_sub()));14491450 // Limits check1451 Self::is_correct_transfer(collection, recipient)?;14521453 // Transfer permissions check1454 ensure!(1455 approval >= amount1456 || (collection.limits.owner_can_transfer1457 && Self::is_owner_or_admin_permissions(collection, sender)?),1458 Error::<T>::NoPermission1459 );14601461 if collection.access == AccessMode::WhiteList {1462 Self::check_white_list(collection, sender)?;1463 Self::check_white_list(collection, recipient)?;1464 }14651466 // Reduce approval by transferred amount or remove if remaining approval drops to 01467 let allowance = approval.saturating_sub(amount);1468 collection.consume_sstore()?;1469 if allowance > 0 {1470 <Allowances<T>>::insert(1471 collection.id,1472 (item_id, from.as_sub(), sender.as_sub()),1473 allowance,1474 );1475 } else {1476 <Allowances<T>>::remove(collection.id, (item_id, from.as_sub(), sender.as_sub()));1477 }14781479 match collection.mode {1480 CollectionMode::NFT => {1481 Self::transfer_nft(collection, item_id, from.clone(), recipient.clone())?1482 }1483 CollectionMode::Fungible(_) => {1484 Self::transfer_fungible(collection, amount, from, recipient)?1485 }1486 CollectionMode::ReFungible => Self::transfer_refungible(1487 collection,1488 item_id,1489 amount,1490 from.clone(),1491 recipient.clone(),1492 )?,1493 _ => (),1494 };14951496 if matches!(collection.mode, CollectionMode::Fungible(_)) {1497 collection.log(ERC20Events::Approval {1498 owner: *from.as_eth(),1499 spender: *sender.as_eth(),1500 value: allowance.into(),1501 })?;1502 }15031504 Ok(())1505 }15061507 pub fn set_variable_meta_data_internal(1508 sender: &T::CrossAccountId,1509 collection: &CollectionHandle<T>,1510 item_id: TokenId,1511 data: Vec<u8>,1512 ) -> DispatchResult {1513 Self::token_exists(collection, item_id)?;15141515 ensure!(1516 CUSTOM_DATA_LIMIT >= data.len() as u32,1517 Error::<T>::TokenVariableDataLimitExceeded1518 );15191520 ensure!(1521 (Self::is_item_owner(sender, collection, item_id)?1522 && collection.meta_update_permission == MetaUpdatePermission::ItemOwner)1523 || (Self::is_owner_or_admin_permissions(collection, sender)?1524 && collection.meta_update_permission == MetaUpdatePermission::Admin),1525 Error::<T>::NoPermission1526 );15271528 match collection.mode {1529 CollectionMode::NFT => Self::set_nft_variable_data(collection, item_id, data)?,1530 CollectionMode::ReFungible => {1531 Self::set_re_fungible_variable_data(collection, item_id, data)?1532 }1533 CollectionMode::Fungible(_) => fail!(Error::<T>::CantStoreMetadataInFungibleTokens),1534 _ => fail!(Error::<T>::UnexpectedCollectionType),1535 };15361537 Ok(())1538 }15391540 pub fn meta_update_check(1541 sender: &T::CrossAccountId,1542 collection: &CollectionHandle<T>,1543 item_id: TokenId,1544 ) -> DispatchResult {1545 match collection.meta_update_permission {1546 MetaUpdatePermission::ItemOwner => ensure!(1547 Self::is_item_owner(sender, collection, item_id)?,1548 Error::<T>::NoPermission1549 ),1550 MetaUpdatePermission::Admin => ensure!(1551 Self::is_owner_or_admin_permissions(collection, sender)?,1552 Error::<T>::NoPermission1553 ),1554 MetaUpdatePermission::None => fail!(Error::<T>::MetadataUpdateDenied),1555 }15561557 Ok(())1558 }15591560 pub fn get_variable_metadata(1561 collection: &CollectionHandle<T>,1562 item_id: TokenId,1563 ) -> Result<Vec<u8>, DispatchError> {1564 Ok(match collection.mode {1565 CollectionMode::NFT => {1566 <NftItemList<T>>::get(collection.id, item_id)1567 .ok_or(Error::<T>::TokenNotFound)?1568 .variable_data1569 }1570 CollectionMode::ReFungible => {1571 <ReFungibleItemList<T>>::get(collection.id, item_id)1572 .ok_or(Error::<T>::TokenNotFound)?1573 .variable_data1574 }1575 _ => fail!(Error::<T>::UnexpectedCollectionType),1576 })1577 }15781579 pub fn create_multiple_items_internal(1580 sender: &T::CrossAccountId,1581 collection: &CollectionHandle<T>,1582 owner: &T::CrossAccountId,1583 items_data: Vec<CreateItemData>,1584 ) -> DispatchResult {1585 Self::can_create_items_in_collection(collection, sender, owner, items_data.len() as u32)?;15861587 for data in &items_data {1588 Self::validate_create_item_args(collection, data)?;1589 }1590 for data in &items_data {1591 Self::create_item_no_validation(collection, owner, data.clone())?;1592 }15931594 Ok(())1595 }15961597 pub fn burn_item_internal(1598 sender: &T::CrossAccountId,1599 collection: &CollectionHandle<T>,1600 item_id: TokenId,1601 value: u128,1602 ) -> DispatchResult {1603 ensure!(1604 Self::is_item_owner(sender, collection, item_id)?1605 || (collection.limits.owner_can_transfer1606 && Self::is_owner_or_admin_permissions(collection, sender)?),1607 Error::<T>::NoPermission1608 );16091610 if collection.access == AccessMode::WhiteList {1611 Self::check_white_list(collection, sender)?;1612 }16131614 match collection.mode {1615 CollectionMode::NFT => Self::burn_nft_item(collection, item_id)?,1616 CollectionMode::Fungible(_) => Self::burn_fungible_item(sender, collection, value)?,1617 CollectionMode::ReFungible => Self::burn_refungible_item(collection, item_id, sender)?,1618 _ => (),1619 };16201621 Ok(())1622 }16231624 pub fn toggle_white_list_internal(1625 sender: &T::CrossAccountId,1626 collection: &CollectionHandle<T>,1627 address: &T::CrossAccountId,1628 whitelisted: bool,1629 ) -> DispatchResult {1630 Self::check_owner_or_admin_permissions(collection, sender)?;16311632 if whitelisted {1633 <WhiteList<T>>::insert(collection.id, address.as_sub(), true);1634 } else {1635 <WhiteList<T>>::remove(collection.id, address.as_sub());1636 }16371638 Ok(())1639 }16401641 fn is_correct_transfer(1642 collection: &CollectionHandle<T>,1643 recipient: &T::CrossAccountId,1644 ) -> DispatchResult {1645 let collection_id = collection.id;16461647 // check token limit and account token limit1648 collection.consume_sload()?;1649 let account_items: u32 =1650 <AddressTokens<T>>::get(collection_id, recipient.as_sub()).len() as u32;16511652 // zero limit means collection limit is disabled1653 // otherwise get lower value1654 let limit = if collection.limits.account_token_ownership_limit == 01655 || collection.limits.account_token_ownership_limit > ACCOUNT_TOKEN_OWNERSHIP_LIMIT1656 {1657 ACCOUNT_TOKEN_OWNERSHIP_LIMIT1658 } else {1659 collection.limits.account_token_ownership_limit1660 };16611662 ensure!(limit > account_items, Error::<T>::AccountTokenLimitExceeded);16631664 // preliminary transfer check1665 ensure!(collection.transfers_enabled, Error::<T>::TransferNotAllowed);16661667 Ok(())1668 }16691670 fn can_create_items_in_collection(1671 collection: &CollectionHandle<T>,1672 sender: &T::CrossAccountId,1673 owner: &T::CrossAccountId,1674 amount: u32,1675 ) -> DispatchResult {1676 let collection_id = collection.id;16771678 // check token limit and account token limit1679 let total_items: u32 = ItemListIndex::get(collection_id)1680 .checked_add(amount)1681 .ok_or(Error::<T>::CollectionTokenLimitExceeded)?;1682 let account_items: u32 = (<AddressTokens<T>>::get(collection_id, owner.as_sub()).len()1683 as u32)1684 .checked_add(amount)1685 .ok_or(Error::<T>::AccountTokenLimitExceeded)?;16861687 // zero limit means collection limit is disabled1688 // otherwise get lower value1689 let account_token_limit = if collection.limits.account_token_ownership_limit == 01690 || collection.limits.account_token_ownership_limit > ACCOUNT_TOKEN_OWNERSHIP_LIMIT1691 {1692 ACCOUNT_TOKEN_OWNERSHIP_LIMIT1693 } else {1694 collection.limits.account_token_ownership_limit1695 };16961697 ensure!(1698 collection.limits.token_limit >= total_items,1699 Error::<T>::CollectionTokenLimitExceeded1700 );1701 ensure!(1702 account_token_limit >= account_items,1703 Error::<T>::AccountTokenLimitExceeded1704 );17051706 if !Self::is_owner_or_admin_permissions(collection, sender)? {1707 ensure!(collection.mint_mode, Error::<T>::PublicMintingNotAllowed);1708 Self::check_white_list(collection, owner)?;1709 Self::check_white_list(collection, sender)?;1710 }17111712 Ok(())1713 }17141715 fn validate_create_item_args(1716 target_collection: &CollectionHandle<T>,1717 data: &CreateItemData,1718 ) -> DispatchResult {1719 match target_collection.mode {1720 CollectionMode::NFT => {1721 if !matches!(data, CreateItemData::NFT(_)) {1722 fail!(Error::<T>::NotNftDataUsedToMintNftCollectionToken);1723 }1724 }1725 CollectionMode::Fungible(_) => {1726 if !matches!(data, CreateItemData::Fungible(_)) {1727 fail!(Error::<T>::NotFungibleDataUsedToMintFungibleCollectionToken);1728 }1729 }1730 CollectionMode::ReFungible => {1731 if let CreateItemData::ReFungible(data) = data {1732 // Check refungibility limits1733 ensure!(1734 data.pieces <= MAX_REFUNGIBLE_PIECES,1735 Error::<T>::WrongRefungiblePieces1736 );1737 ensure!(data.pieces > 0, Error::<T>::WrongRefungiblePieces);1738 } else {1739 fail!(Error::<T>::NotReFungibleDataUsedToMintReFungibleCollectionToken);1740 }1741 }1742 _ => {1743 fail!(Error::<T>::UnexpectedCollectionType);1744 }1745 };17461747 Ok(())1748 }17491750 fn create_item_no_validation(1751 collection: &CollectionHandle<T>,1752 owner: &T::CrossAccountId,1753 data: CreateItemData,1754 ) -> DispatchResult {1755 match data {1756 CreateItemData::NFT(data) => {1757 let item = NftItemType {1758 owner: owner.clone(),1759 const_data: data.const_data.into_inner(),1760 variable_data: data.variable_data.into_inner(),1761 };17621763 Self::add_nft_item(collection, item)?;1764 }1765 CreateItemData::Fungible(data) => {1766 Self::add_fungible_item(collection, owner, data.value)?;1767 }1768 CreateItemData::ReFungible(data) => {1769 let owner_list = vec![Ownership {1770 owner: owner.clone(),1771 fraction: data.pieces,1772 }];17731774 let item = ReFungibleItemType {1775 owner: owner_list,1776 const_data: data.const_data.into_inner(),1777 variable_data: data.variable_data.into_inner(),1778 };17791780 Self::add_refungible_item(collection, item)?;1781 }1782 };17831784 Ok(())1785 }17861787 fn add_fungible_item(1788 collection: &CollectionHandle<T>,1789 owner: &T::CrossAccountId,1790 value: u128,1791 ) -> DispatchResult {1792 let collection_id = collection.id;17931794 // Does new owner already have an account?1795 collection.consume_sload()?;1796 let balance: u128 = <FungibleItemList<T>>::get(collection_id, owner.as_sub()).value;17971798 // Mint1799 let item = FungibleItemType {1800 value: balance.checked_add(value).ok_or(Error::<T>::NumOverflow)?,1801 };1802 collection.consume_sstore()?;1803 <FungibleItemList<T>>::insert(collection_id, owner.as_sub(), item);18041805 // Update balance1806 collection.consume_sload()?;1807 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())1808 .checked_add(value)1809 .ok_or(Error::<T>::NumOverflow)?;1810 collection.consume_sstore()?;1811 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);18121813 collection.log(ERC20Events::Transfer {1814 from: H160::default(),1815 to: *owner.as_eth(),1816 value: value.into(),1817 })?;1818 Self::deposit_event(RawEvent::ItemCreated(collection_id, 0, owner.clone()));1819 Ok(())1820 }18211822 fn add_refungible_item(1823 collection: &CollectionHandle<T>,1824 item: ReFungibleItemType<T::CrossAccountId>,1825 ) -> DispatchResult {1826 let collection_id = collection.id;18271828 let current_index = <ItemListIndex>::get(collection_id)1829 .checked_add(1)1830 .ok_or(Error::<T>::NumOverflow)?;1831 let itemcopy = item.clone();18321833 ensure!(item.owner.len() == 1, Error::<T>::BadCreateRefungibleCall,);1834 let item_owner = item.owner.first().expect("only one owner is defined");18351836 let value = item_owner.fraction;1837 let owner = item_owner.owner.clone();18381839 Self::add_token_index(collection, current_index, &owner)?;18401841 <ItemListIndex>::insert(collection_id, current_index);1842 <ReFungibleItemList<T>>::insert(collection_id, current_index, itemcopy);18431844 // Update balance1845 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())1846 .checked_add(value)1847 .ok_or(Error::<T>::NumOverflow)?;1848 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);18491850 Self::deposit_event(RawEvent::ItemCreated(collection_id, current_index, owner));1851 Ok(())1852 }18531854 fn add_nft_item(1855 collection: &CollectionHandle<T>,1856 item: NftItemType<T::CrossAccountId>,1857 ) -> DispatchResult {1858 let collection_id = collection.id;18591860 let current_index = <ItemListIndex>::get(collection_id)1861 .checked_add(1)1862 .ok_or(Error::<T>::NumOverflow)?;18631864 let item_owner = item.owner.clone();1865 Self::add_token_index(collection, current_index, &item.owner)?;18661867 <ItemListIndex>::insert(collection_id, current_index);1868 <NftItemList<T>>::insert(collection_id, current_index, item);18691870 // Update balance1871 let new_balance = <Balance<T>>::get(collection_id, item_owner.as_sub())1872 .checked_add(1)1873 .ok_or(Error::<T>::NumOverflow)?;1874 <Balance<T>>::insert(collection_id, item_owner.as_sub(), new_balance);18751876 collection.log(ERC721Events::Transfer {1877 from: H160::default(),1878 to: *item_owner.as_eth(),1879 token_id: current_index.into(),1880 })?;1881 Self::deposit_event(RawEvent::ItemCreated(1882 collection_id,1883 current_index,1884 item_owner,1885 ));1886 Ok(())1887 }18881889 fn burn_refungible_item(1890 collection: &CollectionHandle<T>,1891 item_id: TokenId,1892 owner: &T::CrossAccountId,1893 ) -> DispatchResult {1894 let collection_id = collection.id;18951896 let mut token = <ReFungibleItemList<T>>::get(collection_id, item_id)1897 .ok_or(Error::<T>::TokenNotFound)?;1898 let rft_balance = token1899 .owner1900 .iter()1901 .find(|&i| i.owner == *owner)1902 .ok_or(Error::<T>::TokenNotFound)?;1903 Self::remove_token_index(collection, item_id, owner)?;19041905 // update balance1906 let new_balance = <Balance<T>>::get(collection_id, rft_balance.owner.as_sub())1907 .checked_sub(rft_balance.fraction)1908 .ok_or(Error::<T>::NumOverflow)?;1909 <Balance<T>>::insert(collection_id, rft_balance.owner.as_sub(), new_balance);19101911 // Re-create owners list with sender removed1912 let index = token1913 .owner1914 .iter()1915 .position(|i| i.owner == *owner)1916 .expect("owned item is exists");1917 token.owner.remove(index);1918 let owner_count = token.owner.len();19191920 // Burn the token completely if this was the last (only) owner1921 if owner_count == 0 {1922 <ReFungibleItemList<T>>::remove(collection_id, item_id);1923 <VariableMetaDataBasket<T>>::remove(collection_id, item_id);1924 } else {1925 <ReFungibleItemList<T>>::insert(collection_id, item_id, token);1926 }19271928 Ok(())1929 }19301931 fn burn_nft_item(collection: &CollectionHandle<T>, item_id: TokenId) -> DispatchResult {1932 let collection_id = collection.id;19331934 let item =1935 <NftItemList<T>>::get(collection_id, item_id).ok_or(Error::<T>::TokenNotFound)?;1936 Self::remove_token_index(collection, item_id, &item.owner)?;19371938 // update balance1939 let new_balance = <Balance<T>>::get(collection_id, item.owner.as_sub())1940 .checked_sub(1)1941 .ok_or(Error::<T>::NumOverflow)?;1942 <Balance<T>>::insert(collection_id, item.owner.as_sub(), new_balance);1943 <NftItemList<T>>::remove(collection_id, item_id);1944 <VariableMetaDataBasket<T>>::remove(collection_id, item_id);19451946 collection.log(ERC721Events::Transfer {1947 from: *item.owner.as_eth(),1948 to: H160::default(),1949 token_id: item_id.into(),1950 })?;1951 Self::deposit_event(RawEvent::ItemDestroyed(collection.id, item_id));1952 Ok(())1953 }19541955 fn burn_fungible_item(1956 owner: &T::CrossAccountId,1957 collection: &CollectionHandle<T>,1958 value: u128,1959 ) -> DispatchResult {1960 let collection_id = collection.id;19611962 let mut balance = <FungibleItemList<T>>::get(collection_id, owner.as_sub());1963 ensure!(balance.value >= value, Error::<T>::TokenValueNotEnough);19641965 // update balance1966 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())1967 .checked_sub(value)1968 .ok_or(Error::<T>::NumOverflow)?;1969 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);19701971 if balance.value - value > 0 {1972 balance.value -= value;1973 <FungibleItemList<T>>::insert(collection_id, owner.as_sub(), balance);1974 } else {1975 <FungibleItemList<T>>::remove(collection_id, owner.as_sub());1976 }19771978 collection.log(ERC20Events::Transfer {1979 from: *owner.as_eth(),1980 to: H160::default(),1981 value: value.into(),1982 })?;1983 Ok(())1984 }19851986 pub fn get_collection(1987 collection_id: CollectionId,1988 ) -> Result<CollectionHandle<T>, sp_runtime::DispatchError> {1989 Ok(<CollectionHandle<T>>::get(collection_id).ok_or(Error::<T>::CollectionNotFound)?)1990 }19911992 fn check_owner_permissions(1993 target_collection: &CollectionHandle<T>,1994 subject: &T::AccountId,1995 ) -> DispatchResult {1996 ensure!(1997 *subject == target_collection.owner,1998 Error::<T>::NoPermission1999 );20002001 Ok(())2002 }20032004 fn is_owner_or_admin_permissions(2005 collection: &CollectionHandle<T>,2006 subject: &T::CrossAccountId,2007 ) -> Result<bool, DispatchError> {2008 collection.consume_sload()?;2009 Ok(*subject.as_sub() == collection.owner2010 || <AdminList<T>>::get(collection.id).contains(subject))2011 }20122013 fn check_owner_or_admin_permissions(2014 collection: &CollectionHandle<T>,2015 subject: &T::CrossAccountId,2016 ) -> DispatchResult {2017 ensure!(2018 Self::is_owner_or_admin_permissions(collection, subject)?,2019 Error::<T>::NoPermission2020 );20212022 Ok(())2023 }20242025 fn owned_amount(2026 subject: &T::CrossAccountId,2027 collection: &CollectionHandle<T>,2028 item_id: TokenId,2029 ) -> Result<Option<u128>, DispatchError> {2030 collection.consume_sload()?;2031 Ok(Self::owned_amount_unchecked(subject, collection, item_id))2032 }20332034 fn owned_amount_unchecked(2035 subject: &T::CrossAccountId,2036 target_collection: &CollectionHandle<T>,2037 item_id: TokenId,2038 ) -> Option<u128> {2039 let collection_id = target_collection.id;20402041 match target_collection.mode {2042 CollectionMode::NFT => {2043 (<NftItemList<T>>::get(collection_id, item_id)?.owner == *subject).then(|| 1)2044 }2045 CollectionMode::Fungible(_) => {2046 Some(<FungibleItemList<T>>::get(collection_id, &subject.as_sub()).value)2047 }2048 CollectionMode::ReFungible => <ReFungibleItemList<T>>::get(collection_id, item_id)?2049 .owner2050 .iter()2051 .find(|i| i.owner == *subject)2052 .map(|i| i.fraction),2053 CollectionMode::Invalid => None,2054 }2055 }20562057 fn is_item_owner(2058 subject: &T::CrossAccountId,2059 target_collection: &CollectionHandle<T>,2060 item_id: TokenId,2061 ) -> Result<bool, DispatchError> {2062 Ok(match target_collection.mode {2063 CollectionMode::Fungible(_) => true,2064 _ => Self::owned_amount(subject, target_collection, item_id)?.is_some(),2065 })2066 }20672068 fn check_white_list(2069 collection: &CollectionHandle<T>,2070 address: &T::CrossAccountId,2071 ) -> DispatchResult {2072 collection.consume_sload()?;2073 ensure!(2074 <WhiteList<T>>::contains_key(collection.id, address.as_sub()),2075 Error::<T>::AddresNotInWhiteList,2076 );2077 Ok(())2078 }20792080 /// Check if token exists. In case of Fungible, check if there is an entry for2081 /// the owner in fungible balances double map2082 fn token_exists(target_collection: &CollectionHandle<T>, item_id: TokenId) -> DispatchResult {2083 let collection_id = target_collection.id;2084 let exists = match target_collection.mode {2085 CollectionMode::NFT => <NftItemList<T>>::contains_key(collection_id, item_id),2086 CollectionMode::Fungible(_) => true,2087 CollectionMode::ReFungible => {2088 <ReFungibleItemList<T>>::contains_key(collection_id, item_id)2089 }2090 _ => false,2091 };20922093 ensure!(exists, Error::<T>::TokenNotFound);2094 Ok(())2095 }20962097 fn transfer_fungible(2098 collection: &CollectionHandle<T>,2099 value: u128,2100 owner: &T::CrossAccountId,2101 recipient: &T::CrossAccountId,2102 ) -> DispatchResult {2103 let collection_id = collection.id;21042105 collection.consume_sload()?;2106 collection.consume_sload()?;2107 let mut recipient_balance = <FungibleItemList<T>>::get(collection_id, recipient.as_sub());2108 let mut balance = <FungibleItemList<T>>::get(collection_id, owner.as_sub());21092110 recipient_balance.value = recipient_balance2111 .value2112 .checked_add(value)2113 .ok_or(Error::<T>::NumOverflow)?;2114 balance.value = balance2115 .value2116 .checked_sub(value)2117 .ok_or(Error::<T>::TokenValueTooLow)?;21182119 // update balanceOf2120 collection.consume_sstore()?;2121 collection.consume_sstore()?;2122 if balance.value != 0 {2123 <Balance<T>>::insert(collection_id, owner.as_sub(), balance.value);2124 } else {2125 <Balance<T>>::remove(collection_id, owner.as_sub());2126 }2127 <Balance<T>>::insert(collection_id, recipient.as_sub(), recipient_balance.value);21282129 // Reduce or remove sender2130 collection.consume_sstore()?;2131 collection.consume_sstore()?;2132 if balance.value != 0 {2133 <FungibleItemList<T>>::insert(collection_id, owner.as_sub(), balance);2134 } else {2135 <FungibleItemList<T>>::remove(collection_id, owner.as_sub());2136 }2137 <FungibleItemList<T>>::insert(collection_id, recipient.as_sub(), recipient_balance);21382139 collection.log(ERC20Events::Transfer {2140 from: *owner.as_eth(),2141 to: *recipient.as_eth(),2142 value: value.into(),2143 })?;2144 Self::deposit_event(RawEvent::Transfer(2145 collection.id,2146 1,2147 owner.clone(),2148 recipient.clone(),2149 value,2150 ));21512152 Ok(())2153 }21542155 fn transfer_refungible(2156 collection: &CollectionHandle<T>,2157 item_id: TokenId,2158 value: u128,2159 owner: T::CrossAccountId,2160 new_owner: T::CrossAccountId,2161 ) -> DispatchResult {2162 let collection_id = collection.id;2163 collection.consume_sload()?;2164 let full_item = <ReFungibleItemList<T>>::get(collection_id, item_id)2165 .ok_or(Error::<T>::TokenNotFound)?;21662167 let item = full_item2168 .owner2169 .iter()2170 .find(|i| i.owner == owner)2171 .ok_or(Error::<T>::TokenNotFound)?;2172 let amount = item.fraction;21732174 ensure!(amount >= value, Error::<T>::TokenValueTooLow);21752176 collection.consume_sload()?;2177 // update balance2178 let balance_old_owner = <Balance<T>>::get(collection_id, item.owner.as_sub())2179 .checked_sub(value)2180 .ok_or(Error::<T>::NumOverflow)?;2181 collection.consume_sstore()?;2182 <Balance<T>>::insert(collection_id, item.owner.as_sub(), balance_old_owner);21832184 collection.consume_sload()?;2185 let balance_new_owner = <Balance<T>>::get(collection_id, new_owner.as_sub())2186 .checked_add(value)2187 .ok_or(Error::<T>::NumOverflow)?;2188 collection.consume_sstore()?;2189 <Balance<T>>::insert(collection_id, new_owner.as_sub(), balance_new_owner);21902191 let old_owner = item.owner.clone();2192 let new_owner_has_account = full_item.owner.iter().any(|i| i.owner == new_owner);21932194 let mut new_full_item = full_item.clone();2195 // transfer2196 if amount == value && !new_owner_has_account {2197 // change owner2198 // new owner do not have account2199 new_full_item2200 .owner2201 .iter_mut()2202 .find(|i| i.owner == owner)2203 .expect("old owner does present in refungible")2204 .owner = new_owner.clone();2205 collection.consume_sstore()?;2206 <ReFungibleItemList<T>>::insert(collection_id, item_id, new_full_item);22072208 // update index collection2209 Self::move_token_index(collection, item_id, &old_owner, &new_owner)?;2210 } else {2211 new_full_item2212 .owner2213 .iter_mut()2214 .find(|i| i.owner == owner)2215 .expect("old owner does present in refungible")2216 .fraction -= value;22172218 // separate amount2219 if new_owner_has_account {2220 // new owner has account2221 new_full_item2222 .owner2223 .iter_mut()2224 .find(|i| i.owner == new_owner)2225 .expect("new owner has account")2226 .fraction += value;2227 } else {2228 // new owner do not have account2229 new_full_item.owner.push(Ownership {2230 owner: new_owner.clone(),2231 fraction: value,2232 });2233 Self::add_token_index(collection, item_id, &new_owner)?;2234 }22352236 collection.consume_sstore()?;2237 <ReFungibleItemList<T>>::insert(collection_id, item_id, new_full_item);2238 }22392240 Self::deposit_event(RawEvent::Transfer(2241 collection.id,2242 item_id,2243 owner,2244 new_owner,2245 amount,2246 ));22472248 Ok(())2249 }22502251 fn transfer_nft(2252 collection: &CollectionHandle<T>,2253 item_id: TokenId,2254 sender: T::CrossAccountId,2255 new_owner: T::CrossAccountId,2256 ) -> DispatchResult {2257 let collection_id = collection.id;2258 collection.consume_sload()?;2259 let mut item =2260 <NftItemList<T>>::get(collection_id, item_id).ok_or(Error::<T>::TokenNotFound)?;22612262 ensure!(sender == item.owner, Error::<T>::MustBeTokenOwner);22632264 collection.consume_sload()?;2265 // update balance2266 let balance_old_owner = <Balance<T>>::get(collection_id, item.owner.as_sub())2267 .checked_sub(1)2268 .ok_or(Error::<T>::NumOverflow)?;2269 collection.consume_sstore()?;2270 <Balance<T>>::insert(collection_id, item.owner.as_sub(), balance_old_owner);22712272 collection.consume_sload()?;2273 let balance_new_owner = <Balance<T>>::get(collection_id, new_owner.as_sub())2274 .checked_add(1)2275 .ok_or(Error::<T>::NumOverflow)?;2276 collection.consume_sstore()?;2277 <Balance<T>>::insert(collection_id, new_owner.as_sub(), balance_new_owner);22782279 // change owner2280 let old_owner = item.owner.clone();2281 item.owner = new_owner.clone();2282 collection.consume_sstore()?;2283 <NftItemList<T>>::insert(collection_id, item_id, item);22842285 // update index collection2286 Self::move_token_index(collection, item_id, &old_owner, &new_owner)?;22872288 collection.log(ERC721Events::Transfer {2289 from: *sender.as_eth(),2290 to: *new_owner.as_eth(),2291 token_id: item_id.into(),2292 })?;2293 Self::deposit_event(RawEvent::Transfer(2294 collection.id,2295 item_id,2296 sender,2297 new_owner,2298 1,2299 ));23002301 Ok(())2302 }23032304 fn set_re_fungible_variable_data(2305 collection: &CollectionHandle<T>,2306 item_id: TokenId,2307 data: Vec<u8>,2308 ) -> DispatchResult {2309 let collection_id = collection.id;2310 let mut item = <ReFungibleItemList<T>>::get(collection_id, item_id)2311 .ok_or(Error::<T>::TokenNotFound)?;23122313 item.variable_data = data;23142315 <ReFungibleItemList<T>>::insert(collection_id, item_id, item);23162317 Ok(())2318 }23192320 fn set_nft_variable_data(2321 collection: &CollectionHandle<T>,2322 item_id: TokenId,2323 data: Vec<u8>,2324 ) -> DispatchResult {2325 let collection_id = collection.id;2326 let mut item =2327 <NftItemList<T>>::get(collection_id, item_id).ok_or(Error::<T>::TokenNotFound)?;23282329 item.variable_data = data;23302331 <NftItemList<T>>::insert(collection_id, item_id, item);23322333 Ok(())2334 }23352336 #[allow(dead_code)]2337 fn init_collection(item: &Collection<T>) {2338 // check params2339 assert!(2340 item.decimal_points <= MAX_DECIMAL_POINTS,2341 "decimal_points parameter must be lower than MAX_DECIMAL_POINTS"2342 );2343 assert!(2344 item.name.len() <= 64,2345 "Collection name can not be longer than 63 char"2346 );2347 assert!(2348 item.name.len() <= 256,2349 "Collection description can not be longer than 255 char"2350 );2351 assert!(2352 item.token_prefix.len() <= 16,2353 "Token prefix can not be longer than 15 char"2354 );23552356 // Generate next collection ID2357 let next_id = CreatedCollectionCount::get().checked_add(1).unwrap();23582359 CreatedCollectionCount::put(next_id);2360 }23612362 #[allow(dead_code)]2363 fn init_nft_token(collection_id: CollectionId, item: &NftItemType<T::CrossAccountId>) {2364 let current_index = <ItemListIndex>::get(collection_id).checked_add(1).unwrap();23652366 Self::add_token_index(2367 &CollectionHandle::get(collection_id).unwrap(),2368 current_index,2369 &item.owner,2370 )2371 .unwrap();23722373 <ItemListIndex>::insert(collection_id, current_index);23742375 // Update balance2376 let new_balance = <Balance<T>>::get(collection_id, item.owner.as_sub())2377 .checked_add(1)2378 .unwrap();2379 <Balance<T>>::insert(collection_id, item.owner.as_sub(), new_balance);2380 }23812382 #[allow(dead_code)]2383 fn init_fungible_token(2384 collection_id: CollectionId,2385 owner: &T::CrossAccountId,2386 item: &FungibleItemType,2387 ) {2388 let current_index = <ItemListIndex>::get(collection_id).checked_add(1).unwrap();23892390 Self::add_token_index(2391 &CollectionHandle::get(collection_id).unwrap(),2392 current_index,2393 owner,2394 )2395 .unwrap();23962397 <ItemListIndex>::insert(collection_id, current_index);23982399 // Update balance2400 let new_balance = <Balance<T>>::get(collection_id, owner.as_sub())2401 .checked_add(item.value)2402 .unwrap();2403 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);2404 }24052406 #[allow(dead_code)]2407 fn init_refungible_token(2408 collection_id: CollectionId,2409 item: &ReFungibleItemType<T::CrossAccountId>,2410 ) {2411 let current_index = <ItemListIndex>::get(collection_id).checked_add(1).unwrap();24122413 let value = item.owner.first().unwrap().fraction;2414 let owner = item.owner.first().unwrap().owner.clone();24152416 Self::add_token_index(2417 &CollectionHandle::get(collection_id).unwrap(),2418 current_index,2419 &owner,2420 )2421 .unwrap();24222423 <ItemListIndex>::insert(collection_id, current_index);24242425 // Update balance2426 let new_balance = <Balance<T>>::get(collection_id, &owner.as_sub())2427 .checked_add(value)2428 .unwrap();2429 <Balance<T>>::insert(collection_id, owner.as_sub(), new_balance);2430 }24312432 fn add_token_index(2433 collection: &CollectionHandle<T>,2434 item_index: TokenId,2435 owner: &T::CrossAccountId,2436 ) -> DispatchResult {2437 collection.consume_sload()?;2438 let list_exists = <AddressTokens<T>>::contains_key(collection.id, owner.as_sub());2439 if list_exists {2440 collection.consume_sload()?;2441 let mut list = <AddressTokens<T>>::get(collection.id, owner.as_sub());24422443 // bound Owned tokens by a single address in collection2444 let account_items: u32 = list.len() as u32;2445 ensure!(2446 account_items < ACCOUNT_TOKEN_OWNERSHIP_LIMIT,2447 Error::<T>::AddressOwnershipLimitExceeded2448 );24492450 let item_contains = list.contains(&item_index.clone());24512452 if !item_contains {2453 list.push(item_index);2454 }24552456 collection.consume_sstore()?;2457 <AddressTokens<T>>::insert(collection.id, owner.as_sub(), list);2458 } else {2459 let itm = vec![item_index];2460 collection.consume_sstore()?;2461 <AddressTokens<T>>::insert(collection.id, owner.as_sub(), itm);2462 }24632464 Ok(())2465 }24662467 fn remove_token_index(2468 collection: &CollectionHandle<T>,2469 item_index: TokenId,2470 owner: &T::CrossAccountId,2471 ) -> DispatchResult {2472 collection.consume_sload()?;2473 let list_exists = <AddressTokens<T>>::contains_key(collection.id, owner.as_sub());2474 if list_exists {2475 collection.consume_sload()?;2476 let mut list = <AddressTokens<T>>::get(collection.id, owner.as_sub());2477 let item_contains = list.contains(&item_index.clone());24782479 if item_contains {2480 list.retain(|&item| item != item_index);2481 collection.consume_sstore()?;2482 <AddressTokens<T>>::insert(collection.id, owner.as_sub(), list);2483 }2484 }24852486 Ok(())2487 }24882489 fn move_token_index(2490 collection: &CollectionHandle<T>,2491 item_index: TokenId,2492 old_owner: &T::CrossAccountId,2493 new_owner: &T::CrossAccountId,2494 ) -> DispatchResult {2495 Self::remove_token_index(collection, item_index, old_owner)?;2496 Self::add_token_index(collection, item_index, new_owner)?;24972498 Ok(())2499 }2500}25012502sp_api::decl_runtime_apis! {2503 pub trait NftApi {2504 /// Used for ethereum integration2505 fn eth_contract_code(account: H160) -> Option<Vec<u8>>;2506 }2507}pallets/nft/src/tests.rsdiffbeforeafterboth--- a/pallets/nft/src/tests.rs
+++ b/pallets/nft/src/tests.rs
@@ -2005,56 +2005,285 @@
}
#[test]
-fn collection_transfer_flag_works() {
+fn set_variable_meta_data_on_nft_with_item_owner_permission_flag() {
new_test_ext().execute_with(|| {
- let origin1 = Origin::signed(1);
+ //default_limits();
let collection_id = create_test_collection(&CollectionMode::NFT, 1);
- assert_ok!(TemplateModule::set_transfers_enabled_flag(origin1, 1, true));
+ let origin1 = Origin::signed(1);
+
let data = default_nft_data();
- create_test_item(collection_id, &data.into());
- assert_eq!(TemplateModule::balance_count(1, 1), 1);
- assert_eq!(TemplateModule::address_tokens(1, 1), [1]);
+ create_test_item(1, &data.into());
- let origin1 = Origin::signed(1);
+ TemplateModule::set_meta_update_permission_flag(
+ origin1.clone(),
+ collection_id,
+ MetaUpdatePermission::ItemOwner,
+ );
- // default scenario
- assert_ok!(TemplateModule::transfer(origin1, account(2), 1, 1, 1000));
- assert_eq!(TemplateModule::nft_item_id(1, 1).unwrap().owner, account(2));
- assert_eq!(TemplateModule::balance_count(1, 1), 0);
- assert_eq!(TemplateModule::balance_count(1, 2), 1);
+ let variable_data = b"ten chars.".to_vec();
+ assert_ok!(TemplateModule::set_variable_meta_data(
+ origin1,
+ collection_id,
+ 1,
+ variable_data.clone()
+ ));
- assert_eq!(TemplateModule::address_tokens(1, 2), [1]);
+ assert_eq!(
+ TemplateModule::nft_item_id(collection_id, 1)
+ .unwrap()
+ .variable_data,
+ variable_data
+ );
});
}
#[test]
-fn collection_transfer_flag_works_neg() {
+fn set_variable_meta_data_on_nft_with_item_owner_permission_flag_neg() {
new_test_ext().execute_with(|| {
+ // default_limits();
+
+ let collection_id = create_test_collection_for_owner(&CollectionMode::NFT, 2, 1);
+
let origin1 = Origin::signed(1);
+ let origin2 = Origin::signed(2);
- let collection_id = create_test_collection(&CollectionMode::NFT, 1);
- assert_ok!(TemplateModule::set_transfers_enabled_flag(
- origin1, 1, false
+ assert_ok!(TemplateModule::set_mint_permission(
+ origin2.clone(),
+ collection_id,
+ true
+ ));
+ assert_ok!(TemplateModule::add_to_white_list(
+ origin2.clone(),
+ collection_id,
+ account(1)
));
let data = default_nft_data();
- create_test_item(collection_id, &data.into());
- assert_eq!(TemplateModule::balance_count(1, 1), 1);
- assert_eq!(TemplateModule::address_tokens(1, 1), [1]);
+ create_test_item(1, &data.into());
- let origin1 = Origin::signed(1);
+ assert_ok!(TemplateModule::set_meta_update_permission_flag(
+ origin2.clone(),
+ collection_id,
+ MetaUpdatePermission::ItemOwner,
+ ));
- // default scenario
+ let variable_data = b"ten chars.++".to_vec();
assert_noop!(
- TemplateModule::transfer(origin1, account(2), 1, 1, 1000),
- Error::<Test>::TransferNotAllowed
+ TemplateModule::set_variable_meta_data(
+ origin2,
+ collection_id,
+ 1,
+ variable_data.clone()
+ ),
+ Error::<Test>::TokenVariableDataLimitExceeded
);
- assert_eq!(TemplateModule::nft_item_id(1, 1).unwrap().owner, account(1));
- assert_eq!(TemplateModule::balance_count(1, 1), 1);
- assert_eq!(TemplateModule::balance_count(1, 2), 0);
- assert_eq!(TemplateModule::address_tokens(1, 1), [1]);
+ #[test]
+ fn collection_transfer_flag_works() {
+ new_test_ext().execute_with(|| {
+ let origin1 = Origin::signed(1);
+
+ let collection_id = create_test_collection(&CollectionMode::NFT, 1);
+ assert_ok!(TemplateModule::set_transfers_enabled_flag(origin1, 1, true));
+
+ let data = default_nft_data();
+ create_test_item(collection_id, &data.into());
+ assert_eq!(TemplateModule::balance_count(1, 1), 1);
+ assert_eq!(TemplateModule::address_tokens(1, 1), [1]);
+
+ let origin1 = Origin::signed(1);
+
+ // default scenario
+ assert_ok!(TemplateModule::transfer(origin1, account(2), 1, 1, 1000));
+ assert_eq!(TemplateModule::nft_item_id(1, 1).unwrap().owner, account(2));
+ assert_eq!(TemplateModule::balance_count(1, 1), 0);
+ assert_eq!(TemplateModule::balance_count(1, 2), 1);
+
+ assert_eq!(TemplateModule::address_tokens(1, 2), [1]);
+ });
+ }
+
+ #[test]
+ fn set_variable_meta_data_on_nft_with_admin_flag() {
+ new_test_ext().execute_with(|| {
+ // default_limits();
+
+ let collection_id = create_test_collection_for_owner(&CollectionMode::NFT, 2, 1);
+
+ let origin1 = Origin::signed(1);
+ let origin2 = Origin::signed(2);
+
+ assert_ok!(TemplateModule::set_mint_permission(
+ origin2.clone(),
+ collection_id,
+ true
+ ));
+ assert_ok!(TemplateModule::add_to_white_list(
+ origin2.clone(),
+ collection_id,
+ account(1)
+ ));
+
+ assert_ok!(TemplateModule::add_collection_admin(
+ origin2.clone(),
+ collection_id,
+ account(1)
+ ));
+
+ let data = default_nft_data();
+ create_test_item(1, &data.into());
+
+ assert_ok!(TemplateModule::set_meta_update_permission_flag(
+ origin2.clone(),
+ collection_id,
+ MetaUpdatePermission::Admin,
+ ));
+
+ let variable_data = b"test set_variable_meta_data method.".to_vec();
+ assert_ok!(TemplateModule::set_variable_meta_data(
+ origin1,
+ collection_id,
+ 1,
+ variable_data.clone()
+ ));
+
+ assert_eq!(
+ TemplateModule::nft_item_id(collection_id, 1)
+ .unwrap()
+ .variable_data,
+ variable_data
+ );
+ });
+ }
+
+ #[test]
+ fn set_variable_meta_data_on_nft_with_admin_flag_neg() {
+ new_test_ext().execute_with(|| {
+ // default_limits();
+
+ let collection_id = create_test_collection_for_owner(&CollectionMode::NFT, 2, 1);
+
+ let origin1 = Origin::signed(1);
+ let origin2 = Origin::signed(2);
+
+ assert_ok!(TemplateModule::set_mint_permission(
+ origin2.clone(),
+ collection_id,
+ true
+ ));
+ assert_ok!(TemplateModule::add_to_white_list(
+ origin2.clone(),
+ collection_id,
+ account(1)
+ ));
+
+ let data = default_nft_data();
+ create_test_item(1, &data.into());
+
+ assert_ok!(TemplateModule::set_meta_update_permission_flag(
+ origin2.clone(),
+ collection_id,
+ MetaUpdatePermission::Admin,
+ ));
+
+ let variable_data = b"test set_variable_meta_data method.".to_vec();
+ assert_noop!(
+ TemplateModule::set_variable_meta_data(
+ origin1,
+ collection_id,
+ 1,
+ variable_data.clone()
+ ),
+ Error::<Test>::NoPermission
+ );
+ });
+ }
+
+ #[test]
+ fn set_variable_meta_flag_after_freeze() {
+ new_test_ext().execute_with(|| {
+ // default_limits();
+
+ let collection_id = create_test_collection_for_owner(&CollectionMode::NFT, 2, 1);
+
+ let origin2 = Origin::signed(2);
+
+ assert_ok!(TemplateModule::set_meta_update_permission_flag(
+ origin2.clone(),
+ collection_id,
+ MetaUpdatePermission::None,
+ ));
+ assert_noop!(
+ TemplateModule::set_meta_update_permission_flag(
+ origin2.clone(),
+ collection_id,
+ MetaUpdatePermission::Admin
+ ),
+ Error::<Test>::MetadataFlagFrozen
+ );
+ });
+ }
+
+ #[test]
+ fn set_variable_meta_data_on_nft_with_none_flag_neg() {
+ new_test_ext().execute_with(|| {
+ // default_limits();
+
+ let collection_id = create_test_collection_for_owner(&CollectionMode::NFT, 1, 1);
+ let origin1 = Origin::signed(1);
+
+ let data = default_nft_data();
+ create_test_item(1, &data.into());
+
+ assert_ok!(TemplateModule::set_meta_update_permission_flag(
+ origin1.clone(),
+ collection_id,
+ MetaUpdatePermission::None,
+ ));
+
+ let variable_data = b"test set_variable_meta_data method.".to_vec();
+ assert_noop!(
+ TemplateModule::set_variable_meta_data(
+ origin1.clone(),
+ collection_id,
+ 1,
+ variable_data.clone()
+ ),
+ Error::<Test>::MetadataUpdateDenied
+ );
+ });
+ }
+
+ #[test]
+ fn collection_transfer_flag_works_neg() {
+ new_test_ext().execute_with(|| {
+ let origin1 = Origin::signed(1);
+
+ let collection_id = create_test_collection(&CollectionMode::NFT, 1);
+ assert_ok!(TemplateModule::set_transfers_enabled_flag(
+ origin1, 1, false
+ ));
+
+ let data = default_nft_data();
+ create_test_item(collection_id, &data.into());
+ assert_eq!(TemplateModule::balance_count(1, 1), 1);
+ assert_eq!(TemplateModule::address_tokens(1, 1), [1]);
+
+ let origin1 = Origin::signed(1);
+
+ // default scenario
+ assert_noop!(
+ TemplateModule::transfer(origin1, account(2), 1, 1, 1000),
+ Error::<Test>::TransferNotAllowed
+ );
+ assert_eq!(TemplateModule::nft_item_id(1, 1).unwrap().owner, account(1));
+ assert_eq!(TemplateModule::balance_count(1, 1), 1);
+ assert_eq!(TemplateModule::balance_count(1, 2), 0);
+
+ assert_eq!(TemplateModule::address_tokens(1, 1), [1]);
+ });
+ }
});
}
pallets/scheduler/Cargo.tomldiffbeforeafterboth--- a/pallets/scheduler/Cargo.toml
+++ b/pallets/scheduler/Cargo.toml
@@ -12,19 +12,19 @@
[dependencies]
serde = { version = "1.0.119", default-features = false }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false }
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-io = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-benchmarking = { default-features = false, version = '3.0.0', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-io = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-benchmarking = { default-features = false, version = '4.0.0-dev', optional = true, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
up-sponsorship = { default-features = false, path = "../../primitives/sponsorship", version = "0.1.0" }
log = { version = "0.4.14", default-features = false }
[dev-dependencies]
-sp-core = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-substrate-test-utils = { version = "3.0.0", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+sp-core = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+substrate-test-utils = { version = "4.0.0-dev", git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
[features]
default = ["std"]
pallets/scheduler/src/lib.rsdiffbeforeafterboth--- a/pallets/scheduler/src/lib.rs
+++ b/pallets/scheduler/src/lib.rs
@@ -794,8 +794,8 @@
use super::*;
use frame_support::{
- parameter_types, assert_ok, ord_parameter_types, assert_noop, assert_err, Hashable,
- traits::{OnInitialize, OnFinalize, Filter},
+ Hashable, assert_err, assert_noop, assert_ok, ord_parameter_types, parameter_types,
+ traits::{Contains, Filter, OnFinalize, OnInitialize},
weights::constants::RocksDbWeight,
};
use sp_core::H256;
@@ -870,8 +870,8 @@
// Scheduler must dispatch with root and no filter, this tests base filter is indeed not used.
pub struct BaseFilter;
- impl Filter<Call> for BaseFilter {
- fn filter(call: &Call) -> bool {
+ impl Contains<Call> for BaseFilter {
+ fn contains(call: &Call) -> bool {
!matches!(call, Call::Logger(logger::Call::log(_, _)))
}
}
primitives/nft/Cargo.tomldiffbeforeafterboth--- a/primitives/nft/Cargo.toml
+++ b/primitives/nft/Cargo.toml
@@ -9,14 +9,17 @@
version = '0.9.0'
[dependencies]
-codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = ['derive'] }
-serde = { version = "1.0.119", features = ['derive'], default-features = false, optional = true }
-max-encoded-len = { default-features = false, features = ['derive'], version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-support = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-frame-system = { default-features = false, version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-core = { version = "3.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-std = { version = "3.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
-sp-runtime = { version = "3.0.0", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
+codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = [
+ 'derive',
+] }
+serde = { version = "1.0.119", features = [
+ 'derive',
+], default-features = false, optional = true }
+frame-support = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+frame-system = { default-features = false, version = '4.0.0-dev', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-core = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-std = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
+sp-runtime = { version = "4.0.0-dev", default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.9' }
derivative = "2.2.0"
[features]
@@ -25,7 +28,6 @@
"serde1",
"serde/std",
"codec/std",
- "max-encoded-len/std",
"frame-system/std",
"frame-support/std",
"sp-runtime/std",
@@ -33,4 +35,4 @@
"sp-std/std",
]
serde1 = ["serde"]
-limit-testing = []
\ No newline at end of file
+limit-testing = []
primitives/nft/src/lib.rsdiffbeforeafterboth--- a/primitives/nft/src/lib.rs
+++ b/primitives/nft/src/lib.rs
@@ -4,8 +4,7 @@
pub use serde::{Serialize, Deserialize};
use sp_runtime::sp_std::prelude::Vec;
-use codec::{Decode, Encode};
-use max_encoded_len::MaxEncodedLen;
+use codec::{Decode, Encode, MaxEncodedLen};
pub use frame_support::{
BoundedVec, construct_runtime, decl_event, decl_module, decl_storage, decl_error,
dispatch::DispatchResult,
@@ -186,6 +185,7 @@
pub limits: CollectionLimits<T::BlockNumber>, // Collection private restrictions
pub variable_on_chain_schema: Vec<u8>, //
pub const_on_chain_schema: Vec<u8>, //
+ pub meta_update_permission: MetaUpdatePermission,
pub transfers_enabled: bool,
}
@@ -306,6 +306,20 @@
pub pieces: u128,
}
+#[derive(Encode, Decode, Debug, Clone, PartialEq)]
+#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
+pub enum MetaUpdatePermission {
+ ItemOwner,
+ Admin,
+ None,
+}
+
+impl Default for MetaUpdatePermission {
+ fn default() -> Self {
+ Self::ItemOwner
+ }
+}
+
#[derive(Encode, Decode, MaxEncodedLen, PartialEq, Clone, Debug)]
#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
pub enum CreateItemData {
runtime/Cargo.tomldiffbeforeafterboth--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -34,7 +34,6 @@
]
std = [
'codec/std',
- 'max-encoded-len/std',
'cumulus-pallet-aura-ext/std',
'cumulus-pallet-parachain-system/std',
'cumulus-pallet-xcm/std',
@@ -89,10 +88,7 @@
'xcm-builder/std',
'xcm-executor/std',
]
-limit-testing = [
- 'pallet-nft/limit-testing',
- 'nft-data-structs/limit-testing',
-]
+limit-testing = ['pallet-nft/limit-testing', 'nft-data-structs/limit-testing']
################################################################################
# Substrate Dependencies
@@ -107,39 +103,39 @@
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-executive]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-system-benchmarking]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
optional = true
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.frame-system-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.hex-literal]
optional = true
@@ -154,153 +150,153 @@
[dependencies.pallet-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-balances]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
# Contracts specific packages
# [dependencies.pallet-contracts]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
-# branch = 'polkadot-v0.9.8'
-# version = '3.0.0'
+# branch = 'polkadot-v0.9.9'
+# version = '4.0.0-dev'
# [dependencies.pallet-contracts-primitives]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
-# branch = 'polkadot-v0.9.8'
-# version = '3.0.0'
+# branch = 'polkadot-v0.9.9'
+# version = '4.0.0-dev'
# [dependencies.pallet-contracts-rpc-runtime-api]
# git = 'https://github.com/paritytech/substrate.git'
# default-features = false
-# branch = 'polkadot-v0.9.8'
-# version = '3.0.0'
+# branch = 'polkadot-v0.9.9'
+# version = '4.0.0-dev'
[dependencies.pallet-randomness-collective-flip]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-sudo]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-timestamp]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-transaction-payment]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-transaction-payment-rpc-runtime-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-treasury]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.pallet-vesting]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-arithmetic]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-api]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-block-builder]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-consensus-aura]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '0.9.0'
+branch = 'polkadot-v0.9.9'
+version = '0.10.0-dev'
[dependencies.sp-inherents]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-offchain]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-session]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-std]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-transaction-pool]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.sp-version]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
-branch = 'polkadot-v0.9.8'
-version = '3.0.0'
+branch = 'polkadot-v0.9.9'
+version = '4.0.0-dev'
[dependencies.smallvec]
version = '1.4.1'
@@ -311,47 +307,47 @@
[dependencies.parachain-info]
default-features = false
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
version = '0.1.0'
[dependencies.cumulus-pallet-aura-ext]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
[dependencies.cumulus-pallet-parachain-system]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
[dependencies.cumulus-primitives-core]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
[dependencies.cumulus-pallet-xcm]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
[dependencies.cumulus-pallet-dmp-queue]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
[dependencies.cumulus-pallet-xcmp-queue]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
[dependencies.cumulus-primitives-utility]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
[dependencies.cumulus-primitives-timestamp]
git = 'https://github.com/paritytech/cumulus.git'
-branch = 'polkadot-v0.9.8'
+branch = 'polkadot-v0.9.9'
default-features = false
################################################################################
@@ -359,27 +355,27 @@
[dependencies.polkadot-parachain]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
default-features = false
[dependencies.xcm]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
default-features = false
[dependencies.xcm-builder]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
default-features = false
[dependencies.xcm-executor]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
default-features = false
[dependencies.pallet-xcm]
git = 'https://github.com/paritytech/polkadot'
-branch = 'release-v0.9.8'
+branch = 'release-v0.9.9'
default-features = false
@@ -387,7 +383,6 @@
# local dependencies
[dependencies]
-max-encoded-len = { default-features = false, features = ['derive'], version = '3.0.0', git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.8' }
derivative = "2.2.0"
pallet-nft = { path = '../pallets/nft', default-features = false, version = '3.0.0' }
pallet-inflation = { path = '../pallets/inflation', default-features = false, version = '3.0.0' }
@@ -401,9 +396,9 @@
pallet-evm-transaction-payment = { path = '../pallets/evm-transaction-payment', default-features = false }
pallet-evm-coder-substrate = { default-features = false, path = "../pallets/evm-coder-substrate" }
-pallet-evm = { default-features = false, version = "5.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-pallet-ethereum = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
-fp-rpc = { default-features = false, version = "2.0.0", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-evm = { default-features = false, version = "6.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+pallet-ethereum = { default-features = false, version = "4.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
+fp-rpc = { default-features = false, version = "3.0.0-dev", git = "https://github.com/uniquenetwork/frontier.git", branch = "injected-transactions-parachain" }
################################################################################
# Build Dependencies
runtime/src/lib.rsdiffbeforeafterboth--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -45,8 +45,8 @@
dispatch::DispatchResult,
PalletId, parameter_types, StorageValue, ConsensusEngineId,
traits::{
- All, Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem, LockIdentifier,
- OnUnbalanced, Randomness, FindAuthor,
+ Everything, Currency, ExistenceRequirement, Get, IsInVec, KeyOwnerProofSystem,
+ LockIdentifier, OnUnbalanced, Randomness, FindAuthor,
},
weights::{
constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_PER_SECOND},
@@ -79,8 +79,7 @@
// Polkadot imports
use pallet_xcm::XcmPassthrough;
use polkadot_parachain::primitives::Sibling;
-use xcm::v0::Xcm;
-use xcm::v0::{BodyId, Junction::*, MultiAsset, MultiLocation, MultiLocation::*, NetworkId};
+use xcm::v0::{BodyId, Junction::*, MultiLocation, MultiLocation::*, NetworkId};
use xcm_builder::{
AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter,
EnsureXcmOrigin, FixedWeightBounds, IsConcrete, LocationInverter, NativeAsset,
@@ -242,7 +241,7 @@
type BlockGasLimit = BlockGasLimit;
type FeeCalculator = ();
type GasWeightMapping = ();
- type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping;
+ type BlockHashMapping = pallet_ethereum::EthereumBlockHashMapping<Self>;
type CallOrigin = EnsureAddressTruncated;
type WithdrawOrigin = EnsureAddressTruncated;
type AddressMapping = HashedAddressMapping<Self::Hashing>;
@@ -298,7 +297,7 @@
/// The identifier used to distinguish between accounts.
type AccountId = AccountId;
/// The basic call filter to use in dispatchable.
- type BaseCallFilter = ();
+ type BaseCallFilter = Everything;
/// Maximum number of block number to block hash mappings to keep (oldest pruned first).
type BlockHashCount = BlockHashCount;
/// The maximum length of a block (in bytes).
@@ -611,7 +610,7 @@
pub type Barrier = (
TakeWeightCredit,
- AllowTopLevelPaidExecutionFrom<All<MultiLocation>>,
+ AllowTopLevelPaidExecutionFrom<Everything>,
AllowUnpaidExecutionFrom<ParentOrParentsUnitPlurality>,
// ^^^ Parent & its unit plurality gets free execution
);
@@ -624,7 +623,7 @@
type AssetTransactor = LocalAssetTransactor;
type OriginConverter = XcmOriginToTransactDispatchOrigin;
type IsReserve = NativeAsset;
- type IsTeleporter = NativeAsset; // <- should be enough to allow teleportation of ROC
+ type IsTeleporter = (); // Teleportation is disabled
type LocationInverter = LocationInverter<Ancestry>;
type Barrier = Barrier;
type Weigher = FixedWeightBounds<UnitWeightCost, Call>;
@@ -649,7 +648,7 @@
);
impl pallet_evm_coder_substrate::Config for Runtime {
- type EthereumTransactionSender = pallet_ethereum::Module<Self>;
+ type EthereumTransactionSender = pallet_ethereum::Pallet<Self>;
}
impl pallet_xcm::Config for Runtime {
@@ -657,11 +656,12 @@
type SendXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;
type XcmRouter = XcmRouter;
type ExecuteXcmOrigin = EnsureXcmOrigin<Origin, LocalOriginToLocation>;
- type XcmExecuteFilter = All<(MultiLocation, Xcm<Call>)>;
+ type XcmExecuteFilter = Everything;
type XcmExecutor = XcmExecutor<XcmConfig>;
- type XcmTeleportFilter = All<(MultiLocation, Vec<MultiAsset>)>;
+ type XcmTeleportFilter = Everything;
type XcmReserveTransferFilter = ();
type Weigher = FixedWeightBounds<UnitWeightCost, Call>;
+ type LocationInverter = LocationInverter<Ancestry>;
}
impl cumulus_pallet_xcm::Config for Runtime {
@@ -683,6 +683,7 @@
impl pallet_aura::Config for Runtime {
type AuthorityId = AuraId;
+ type DisabledValidators = ();
}
parameter_types! {
@@ -785,7 +786,7 @@
NodeBlock = opaque::Block,
UncheckedExtrinsic = UncheckedExtrinsic
{
- ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Storage, Inherent, Event<T>} = 20,
+ ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Storage, Inherent, Event<T>, ValidateUnsigned} = 20,
ParachainInfo: parachain_info::{Pallet, Storage, Config} = 21,
Aura: pallet_aura::{Pallet, Config<T>} = 22,
@@ -978,7 +979,7 @@
}
fn author() -> H160 {
- <pallet_evm::Module<Runtime>>::find_author()
+ <pallet_evm::Pallet<Runtime>>::find_author()
}
fn storage_at(address: H160, index: U256) -> H256 {
runtime_types.jsondiffbeforeafterboth--- a/runtime_types.json
+++ b/runtime_types.json
@@ -63,6 +63,7 @@
"Limits": "CollectionLimits",
"VariableOnChainSchema": "Vec<u8>",
"ConstOnChainSchema": "Vec<u8>",
+ "MetaUpdatePermission": "MetaUpdatePermission",
"TransfersEnabled": "bool"
},
"RawData": "Vec<u8>",
@@ -94,6 +95,13 @@
"Unique"
]
},
+ "MetaUpdatePermission": {
+ "_enum": [
+ "ItemOwner",
+ "Admin",
+ "None"
+ ]
+ },
"CollectionId": "u32",
"TokenId": "u32",
"ChainLimits": {
tests/package.jsondiffbeforeafterboth--- a/tests/package.json
+++ b/tests/package.json
@@ -4,9 +4,9 @@
"description": "Substrate Nft tests",
"main": "",
"devDependencies": {
- "@polkadot/dev": "0.62.60",
- "@polkadot/ts": "0.4.4",
- "@polkadot/typegen": "5.5.1",
+ "@polkadot/dev": "0.62.66",
+ "@polkadot/ts": "0.4.7",
+ "@polkadot/typegen": "5.8.3",
"@types/chai": "^4.2.17",
"@types/chai-as-promised": "^7.1.3",
"@types/mocha": "^8.2.2",
@@ -28,6 +28,7 @@
"load": "mocha --timeout 9999999 -r ts-node/register './**/*.load.ts'",
"loadTransfer": "ts-node src/transfer.nload.ts",
"testCollision": "mocha --timeout 9999999 -r ts-node/register ./src/collision-tests/*.test.ts",
+ "testEvent": "mocha --timeout 9999999 -r ts-node/register ./src/check-event/*.test.ts",
"testAddCollectionAdmin": "mocha --timeout 9999999 -r ts-node/register ./**/addCollectionAdmin.test.ts",
"testSetSchemaVersion": "mocha --timeout 9999999 -r ts-node/register ./**/setSchemaVersion.test.ts",
"testSetVariableMetaData": "mocha --timeout 9999999 -r ts-node/register ./**/setVariableMetaData.test.ts",
@@ -66,9 +67,9 @@
"license": "SEE LICENSE IN ../LICENSE",
"homepage": "",
"dependencies": {
- "@polkadot/api": "5.5.1",
- "@polkadot/api-contract": "5.5.1",
- "@polkadot/util-crypto": "^7.2.1",
+ "@polkadot/api": "5.8.3",
+ "@polkadot/api-contract": "5.8.3",
+ "@polkadot/util-crypto": "^7.3.1",
"bignumber.js": "^9.0.1",
"chai-as-promised": "^7.1.1",
"solc": "^0.8.6",
tests/src/addCollectionAdmin.test.tsdiffbeforeafterboth--- a/tests/src/addCollectionAdmin.test.ts
+++ b/tests/src/addCollectionAdmin.test.ts
@@ -4,7 +4,6 @@
//
import { ApiPromise } from '@polkadot/api';
-import BN from 'bn.js';
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import privateKey from './substrate/privateKey';
tests/src/check-event/createItemEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/createItemEvent.test.ts
+++ b/tests/src/check-event/createItemEvent.test.ts
@@ -10,7 +10,7 @@
import chaiAsPromised from 'chai-as-promised';
import privateKey from '../substrate/privateKey';
import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import { createCollectionExpectSuccess, nftEventMessage } from '../util/helpers';
+import { createCollectionExpectSuccess, nftEventMessage, normalizeAccountId } from '../util/helpers';
chai.use(chaiAsPromised);
const expect = chai.expect;
@@ -28,7 +28,7 @@
it('Check event from createItem(): ', async () => {
await usingApi(async (api: ApiPromise) => {
const collectionID = await createCollectionExpectSuccess();
- const createItem = api.tx.nft.createItem(collectionID, Alice.address, 'NFT');
+ const createItem = api.tx.nft.createItem(collectionID, normalizeAccountId(Alice.address), 'NFT');
const events = await submitTransactionAsync(Alice, createItem);
const msg = JSON.stringify(nftEventMessage(events));
expect(msg).to.be.contain(checkSection);
tests/src/check-event/createMultipleItemsEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/createMultipleItemsEvent.test.ts
+++ b/tests/src/check-event/createMultipleItemsEvent.test.ts
@@ -10,7 +10,7 @@
import chaiAsPromised from 'chai-as-promised';
import privateKey from '../substrate/privateKey';
import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import { createCollectionExpectSuccess, nftEventMessage } from '../util/helpers';
+import { createCollectionExpectSuccess, nftEventMessage, normalizeAccountId } from '../util/helpers';
chai.use(chaiAsPromised);
const expect = chai.expect;
@@ -29,7 +29,7 @@
await usingApi(async (api: ApiPromise) => {
const collectionID = await createCollectionExpectSuccess();
const args = [{ nft: ['0x31', '0x31'] }, { nft: ['0x32', '0x32'] }, { nft: ['0x33', '0x33'] }];
- const createMultipleItems = api.tx.nft.createMultipleItems(collectionID, Alice.address, args);
+ const createMultipleItems = api.tx.nft.createMultipleItems(collectionID, normalizeAccountId(Alice.address), args);
const events = await submitTransactionAsync(Alice, createMultipleItems);
const msg = JSON.stringify(nftEventMessage(events));
expect(msg).to.be.contain(checkSection);
tests/src/check-event/transferEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/transferEvent.test.ts
+++ b/tests/src/check-event/transferEvent.test.ts
@@ -10,7 +10,7 @@
import chaiAsPromised from 'chai-as-promised';
import privateKey from '../substrate/privateKey';
import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import { createCollectionExpectSuccess, createItemExpectSuccess, nftEventMessage } from '../util/helpers';
+import { createCollectionExpectSuccess, createItemExpectSuccess, nftEventMessage, normalizeAccountId } from '../util/helpers';
chai.use(chaiAsPromised);
const expect = chai.expect;
@@ -31,7 +31,7 @@
await usingApi(async (api: ApiPromise) => {
const collectionID = await createCollectionExpectSuccess();
const itemID = await createItemExpectSuccess(Alice, collectionID, 'NFT');
- const transfer = api.tx.nft.transfer(Bob.address, collectionID, itemID, 1);
+ const transfer = api.tx.nft.transfer(normalizeAccountId(Bob.address), collectionID, itemID, 1);
const events = await submitTransactionAsync(Alice, transfer);
const msg = JSON.stringify(nftEventMessage(events));
expect(msg).to.be.contain(checkSection);
tests/src/check-event/transferFromEvent.test.tsdiffbeforeafterboth--- a/tests/src/check-event/transferFromEvent.test.ts
+++ b/tests/src/check-event/transferFromEvent.test.ts
@@ -10,7 +10,7 @@
import chaiAsPromised from 'chai-as-promised';
import privateKey from '../substrate/privateKey';
import usingApi, {submitTransactionAsync} from '../substrate/substrate-api';
-import { createCollectionExpectSuccess, createItemExpectSuccess, nftEventMessage } from '../util/helpers';
+import { createCollectionExpectSuccess, createItemExpectSuccess, nftEventMessage, normalizeAccountId } from '../util/helpers';
chai.use(chaiAsPromised);
const expect = chai.expect;
@@ -31,7 +31,7 @@
await usingApi(async (api: ApiPromise) => {
const collectionID = await createCollectionExpectSuccess();
const itemID = await createItemExpectSuccess(Alice, collectionID, 'NFT');
- const transferFrom = api.tx.nft.transferFrom(Alice.address, Bob.address, collectionID, itemID, 1);
+ const transferFrom = api.tx.nft.transferFrom(normalizeAccountId(Alice.address), normalizeAccountId(Bob.address), collectionID, itemID, 1);
const events = await submitTransactionAsync(Alice, transferFrom);
const msg = JSON.stringify(nftEventMessage(events));
expect(msg).to.be.contain(checkSection);
tests/src/collision-tests/admVsOwnerChanges.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/admVsOwnerChanges.test.ts
+++ b/tests/src/collision-tests/admVsOwnerChanges.test.ts
@@ -6,6 +6,8 @@
import {
createCollectionExpectSuccess,
createItemExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -25,18 +27,18 @@
describe('Admin vs Owner changes token: ', () => {
// tslint:disable-next-line: max-line-length
it('The collection admin changes the owner of the token and in the same block the current owner transfers the token to another address ', async () => {
+
await usingApi(async (api) => {
const collectionId = await createCollectionExpectSuccess();
- const changeAdminTxBob = api.tx.nft.addCollectionAdmin(collectionId, Bob.address);
+ const changeAdminTxBob = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await submitTransactionAsync(Alice, changeAdminTxBob);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
- const changeAdminTxFerdie = api.tx.nft.addCollectionAdmin(collectionId, Ferdie.address);
+ const changeAdminTxFerdie = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Ferdie.address));
await submitTransactionAsync(Bob, changeAdminTxFerdie);
const itemId = await createItemExpectSuccess(Ferdie, collectionId, 'NFT');
- //
- const changeOwner = api.tx.nft.transferFrom(Ferdie.address, Bob.address, collectionId, itemId, 1);
- const approve = api.tx.nft.approve(Bob.address, collectionId, itemId, 1);
- const sendItem = api.tx.nft.transfer(Alice.address, collectionId, itemId, 1);
+
+ const changeOwner = api.tx.nft.transferFrom(normalizeAccountId(Ferdie.address), normalizeAccountId(Bob.address), collectionId, itemId, 1);
+ const approve = api.tx.nft.approve(normalizeAccountId(Bob.address), collectionId, itemId, 1);
+ const sendItem = api.tx.nft.transfer(normalizeAccountId(Alice.address), collectionId, itemId, 1);
await Promise.all([
changeOwner.signAndSend(Alice),
approve.signAndSend(Bob),
@@ -44,7 +46,7 @@
]);
const itemBefore: any = await api.query.nft.nftItemList(collectionId, itemId);
expect(itemBefore.Owner).not.to.be.eq(Bob.address);
- await timeoutPromise(20000);
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/admVsOwnerData.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/admVsOwnerData.test.ts
+++ b/tests/src/collision-tests/admVsOwnerData.test.ts
@@ -6,6 +6,8 @@
import {
createCollectionExpectSuccess,
createItemExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -26,9 +28,8 @@
const AliceData = 1;
const BobData = 2;
const collectionId = await createCollectionExpectSuccess();
- const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, Bob.address);
+ const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await submitTransactionAsync(Alice, changeAdminTx);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
const itemId = await createItemExpectSuccess(Bob, collectionId, 'NFT');
//
// tslint:disable-next-line: max-line-length
@@ -41,7 +42,7 @@
]);
const item: any = await api.query.nft.nftItemList(collectionId, itemId);
expect(item.VariableData).not.to.be.eq(null); // Pseudo-random selection of one of two values
- await timeoutPromise(20000);
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/admVsOwnerTake.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/admVsOwnerTake.test.ts
+++ b/tests/src/collision-tests/admVsOwnerTake.test.ts
@@ -6,6 +6,8 @@
import {
createCollectionExpectSuccess,
createItemExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -27,23 +29,22 @@
it('The collection admin burns the token and in the same block the token owner performs a transaction on it ', async () => {
await usingApi(async (api) => {
const collectionId = await createCollectionExpectSuccess();
- const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, Bob.address);
+ const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await submitTransactionAsync(Alice, changeAdminTx);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
const itemId = await createItemExpectSuccess(Bob, collectionId, 'NFT');
//
- const sendItem = api.tx.nft.transfer(Ferdie.address, collectionId, itemId, 1);
+ const sendItem = api.tx.nft.transfer(normalizeAccountId(Ferdie.address), collectionId, itemId, 1);
const burnItem = api.tx.nft.burnItem(collectionId, itemId, 1);
await Promise.all([
sendItem.signAndSend(Bob),
burnItem.signAndSend(Alice),
]);
- await timeoutPromise(10000);
+ await waitNewBlocks(2);
let itemBurn = false;
itemBurn = (await (api.query.nft.nftItemList(collectionId, itemId))).toJSON() as boolean;
// tslint:disable-next-line: no-unused-expression
expect(itemBurn).to.be.null;
- await timeoutPromise(20000);
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/adminDestroyCollection.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/adminDestroyCollection.test.ts
+++ b/tests/src/collision-tests/adminDestroyCollection.test.ts
@@ -5,6 +5,8 @@
import usingApi, { submitTransactionAsync } from '../substrate/substrate-api';
import {
createCollectionExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -26,23 +28,22 @@
it('Adding an address to the collection whitelist in a block by the admin, and deleting the collection by the owner ', async () => {
await usingApi(async (api) => {
const collectionId = await createCollectionExpectSuccess();
- const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, Bob.address);
+ const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await submitTransactionAsync(Alice, changeAdminTx);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
- await timeoutPromise(10000);
+ await waitNewBlocks(1);
//
- const addWhitelistAdm = api.tx.nft.addToWhiteList(collectionId, Ferdie.address);
+ const addWhitelistAdm = api.tx.nft.addToWhiteList(collectionId, normalizeAccountId(Ferdie.address));
const destroyCollection = api.tx.nft.destroyCollection(collectionId);
await Promise.all([
addWhitelistAdm.signAndSend(Bob),
destroyCollection.signAndSend(Alice),
]);
- await timeoutPromise(10000);
+ await waitNewBlocks(1);
let whiteList = false;
whiteList = (await api.query.nft.whiteList(collectionId, Ferdie.address)).toJSON() as boolean;
// tslint:disable-next-line: no-unused-expression
expect(whiteList).to.be.false;
- await timeoutPromise(20000);
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/adminLimitsOff.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/adminLimitsOff.test.ts
+++ b/tests/src/collision-tests/adminLimitsOff.test.ts
@@ -1,11 +1,12 @@
import { IKeyringPair } from '@polkadot/types/types';
-import BN from 'bn.js';
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import privateKey from '../substrate/privateKey';
import usingApi, { submitTransactionAsync, submitTransactionExpectFailAsync } from '../substrate/substrate-api';
import {
createCollectionExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -37,30 +38,28 @@
const chainAdminLimit = (api.consts.nft.collectionAdminsLimit as any).toNumber();
expect(chainAdminLimit).to.be.equal(5);
- const changeAdminTx1 = api.tx.nft.addCollectionAdmin(collectionId, Eve.address);
+ const changeAdminTx1 = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Eve.address));
await submitTransactionAsync(Alice, changeAdminTx1);
- const changeAdminTx2 = api.tx.nft.addCollectionAdmin(collectionId, Dave.address);
+ const changeAdminTx2 = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Dave.address));
await submitTransactionAsync(Alice, changeAdminTx2);
- const changeAdminTx3 = api.tx.nft.addCollectionAdmin(collectionId, Bob.address);
+ const changeAdminTx3 = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await submitTransactionAsync(Alice, changeAdminTx3);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
- const addAdmOne = api.tx.nft.addCollectionAdmin(collectionId, Ferdie.address);
- const addAdmTwo = api.tx.nft.addCollectionAdmin(collectionId, Charlie.address);
+ const addAdmOne = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Ferdie.address));
+ const addAdmTwo = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Charlie.address));
await Promise.all([
addAdmOne.signAndSend(Bob),
addAdmTwo.signAndSend(Alice),
]);
- await timeoutPromise(10000);
- const changeAdminTx4 = api.tx.nft.addCollectionAdmin(collectionId, Alice.address);
- // tslint:disable-next-line: no-unused-expression
- expect(submitTransactionExpectFailAsync(Alice, changeAdminTx4)).to.be.rejected;
+ await waitNewBlocks(2);
+ const changeAdminTx4 = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Alice.address));
+ await expect(submitTransactionExpectFailAsync(Alice, changeAdminTx4)).to.be.rejected;
const adminListAfterAddAdmin: any = (await api.query.nft.adminList(collectionId));
- expect(adminListAfterAddAdmin).to.be.contains(Eve.address);
- expect(adminListAfterAddAdmin).to.be.contains(Ferdie.address);
- expect(adminListAfterAddAdmin).not.to.be.contains(Alice.address);
- await timeoutPromise(20000);
+ expect(adminListAfterAddAdmin).to.be.contains(normalizeAccountId(Eve.address));
+ expect(adminListAfterAddAdmin).to.be.contains(normalizeAccountId(Ferdie.address));
+ expect(adminListAfterAddAdmin).not.to.be.contains(normalizeAccountId(Alice.address));
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/adminRightsOff.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/adminRightsOff.test.ts
+++ b/tests/src/collision-tests/adminRightsOff.test.ts
@@ -6,6 +6,8 @@
import usingApi, { submitTransactionAsync } from '../substrate/substrate-api';
import {
createCollectionExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -25,23 +27,22 @@
it('In the block, the collection admin adds a token or changes data, and the collection owner deprives the admin of rights ', async () => {
await usingApi(async (api) => {
const collectionId = await createCollectionExpectSuccess();
- const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, Bob.address);
+ const changeAdminTx = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await submitTransactionAsync(Alice, changeAdminTx);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
- await timeoutPromise(10000);
+ await waitNewBlocks(1);
const args = [{ nft: ['0x31', '0x31'] }, { nft: ['0x32', '0x32'] }, { nft: ['0x33', '0x33'] }];
- const addItemAdm = api.tx.nft.createMultipleItems(collectionId, Bob.address, args);
- const removeAdm = api.tx.nft.removeCollectionAdmin(collectionId, Bob.address);
+ const addItemAdm = api.tx.nft.createMultipleItems(collectionId, normalizeAccountId(Bob.address), args);
+ const removeAdm = api.tx.nft.removeCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await Promise.all([
addItemAdm.signAndSend(Bob),
removeAdm.signAndSend(Alice),
]);
- await timeoutPromise(10000);
+ await waitNewBlocks(2);
const itemsListIndex = await api.query.nft.itemListIndex(collectionId) as unknown as BN;
expect(itemsListIndex.toNumber()).to.be.equal(0);
const adminList: any = (await api.query.nft.adminList(collectionId));
- expect(adminList).not.to.be.contains(Bob.address);
- await timeoutPromise(20000);
+ expect(adminList).not.to.be.contains(normalizeAccountId(Bob.address));
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/setSponsorNewOwner.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/setSponsorNewOwner.test.ts
+++ b/tests/src/collision-tests/setSponsorNewOwner.test.ts
@@ -4,7 +4,9 @@
import privateKey from '../substrate/privateKey';
import usingApi from '../substrate/substrate-api';
import {
- createCollectionExpectSuccess, setCollectionSponsorExpectSuccess,
+ createCollectionExpectSuccess,
+ setCollectionSponsorExpectSuccess,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -27,19 +29,18 @@
await usingApi(async (api) => {
const collectionId = await createCollectionExpectSuccess();
await setCollectionSponsorExpectSuccess(collectionId, Bob.address);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
- await timeoutPromise(10000);
+ await waitNewBlocks(2);
const confirmSponsorship = api.tx.nft.confirmSponsorship(collectionId);
const changeCollectionOwner = api.tx.nft.changeCollectionOwner(collectionId, Ferdie.address);
await Promise.all([
confirmSponsorship.signAndSend(Bob),
changeCollectionOwner.signAndSend(Alice),
]);
- await timeoutPromise(10000);
+ await waitNewBlocks(2);
const collection: any = (await api.query.nft.collectionById(collectionId)).toJSON();
- expect(collection.Sponsorship.Confirmed).to.be.eq(Bob.address);
+ expect(collection.Sponsorship.confirmed).to.be.eq(Bob.address);
expect(collection.Owner).to.be.eq(Ferdie.address);
- await timeoutPromise(20000);
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/sponsorPayments.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/sponsorPayments.test.ts
+++ b/tests/src/collision-tests/sponsorPayments.test.ts
@@ -10,6 +10,8 @@
createCollectionExpectSuccess,
createItemExpectSuccess,
setCollectionSponsorExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -29,15 +31,14 @@
it('Payment of commission if one block contains transactions for payment from the sponsor\'s balance and his (sponsor\'s) exclusion from the collection ', async () => {
await usingApi(async (api) => {
const collectionId = await createCollectionExpectSuccess();
- const changeAdminTxBob = api.tx.nft.addCollectionAdmin(collectionId, Bob.address);
+ const changeAdminTxBob = api.tx.nft.addCollectionAdmin(collectionId, normalizeAccountId(Bob.address));
await submitTransactionAsync(Alice, changeAdminTxBob);
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
const itemId = await createItemExpectSuccess(Bob, collectionId, 'NFT');
await setCollectionSponsorExpectSuccess(collectionId, Bob.address);
await confirmSponsorshipExpectSuccess(collectionId, '//Bob');
const [alicesBalanceBefore, bobsBalanceBefore] = await getBalance(api, [alicesPublicKey, bobsPublicKey]);
- const sendItem = api.tx.nft.transfer(Alice.address, collectionId, itemId, 1);
+ const sendItem = api.tx.nft.transfer(normalizeAccountId(Alice.address), collectionId, itemId, 1);
const revokeSponsor = api.tx.nft.removeCollectionSponsor(collectionId);
await Promise.all([
sendItem.signAndSend(Bob),
@@ -48,7 +49,7 @@
expect(alicesBalanceAfter === alicesBalanceBefore).to.be.true;
// tslint:disable-next-line:no-unused-expression
expect(bobsBalanceAfter === bobsBalanceBefore).to.be.true;
- await timeoutPromise(20000);
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/tokenLimitsOff.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/tokenLimitsOff.test.ts
+++ b/tests/src/collision-tests/tokenLimitsOff.test.ts
@@ -9,6 +9,8 @@
createCollectionExpectSuccess,
getCreateItemResult,
setMintPermissionExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -56,23 +58,22 @@
const subTxTesult = getCreateItemResult(subTx);
// tslint:disable-next-line:no-unused-expression
expect(subTxTesult.success).to.be.true;
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
- await timeoutPromise(10000);
+ await waitNewBlocks(2);
const args = [{ nft: ['0x31', '0x31'] }, { nft: ['0x32', '0x32'] }, { nft: ['0x33', '0x33'] }];
const mintItemOne = api.tx.nft
- .createMultipleItems(collectionId, Ferdie.address, args);
+ .createMultipleItems(collectionId, normalizeAccountId(Ferdie.address), args);
const mintItemTwo = api.tx.nft
- .createMultipleItems(collectionId, Bob.address, args);
+ .createMultipleItems(collectionId, normalizeAccountId(Bob.address), args);
await Promise.all([
mintItemOne.signAndSend(Ferdie),
mintItemTwo.signAndSend(Bob),
]);
- await timeoutPromise(10000);
+ await waitNewBlocks(2);
const itemsListIndexAfter = await api.query.nft.itemListIndex(collectionId) as unknown as BN;
expect(itemsListIndexAfter.toNumber()).to.be.equal(3);
// TokenLimit = 4. The first transaction is successful. The second should fail.
- await timeoutPromise(10000);
+ await waitNewBlocks(2);
});
});
});
tests/src/collision-tests/turnsOffMinting.test.tsdiffbeforeafterboth--- a/tests/src/collision-tests/turnsOffMinting.test.ts
+++ b/tests/src/collision-tests/turnsOffMinting.test.ts
@@ -7,6 +7,8 @@
addToWhiteListExpectSuccess,
createCollectionExpectSuccess,
setMintPermissionExpectSuccess,
+ normalizeAccountId,
+ waitNewBlocks,
} from '../util/helpers';
chai.use(chaiAsPromised);
@@ -26,11 +28,10 @@
it('The collection owner turns off minting mode and there are minting transactions in the same block ', async () => {
await usingApi(async (api) => {
const collectionId = await createCollectionExpectSuccess();
- const timeoutPromise = (timeout: number) => new Promise((resolve) => setTimeout(resolve, timeout));
await setMintPermissionExpectSuccess(Alice, collectionId, true);
await addToWhiteListExpectSuccess(Alice, collectionId, Ferdie.address);
- const mintItem = api.tx.nft.createItem(collectionId, Ferdie.address, 'NFT');
+ const mintItem = api.tx.nft.createItem(collectionId, normalizeAccountId(Ferdie.address), 'NFT');
const offMinting = api.tx.nft.setMintPermission(collectionId, false);
await Promise.all([
mintItem.signAndSend(Ferdie),
@@ -40,7 +41,7 @@
itemList = (await (api.query.nft.nftItemList(collectionId, mintItem))).toJSON() as boolean;
// tslint:disable-next-line: no-unused-expression
expect(itemList).to.be.null;
- await timeoutPromise(20000);
+ await waitNewBlocks(2);
});
});
});
tests/src/createCollection.test.tsdiffbeforeafterboth--- a/tests/src/createCollection.test.ts
+++ b/tests/src/createCollection.test.ts
@@ -40,8 +40,7 @@
const badTransaction = async () => {
await createCollectionExpectSuccess({mode: {type: 'Invalid'}});
};
- // tslint:disable-next-line:no-unused-expression
- expect(badTransaction()).to.be.rejected;
+ await expect(badTransaction()).to.be.rejected;
const BcollectionCount = parseInt((await api.query.nft.createdCollectionCount()).toString(), 10);
expect(BcollectionCount).to.be.equal(AcollectionCount, 'Error: Incorrect collection created.');
tests/src/metadataUpdate.test.tsdiffbeforeafterboth--- /dev/null
+++ b/tests/src/metadataUpdate.test.ts
@@ -0,0 +1,204 @@
+
+//
+// This file is subject to the terms and conditions defined in
+// file 'LICENSE', which is part of this source code package.
+//
+
+import chai from 'chai';
+import chaiAsPromised from 'chai-as-promised';
+import privateKey from './substrate/privateKey';
+import usingApi from './substrate/substrate-api';
+import {
+ createItemExpectSuccess,
+ createCollectionExpectSuccess,
+ enablePublicMintingExpectSuccess,
+ enableWhiteListExpectSuccess,
+ setMetadataUpdatePermissionFlagExpectSuccess,
+ setVariableMetaDataExpectSuccess,
+ setMintPermissionExpectSuccess,
+ addToWhiteListExpectSuccess,
+ addCollectionAdminExpectSuccess,
+ setVariableMetaDataExpectFailure,
+ setMetadataUpdatePermissionFlagExpectFailure,
+} from './util/helpers';
+
+chai.use(chaiAsPromised);
+
+describe('Metadata update permissions with ItemOwner flag', () => {
+ it('ItemOwner can set variable metadata with ItemOwner permission flag', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'ItemOwner');
+
+ await setVariableMetaDataExpectSuccess(Alice, nftCollectionId, newNftTokenId, data);
+ });
+ });
+
+ it('Admin can\'n set variable metadata with ItemOwner permission flag', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+ const Bob = privateKey('//Bob');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'ItemOwner');
+
+ await setMintPermissionExpectSuccess(Alice, nftCollectionId, true);
+ await addToWhiteListExpectSuccess(Alice, nftCollectionId, Bob.address);
+ await addCollectionAdminExpectSuccess(Alice, nftCollectionId, Bob);
+
+ await setVariableMetaDataExpectFailure(Bob, nftCollectionId, newNftTokenId, data);
+ });
+ });
+
+ it('User can\'n set variable metadata with ItemOwner permission flag', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+ const Bob = privateKey('//Bob');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'ItemOwner');
+
+ await setMintPermissionExpectSuccess(Alice, nftCollectionId, true);
+ await setVariableMetaDataExpectFailure(Bob, nftCollectionId, newNftTokenId, data);
+ });
+ });
+});
+
+describe('Metadata update permissions with Admin flag', () => {
+ it('Admin can set variable metadata with Admin permission flag', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+ const Bob = privateKey('//Bob');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'Admin');
+
+ await setMintPermissionExpectSuccess(Alice, nftCollectionId, true);
+ await addToWhiteListExpectSuccess(Alice, nftCollectionId, Bob.address);
+ await addCollectionAdminExpectSuccess(Alice, nftCollectionId, Bob);
+
+ await setVariableMetaDataExpectSuccess(Bob, nftCollectionId, newNftTokenId, data);
+ });
+ });
+
+ it('User can\'n can set variable metadata with Admin permission flag', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+ const Bob = privateKey('//Bob');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'Admin');
+
+ await setMintPermissionExpectSuccess(Alice, nftCollectionId, true);
+ await addToWhiteListExpectSuccess(Alice, nftCollectionId, Bob.address);
+ await addCollectionAdminExpectSuccess(Alice, nftCollectionId, Bob);
+
+ await setVariableMetaDataExpectSuccess(Bob, nftCollectionId, newNftTokenId, data);
+ });
+ });
+
+ it('ItemOwner can\'n can set variable metadata with Admin permission flag', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+ const Bob = privateKey('//Bob');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ await enablePublicMintingExpectSuccess(Alice, nftCollectionId);
+ await addToWhiteListExpectSuccess(Alice, nftCollectionId, Bob.address);
+ await enableWhiteListExpectSuccess(Alice, nftCollectionId);
+ const newNftTokenId = await createItemExpectSuccess(Bob, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'Admin');
+
+ await setVariableMetaDataExpectFailure(Bob, nftCollectionId, newNftTokenId, data);
+ });
+ });
+});
+
+describe('Metadata update permissions with None flag', () => {
+ it('Nobody can set variable metadata with None flag (Regular)', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+ const Bob = privateKey('//Bob');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'None');
+
+ await setVariableMetaDataExpectFailure(Bob, nftCollectionId, newNftTokenId, data);
+ });
+ });
+
+ it('Nobody can set variable metadata with None flag (Admin)', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+ const Bob = privateKey('//Bob');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'None');
+
+ await setMintPermissionExpectSuccess(Alice, nftCollectionId, true);
+ await addToWhiteListExpectSuccess(Alice, nftCollectionId, Bob.address);
+ await addCollectionAdminExpectSuccess(Alice, nftCollectionId, Bob);
+
+ await setVariableMetaDataExpectFailure(Bob, nftCollectionId, newNftTokenId, data);
+ });
+ });
+
+ it('Nobody can set variable metadata with None flag (ItemOwner)', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+
+ const data = [1, 2, 254, 255];
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ const newNftTokenId = await createItemExpectSuccess(Alice, nftCollectionId, 'NFT');
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'None');
+
+ await setVariableMetaDataExpectFailure(Alice, nftCollectionId, newNftTokenId, data);
+ });
+ });
+
+ it('Nobody can set variable metadata flag after freeze', async () => {
+ await usingApi(async () => {
+ const Alice = privateKey('//Alice');
+
+ // nft
+ const nftCollectionId = await createCollectionExpectSuccess();
+ await setMetadataUpdatePermissionFlagExpectSuccess(Alice, nftCollectionId, 'None');
+ await setMetadataUpdatePermissionFlagExpectFailure(Alice, nftCollectionId, 'Admin');
+ });
+ });
+});
tests/src/util/helpers.tsdiffbeforeafterboth--- a/tests/src/util/helpers.ts
+++ b/tests/src/util/helpers.ts
@@ -525,6 +525,28 @@
});
}
+export async function setMetadataUpdatePermissionFlagExpectSuccess(sender: IKeyringPair, collectionId: number, flag: string) {
+
+ await usingApi(async (api) => {
+ const tx = api.tx.nft.setMetaUpdatePermissionFlag(collectionId, flag);
+ const events = await submitTransactionAsync(sender, tx);
+ const result = getGenericResult(events);
+
+ expect(result.success).to.be.true;
+ });
+}
+
+export async function setMetadataUpdatePermissionFlagExpectFailure(sender: IKeyringPair, collectionId: number, flag: string) {
+
+ await usingApi(async (api) => {
+ const tx = api.tx.nft.setMetaUpdatePermissionFlag(collectionId, flag);
+ const events = await expect(submitTransactionExpectFailAsync(sender, tx)).to.be.rejected;
+ const result = getGenericResult(events);
+
+ expect(result.success).to.be.false;
+ });
+}
+
export async function enableContractSponsoringExpectSuccess(sender: IKeyringPair, contractAddress: AccountId | string, enable: boolean) {
await usingApi(async (api) => {
const tx = api.tx.nft.enableContractSponsoring(contractAddress, enable);
@@ -1190,7 +1212,6 @@
export async function waitNewBlocks(blocksCount = 1): Promise<void> {
await usingApi(async (api) => {
const promise = new Promise<void>(async (resolve) => {
-
const unsubscribe = await api.rpc.chain.subscribeNewHeads(() => {
if (blocksCount > 0) {
blocksCount--;
tests/yarn.lockdiffbeforeafterboth--- a/tests/yarn.lock
+++ b/tests/yarn.lock
@@ -2,10 +2,10 @@
# yarn lockfile v1
-"@babel/cli@^7.14.8":
- version "7.14.8"
- resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.14.8.tgz#fac73c0e2328a8af9fd3560c06b096bfa3730933"
- integrity sha512-lcy6Lymft9Rpfqmrqdd4oTDdUx9ZwaAhAfywVrHG4771Pa6PPT0danJ1kDHBXYqh4HHSmIdA+nlmfxfxSDPtBg==
+"@babel/cli@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.15.4.tgz#00e21e192b738dec7900c8bb36270e377217c0a4"
+ integrity sha512-9RhhQ7tgKRcSO/jI3rNLxalLSk30cHqeM8bb+nGOJTyYBDpkoXw/A9QHZ2SYjlslAt4tr90pZQGIEobwWHSIDw==
dependencies:
commander "^4.0.1"
convert-source-map "^1.1.0"
@@ -68,20 +68,20 @@
semver "^6.3.0"
source-map "^0.5.0"
-"@babel/core@^7.15.0":
- version "7.15.0"
- resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.0.tgz#749e57c68778b73ad8082775561f67f5196aafa8"
- integrity sha512-tXtmTminrze5HEUPn/a0JtOzzfp0nk+UEXQ/tqIJo3WDGypl/2OFQEMll/zSFU8f/lfmfLXvTaORHF3cfXIQMw==
+"@babel/core@^7.15.5":
+ version "7.15.5"
+ resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.5.tgz#f8ed9ace730722544609f90c9bb49162dc3bf5b9"
+ integrity sha512-pYgXxiwAgQpgM1bNkZsDEq85f0ggXMA5L7c+o3tskGMh2BunCI9QUwB9Z4jpvXUOuMdyGKiGKQiRe11VS6Jzvg==
dependencies:
"@babel/code-frame" "^7.14.5"
- "@babel/generator" "^7.15.0"
- "@babel/helper-compilation-targets" "^7.15.0"
- "@babel/helper-module-transforms" "^7.15.0"
- "@babel/helpers" "^7.14.8"
- "@babel/parser" "^7.15.0"
- "@babel/template" "^7.14.5"
- "@babel/traverse" "^7.15.0"
- "@babel/types" "^7.15.0"
+ "@babel/generator" "^7.15.4"
+ "@babel/helper-compilation-targets" "^7.15.4"
+ "@babel/helper-module-transforms" "^7.15.4"
+ "@babel/helpers" "^7.15.4"
+ "@babel/parser" "^7.15.5"
+ "@babel/template" "^7.15.4"
+ "@babel/traverse" "^7.15.4"
+ "@babel/types" "^7.15.4"
convert-source-map "^1.7.0"
debug "^4.1.0"
gensync "^1.0.0-beta.2"
@@ -107,6 +107,15 @@
jsesc "^2.5.1"
source-map "^0.5.0"
+"@babel/generator@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.4.tgz#85acb159a267ca6324f9793986991ee2022a05b0"
+ integrity sha512-d3itta0tu+UayjEORPNz6e1T3FtvWlP5N4V5M+lhp/CxT4oAA7/NcScnpRyspUMLK6tu9MNHmQHxRykuN2R7hw==
+ dependencies:
+ "@babel/types" "^7.15.4"
+ jsesc "^2.5.1"
+ source-map "^0.5.0"
+
"@babel/helper-annotate-as-pure@^7.0.0", "@babel/helper-annotate-as-pure@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.14.5.tgz#7bf478ec3b71726d56a8ca5775b046fc29879e61"
@@ -114,6 +123,13 @@
dependencies:
"@babel/types" "^7.14.5"
+"@babel/helper-annotate-as-pure@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.15.4.tgz#3d0e43b00c5e49fdb6c57e421601a7a658d5f835"
+ integrity sha512-QwrtdNvUNsPCj2lfNQacsGSQvGX8ee1ttrBrcozUP2Sv/jylewBP/8QFe6ZkBsC8T/GYWonNAWJV4aRR9AL2DA==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-builder-binary-assignment-operator-visitor@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.14.5.tgz#b939b43f8c37765443a19ae74ad8b15978e0a191"
@@ -132,10 +148,10 @@
browserslist "^4.16.6"
semver "^6.3.0"
-"@babel/helper-compilation-targets@^7.15.0":
- version "7.15.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.0.tgz#973df8cbd025515f3ff25db0c05efc704fa79818"
- integrity sha512-h+/9t0ncd4jfZ8wsdAsoIxSa61qhBYlycXiHWqJaQBCXAhDCMbPRSMTGnZIkkmt1u4ag+UQmuqcILwqKzZ4N2A==
+"@babel/helper-compilation-targets@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz#cf6d94f30fbefc139123e27dd6b02f65aeedb7b9"
+ integrity sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==
dependencies:
"@babel/compat-data" "^7.15.0"
"@babel/helper-validator-option" "^7.14.5"
@@ -166,6 +182,18 @@
"@babel/helper-replace-supers" "^7.15.0"
"@babel/helper-split-export-declaration" "^7.14.5"
+"@babel/helper-create-class-features-plugin@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.15.4.tgz#7f977c17bd12a5fba363cb19bea090394bf37d2e"
+ integrity sha512-7ZmzFi+DwJx6A7mHRwbuucEYpyBwmh2Ca0RvI6z2+WLZYCqV0JOaLb+u0zbtmDicebgKBZgqbYfLaKNqSgv5Pw==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.15.4"
+ "@babel/helper-function-name" "^7.15.4"
+ "@babel/helper-member-expression-to-functions" "^7.15.4"
+ "@babel/helper-optimise-call-expression" "^7.15.4"
+ "@babel/helper-replace-supers" "^7.15.4"
+ "@babel/helper-split-export-declaration" "^7.15.4"
+
"@babel/helper-create-regexp-features-plugin@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz#c7d5ac5e9cf621c26057722fb7a8a4c5889358c4"
@@ -204,6 +232,15 @@
"@babel/template" "^7.14.5"
"@babel/types" "^7.14.5"
+"@babel/helper-function-name@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz#845744dafc4381a4a5fb6afa6c3d36f98a787ebc"
+ integrity sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==
+ dependencies:
+ "@babel/helper-get-function-arity" "^7.15.4"
+ "@babel/template" "^7.15.4"
+ "@babel/types" "^7.15.4"
+
"@babel/helper-get-function-arity@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815"
@@ -211,6 +248,13 @@
dependencies:
"@babel/types" "^7.14.5"
+"@babel/helper-get-function-arity@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz#098818934a137fce78b536a3e015864be1e2879b"
+ integrity sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-hoist-variables@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz#e0dd27c33a78e577d7c8884916a3e7ef1f7c7f8d"
@@ -218,6 +262,13 @@
dependencies:
"@babel/types" "^7.14.5"
+"@babel/helper-hoist-variables@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz#09993a3259c0e918f99d104261dfdfc033f178df"
+ integrity sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-member-expression-to-functions@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.5.tgz#d5c70e4ad13b402c95156c7a53568f504e2fb7b8"
@@ -232,6 +283,13 @@
dependencies:
"@babel/types" "^7.15.0"
+"@babel/helper-member-expression-to-functions@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz#bfd34dc9bba9824a4658b0317ec2fd571a51e6ef"
+ integrity sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz#6d1a44df6a38c957aa7c312da076429f11b422f3"
@@ -239,6 +297,13 @@
dependencies:
"@babel/types" "^7.14.5"
+"@babel/helper-module-imports@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz#e18007d230632dea19b47853b984476e7b4e103f"
+ integrity sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-module-transforms@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz#7de42f10d789b423eb902ebd24031ca77cb1e10e"
@@ -253,19 +318,19 @@
"@babel/traverse" "^7.14.5"
"@babel/types" "^7.14.5"
-"@babel/helper-module-transforms@^7.15.0":
- version "7.15.0"
- resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.0.tgz#679275581ea056373eddbe360e1419ef23783b08"
- integrity sha512-RkGiW5Rer7fpXv9m1B3iHIFDZdItnO2/BLfWVW/9q7+KqQSDY5kUfQEbzdXM1MVhJGcugKV7kRrNVzNxmk7NBg==
+"@babel/helper-module-transforms@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.4.tgz#962cc629a7f7f9a082dd62d0307fa75fe8788d7c"
+ integrity sha512-9fHHSGE9zTC++KuXLZcB5FKgvlV83Ox+NLUmQTawovwlJ85+QMhk1CnVk406CQVj97LaWod6KVjl2Sfgw9Aktw==
dependencies:
- "@babel/helper-module-imports" "^7.14.5"
- "@babel/helper-replace-supers" "^7.15.0"
- "@babel/helper-simple-access" "^7.14.8"
- "@babel/helper-split-export-declaration" "^7.14.5"
+ "@babel/helper-module-imports" "^7.15.4"
+ "@babel/helper-replace-supers" "^7.15.4"
+ "@babel/helper-simple-access" "^7.15.4"
+ "@babel/helper-split-export-declaration" "^7.15.4"
"@babel/helper-validator-identifier" "^7.14.9"
- "@babel/template" "^7.14.5"
- "@babel/traverse" "^7.15.0"
- "@babel/types" "^7.15.0"
+ "@babel/template" "^7.15.4"
+ "@babel/traverse" "^7.15.4"
+ "@babel/types" "^7.15.4"
"@babel/helper-optimise-call-expression@^7.14.5":
version "7.14.5"
@@ -274,6 +339,13 @@
dependencies:
"@babel/types" "^7.14.5"
+"@babel/helper-optimise-call-expression@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz#f310a5121a3b9cc52d9ab19122bd729822dee171"
+ integrity sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz#5ac822ce97eec46741ab70a517971e443a70c5a9"
@@ -288,6 +360,15 @@
"@babel/helper-wrap-function" "^7.14.5"
"@babel/types" "^7.14.5"
+"@babel/helper-remap-async-to-generator@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.15.4.tgz#2637c0731e4c90fbf58ac58b50b2b5a192fc970f"
+ integrity sha512-v53MxgvMK/HCwckJ1bZrq6dNKlmwlyRNYM6ypaRTdXWGOE2c1/SCa6dL/HimhPulGhZKw9W0QhREM583F/t0vQ==
+ dependencies:
+ "@babel/helper-annotate-as-pure" "^7.15.4"
+ "@babel/helper-wrap-function" "^7.15.4"
+ "@babel/types" "^7.15.4"
+
"@babel/helper-replace-supers@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.14.5.tgz#0ecc0b03c41cd567b4024ea016134c28414abb94"
@@ -308,6 +389,16 @@
"@babel/traverse" "^7.15.0"
"@babel/types" "^7.15.0"
+"@babel/helper-replace-supers@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz#52a8ab26ba918c7f6dee28628b07071ac7b7347a"
+ integrity sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==
+ dependencies:
+ "@babel/helper-member-expression-to-functions" "^7.15.4"
+ "@babel/helper-optimise-call-expression" "^7.15.4"
+ "@babel/traverse" "^7.15.4"
+ "@babel/types" "^7.15.4"
+
"@babel/helper-simple-access@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.14.5.tgz#66ea85cf53ba0b4e588ba77fc813f53abcaa41c4"
@@ -315,12 +406,12 @@
dependencies:
"@babel/types" "^7.14.5"
-"@babel/helper-simple-access@^7.14.8":
- version "7.14.8"
- resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz#82e1fec0644a7e775c74d305f212c39f8fe73924"
- integrity sha512-TrFN4RHh9gnWEU+s7JloIho2T76GPwRHhdzOWLqTrMnlas8T9O7ec+oEDNsRXndOmru9ymH9DFrEOxpzPoSbdg==
+"@babel/helper-simple-access@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz#ac368905abf1de8e9781434b635d8f8674bcc13b"
+ integrity sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==
dependencies:
- "@babel/types" "^7.14.8"
+ "@babel/types" "^7.15.4"
"@babel/helper-skip-transparent-expression-wrappers@^7.14.5":
version "7.14.5"
@@ -329,6 +420,13 @@
dependencies:
"@babel/types" "^7.14.5"
+"@babel/helper-skip-transparent-expression-wrappers@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.15.4.tgz#707dbdba1f4ad0fa34f9114fc8197aec7d5da2eb"
+ integrity sha512-BMRLsdh+D1/aap19TycS4eD1qELGrCBJwzaY9IE8LrpJtJb+H7rQkPIdsfgnMtLBA6DJls7X9z93Z4U8h7xw0A==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-split-export-declaration@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz#22b23a54ef51c2b7605d851930c1976dd0bc693a"
@@ -336,6 +434,13 @@
dependencies:
"@babel/types" "^7.14.5"
+"@babel/helper-split-export-declaration@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz#aecab92dcdbef6a10aa3b62ab204b085f776e257"
+ integrity sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==
+ dependencies:
+ "@babel/types" "^7.15.4"
+
"@babel/helper-validator-identifier@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8"
@@ -361,6 +466,16 @@
"@babel/traverse" "^7.14.5"
"@babel/types" "^7.14.5"
+"@babel/helper-wrap-function@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.15.4.tgz#6f754b2446cfaf3d612523e6ab8d79c27c3a3de7"
+ integrity sha512-Y2o+H/hRV5W8QhIfTpRIBwl57y8PrZt6JM3V8FOo5qarjshHItyH5lXlpMfBfmBefOqSCpKZs/6Dxqp0E/U+uw==
+ dependencies:
+ "@babel/helper-function-name" "^7.15.4"
+ "@babel/template" "^7.15.4"
+ "@babel/traverse" "^7.15.4"
+ "@babel/types" "^7.15.4"
+
"@babel/helpers@^7.14.6":
version "7.14.6"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.14.6.tgz#5b58306b95f1b47e2a0199434fa8658fa6c21635"
@@ -370,14 +485,14 @@
"@babel/traverse" "^7.14.5"
"@babel/types" "^7.14.5"
-"@babel/helpers@^7.14.8":
- version "7.15.3"
- resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.15.3.tgz#c96838b752b95dcd525b4e741ed40bb1dc2a1357"
- integrity sha512-HwJiz52XaS96lX+28Tnbu31VeFSQJGOeKHJeaEPQlTl7PnlhFElWPj8tUXtqFIzeN86XxXoBr+WFAyK2PPVz6g==
+"@babel/helpers@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.15.4.tgz#5f40f02050a3027121a3cf48d497c05c555eaf43"
+ integrity sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==
dependencies:
- "@babel/template" "^7.14.5"
- "@babel/traverse" "^7.15.0"
- "@babel/types" "^7.15.0"
+ "@babel/template" "^7.15.4"
+ "@babel/traverse" "^7.15.4"
+ "@babel/types" "^7.15.4"
"@babel/highlight@^7.10.4", "@babel/highlight@^7.14.5":
version "7.14.5"
@@ -398,22 +513,27 @@
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.3.tgz#3416d9bea748052cfcb63dbcc27368105b1ed862"
integrity sha512-O0L6v/HvqbdJawj0iBEfVQMc3/6WP+AeOsovsIgBFyJaG+W2w7eqvZB7puddATmWuARlm1SX7DwxJ/JJUnDpEA==
-"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.14.5":
- version "7.14.5"
- resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz#4b467302e1548ed3b1be43beae2cc9cf45e0bb7e"
- integrity sha512-ZoJS2XCKPBfTmL122iP6NM9dOg+d4lc9fFk3zxc8iDjvt8Pk4+TlsHSKhIPf6X+L5ORCdBzqMZDjL/WHj7WknQ==
+"@babel/parser@^7.15.4", "@babel/parser@^7.15.5":
+ version "7.15.5"
+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.5.tgz#d33a58ca69facc05b26adfe4abebfed56c1c2dac"
+ integrity sha512-2hQstc6I7T6tQsWzlboMh3SgMRPaS4H6H7cPQsJkdzTzEGqQrpLDsE2BGASU5sBPoEQyHzeqU6C8uKbFeEk6sg==
+
+"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.15.4.tgz#dbdeabb1e80f622d9f0b583efb2999605e0a567e"
+ integrity sha512-eBnpsl9tlhPhpI10kU06JHnrYXwg3+V6CaP2idsCXNef0aeslpqyITXQ74Vfk5uHgY7IG7XP0yIH8b42KSzHog==
dependencies:
"@babel/helper-plugin-utils" "^7.14.5"
- "@babel/helper-skip-transparent-expression-wrappers" "^7.14.5"
+ "@babel/helper-skip-transparent-expression-wrappers" "^7.15.4"
"@babel/plugin-proposal-optional-chaining" "^7.14.5"
-"@babel/plugin-proposal-async-generator-functions@^7.14.9":
- version "7.14.9"
- resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.9.tgz#7028dc4fa21dc199bbacf98b39bab1267d0eaf9a"
- integrity sha512-d1lnh+ZnKrFKwtTYdw320+sQWCTwgkB9fmUhNXRADA4akR6wLjaruSGnIEUjpt9HCOwTr4ynFTKu19b7rFRpmw==
+"@babel/plugin-proposal-async-generator-functions@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.15.4.tgz#f82aabe96c135d2ceaa917feb9f5fca31635277e"
+ integrity sha512-2zt2g5vTXpMC3OmK6uyjvdXptbhBXfA77XGrd3gh93zwG8lZYBLOBImiGBEG0RANu3JqKEACCz5CGk73OJROBw==
dependencies:
"@babel/helper-plugin-utils" "^7.14.5"
- "@babel/helper-remap-async-to-generator" "^7.14.5"
+ "@babel/helper-remap-async-to-generator" "^7.15.4"
"@babel/plugin-syntax-async-generators" "^7.8.4"
"@babel/plugin-proposal-class-properties@^7.14.5":
@@ -424,12 +544,12 @@
"@babel/helper-create-class-features-plugin" "^7.14.5"
"@babel/helper-plugin-utils" "^7.14.5"
-"@babel/plugin-proposal-class-static-block@^7.14.5":
- version "7.14.5"
- resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.5.tgz#158e9e10d449c3849ef3ecde94a03d9f1841b681"
- integrity sha512-KBAH5ksEnYHCegqseI5N9skTdxgJdmDoAOc0uXa+4QMYKeZD0w5IARh4FMlTNtaHhbB8v+KzMdTgxMMzsIy6Yg==
+"@babel/plugin-proposal-class-static-block@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.15.4.tgz#3e7ca6128453c089e8b477a99f970c63fc1cb8d7"
+ integrity sha512-M682XWrrLNk3chXCjoPUQWOyYsB93B9z3mRyjtqqYJWDf2mfCdIYgDrA11cgNVhAQieaq6F2fn2f3wI0U4aTjA==
dependencies:
- "@babel/helper-create-class-features-plugin" "^7.14.5"
+ "@babel/helper-create-class-features-plugin" "^7.15.4"
"@babel/helper-plugin-utils" "^7.14.5"
"@babel/plugin-syntax-class-static-block" "^7.14.5"
@@ -517,13 +637,13 @@
"@babel/helper-create-class-features-plugin" "^7.14.5"
"@babel/helper-plugin-utils" "^7.14.5"
-"@babel/plugin-proposal-private-property-in-object@^7.14.5":
- version "7.14.5"
- resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.14.5.tgz#9f65a4d0493a940b4c01f8aa9d3f1894a587f636"
- integrity sha512-62EyfyA3WA0mZiF2e2IV9mc9Ghwxcg8YTu8BS4Wss4Y3PY725OmS9M0qLORbJwLqFtGh+jiE4wAmocK2CTUK2Q==
+"@babel/plugin-proposal-private-property-in-object@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.15.4.tgz#55c5e3b4d0261fd44fe637e3f624cfb0f484e3e5"
+ integrity sha512-X0UTixkLf0PCCffxgu5/1RQyGGbgZuKoI+vXP4iSbJSYwPb7hu06omsFGBvQ9lJEvwgrxHdS8B5nbfcd8GyUNA==
dependencies:
- "@babel/helper-annotate-as-pure" "^7.14.5"
- "@babel/helper-create-class-features-plugin" "^7.14.5"
+ "@babel/helper-annotate-as-pure" "^7.15.4"
+ "@babel/helper-create-class-features-plugin" "^7.15.4"
"@babel/helper-plugin-utils" "^7.14.5"
"@babel/plugin-syntax-private-property-in-object" "^7.14.5"
@@ -684,24 +804,24 @@
dependencies:
"@babel/helper-plugin-utils" "^7.14.5"
-"@babel/plugin-transform-block-scoping@^7.14.5":
- version "7.14.5"
- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.14.5.tgz#8cc63e61e50f42e078e6f09be775a75f23ef9939"
- integrity sha512-LBYm4ZocNgoCqyxMLoOnwpsmQ18HWTQvql64t3GvMUzLQrNoV1BDG0lNftC8QKYERkZgCCT/7J5xWGObGAyHDw==
+"@babel/plugin-transform-block-scoping@^7.15.3":
+ version "7.15.3"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.15.3.tgz#94c81a6e2fc230bcce6ef537ac96a1e4d2b3afaf"
+ integrity sha512-nBAzfZwZb4DkaGtOes1Up1nOAp9TDRRFw4XBzBBSG9QK7KVFmYzgj9o9sbPv7TX5ofL4Auq4wZnxCoPnI/lz2Q==
dependencies:
"@babel/helper-plugin-utils" "^7.14.5"
-"@babel/plugin-transform-classes@^7.14.9":
- version "7.14.9"
- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.9.tgz#2a391ffb1e5292710b00f2e2c210e1435e7d449f"
- integrity sha512-NfZpTcxU3foGWbl4wxmZ35mTsYJy8oQocbeIMoDAGGFarAmSQlL+LWMkDx/tj6pNotpbX3rltIA4dprgAPOq5A==
+"@babel/plugin-transform-classes@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.15.4.tgz#50aee17aaf7f332ae44e3bce4c2e10534d5d3bf1"
+ integrity sha512-Yjvhex8GzBmmPQUvpXRPWQ9WnxXgAFuZSrqOK/eJlOGIXwvv8H3UEdUigl1gb/bnjTrln+e8bkZUYCBt/xYlBg==
dependencies:
- "@babel/helper-annotate-as-pure" "^7.14.5"
- "@babel/helper-function-name" "^7.14.5"
- "@babel/helper-optimise-call-expression" "^7.14.5"
+ "@babel/helper-annotate-as-pure" "^7.15.4"
+ "@babel/helper-function-name" "^7.15.4"
+ "@babel/helper-optimise-call-expression" "^7.15.4"
"@babel/helper-plugin-utils" "^7.14.5"
- "@babel/helper-replace-supers" "^7.14.5"
- "@babel/helper-split-export-declaration" "^7.14.5"
+ "@babel/helper-replace-supers" "^7.15.4"
+ "@babel/helper-split-export-declaration" "^7.15.4"
globals "^11.1.0"
"@babel/plugin-transform-computed-properties@^7.14.5":
@@ -741,10 +861,10 @@
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.14.5"
"@babel/helper-plugin-utils" "^7.14.5"
-"@babel/plugin-transform-for-of@^7.14.5":
- version "7.14.5"
- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.14.5.tgz#dae384613de8f77c196a8869cbf602a44f7fc0eb"
- integrity sha512-CfmqxSUZzBl0rSjpoQSFoR9UEj3HzbGuGNL21/iFTmjb5gFggJp3ph0xR1YBhexmLoKRHzgxuFvty2xdSt6gTA==
+"@babel/plugin-transform-for-of@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.15.4.tgz#25c62cce2718cfb29715f416e75d5263fb36a8c2"
+ integrity sha512-DRTY9fA751AFBDh2oxydvVm4SYevs5ILTWLs6xKXps4Re/KG5nfUkr+TdHCrRWB8C69TlzVgA9b3RmGWmgN9LA==
dependencies:
"@babel/helper-plugin-utils" "^7.14.5"
@@ -779,25 +899,25 @@
"@babel/helper-plugin-utils" "^7.14.5"
babel-plugin-dynamic-import-node "^2.3.3"
-"@babel/plugin-transform-modules-commonjs@^7.15.0":
- version "7.15.0"
- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.0.tgz#3305896e5835f953b5cdb363acd9e8c2219a5281"
- integrity sha512-3H/R9s8cXcOGE8kgMlmjYYC9nqr5ELiPkJn4q0mypBrjhYQoc+5/Maq69vV4xRPWnkzZuwJPf5rArxpB/35Cig==
+"@babel/plugin-transform-modules-commonjs@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.15.4.tgz#8201101240eabb5a76c08ef61b2954f767b6b4c1"
+ integrity sha512-qg4DPhwG8hKp4BbVDvX1s8cohM8a6Bvptu4l6Iingq5rW+yRUAhe/YRup/YcW2zCOlrysEWVhftIcKzrEZv3sA==
dependencies:
- "@babel/helper-module-transforms" "^7.15.0"
+ "@babel/helper-module-transforms" "^7.15.4"
"@babel/helper-plugin-utils" "^7.14.5"
- "@babel/helper-simple-access" "^7.14.8"
+ "@babel/helper-simple-access" "^7.15.4"
babel-plugin-dynamic-import-node "^2.3.3"
-"@babel/plugin-transform-modules-systemjs@^7.14.5":
- version "7.14.5"
- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.14.5.tgz#c75342ef8b30dcde4295d3401aae24e65638ed29"
- integrity sha512-mNMQdvBEE5DcMQaL5LbzXFMANrQjd2W7FPzg34Y4yEz7dBgdaC+9B84dSO+/1Wba98zoDbInctCDo4JGxz1VYA==
+"@babel/plugin-transform-modules-systemjs@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.15.4.tgz#b42890c7349a78c827719f1d2d0cd38c7d268132"
+ integrity sha512-fJUnlQrl/mezMneR72CKCgtOoahqGJNVKpompKwzv3BrEXdlPspTcyxrZ1XmDTIr9PpULrgEQo3qNKp6dW7ssw==
dependencies:
- "@babel/helper-hoist-variables" "^7.14.5"
- "@babel/helper-module-transforms" "^7.14.5"
+ "@babel/helper-hoist-variables" "^7.15.4"
+ "@babel/helper-module-transforms" "^7.15.4"
"@babel/helper-plugin-utils" "^7.14.5"
- "@babel/helper-validator-identifier" "^7.14.5"
+ "@babel/helper-validator-identifier" "^7.14.9"
babel-plugin-dynamic-import-node "^2.3.3"
"@babel/plugin-transform-modules-umd@^7.14.5":
@@ -837,6 +957,13 @@
dependencies:
"@babel/helper-plugin-utils" "^7.14.5"
+"@babel/plugin-transform-parameters@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.15.4.tgz#5f2285cc3160bf48c8502432716b48504d29ed62"
+ integrity sha512-9WB/GUTO6lvJU3XQsSr6J/WKvBC2hcs4Pew8YxZagi6GkTdniyqp8On5kqdK8MN0LMeu0mGbhPN+O049NV/9FQ==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.14.5"
+
"@babel/plugin-transform-property-literals@^7.14.5":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz#0ddbaa1f83db3606f1cdf4846fa1dfb473458b34"
@@ -963,19 +1090,19 @@
"@babel/helper-create-regexp-features-plugin" "^7.14.5"
"@babel/helper-plugin-utils" "^7.14.5"
-"@babel/preset-env@^7.15.0":
- version "7.15.0"
- resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.0.tgz#e2165bf16594c9c05e52517a194bf6187d6fe464"
- integrity sha512-FhEpCNFCcWW3iZLg0L2NPE9UerdtsCR6ZcsGHUX6Om6kbCQeL5QZDqFDmeNHC6/fy6UH3jEge7K4qG5uC9In0Q==
+"@babel/preset-env@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.15.4.tgz#197e7f99a755c488f0af411af179cbd10de6e815"
+ integrity sha512-4f2nLw+q6ht8gl3sHCmNhmA5W6b1ItLzbH3UrKuJxACHr2eCpk96jwjrAfCAaXaaVwTQGnyUYHY2EWXJGt7TUQ==
dependencies:
"@babel/compat-data" "^7.15.0"
- "@babel/helper-compilation-targets" "^7.15.0"
+ "@babel/helper-compilation-targets" "^7.15.4"
"@babel/helper-plugin-utils" "^7.14.5"
"@babel/helper-validator-option" "^7.14.5"
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.14.5"
- "@babel/plugin-proposal-async-generator-functions" "^7.14.9"
+ "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.15.4"
+ "@babel/plugin-proposal-async-generator-functions" "^7.15.4"
"@babel/plugin-proposal-class-properties" "^7.14.5"
- "@babel/plugin-proposal-class-static-block" "^7.14.5"
+ "@babel/plugin-proposal-class-static-block" "^7.15.4"
"@babel/plugin-proposal-dynamic-import" "^7.14.5"
"@babel/plugin-proposal-export-namespace-from" "^7.14.5"
"@babel/plugin-proposal-json-strings" "^7.14.5"
@@ -986,7 +1113,7 @@
"@babel/plugin-proposal-optional-catch-binding" "^7.14.5"
"@babel/plugin-proposal-optional-chaining" "^7.14.5"
"@babel/plugin-proposal-private-methods" "^7.14.5"
- "@babel/plugin-proposal-private-property-in-object" "^7.14.5"
+ "@babel/plugin-proposal-private-property-in-object" "^7.15.4"
"@babel/plugin-proposal-unicode-property-regex" "^7.14.5"
"@babel/plugin-syntax-async-generators" "^7.8.4"
"@babel/plugin-syntax-class-properties" "^7.12.13"
@@ -1005,25 +1132,25 @@
"@babel/plugin-transform-arrow-functions" "^7.14.5"
"@babel/plugin-transform-async-to-generator" "^7.14.5"
"@babel/plugin-transform-block-scoped-functions" "^7.14.5"
- "@babel/plugin-transform-block-scoping" "^7.14.5"
- "@babel/plugin-transform-classes" "^7.14.9"
+ "@babel/plugin-transform-block-scoping" "^7.15.3"
+ "@babel/plugin-transform-classes" "^7.15.4"
"@babel/plugin-transform-computed-properties" "^7.14.5"
"@babel/plugin-transform-destructuring" "^7.14.7"
"@babel/plugin-transform-dotall-regex" "^7.14.5"
"@babel/plugin-transform-duplicate-keys" "^7.14.5"
"@babel/plugin-transform-exponentiation-operator" "^7.14.5"
- "@babel/plugin-transform-for-of" "^7.14.5"
+ "@babel/plugin-transform-for-of" "^7.15.4"
"@babel/plugin-transform-function-name" "^7.14.5"
"@babel/plugin-transform-literals" "^7.14.5"
"@babel/plugin-transform-member-expression-literals" "^7.14.5"
"@babel/plugin-transform-modules-amd" "^7.14.5"
- "@babel/plugin-transform-modules-commonjs" "^7.15.0"
- "@babel/plugin-transform-modules-systemjs" "^7.14.5"
+ "@babel/plugin-transform-modules-commonjs" "^7.15.4"
+ "@babel/plugin-transform-modules-systemjs" "^7.15.4"
"@babel/plugin-transform-modules-umd" "^7.14.5"
"@babel/plugin-transform-named-capturing-groups-regex" "^7.14.9"
"@babel/plugin-transform-new-target" "^7.14.5"
"@babel/plugin-transform-object-super" "^7.14.5"
- "@babel/plugin-transform-parameters" "^7.14.5"
+ "@babel/plugin-transform-parameters" "^7.15.4"
"@babel/plugin-transform-property-literals" "^7.14.5"
"@babel/plugin-transform-regenerator" "^7.14.5"
"@babel/plugin-transform-reserved-words" "^7.14.5"
@@ -1035,7 +1162,7 @@
"@babel/plugin-transform-unicode-escapes" "^7.14.5"
"@babel/plugin-transform-unicode-regex" "^7.14.5"
"@babel/preset-modules" "^0.1.4"
- "@babel/types" "^7.15.0"
+ "@babel/types" "^7.15.4"
babel-plugin-polyfill-corejs2 "^0.2.2"
babel-plugin-polyfill-corejs3 "^0.2.2"
babel-plugin-polyfill-regenerator "^0.2.2"
@@ -1084,13 +1211,6 @@
make-dir "^2.1.0"
pirates "^4.0.0"
source-map-support "^0.5.16"
-
-"@babel/runtime@^7.14.6", "@babel/runtime@^7.8.4":
- version "7.14.6"
- resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.6.tgz#535203bc0892efc7dec60bdc27b2ecf6e409062d"
- integrity sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==
- dependencies:
- regenerator-runtime "^0.13.4"
"@babel/runtime@^7.15.3":
version "7.15.3"
@@ -1099,6 +1219,20 @@
dependencies:
regenerator-runtime "^0.13.4"
+"@babel/runtime@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.4.tgz#fd17d16bfdf878e6dd02d19753a39fa8a8d9c84a"
+ integrity sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==
+ dependencies:
+ regenerator-runtime "^0.13.4"
+
+"@babel/runtime@^7.8.4":
+ version "7.14.6"
+ resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.6.tgz#535203bc0892efc7dec60bdc27b2ecf6e409062d"
+ integrity sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==
+ dependencies:
+ regenerator-runtime "^0.13.4"
+
"@babel/template@^7.14.5", "@babel/template@^7.3.3":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4"
@@ -1108,6 +1242,15 @@
"@babel/parser" "^7.14.5"
"@babel/types" "^7.14.5"
+"@babel/template@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.15.4.tgz#51898d35dcf3faa670c4ee6afcfd517ee139f194"
+ integrity sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==
+ dependencies:
+ "@babel/code-frame" "^7.14.5"
+ "@babel/parser" "^7.15.4"
+ "@babel/types" "^7.15.4"
+
"@babel/traverse@^7.1.0", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.7.2":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.5.tgz#c111b0f58afab4fea3d3385a406f692748c59870"
@@ -1138,6 +1281,21 @@
debug "^4.1.0"
globals "^11.1.0"
+"@babel/traverse@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.4.tgz#ff8510367a144bfbff552d9e18e28f3e2889c22d"
+ integrity sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==
+ dependencies:
+ "@babel/code-frame" "^7.14.5"
+ "@babel/generator" "^7.15.4"
+ "@babel/helper-function-name" "^7.15.4"
+ "@babel/helper-hoist-variables" "^7.15.4"
+ "@babel/helper-split-export-declaration" "^7.15.4"
+ "@babel/parser" "^7.15.4"
+ "@babel/types" "^7.15.4"
+ debug "^4.1.0"
+ globals "^11.1.0"
+
"@babel/types@^7.0.0", "@babel/types@^7.14.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
version "7.14.5"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.5.tgz#3bb997ba829a2104cedb20689c4a5b8121d383ff"
@@ -1146,7 +1304,7 @@
"@babel/helper-validator-identifier" "^7.14.5"
to-fast-properties "^2.0.0"
-"@babel/types@^7.14.8", "@babel/types@^7.15.0":
+"@babel/types@^7.15.0":
version "7.15.0"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz#61af11f2286c4e9c69ca8deb5f4375a73c72dcbd"
integrity sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ==
@@ -1154,6 +1312,14 @@
"@babel/helper-validator-identifier" "^7.14.9"
to-fast-properties "^2.0.0"
+"@babel/types@^7.15.4":
+ version "7.15.4"
+ resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.4.tgz#74eeb86dbd6748d2741396557b9860e57fce0a0d"
+ integrity sha512-0f1HJFuGmmbrKTCZtbm3cU+b/AqdEYk5toj5iQur58xkVMlS0JWaKxTBSmCXd47uiN7vbcozAupm6Mvs80GNhw==
+ dependencies:
+ "@babel/helper-validator-identifier" "^7.14.9"
+ to-fast-properties "^2.0.0"
+
"@bcoe/v8-coverage@^0.2.3":
version "0.2.3"
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
@@ -1380,94 +1546,94 @@
resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98"
integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==
-"@jest/console@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.0.6.tgz#3eb72ea80897495c3d73dd97aab7f26770e2260f"
- integrity sha512-fMlIBocSHPZ3JxgWiDNW/KPj6s+YRd0hicb33IrmelCcjXo/pXPwvuiKFmZz+XuqI/1u7nbUK10zSsWL/1aegg==
+"@jest/console@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.1.0.tgz#de13b603cb1d389b50c0dc6296e86e112381e43c"
+ integrity sha512-+Vl+xmLwAXLNlqT61gmHEixeRbS4L8MUzAjtpBCOPWH+izNI/dR16IeXjkXJdRtIVWVSf9DO1gdp67B1XorZhQ==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
chalk "^4.0.0"
- jest-message-util "^27.0.6"
- jest-util "^27.0.6"
+ jest-message-util "^27.1.0"
+ jest-util "^27.1.0"
slash "^3.0.0"
-"@jest/core@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.0.6.tgz#c5f642727a0b3bf0f37c4b46c675372d0978d4a1"
- integrity sha512-SsYBm3yhqOn5ZLJCtccaBcvD/ccTLCeuDv8U41WJH/V1MW5eKUkeMHT9U+Pw/v1m1AIWlnIW/eM2XzQr0rEmow==
+"@jest/core@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.1.0.tgz#622220f18032f5869e579cecbe744527238648bf"
+ integrity sha512-3l9qmoknrlCFKfGdrmiQiPne+pUR4ALhKwFTYyOeKw6egfDwJkO21RJ1xf41rN8ZNFLg5W+w6+P4fUqq4EMRWA==
dependencies:
- "@jest/console" "^27.0.6"
- "@jest/reporters" "^27.0.6"
- "@jest/test-result" "^27.0.6"
- "@jest/transform" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/console" "^27.1.0"
+ "@jest/reporters" "^27.1.0"
+ "@jest/test-result" "^27.1.0"
+ "@jest/transform" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
ansi-escapes "^4.2.1"
chalk "^4.0.0"
emittery "^0.8.1"
exit "^0.1.2"
graceful-fs "^4.2.4"
- jest-changed-files "^27.0.6"
- jest-config "^27.0.6"
- jest-haste-map "^27.0.6"
- jest-message-util "^27.0.6"
+ jest-changed-files "^27.1.0"
+ jest-config "^27.1.0"
+ jest-haste-map "^27.1.0"
+ jest-message-util "^27.1.0"
jest-regex-util "^27.0.6"
- jest-resolve "^27.0.6"
- jest-resolve-dependencies "^27.0.6"
- jest-runner "^27.0.6"
- jest-runtime "^27.0.6"
- jest-snapshot "^27.0.6"
- jest-util "^27.0.6"
- jest-validate "^27.0.6"
- jest-watcher "^27.0.6"
+ jest-resolve "^27.1.0"
+ jest-resolve-dependencies "^27.1.0"
+ jest-runner "^27.1.0"
+ jest-runtime "^27.1.0"
+ jest-snapshot "^27.1.0"
+ jest-util "^27.1.0"
+ jest-validate "^27.1.0"
+ jest-watcher "^27.1.0"
micromatch "^4.0.4"
p-each-series "^2.1.0"
rimraf "^3.0.0"
slash "^3.0.0"
strip-ansi "^6.0.0"
-"@jest/environment@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.0.6.tgz#ee293fe996db01d7d663b8108fa0e1ff436219d2"
- integrity sha512-4XywtdhwZwCpPJ/qfAkqExRsERW+UaoSRStSHCCiQTUpoYdLukj+YJbQSFrZjhlUDRZeNiU9SFH0u7iNimdiIg==
+"@jest/environment@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.1.0.tgz#c7224a67004759ec203d8fa44e8bc0db93f66c44"
+ integrity sha512-wRp50aAMY2w1U2jP1G32d6FUVBNYqmk8WaGkiIEisU48qyDV0WPtw3IBLnl7orBeggveommAkuijY+RzVnNDOQ==
dependencies:
- "@jest/fake-timers" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/fake-timers" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
- jest-mock "^27.0.6"
+ jest-mock "^27.1.0"
-"@jest/fake-timers@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.0.6.tgz#cbad52f3fe6abe30e7acb8cd5fa3466b9588e3df"
- integrity sha512-sqd+xTWtZ94l3yWDKnRTdvTeZ+A/V7SSKrxsrOKSqdyddb9CeNRF8fbhAU0D7ZJBpTTW2nbp6MftmKJDZfW2LQ==
+"@jest/fake-timers@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.1.0.tgz#c0b343d8a16af17eab2cb6862e319947c0ea2abe"
+ integrity sha512-22Zyn8il8DzpS+30jJNVbTlm7vAtnfy1aYvNeOEHloMlGy1PCYLHa4PWlSws0hvNsMM5bON6GISjkLoQUV3oMA==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
"@sinonjs/fake-timers" "^7.0.2"
"@types/node" "*"
- jest-message-util "^27.0.6"
- jest-mock "^27.0.6"
- jest-util "^27.0.6"
+ jest-message-util "^27.1.0"
+ jest-mock "^27.1.0"
+ jest-util "^27.1.0"
-"@jest/globals@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.0.6.tgz#48e3903f99a4650673d8657334d13c9caf0e8f82"
- integrity sha512-DdTGCP606rh9bjkdQ7VvChV18iS7q0IMJVP1piwTWyWskol4iqcVwthZmoJEf7obE1nc34OpIyoVGPeqLC+ryw==
+"@jest/globals@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.1.0.tgz#e093a49c718dd678a782c197757775534c88d3f2"
+ integrity sha512-73vLV4aNHAlAgjk0/QcSIzzCZSqVIPbmFROJJv9D3QUR7BI4f517gVdJpSrCHxuRH3VZFhe0yGG/tmttlMll9g==
dependencies:
- "@jest/environment" "^27.0.6"
- "@jest/types" "^27.0.6"
- expect "^27.0.6"
+ "@jest/environment" "^27.1.0"
+ "@jest/types" "^27.1.0"
+ expect "^27.1.0"
-"@jest/reporters@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.0.6.tgz#91e7f2d98c002ad5df94d5b5167c1eb0b9fd5b00"
- integrity sha512-TIkBt09Cb2gptji3yJXb3EE+eVltW6BjO7frO7NEfjI9vSIYoISi5R3aI3KpEDXlB1xwB+97NXIqz84qYeYsfA==
+"@jest/reporters@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.1.0.tgz#02ed1e6601552c2f6447378533f77aad002781d4"
+ integrity sha512-5T/zlPkN2HnK3Sboeg64L5eC8iiaZueLpttdktWTJsvALEtP2YMkC5BQxwjRWQACG9SwDmz+XjjkoxXUDMDgdw==
dependencies:
"@bcoe/v8-coverage" "^0.2.3"
- "@jest/console" "^27.0.6"
- "@jest/test-result" "^27.0.6"
- "@jest/transform" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/console" "^27.1.0"
+ "@jest/test-result" "^27.1.0"
+ "@jest/transform" "^27.1.0"
+ "@jest/types" "^27.1.0"
chalk "^4.0.0"
collect-v8-coverage "^1.0.0"
exit "^0.1.2"
@@ -1478,10 +1644,10 @@
istanbul-lib-report "^3.0.0"
istanbul-lib-source-maps "^4.0.0"
istanbul-reports "^3.0.2"
- jest-haste-map "^27.0.6"
- jest-resolve "^27.0.6"
- jest-util "^27.0.6"
- jest-worker "^27.0.6"
+ jest-haste-map "^27.1.0"
+ jest-resolve "^27.1.0"
+ jest-util "^27.1.0"
+ jest-worker "^27.1.0"
slash "^3.0.0"
source-map "^0.6.0"
string-length "^4.0.1"
@@ -1497,51 +1663,51 @@
graceful-fs "^4.2.4"
source-map "^0.6.0"
-"@jest/test-result@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.0.6.tgz#3fa42015a14e4fdede6acd042ce98c7f36627051"
- integrity sha512-ja/pBOMTufjX4JLEauLxE3LQBPaI2YjGFtXexRAjt1I/MbfNlMx0sytSX3tn5hSLzQsR3Qy2rd0hc1BWojtj9w==
+"@jest/test-result@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.1.0.tgz#9345ae5f97f6a5287af9ebd54716cd84331d42e8"
+ integrity sha512-Aoz00gpDL528ODLghat3QSy6UBTD5EmmpjrhZZMK/v1Q2/rRRqTGnFxHuEkrD4z/Py96ZdOHxIWkkCKRpmnE1A==
dependencies:
- "@jest/console" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/console" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/istanbul-lib-coverage" "^2.0.0"
collect-v8-coverage "^1.0.0"
-"@jest/test-sequencer@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.0.6.tgz#80a913ed7a1130545b1cd777ff2735dd3af5d34b"
- integrity sha512-bISzNIApazYOlTHDum9PwW22NOyDa6VI31n6JucpjTVM0jD6JDgqEZ9+yn575nDdPF0+4csYDxNNW13NvFQGZA==
+"@jest/test-sequencer@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.1.0.tgz#04e8b3bd735570d3d48865e74977a14dc99bff2d"
+ integrity sha512-lnCWawDr6Z1DAAK9l25o3AjmKGgcutq1iIbp+hC10s/HxnB8ZkUsYq1FzjOoxxZ5hW+1+AthBtvS4x9yno3V1A==
dependencies:
- "@jest/test-result" "^27.0.6"
+ "@jest/test-result" "^27.1.0"
graceful-fs "^4.2.4"
- jest-haste-map "^27.0.6"
- jest-runtime "^27.0.6"
+ jest-haste-map "^27.1.0"
+ jest-runtime "^27.1.0"
-"@jest/transform@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.0.6.tgz#189ad7107413208f7600f4719f81dd2f7278cc95"
- integrity sha512-rj5Dw+mtIcntAUnMlW/Vju5mr73u8yg+irnHwzgtgoeI6cCPOvUwQ0D1uQtc/APmWgvRweEb1g05pkUpxH3iCA==
+"@jest/transform@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.1.0.tgz#962e385517e3d1f62827fa39c305edcc3ca8544b"
+ integrity sha512-ZRGCA2ZEVJ00ubrhkTG87kyLbN6n55g1Ilq0X9nJb5bX3MhMp3O6M7KG+LvYu+nZRqG5cXsQnJEdZbdpTAV8pQ==
dependencies:
"@babel/core" "^7.1.0"
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
babel-plugin-istanbul "^6.0.0"
chalk "^4.0.0"
convert-source-map "^1.4.0"
fast-json-stable-stringify "^2.0.0"
graceful-fs "^4.2.4"
- jest-haste-map "^27.0.6"
+ jest-haste-map "^27.1.0"
jest-regex-util "^27.0.6"
- jest-util "^27.0.6"
+ jest-util "^27.1.0"
micromatch "^4.0.4"
pirates "^4.0.1"
slash "^3.0.0"
source-map "^0.6.1"
write-file-atomic "^3.0.0"
-"@jest/types@^27.0.6":
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.0.6.tgz#9a992bc517e0c49f035938b8549719c2de40706b"
- integrity sha512-aSquT1qa9Pik26JK5/3rvnYb4bGtm1VFNesHKmNTwmPIgOrixvhL2ghIvFRNEpzy3gU+rUgjIF/KodbkFAl++g==
+"@jest/types@^27.1.0":
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.1.0.tgz#674a40325eab23c857ebc0689e7e191a3c5b10cc"
+ integrity sha512-pRP5cLIzN7I7Vp6mHKRSaZD7YpBTK7hawx5si8trMKqk4+WOdK8NEKOTO2G8PKWD1HbKMVckVB6/XHh/olhf2g==
dependencies:
"@types/istanbul-lib-coverage" "^2.0.0"
"@types/istanbul-reports" "^3.0.0"
@@ -1688,54 +1854,54 @@
dependencies:
"@octokit/openapi-types" "^7.3.2"
-"@polkadot/api-contract@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-5.5.1.tgz#4cdd0d6f4352050c58464d5958bdb779770bd2dc"
- integrity sha512-/1O1AnpCu+LM2EKhRY83r36blG8KOr0JCVFeSfT0u52tM4wMdLlUy1XV/XTZayuCucdJ6I0pjUudCljm92aiGw==
+"@polkadot/api-contract@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-contract/-/api-contract-5.8.3.tgz#2fcb63d5b5fe3f70e686c7eb730cc4e06a80530d"
+ integrity sha512-+oWpUPb7w9E13ww4mMMZN7hxr/iKclDA2Ya3gvGnM7qkvTD6QPzoE9+QDpjn7gZWyZ0hmUQz5f5e2AVj7YGCog==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/api" "5.5.1"
- "@polkadot/types" "5.5.1"
- "@polkadot/util" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/api" "5.8.3"
+ "@polkadot/types" "5.8.3"
+ "@polkadot/util" "^7.3.1"
rxjs "^7.3.0"
-"@polkadot/api-derive@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-5.5.1.tgz#6fdba748d90024f2fcdeb7827d178ff8d0ad308e"
- integrity sha512-dkpl3CnroBYAlLx571KoyjI72TqRweWI61z7tzNeR8qwniNyWDEILTErUfzy5jYAO7XrZpW1Gn4WMMH+kEcqZQ==
+"@polkadot/api-derive@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-5.8.3.tgz#56915bddce9ebe09137d8999c1cd39447c4dda74"
+ integrity sha512-+bO8Dap3LknoxEP5X6IpIueU9wuLHC9EVNE/1PYIabiwOeMKA3TQR2yAPDnd6GhAc9mg/M0zl+zkzkYHfJ9X8g==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/api" "5.5.1"
- "@polkadot/rpc-core" "5.5.1"
- "@polkadot/types" "5.5.1"
- "@polkadot/util" "^7.2.1"
- "@polkadot/util-crypto" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/api" "5.8.3"
+ "@polkadot/rpc-core" "5.8.3"
+ "@polkadot/types" "5.8.3"
+ "@polkadot/util" "^7.3.1"
+ "@polkadot/util-crypto" "^7.3.1"
rxjs "^7.3.0"
-"@polkadot/api@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-5.5.1.tgz#0298c6d883c2264a68ae93a3b59b98263aed53d3"
- integrity sha512-GS/MoRc7NB61jz7TzwX0WAA3JS7DSj3xH4ac39LcuPHXu0VMQw6LgT/5KIzYxTx+79Iwth62bKelW/Mgk23wUg==
+"@polkadot/api@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-5.8.3.tgz#36440c47e6daf6bd71f5af66768fe6703f134028"
+ integrity sha512-O7sOUTNfMl0loHwK+WisJH36qw/EACeK9pPPh4bk9Gftda4j0JbGYSUnf59F9QjddkkwstOXbbQSRVM6JTQ7Yw==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/api-derive" "5.5.1"
- "@polkadot/keyring" "^7.2.1"
- "@polkadot/rpc-core" "5.5.1"
- "@polkadot/rpc-provider" "5.5.1"
- "@polkadot/types" "5.5.1"
- "@polkadot/types-known" "5.5.1"
- "@polkadot/util" "^7.2.1"
- "@polkadot/util-crypto" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/api-derive" "5.8.3"
+ "@polkadot/keyring" "^7.3.1"
+ "@polkadot/rpc-core" "5.8.3"
+ "@polkadot/rpc-provider" "5.8.3"
+ "@polkadot/types" "5.8.3"
+ "@polkadot/types-known" "5.8.3"
+ "@polkadot/util" "^7.3.1"
+ "@polkadot/util-crypto" "^7.3.1"
eventemitter3 "^4.0.7"
rxjs "^7.3.0"
-"@polkadot/dev@0.62.60":
- version "0.62.60"
- resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.62.60.tgz#450007c189a8433d8627bcc1fc01d2ffb1becfc3"
- integrity sha512-VHZ4d/hhRSNFe0RXp3L/ZcAk1t2JQ1/lsznONAz4I9SZ2pn5kAQrWRF6eukgfQscrlqCH5njDAxwgXe6ODNVRw==
+"@polkadot/dev@0.62.66":
+ version "0.62.66"
+ resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.62.66.tgz#64615b4be9ecf81a2191a8ef687f7e2832b5d6a7"
+ integrity sha512-bkMeUyljeanzkUUvtWYTJ0zQE//kYeCvc4DLRDpVglWBB4xL9lbjyLh5q6tTk8Pew3Wm2CADCmGyFyUJKWyf8Q==
dependencies:
- "@babel/cli" "^7.14.8"
- "@babel/core" "^7.15.0"
+ "@babel/cli" "^7.15.4"
+ "@babel/core" "^7.15.5"
"@babel/plugin-proposal-class-properties" "^7.14.5"
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5"
"@babel/plugin-proposal-numeric-separator" "^7.14.5"
@@ -1748,36 +1914,36 @@
"@babel/plugin-syntax-top-level-await" "^7.14.5"
"@babel/plugin-transform-regenerator" "^7.14.5"
"@babel/plugin-transform-runtime" "^7.15.0"
- "@babel/preset-env" "^7.15.0"
+ "@babel/preset-env" "^7.15.4"
"@babel/preset-react" "^7.14.5"
"@babel/preset-typescript" "^7.15.0"
"@babel/register" "^7.15.3"
- "@babel/runtime" "^7.15.3"
+ "@babel/runtime" "^7.15.4"
"@rollup/plugin-alias" "^3.1.5"
- "@rollup/plugin-commonjs" "^19.0.2"
+ "@rollup/plugin-commonjs" "^20.0.0"
"@rollup/plugin-inject" "^4.0.2"
"@rollup/plugin-json" "^4.1.0"
"@rollup/plugin-node-resolve" "^13.0.4"
"@rushstack/eslint-patch" "^1.0.6"
- "@typescript-eslint/eslint-plugin" "4.29.2"
- "@typescript-eslint/parser" "4.29.2"
+ "@typescript-eslint/eslint-plugin" "4.30.0"
+ "@typescript-eslint/parser" "4.30.0"
"@vue/component-compiler-utils" "^3.2.2"
- babel-jest "^27.0.6"
+ babel-jest "^27.1.0"
babel-plugin-module-extension-resolver "^1.0.0-rc.2"
babel-plugin-module-resolver "^4.1.0"
babel-plugin-styled-components "^1.13.2"
- browserslist "^4.16.7"
+ browserslist "^4.16.8"
chalk "^4.1.2"
coveralls "^3.1.1"
eslint "^7.32.0"
eslint-config-standard "^16.0.3"
eslint-import-resolver-node "^0.3.6"
eslint-plugin-header "^3.1.1"
- eslint-plugin-import "^2.24.0"
+ eslint-plugin-import "^2.24.2"
eslint-plugin-import-newlines "^1.1.4"
eslint-plugin-node "^11.1.0"
eslint-plugin-promise "^5.1.0"
- eslint-plugin-react "^7.24.0"
+ eslint-plugin-react "^7.25.1"
eslint-plugin-react-hooks "^4.2.0"
eslint-plugin-simple-import-sort "^7.0.0"
eslint-plugin-sort-destructure-keys "^1.3.5"
@@ -1786,127 +1952,127 @@
gh-release "^6.0.0"
glob "^7.1.7"
glob2base "^0.0.12"
- jest "^27.0.6"
- jest-cli "^27.0.6"
- jest-config "^27.0.6"
- jest-haste-map "^27.0.6"
- jest-resolve "^27.0.6"
- madge "^4.0.2"
+ jest "^27.1.0"
+ jest-cli "^27.1.0"
+ jest-config "^27.1.0"
+ jest-haste-map "^27.1.0"
+ jest-resolve "^27.1.0"
+ madge "^5.0.1"
minimatch "^3.0.4"
mkdirp "^1.0.4"
prettier "^2.3.2"
rimraf "^3.0.2"
- rollup "^2.56.2"
- typescript "^4.3.5"
+ rollup "^2.56.3"
+ typescript "^4.4.2"
yargs "^17.1.1"
-"@polkadot/keyring@^7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-7.2.1.tgz#5ed8e6c0edc61e3dd99ee647a227b9e3d955e8e6"
- integrity sha512-WmiTsHKELX16uZWLvebDBckZIAXeJFfbcOM6m/VbMOjSV5C6xIKqiV3232Mn8ZuPKgsOf25Q78/IwJW1Dq53Qg==
+"@polkadot/keyring@^7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-7.3.1.tgz#bf36115cfb395567bec9cf13c8e3fc0fb39c802a"
+ integrity sha512-3lbwIjUql8yjs6AR2fMdCgmTc5D9ne7+y2jqHmGjyzVQFz1w1jiHb+N38L0pwl9/23UxmzC3aVvHLfl3gEGSIQ==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/util" "7.2.1"
- "@polkadot/util-crypto" "7.2.1"
+ "@polkadot/util" "7.3.1"
+ "@polkadot/util-crypto" "7.3.1"
-"@polkadot/networks@7.2.1", "@polkadot/networks@^7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-7.2.1.tgz#20c8d81fba4b48162bf360759d8d54c55d30128b"
- integrity sha512-YX8oQ7QQ2oq3YowwOiv/C82l849V0ZEzpR26YrPgKSXbYFbasho3Akf0zalndZJZV1Bb8EiOkzGoJ3ffogSPxA==
+"@polkadot/networks@7.3.1", "@polkadot/networks@^7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-7.3.1.tgz#4d4f7269ff9c285363946175ca95d6aaa08bdacc"
+ integrity sha512-sK9TyVf1aAWy84usKjNqb6rNiy4UB6cK3iM+bfltzrLHdchjAMPdxMqULNBL8MXjrnuzPpTtsdkGFqp5P69oIQ==
dependencies:
"@babel/runtime" "^7.15.3"
-"@polkadot/rpc-core@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-5.5.1.tgz#4ce0646becabe7736dfb81eb902e5933158646c8"
- integrity sha512-hP7a55iSpgZVqxAIpK+v63eV/nD14Tm7C1rUmfKIS6gGJFJf+sQbTmp6d7+fuKxvYfFqBrFLU8IraOhLOQ5W3Q==
+"@polkadot/rpc-core@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-5.8.3.tgz#a9a489c8ba1cf2779a7dc76b96195386c44d77f8"
+ integrity sha512-/QMPb1uCXJLxHTAG/KVr0TWkJ1tgwB8xOB0Fe57tFaFmQ8bq4e08iHUVH1nzpyKAS35kGhov+W7YqdJffFL9vQ==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/rpc-provider" "5.5.1"
- "@polkadot/types" "5.5.1"
- "@polkadot/util" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/rpc-provider" "5.8.3"
+ "@polkadot/types" "5.8.3"
+ "@polkadot/util" "^7.3.1"
rxjs "^7.3.0"
-"@polkadot/rpc-provider@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-5.5.1.tgz#633f4a48605623092fb9017433f2b3cd70cd96bc"
- integrity sha512-wOCKeeyUa7Dw3nxKkQntnfOO471icdzqT2V7bwloBOo+G2MX8nHImO0mW3QMfJygn4qoARF1PBo1PLbDUEDgog==
+"@polkadot/rpc-provider@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-5.8.3.tgz#7097e2a9e5a3dfa5e525dec030d6a5595ae7cd2a"
+ integrity sha512-wJ18uzwG6PpgZ3My6C3puqvxXGsTwFXzeYoGZOH1Yj6CEZIufiTedN6AUqoWx2OQIPj0QPf9ZX9bWahpjDhUSA==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/types" "5.5.1"
- "@polkadot/util" "^7.2.1"
- "@polkadot/util-crypto" "^7.2.1"
- "@polkadot/x-fetch" "^7.2.1"
- "@polkadot/x-global" "^7.2.1"
- "@polkadot/x-ws" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/types" "5.8.3"
+ "@polkadot/util" "^7.3.1"
+ "@polkadot/util-crypto" "^7.3.1"
+ "@polkadot/x-fetch" "^7.3.1"
+ "@polkadot/x-global" "^7.3.1"
+ "@polkadot/x-ws" "^7.3.1"
eventemitter3 "^4.0.7"
-"@polkadot/ts@0.4.4":
- version "0.4.4"
- resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.4.4.tgz#e86aa47c2bcbc70ac8385b31014c81927c4b0a88"
- integrity sha512-lzB8lg8GfdJlA7RdeoOJVFopecN4i++JndbUs6jW7AgRz+joeXQIIRomVgCNE52nW1uWpXMELnlvEP812v7sVw==
+"@polkadot/ts@0.4.7":
+ version "0.4.7"
+ resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.4.7.tgz#9a77075900ae11367e6952977615a3c814e42eb3"
+ integrity sha512-nPiHJ5NbNB+UTz+PcC4hBLQ3J9Qkd03pWxj0ePr7/C0AjqI47dPYmDNb1jxNThsgfIu+35gShP60Nnt4OBxuSg==
dependencies:
- "@types/chrome" "^0.0.145"
+ "@types/chrome" "^0.0.155"
-"@polkadot/typegen@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-5.5.1.tgz#b31010716a142290d12f48ead6166851599055d0"
- integrity sha512-ua55CVqT3+Y5fX9stpYUO+UhiJJ1RDTZ6vM2/Lndmsuda4lHQnUDrCnMmxKhM5OcyIlJlY5mF9dyO0kl5mTm+w==
+"@polkadot/typegen@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/typegen/-/typegen-5.8.3.tgz#4058bdabeead69ac39b2758fbda961f6f7125f15"
+ integrity sha512-Aq6oL2JdHCFtmMY1rGYBLvnaY+l5gADQNJG6tUO+WJRLGlmpoi35GDqpZM0tP8ytSdkSPT8gZYa8KlPuwYFgQA==
dependencies:
- "@babel/core" "^7.15.0"
+ "@babel/core" "^7.15.5"
"@babel/register" "^7.15.3"
- "@babel/runtime" "^7.15.3"
- "@polkadot/api" "5.5.1"
- "@polkadot/rpc-provider" "5.5.1"
- "@polkadot/types" "5.5.1"
- "@polkadot/types-support" "5.5.1"
- "@polkadot/util" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/api" "5.8.3"
+ "@polkadot/rpc-provider" "5.8.3"
+ "@polkadot/types" "5.8.3"
+ "@polkadot/types-support" "5.8.3"
+ "@polkadot/util" "^7.3.1"
handlebars "^4.7.7"
websocket "^1.0.34"
- yargs "^17.1.0"
+ yargs "^17.1.1"
-"@polkadot/types-known@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-5.5.1.tgz#b00b0d45cbd07b4e0c3199f8ba00d10a1bd3f63d"
- integrity sha512-bxBRmZ0a3lwEyWkWOKqmDJfpNKh3cp9xo6IidrQU2S5OPMjFFercB+HwJjkNE1cMtShwBYTvDheUImNkdm+FXA==
+"@polkadot/types-known@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-5.8.3.tgz#c666ba5493bdca346f8bc4f690cbff62468ef1f9"
+ integrity sha512-C02xTOfr8u/hPszaGcBVhZdYgPw+rc3SMU9vbe4hziq5VGTinhfX0Sy6Ixa+GO7f31nJVIYyuLCeglCfN0rgFQ==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/networks" "^7.2.1"
- "@polkadot/types" "5.5.1"
- "@polkadot/util" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/networks" "^7.3.1"
+ "@polkadot/types" "5.8.3"
+ "@polkadot/util" "^7.3.1"
-"@polkadot/types-support@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-5.5.1.tgz#15556c2f31e79f0a6a821c7723f702757cb89462"
- integrity sha512-57i1SdK8B+miGTAlDNdvbBuN6FguTnwzv2UPE2Zv3iQznTSZBkQZN16tIK/yMkQfhtO4ZzPcAnnSPZMncqh/Mg==
+"@polkadot/types-support@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-5.8.3.tgz#0020e495be4170cde7f76d7e091f5d717cc1adf5"
+ integrity sha512-Gqd15/UeUs1MovHWgFXAVjb9UkupSZ0sBv4Vx+Uu1I4O5mcBP/sTAPIJN/m8kxk4f6sHpJaEpRJ/UmtUyxW/bQ==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/util" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/util" "^7.3.1"
-"@polkadot/types@5.5.1":
- version "5.5.1"
- resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-5.5.1.tgz#057e8f0fc2369c0741c0f9b0224418e8f25a6938"
- integrity sha512-+Cm7Y6D/98WqL8ofONyZrVvE2CxzK3/z18bATIQIWhG2w9ir9PdWaFMZ3fLCRw2Ggaq88AknguK6kXeEPcKPrA==
+"@polkadot/types@5.8.3":
+ version "5.8.3"
+ resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-5.8.3.tgz#9f37fe9a2dc30491bae671ba4e31e6d1a3c626ed"
+ integrity sha512-iSVCk7Ja8WjLOpjPtZRo9Gaz9AS/b722LH3wWo91TSMT11Vz/lYCWlagNc1nVez6sRsJoEXjD7pKA0ga0t78Lw==
dependencies:
- "@babel/runtime" "^7.15.3"
- "@polkadot/util" "^7.2.1"
- "@polkadot/util-crypto" "^7.2.1"
+ "@babel/runtime" "^7.15.4"
+ "@polkadot/util" "^7.3.1"
+ "@polkadot/util-crypto" "^7.3.1"
rxjs "^7.3.0"
-"@polkadot/util-crypto@7.2.1", "@polkadot/util-crypto@^7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-7.2.1.tgz#7f1bbf031dac75090699083fc9e825c22e5d5f61"
- integrity sha512-X3iGba/1JTL/0MNzMNEIlO9DNyKlwFV839jfGLDKhPbCuDmWp0NdQjF3mBmbvNwkXvn07WmhE7g3q9n5iTzqvQ==
+"@polkadot/util-crypto@7.3.1", "@polkadot/util-crypto@^7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-7.3.1.tgz#a597145b061eddaafd69adc6c1ce19224542307f"
+ integrity sha512-sR+BxlV2Da0xfQcCXQTz+ohTaagixM+qYHytaQzilytbKHgYIyvnOyk5wFrHDNFzcLuXo15AbULa3TCoNDvh5Q==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/networks" "7.2.1"
- "@polkadot/util" "7.2.1"
- "@polkadot/wasm-crypto" "^4.1.2"
- "@polkadot/x-randomvalues" "7.2.1"
+ "@polkadot/networks" "7.3.1"
+ "@polkadot/util" "7.3.1"
+ "@polkadot/wasm-crypto" "^4.2.1"
+ "@polkadot/x-randomvalues" "7.3.1"
base-x "^3.0.8"
base64-js "^1.5.1"
blakejs "^1.1.1"
- bn.js "^4.11.9"
+ bn.js "^4.12.0"
create-hash "^1.2.0"
ed2curve "^0.3.0"
elliptic "^6.5.4"
@@ -1916,90 +2082,90 @@
tweetnacl "^1.0.3"
xxhashjs "^0.2.2"
-"@polkadot/util@7.2.1", "@polkadot/util@^7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-7.2.1.tgz#abcad49f884534ff042c37480f63b9750c69341d"
- integrity sha512-GilFg3i5dmu0H6dHEyh5bUw3yywmnFpEHfxFmKghL1ABDEr4qD0d/XAJ9UrzLFCBKbdTZsR0MDjgjVI2N84J1A==
+"@polkadot/util@7.3.1", "@polkadot/util@^7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-7.3.1.tgz#1a33a8d4ef2dcbc3e14a9a919f30bb16360a6fae"
+ integrity sha512-fjz5yjgZgfgRXZw9zMufmPBHhjAVtk/M2+lgl1a6Fck43Q4TG2Ux1haXMlaoe37cFeh8XgDAzDEQVIYBIPy6sg==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/x-textdecoder" "7.2.1"
- "@polkadot/x-textencoder" "7.2.1"
+ "@polkadot/x-textdecoder" "7.3.1"
+ "@polkadot/x-textencoder" "7.3.1"
"@types/bn.js" "^4.11.6"
- bn.js "^4.11.9"
- camelcase "^5.3.1"
+ bn.js "^4.12.0"
+ camelcase "^6.2.0"
ip-regex "^4.3.0"
-"@polkadot/wasm-crypto-asmjs@^4.1.2":
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.1.2.tgz#094b3eeeb5fd39a93db177583b48454511874cfc"
- integrity sha512-3Q+vVUxDAC2tXgKMM3lKzx2JW+tarDpTjkvdxIKATyi8Ek69KkUqvMyJD0VL/iFZOFZED0YDX9UU4XOJ/astlg==
+"@polkadot/wasm-crypto-asmjs@^4.2.1":
+ version "4.2.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-4.2.1.tgz#6b7eae1c011709f8042dfd30872a5fc5e9e021c0"
+ integrity sha512-ON9EBpTNDCI3QRUmuQJIegYoAcwvxDaNNA7uwKTaEEStu8LjCIbQxbt4WbOBYWI0PoUpl4iIluXdT3XZ3V3jXA==
dependencies:
- "@babel/runtime" "^7.14.6"
+ "@babel/runtime" "^7.15.3"
-"@polkadot/wasm-crypto-wasm@^4.1.2":
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.1.2.tgz#773c78c1d65886671d3ba1d66c31afd86c93d02f"
- integrity sha512-/l4IBEdQ41szHdHkuF//z1qr+XmWuLHlpBA7s9Eb221m1Fir6AKoCHoh1hp1r3v0ecZYLKvak1B225w6JAU3Fg==
+"@polkadot/wasm-crypto-wasm@^4.2.1":
+ version "4.2.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-4.2.1.tgz#2a86f9b405e7195c3f523798c6ce4afffd19737e"
+ integrity sha512-Rs2CKiR4D+2hKzmKBfPNYxcd2E8NfLWia0av4fgicjT9YsWIWOGQUi9AtSOfazPOR9FrjxKJy+chQxAkcfKMnQ==
dependencies:
- "@babel/runtime" "^7.14.6"
+ "@babel/runtime" "^7.15.3"
-"@polkadot/wasm-crypto@^4.1.2":
- version "4.1.2"
- resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-4.1.2.tgz#dead71ae5d2f7722d23aed5be2112e1732d315e9"
- integrity sha512-2EKdOjIrD2xHP2rC+0G/3Qo6926nL/18vCFkd34lBd9zP9YNF2GDEtDY+zAeDIRFKe1sQHTpsKgNdYSWoV2eBg==
+"@polkadot/wasm-crypto@^4.2.1":
+ version "4.2.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-4.2.1.tgz#4d09402f5ac71a90962fb58cbe4b1707772a4fb6"
+ integrity sha512-C/A/QnemOilRTLnM0LfhPY2N/x3ZFd1ihm9sXYyuh98CxtekSVYI9h4IJ5Jrgz5imSUHgvt9oJLqJ5GbWQV/Zg==
dependencies:
- "@babel/runtime" "^7.14.6"
- "@polkadot/wasm-crypto-asmjs" "^4.1.2"
- "@polkadot/wasm-crypto-wasm" "^4.1.2"
+ "@babel/runtime" "^7.15.3"
+ "@polkadot/wasm-crypto-asmjs" "^4.2.1"
+ "@polkadot/wasm-crypto-wasm" "^4.2.1"
-"@polkadot/x-fetch@^7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-7.2.1.tgz#c9bee0316d31cd150b2cb6646ccdb77c6dc3d42d"
- integrity sha512-osdZNPfrB50d7tfjVs4QRjfsb6xqC09JEeYzbUl24hUXPwtkQE8/379jayu1usPe9/JI2wKYGscdf/nRl4pBkA==
+"@polkadot/x-fetch@^7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/x-fetch/-/x-fetch-7.3.1.tgz#d6a63d3bdebd3e058deb4507d6dbae782a44c8bf"
+ integrity sha512-QnwP2RxWEUtnHE+1Iy2T49D4s5F8XH4bCyGqhbpZZdMym+cc+9zifBRQ+B5BIpTqICFFFbbhUvnvBSC9nS8bvg==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/x-global" "7.2.1"
+ "@polkadot/x-global" "7.3.1"
"@types/node-fetch" "^2.5.12"
node-fetch "^2.6.1"
-"@polkadot/x-global@7.2.1", "@polkadot/x-global@^7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-7.2.1.tgz#32207936b7f939a21da608f82ca20535f9148cda"
- integrity sha512-VNW+76TxEPqvBy3XMNV05mJRPRGZcYh3k5HjW4+asYeFunMahH4zjmCulhtD9SRI/TqdfHTiqDOqKNKe2xJcVg==
+"@polkadot/x-global@7.3.1", "@polkadot/x-global@^7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-7.3.1.tgz#6e6f9d3347748bd885754c7367f08441a6b7dc6d"
+ integrity sha512-Tx2xGyrNLsV+hjfKsAWA03VUnkQGyCeaff6vE7Fi9iZo/4L4BdrQKhJgQrX8PQuOhrcv1B1GDuaYiXr7dwBR1g==
dependencies:
"@babel/runtime" "^7.15.3"
-"@polkadot/x-randomvalues@7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-7.2.1.tgz#708b7a54bd90ec091ab54e125d8b52e0853ea86b"
- integrity sha512-B4sjwX+gFweZ1YM1Cg/S9hAEx9E/gV/vqLW89PJB6+hyvsPS9eiVvfVpaOsohc7AgmuINm/bSQbNZvtC+BbbKw==
+"@polkadot/x-randomvalues@7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-7.3.1.tgz#120c64147ce9bebee9e18e6c72cb91cc4d91d7e1"
+ integrity sha512-WtOTsjpp0+VIV+GY7IrELVznv78+IQ96UW5rf2i3AUIoouB1z9VrzJu/MCN7zoRQ9OAWpNoGxdAwzRDm9UL3+g==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/x-global" "7.2.1"
+ "@polkadot/x-global" "7.3.1"
-"@polkadot/x-textdecoder@7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-7.2.1.tgz#c52074dba9943a12583f3f8672a49399f10e00f3"
- integrity sha512-yXSZ0P/D/8HT8gbkdTjw/1AKZIVbX3+mIfiDiN3VqUBzruV7ak5hA+D01I0woBGDqxWISoLQFtGrxPAQ8pwAcg==
+"@polkadot/x-textdecoder@7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-7.3.1.tgz#e7ffc566483dce42b72c340bbaa1e76bbc5b2d3d"
+ integrity sha512-AkGrJ8C8kLvs7uxKMMqkBZmUbm8k3CBvq7FLnfUaQQXha4/3G3u+g3UqSTJ8+nETwRrfpjAVS77fmFx+6Nkxng==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/x-global" "7.2.1"
+ "@polkadot/x-global" "7.3.1"
-"@polkadot/x-textencoder@7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-7.2.1.tgz#2326b3b7f9a5e445d7e560c438effbe800e2b1f6"
- integrity sha512-1aqfxmfKSOWeOxmGBmk+RYrpqGtWywS6t0y/R3FI+k+s8NfIfGdcjMcupKq7khPh92PvVGkur+CnM/y6chn4XA==
+"@polkadot/x-textencoder@7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-7.3.1.tgz#8c08dacdac677d7a8e021437ce2b31d90a041519"
+ integrity sha512-1yePbvbQ9U9ScRilQ/aH6CwgoSG8njH27XVzRR7WnulAMKbF3IvHgU56IlBZneHIojAy252yp2ldBG09PDIXeg==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/x-global" "7.2.1"
+ "@polkadot/x-global" "7.3.1"
-"@polkadot/x-ws@^7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-7.2.1.tgz#5971ab630911cdecd0a46db6fb899e9086954e58"
- integrity sha512-sYnOF0qNdMuGFiRGWAtpkQQYIP44JFzGywap0CskhNEyCc+zDBi4l/ta3qHjeGta+h9rdVjDeYk2J86EsKlkSw==
+"@polkadot/x-ws@^7.3.1":
+ version "7.3.1"
+ resolved "https://registry.yarnpkg.com/@polkadot/x-ws/-/x-ws-7.3.1.tgz#bc4bcfd3a5ebec7c6b57bdbc718a68699b87f7ca"
+ integrity sha512-JltBHm2GqmS/hPIbak3wzqHRTz5k3yQOdYPOsj2gAs5twe7fJwJOJp0InfpNCknX4Cn9+WBIjNZUNLZ6bO+MkQ==
dependencies:
"@babel/runtime" "^7.15.3"
- "@polkadot/x-global" "7.2.1"
+ "@polkadot/x-global" "7.3.1"
"@types/websocket" "^1.0.4"
websocket "^1.0.34"
@@ -2010,10 +2176,10 @@
dependencies:
slash "^3.0.0"
-"@rollup/plugin-commonjs@^19.0.2":
- version "19.0.2"
- resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-19.0.2.tgz#1ccc3d63878d1bc9846f8969f09dd3b3e4ecc244"
- integrity sha512-gBjarfqlC7qs0AutpRW/hrFNm+cd2/QKxhwyFa+srbg1oX7rDsEU3l+W7LAUhsAp9mPJMAkXDhLbQaVwEaE8bA==
+"@rollup/plugin-commonjs@^20.0.0":
+ version "20.0.0"
+ resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-20.0.0.tgz#3246872dcbcb18a54aaa6277a8c7d7f1b155b745"
+ integrity sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg==
dependencies:
"@rollup/pluginutils" "^3.1.0"
commondir "^1.0.1"
@@ -2148,10 +2314,10 @@
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.18.tgz#0c8e298dbff8205e2266606c1ea5fbdba29b46e4"
integrity sha512-rS27+EkB/RE1Iz3u0XtVL5q36MGDWbgYe7zWiodyKNUnthxY0rukK5V36eiUCtCisB7NN8zKYH6DO2M37qxFEQ==
-"@types/chrome@^0.0.145":
- version "0.0.145"
- resolved "https://registry.yarnpkg.com/@types/chrome/-/chrome-0.0.145.tgz#6c53ae0af5f25350b07bfd24cf459b5fe65cd9b8"
- integrity sha512-vLvTMmfc8mvwOZzkmn2UwlWSNu0t0txBkyuIv8NgihRkvFCe6XJX65YZAgAP/RdBit3enhU2GTxCr+prn4uZmA==
+"@types/chrome@^0.0.155":
+ version "0.0.155"
+ resolved "https://registry.yarnpkg.com/@types/chrome/-/chrome-0.0.155.tgz#8d5ebb4f57d050a280634cae279e28256eb70955"
+ integrity sha512-y21uDq+SXa253hddPUHABvkYFO7GuhUwxjuh+xaHYDW+3/4GepgKJ8oKQoMEf0pA9PwH3JsBSCKMJvgd6Nk4xQ==
dependencies:
"@types/filesystem" "*"
"@types/har-format" "*"
@@ -2297,13 +2463,13 @@
dependencies:
"@types/yargs-parser" "*"
-"@typescript-eslint/eslint-plugin@4.29.2":
- version "4.29.2"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.2.tgz#f54dc0a32b8f61c6024ab8755da05363b733838d"
- integrity sha512-x4EMgn4BTfVd9+Z+r+6rmWxoAzBaapt4QFqE+d8L8sUtYZYLDTK6VG/y/SMMWA5t1/BVU5Kf+20rX4PtWzUYZg==
+"@typescript-eslint/eslint-plugin@4.30.0":
+ version "4.30.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.30.0.tgz#4a0c1ae96b953f4e67435e20248d812bfa55e4fb"
+ integrity sha512-NgAnqk55RQ/SD+tZFD9aPwNSeHmDHHe5rtUyhIq0ZeCWZEvo4DK9rYz7v9HDuQZFvn320Ot+AikaCKMFKLlD0g==
dependencies:
- "@typescript-eslint/experimental-utils" "4.29.2"
- "@typescript-eslint/scope-manager" "4.29.2"
+ "@typescript-eslint/experimental-utils" "4.30.0"
+ "@typescript-eslint/scope-manager" "4.30.0"
debug "^4.3.1"
functional-red-black-tree "^1.0.1"
regexpp "^3.1.0"
@@ -2335,26 +2501,26 @@
eslint-scope "^5.1.1"
eslint-utils "^3.0.0"
-"@typescript-eslint/experimental-utils@4.29.2":
- version "4.29.2"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.2.tgz#5f67fb5c5757ef2cb3be64817468ba35c9d4e3b7"
- integrity sha512-P6mn4pqObhftBBPAv4GQtEK7Yos1fz/MlpT7+YjH9fTxZcALbiiPKuSIfYP/j13CeOjfq8/fr9Thr2glM9ub7A==
+"@typescript-eslint/experimental-utils@4.30.0":
+ version "4.30.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.30.0.tgz#9e49704fef568432ae16fc0d6685c13d67db0fd5"
+ integrity sha512-K8RNIX9GnBsv5v4TjtwkKtqMSzYpjqAQg/oSphtxf3xxdt6T0owqnpojztjjTcatSteH3hLj3t/kklKx87NPqw==
dependencies:
"@types/json-schema" "^7.0.7"
- "@typescript-eslint/scope-manager" "4.29.2"
- "@typescript-eslint/types" "4.29.2"
- "@typescript-eslint/typescript-estree" "4.29.2"
+ "@typescript-eslint/scope-manager" "4.30.0"
+ "@typescript-eslint/types" "4.30.0"
+ "@typescript-eslint/typescript-estree" "4.30.0"
eslint-scope "^5.1.1"
eslint-utils "^3.0.0"
-"@typescript-eslint/parser@4.29.2":
- version "4.29.2"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.29.2.tgz#1c7744f4c27aeb74610c955d3dce9250e95c370a"
- integrity sha512-WQ6BPf+lNuwteUuyk1jD/aHKqMQ9jrdCn7Gxt9vvBnzbpj7aWEf+aZsJ1zvTjx5zFxGCt000lsbD9tQPEL8u6g==
+"@typescript-eslint/parser@4.30.0":
+ version "4.30.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.30.0.tgz#6abd720f66bd790f3e0e80c3be77180c8fcb192d"
+ integrity sha512-HJ0XuluSZSxeboLU7Q2VQ6eLlCwXPBOGnA7CqgBnz2Db3JRQYyBDJgQnop6TZ+rsbSx5gEdWhw4rE4mDa1FnZg==
dependencies:
- "@typescript-eslint/scope-manager" "4.29.2"
- "@typescript-eslint/types" "4.29.2"
- "@typescript-eslint/typescript-estree" "4.29.2"
+ "@typescript-eslint/scope-manager" "4.30.0"
+ "@typescript-eslint/types" "4.30.0"
+ "@typescript-eslint/typescript-estree" "4.30.0"
debug "^4.3.1"
"@typescript-eslint/parser@^4.28.5":
@@ -2375,13 +2541,13 @@
"@typescript-eslint/types" "4.28.5"
"@typescript-eslint/visitor-keys" "4.28.5"
-"@typescript-eslint/scope-manager@4.29.2":
- version "4.29.2"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.29.2.tgz#442b0f029d981fa402942715b1718ac7fcd5aa1b"
- integrity sha512-mfHmvlQxmfkU8D55CkZO2sQOueTxLqGvzV+mG6S/6fIunDiD2ouwsAoiYCZYDDK73QCibYjIZmGhpvKwAB5BOA==
+"@typescript-eslint/scope-manager@4.30.0":
+ version "4.30.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.30.0.tgz#1a3ffbb385b1a06be85cd5165a22324f069a85ee"
+ integrity sha512-VJ/jAXovxNh7rIXCQbYhkyV2Y3Ac/0cVHP/FruTJSAUUm4Oacmn/nkN5zfWmWFEanN4ggP0vJSHOeajtHq3f8A==
dependencies:
- "@typescript-eslint/types" "4.29.2"
- "@typescript-eslint/visitor-keys" "4.29.2"
+ "@typescript-eslint/types" "4.30.0"
+ "@typescript-eslint/visitor-keys" "4.30.0"
"@typescript-eslint/types@4.27.0":
version "4.27.0"
@@ -2393,10 +2559,10 @@
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.28.5.tgz#d33edf8e429f0c0930a7c3d44e9b010354c422e9"
integrity sha512-MruOu4ZaDOLOhw4f/6iudyks/obuvvZUAHBDSW80Trnc5+ovmViLT2ZMDXhUV66ozcl6z0LJfKs1Usldgi/WCA==
-"@typescript-eslint/types@4.29.2":
- version "4.29.2"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.29.2.tgz#fc0489c6b89773f99109fb0aa0aaddff21f52fcd"
- integrity sha512-K6ApnEXId+WTGxqnda8z4LhNMa/pZmbTFkDxEBLQAbhLZL50DjeY0VIDCml/0Y3FlcbqXZrABqrcKxq+n0LwzQ==
+"@typescript-eslint/types@4.30.0":
+ version "4.30.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.30.0.tgz#fb9d9b0358426f18687fba82eb0b0f869780204f"
+ integrity sha512-YKldqbNU9K4WpTNwBqtAerQKLLW/X2A/j4yw92e3ZJYLx+BpKLeheyzoPfzIXHfM8BXfoleTdiYwpsvVPvHrDw==
"@typescript-eslint/typescript-estree@4.28.5":
version "4.28.5"
@@ -2411,13 +2577,13 @@
semver "^7.3.5"
tsutils "^3.21.0"
-"@typescript-eslint/typescript-estree@4.29.2":
- version "4.29.2"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.2.tgz#a0ea8b98b274adbb2577100ba545ddf8bf7dc219"
- integrity sha512-TJ0/hEnYxapYn9SGn3dCnETO0r+MjaxtlWZ2xU+EvytF0g4CqTpZL48SqSNn2hXsPolnewF30pdzR9a5Lj3DNg==
+"@typescript-eslint/typescript-estree@4.30.0":
+ version "4.30.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.30.0.tgz#ae57833da72a753f4846cd3053758c771670c2ac"
+ integrity sha512-6WN7UFYvykr/U0Qgy4kz48iGPWILvYL34xXJxvDQeiRE018B7POspNRVtAZscWntEPZpFCx4hcz/XBT+erenfg==
dependencies:
- "@typescript-eslint/types" "4.29.2"
- "@typescript-eslint/visitor-keys" "4.29.2"
+ "@typescript-eslint/types" "4.30.0"
+ "@typescript-eslint/visitor-keys" "4.30.0"
debug "^4.3.1"
globby "^11.0.3"
is-glob "^4.0.1"
@@ -2453,12 +2619,12 @@
"@typescript-eslint/types" "4.28.5"
eslint-visitor-keys "^2.0.0"
-"@typescript-eslint/visitor-keys@4.29.2":
- version "4.29.2"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.2.tgz#d2da7341f3519486f50655159f4e5ecdcb2cd1df"
- integrity sha512-bDgJLQ86oWHJoZ1ai4TZdgXzJxsea3Ee9u9wsTAvjChdj2WLcVsgWYAPeY7RQMn16tKrlQaBnpKv7KBfs4EQag==
+"@typescript-eslint/visitor-keys@4.30.0":
+ version "4.30.0"
+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.30.0.tgz#a47c6272fc71b0c627d1691f68eaecf4ad71445e"
+ integrity sha512-pNaaxDt/Ol/+JZwzP7MqWc8PJQTUhZwoee/PVlQ+iYoYhagccvoHnC9e4l+C/krQYYkENxznhVSDwClIbZVxRw==
dependencies:
- "@typescript-eslint/types" "4.29.2"
+ "@typescript-eslint/types" "4.30.0"
eslint-visitor-keys "^2.0.0"
"@ungap/promise-all-settled@1.1.2":
@@ -2826,13 +2992,13 @@
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
-babel-jest@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.0.6.tgz#e99c6e0577da2655118e3608b68761a5a69bd0d8"
- integrity sha512-iTJyYLNc4wRofASmofpOc5NK9QunwMk+TLFgGXsTFS8uEqmd8wdI7sga0FPe2oVH3b5Agt/EAK1QjPEuKL8VfA==
+babel-jest@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.1.0.tgz#e96ca04554fd32274439869e2b6d24de9d91bc4e"
+ integrity sha512-6NrdqzaYemALGCuR97QkC/FkFIEBWP5pw5TMJoUHZTVXyOgocujp6A0JE2V6gE0HtqAAv6VKU/nI+OCR1Z4gHA==
dependencies:
- "@jest/transform" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/transform" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/babel__core" "^7.1.14"
babel-plugin-istanbul "^6.0.0"
babel-preset-jest "^27.0.6"
@@ -3035,7 +3201,7 @@
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215"
integrity sha1-UzRK2xRhehP26N0s4okF0cC6MhU=
-bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.1, bn.js@^4.11.6, bn.js@^4.11.9:
+bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.1, bn.js@^4.11.6, bn.js@^4.11.9, bn.js@^4.12.0:
version "4.12.0"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
@@ -3197,6 +3363,17 @@
escalade "^3.1.1"
node-releases "^1.1.73"
+browserslist@^4.16.8:
+ version "4.17.0"
+ resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.0.tgz#1fcd81ec75b41d6d4994fb0831b92ac18c01649c"
+ integrity sha512-g2BJ2a0nEYvEFQC208q8mVAhfNwpZ5Mu8BwgtCdZKO3qx98HChmeg448fPdUzld8aFmfLgVh7yymqV+q1lJZ5g==
+ dependencies:
+ caniuse-lite "^1.0.30001254"
+ colorette "^1.3.0"
+ electron-to-chromium "^1.3.830"
+ escalade "^3.1.1"
+ node-releases "^1.1.75"
+
bs58@^4.0.0:
version "4.0.1"
resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a"
@@ -3326,6 +3503,11 @@
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz#6853a606ec50893115db660f82c094d18f096d85"
integrity sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A==
+caniuse-lite@^1.0.30001254:
+ version "1.0.30001255"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001255.tgz#f3b09b59ab52e39e751a569523618f47c4298ca0"
+ integrity sha512-F+A3N9jTZL882f/fg/WWVnKSu6IOo3ueLz4zwaOPbPYHNmM/ZaDUyzyJwS1mZhX7Ex5jqTyW599Gdelh5PDYLQ==
+
caseless@~0.12.0:
version "0.12.0"
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
@@ -3584,7 +3766,7 @@
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
-color-name@~1.1.4:
+color-name@^1.1.4, color-name@~1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
@@ -3594,6 +3776,11 @@
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94"
integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==
+colorette@^1.3.0:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.3.0.tgz#ff45d2f0edb244069d3b772adeb04fed38d0a0af"
+ integrity sha512-ecORCqbSFP7Wm8Y6lyqMJjexBQqXSF7SSeaTyGGphogUjBlFP9m9o08wy86HL2uB7fMTxtOUzLMk7ogKcxMg1w==
+
combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
@@ -3621,10 +3808,10 @@
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
-commander@^6.2.1:
- version "6.2.1"
- resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
- integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==
+commander@^7.2.0:
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
+ integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==
commondir@^1.0.1:
version "1.0.1"
@@ -4006,7 +4193,7 @@
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=
-dependency-tree@^8.0.0:
+dependency-tree@^8.1.1:
version "8.1.1"
resolved "https://registry.yarnpkg.com/dependency-tree/-/dependency-tree-8.1.1.tgz#1a309f5a860b3285f7b1638c98ce48c8906ae6e6"
integrity sha512-bl5U16VQpaYxD0xvcnCH/dTctCiWnsVWymh9dNjbm4T00Hm21flu1VLnNueKCj7+3uusbcJhKKKtiWrpU0I+Nw==
@@ -4045,7 +4232,7 @@
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==
-detective-amd@^3.0.1:
+detective-amd@^3.0.1, detective-amd@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/detective-amd/-/detective-amd-3.1.0.tgz#92daee3214a0ca4522646cf333cac90a3fca6373"
integrity sha512-G7wGWT6f0VErjUkE2utCm7IUshT7nBh7aBBH2VBOiY9Dqy2DMens5iiOvYCuhstoIxRKLrnOvVAz4/EyPIAjnw==
@@ -4063,7 +4250,7 @@
ast-module-types "^2.4.0"
node-source-walk "^4.0.0"
-detective-es6@^2.1.0, detective-es6@^2.2.0:
+detective-es6@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/detective-es6/-/detective-es6-2.2.0.tgz#8f2baba3f8cd90a5cfd748f5ac436f0158ed2585"
integrity sha512-fSpNY0SLER7/sVgQZ1NxJPwmc9uCTzNgdkQDhAaj8NPYwr7Qji9QBcmbNvtMCnuuOGMuKn3O7jv0An+/WRWJZQ==
@@ -4089,6 +4276,16 @@
postcss "^8.1.7"
postcss-values-parser "^2.0.1"
+detective-postcss@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/detective-postcss/-/detective-postcss-5.0.0.tgz#7d39bde17a280e26d0b43130fd735a4a75786fb0"
+ integrity sha512-IBmim4GTEmZJDBOAoNFBskzNryTmYpBq+CQGghKnSGkoGWascE8iEo98yA+ZM4N5slwGjCr/NxCm+Kzg+q3tZg==
+ dependencies:
+ debug "^4.3.1"
+ is-url "^1.2.4"
+ postcss "^8.2.13"
+ postcss-values-parser "^5.0.0"
+
detective-sass@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/detective-sass/-/detective-sass-3.0.1.tgz#496b819efd1f5c4dd3f0e19b43a8634bdd6927c4"
@@ -4112,16 +4309,6 @@
resolved "https://registry.yarnpkg.com/detective-stylus/-/detective-stylus-1.0.0.tgz#50aee7db8babb990381f010c63fabba5b58e54cd"
integrity sha1-UK7n24uruZA4HwEMY/q7pbWOVM0=
-detective-typescript@^6.0.0:
- version "6.0.0"
- resolved "https://registry.yarnpkg.com/detective-typescript/-/detective-typescript-6.0.0.tgz#394062118d7c7da53425647ca41e0081169aa2b3"
- integrity sha512-vTidcSDK3QostdbrH2Rwf9FhvrgJ4oIaVw5jbolgruTejexk6nNa9DShGpuS8CFVDb1IP86jct5BaZt1wSxpkA==
- dependencies:
- "@typescript-eslint/typescript-estree" "^4.8.2"
- ast-module-types "^2.7.1"
- node-source-walk "^4.2.0"
- typescript "^3.9.7"
-
detective-typescript@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/detective-typescript/-/detective-typescript-7.0.0.tgz#8c8917f2e51d9e4ee49821abf759ff512dd897f2"
@@ -4241,6 +4428,11 @@
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.807.tgz#c2eb803f4f094869b1a24151184ffbbdbf688b1f"
integrity sha512-p8uxxg2a23zRsvQ2uwA/OOI+O4BQxzaR7YKMIGGGQCpYmkFX2CVF5f0/hxLMV7yCr7nnJViCwHLhPfs52rIYCA==
+electron-to-chromium@^1.3.830:
+ version "1.3.830"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.830.tgz#40e3144204f8ca11b2cebec83cf14c20d3499236"
+ integrity sha512-gBN7wNAxV5vl1430dG+XRcQhD4pIeYeak6p6rjdCtlz5wWNwDad8jwvphe5oi1chL5MV6RNRikfffBBiFuj+rQ==
+
elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4:
version "6.5.4"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
@@ -4412,7 +4604,7 @@
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-16.0.3.tgz#6c8761e544e96c531ff92642eeb87842b8488516"
integrity sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==
-eslint-import-resolver-node@^0.3.5, eslint-import-resolver-node@^0.3.6:
+eslint-import-resolver-node@^0.3.6:
version "0.3.6"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd"
integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==
@@ -4446,26 +4638,26 @@
resolved "https://registry.yarnpkg.com/eslint-plugin-import-newlines/-/eslint-plugin-import-newlines-1.1.4.tgz#d69d03fe512b2f54bc781d1dfc51a4ad99df7a52"
integrity sha512-GCIM+524XQOFcEPinEyrvktQHkQq+k+kYCwbRrIioGBVGnk3RGDFWv5BPqBQCDci6SNZCVgIOi3/FmtDetbxvA==
-eslint-plugin-import@^2.24.0:
- version "2.24.0"
- resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.24.0.tgz#697ffd263e24da5e84e03b282f5fb62251777177"
- integrity sha512-Kc6xqT9hiYi2cgybOc0I2vC9OgAYga5o/rAFinam/yF/t5uBqxQbauNPMC6fgb640T/89P0gFoO27FOilJ/Cqg==
+eslint-plugin-import@^2.24.2:
+ version "2.24.2"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.24.2.tgz#2c8cd2e341f3885918ee27d18479910ade7bb4da"
+ integrity sha512-hNVtyhiEtZmpsabL4neEj+6M5DCLgpYyG9nzJY8lZQeQXEn5UPW1DpUdsMHMXsq98dbNm7nt1w9ZMSVpfJdi8Q==
dependencies:
array-includes "^3.1.3"
array.prototype.flat "^1.2.4"
debug "^2.6.9"
doctrine "^2.1.0"
- eslint-import-resolver-node "^0.3.5"
+ eslint-import-resolver-node "^0.3.6"
eslint-module-utils "^2.6.2"
find-up "^2.0.0"
has "^1.0.3"
- is-core-module "^2.4.0"
+ is-core-module "^2.6.0"
minimatch "^3.0.4"
- object.values "^1.1.3"
+ object.values "^1.1.4"
pkg-up "^2.0.0"
read-pkg-up "^3.0.0"
resolve "^1.20.0"
- tsconfig-paths "^3.9.0"
+ tsconfig-paths "^3.11.0"
eslint-plugin-node@^11.1.0:
version "11.1.0"
@@ -4489,14 +4681,15 @@
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==
-eslint-plugin-react@^7.24.0:
- version "7.24.0"
- resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.24.0.tgz#eadedfa351a6f36b490aa17f4fa9b14e842b9eb4"
- integrity sha512-KJJIx2SYx7PBx3ONe/mEeMz4YE0Lcr7feJTCMyyKb/341NcjuAgim3Acgan89GfPv7nxXK2+0slu0CWXYM4x+Q==
+eslint-plugin-react@^7.25.1:
+ version "7.25.1"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.1.tgz#9286b7cd9bf917d40309760f403e53016eda8331"
+ integrity sha512-P4j9K1dHoFXxDNP05AtixcJEvIT6ht8FhYKsrkY0MPCPaUMYijhpWwNiRDZVtA8KFuZOkGSeft6QwH8KuVpJug==
dependencies:
array-includes "^3.1.3"
array.prototype.flatmap "^1.2.4"
doctrine "^2.1.0"
+ estraverse "^5.2.0"
has "^1.0.3"
jsx-ast-utils "^2.4.1 || ^3.0.0"
minimatch "^3.0.4"
@@ -4851,16 +5044,16 @@
snapdragon "^0.8.1"
to-regex "^3.0.1"
-expect@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/expect/-/expect-27.0.6.tgz#a4d74fbe27222c718fff68ef49d78e26a8fd4c05"
- integrity sha512-psNLt8j2kwg42jGBDSfAlU49CEZxejN1f1PlANWDZqIhBOVU/c2Pm888FcjWJzFewhIsNWfZJeLjUjtKGiPuSw==
+expect@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/expect/-/expect-27.1.0.tgz#380de0abb3a8f2299c4c6c66bbe930483b5dba9b"
+ integrity sha512-9kJngV5hOJgkFil4F/uXm3hVBubUK2nERVfvqNNwxxuW8ZOUwSTTSysgfzckYtv/LBzj/LJXbiAF7okHCXgdug==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
ansi-styles "^5.0.0"
jest-get-type "^27.0.6"
- jest-matcher-utils "^27.0.6"
- jest-message-util "^27.0.6"
+ jest-matcher-utils "^27.1.0"
+ jest-message-util "^27.1.0"
jest-regex-util "^27.0.6"
express@^4.14.0:
@@ -6016,13 +6209,20 @@
dependencies:
ci-info "^3.1.1"
-is-core-module@^2.2.0, is-core-module@^2.4.0:
+is-core-module@^2.2.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.4.0.tgz#8e9fc8e15027b011418026e98f0e6f4d86305cc1"
integrity sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==
dependencies:
has "^1.0.3"
+is-core-module@^2.6.0:
+ version "2.6.0"
+ resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.6.0.tgz#d7553b2526fe59b92ba3e40c8df757ec8a709e19"
+ integrity sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==
+ dependencies:
+ has "^1.0.3"
+
is-data-descriptor@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
@@ -6286,6 +6486,11 @@
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
+is-url-superb@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/is-url-superb/-/is-url-superb-4.0.0.tgz#b54d1d2499bb16792748ac967aa3ecb41a33a8c2"
+ integrity sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==
+
is-url@^1.1.0, is-url@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/is-url/-/is-url-1.2.4.tgz#04a4df46d28c4cff3d73d01ff06abeb318a1aa52"
@@ -6377,94 +6582,94 @@
has-to-string-tag-x "^1.2.0"
is-object "^1.0.1"
-jest-changed-files@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.0.6.tgz#bed6183fcdea8a285482e3b50a9a7712d49a7a8b"
- integrity sha512-BuL/ZDauaq5dumYh5y20sn4IISnf1P9A0TDswTxUi84ORGtVa86ApuBHqICL0vepqAnZiY6a7xeSPWv2/yy4eA==
+jest-changed-files@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.1.0.tgz#42da6ea00f06274172745729d55f42b60a9dffe0"
+ integrity sha512-eRcb13TfQw0xiV2E98EmiEgs9a5uaBIqJChyl0G7jR9fCIvGjXovnDS6Zbku3joij4tXYcSK4SE1AXqOlUxjWg==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
execa "^5.0.0"
throat "^6.0.1"
-jest-circus@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.0.6.tgz#dd4df17c4697db6a2c232aaad4e9cec666926668"
- integrity sha512-OJlsz6BBeX9qR+7O9lXefWoc2m9ZqcZ5Ohlzz0pTEAG4xMiZUJoacY8f4YDHxgk0oKYxj277AfOk9w6hZYvi1Q==
+jest-circus@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.1.0.tgz#24c280c90a625ea57da20ee231d25b1621979a57"
+ integrity sha512-6FWtHs3nZyZlMBhRf1wvAC5CirnflbGJAY1xssSAnERLiiXQRH+wY2ptBVtXjX4gz4AA2EwRV57b038LmifRbA==
dependencies:
- "@jest/environment" "^27.0.6"
- "@jest/test-result" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/environment" "^27.1.0"
+ "@jest/test-result" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
chalk "^4.0.0"
co "^4.6.0"
dedent "^0.7.0"
- expect "^27.0.6"
+ expect "^27.1.0"
is-generator-fn "^2.0.0"
- jest-each "^27.0.6"
- jest-matcher-utils "^27.0.6"
- jest-message-util "^27.0.6"
- jest-runtime "^27.0.6"
- jest-snapshot "^27.0.6"
- jest-util "^27.0.6"
- pretty-format "^27.0.6"
+ jest-each "^27.1.0"
+ jest-matcher-utils "^27.1.0"
+ jest-message-util "^27.1.0"
+ jest-runtime "^27.1.0"
+ jest-snapshot "^27.1.0"
+ jest-util "^27.1.0"
+ pretty-format "^27.1.0"
slash "^3.0.0"
stack-utils "^2.0.3"
throat "^6.0.1"
-jest-cli@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.0.6.tgz#d021e5f4d86d6a212450d4c7b86cb219f1e6864f"
- integrity sha512-qUUVlGb9fdKir3RDE+B10ULI+LQrz+MCflEH2UJyoUjoHHCbxDrMxSzjQAPUMsic4SncI62ofYCcAvW6+6rhhg==
+jest-cli@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.1.0.tgz#118438e4d11cf6fb66cb2b2eb5778817eab3daeb"
+ integrity sha512-h6zPUOUu+6oLDrXz0yOWY2YXvBLk8gQinx4HbZ7SF4V3HzasQf+ncoIbKENUMwXyf54/6dBkYXvXJos+gOHYZw==
dependencies:
- "@jest/core" "^27.0.6"
- "@jest/test-result" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/core" "^27.1.0"
+ "@jest/test-result" "^27.1.0"
+ "@jest/types" "^27.1.0"
chalk "^4.0.0"
exit "^0.1.2"
graceful-fs "^4.2.4"
import-local "^3.0.2"
- jest-config "^27.0.6"
- jest-util "^27.0.6"
- jest-validate "^27.0.6"
+ jest-config "^27.1.0"
+ jest-util "^27.1.0"
+ jest-validate "^27.1.0"
prompts "^2.0.1"
yargs "^16.0.3"
-jest-config@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.0.6.tgz#119fb10f149ba63d9c50621baa4f1f179500277f"
- integrity sha512-JZRR3I1Plr2YxPBhgqRspDE2S5zprbga3swYNrvY3HfQGu7p/GjyLOqwrYad97tX3U3mzT53TPHVmozacfP/3w==
+jest-config@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.1.0.tgz#e6826e2baaa34c07c3839af86466870e339d9ada"
+ integrity sha512-GMo7f76vMYUA3b3xOdlcKeKQhKcBIgurjERO2hojo0eLkKPGcw7fyIoanH+m6KOP2bLad+fGnF8aWOJYxzNPeg==
dependencies:
"@babel/core" "^7.1.0"
- "@jest/test-sequencer" "^27.0.6"
- "@jest/types" "^27.0.6"
- babel-jest "^27.0.6"
+ "@jest/test-sequencer" "^27.1.0"
+ "@jest/types" "^27.1.0"
+ babel-jest "^27.1.0"
chalk "^4.0.0"
deepmerge "^4.2.2"
glob "^7.1.1"
graceful-fs "^4.2.4"
is-ci "^3.0.0"
- jest-circus "^27.0.6"
- jest-environment-jsdom "^27.0.6"
- jest-environment-node "^27.0.6"
+ jest-circus "^27.1.0"
+ jest-environment-jsdom "^27.1.0"
+ jest-environment-node "^27.1.0"
jest-get-type "^27.0.6"
- jest-jasmine2 "^27.0.6"
+ jest-jasmine2 "^27.1.0"
jest-regex-util "^27.0.6"
- jest-resolve "^27.0.6"
- jest-runner "^27.0.6"
- jest-util "^27.0.6"
- jest-validate "^27.0.6"
+ jest-resolve "^27.1.0"
+ jest-runner "^27.1.0"
+ jest-util "^27.1.0"
+ jest-validate "^27.1.0"
micromatch "^4.0.4"
- pretty-format "^27.0.6"
+ pretty-format "^27.1.0"
-jest-diff@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.0.6.tgz#4a7a19ee6f04ad70e0e3388f35829394a44c7b5e"
- integrity sha512-Z1mqgkTCSYaFgwTlP/NUiRzdqgxmmhzHY1Tq17zL94morOHfHu3K4bgSgl+CR4GLhpV8VxkuOYuIWnQ9LnFqmg==
+jest-diff@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.1.0.tgz#c7033f25add95e2218f3c7f4c3d7b634ab6b3cd2"
+ integrity sha512-rjfopEYl58g/SZTsQFmspBODvMSytL16I+cirnScWTLkQVXYVZfxm78DFfdIIXc05RCYuGjxJqrdyG4PIFzcJg==
dependencies:
chalk "^4.0.0"
diff-sequences "^27.0.6"
jest-get-type "^27.0.6"
- pretty-format "^27.0.6"
+ pretty-format "^27.1.0"
jest-docblock@^27.0.6:
version "27.0.6"
@@ -6473,53 +6678,53 @@
dependencies:
detect-newline "^3.0.0"
-jest-each@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.0.6.tgz#cee117071b04060158dc8d9a66dc50ad40ef453b"
- integrity sha512-m6yKcV3bkSWrUIjxkE9OC0mhBZZdhovIW5ergBYirqnkLXkyEn3oUUF/QZgyecA1cF1QFyTE8bRRl8Tfg1pfLA==
+jest-each@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.1.0.tgz#36ac75f7aeecb3b8da2a8e617ccb30a446df408c"
+ integrity sha512-K/cNvQlmDqQMRHF8CaQ0XPzCfjP5HMJc2bIJglrIqI9fjwpNqITle63IWE+wq4p+3v+iBgh7Wq0IdGpLx5xjDg==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
chalk "^4.0.0"
jest-get-type "^27.0.6"
- jest-util "^27.0.6"
- pretty-format "^27.0.6"
+ jest-util "^27.1.0"
+ pretty-format "^27.1.0"
-jest-environment-jsdom@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.0.6.tgz#f66426c4c9950807d0a9f209c590ce544f73291f"
- integrity sha512-FvetXg7lnXL9+78H+xUAsra3IeZRTiegA3An01cWeXBspKXUhAwMM9ycIJ4yBaR0L7HkoMPaZsozCLHh4T8fuw==
+jest-environment-jsdom@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.1.0.tgz#5fb3eb8a67e02e6cc623640388d5f90e33075f18"
+ integrity sha512-JbwOcOxh/HOtsj56ljeXQCUJr3ivnaIlM45F5NBezFLVYdT91N5UofB1ux2B1CATsQiudcHdgTaeuqGXJqjJYQ==
dependencies:
- "@jest/environment" "^27.0.6"
- "@jest/fake-timers" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/environment" "^27.1.0"
+ "@jest/fake-timers" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
- jest-mock "^27.0.6"
- jest-util "^27.0.6"
+ jest-mock "^27.1.0"
+ jest-util "^27.1.0"
jsdom "^16.6.0"
-jest-environment-node@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.0.6.tgz#a6699b7ceb52e8d68138b9808b0c404e505f3e07"
- integrity sha512-+Vi6yLrPg/qC81jfXx3IBlVnDTI6kmRr08iVa2hFCWmJt4zha0XW7ucQltCAPhSR0FEKEoJ3i+W4E6T0s9is0w==
+jest-environment-node@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.1.0.tgz#feea6b765f1fd4582284d4f1007df2b0a8d15b7f"
+ integrity sha512-JIyJ8H3wVyM4YCXp7njbjs0dIT87yhGlrXCXhDKNIg1OjurXr6X38yocnnbXvvNyqVTqSI4M9l+YfPKueqL1lw==
dependencies:
- "@jest/environment" "^27.0.6"
- "@jest/fake-timers" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/environment" "^27.1.0"
+ "@jest/fake-timers" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
- jest-mock "^27.0.6"
- jest-util "^27.0.6"
+ jest-mock "^27.1.0"
+ jest-util "^27.1.0"
jest-get-type@^27.0.6:
version "27.0.6"
resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.0.6.tgz#0eb5c7f755854279ce9b68a9f1a4122f69047cfe"
integrity sha512-XTkK5exIeUbbveehcSR8w0bhH+c0yloW/Wpl+9vZrjzztCPWrxhHwkIFpZzCt71oRBsgxmuUfxEqOYoZI2macg==
-jest-haste-map@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.0.6.tgz#4683a4e68f6ecaa74231679dca237279562c8dc7"
- integrity sha512-4ldjPXX9h8doB2JlRzg9oAZ2p6/GpQUNAeiYXqcpmrKbP0Qev0wdZlxSMOmz8mPOEnt4h6qIzXFLDi8RScX/1w==
+jest-haste-map@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.1.0.tgz#a39f456823bd6a74e3c86ad25f6fa870428326bf"
+ integrity sha512-7mz6LopSe+eA6cTFMf10OfLLqRoIPvmMyz5/OnSXnHO7hB0aDP1iIeLWCXzAcYU5eIJVpHr12Bk9yyq2fTW9vg==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
"@types/graceful-fs" "^4.1.2"
"@types/node" "*"
anymatch "^3.0.3"
@@ -6527,76 +6732,76 @@
graceful-fs "^4.2.4"
jest-regex-util "^27.0.6"
jest-serializer "^27.0.6"
- jest-util "^27.0.6"
- jest-worker "^27.0.6"
+ jest-util "^27.1.0"
+ jest-worker "^27.1.0"
micromatch "^4.0.4"
walker "^1.0.7"
optionalDependencies:
fsevents "^2.3.2"
-jest-jasmine2@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.0.6.tgz#fd509a9ed3d92bd6edb68a779f4738b100655b37"
- integrity sha512-cjpH2sBy+t6dvCeKBsHpW41mjHzXgsavaFMp+VWRf0eR4EW8xASk1acqmljFtK2DgyIECMv2yCdY41r2l1+4iA==
+jest-jasmine2@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.1.0.tgz#324a3de0b2ee20d238b2b5b844acc4571331a206"
+ integrity sha512-Z/NIt0wBDg3przOW2FCWtYjMn3Ip68t0SL60agD/e67jlhTyV3PIF8IzT9ecwqFbeuUSO2OT8WeJgHcalDGFzQ==
dependencies:
"@babel/traverse" "^7.1.0"
- "@jest/environment" "^27.0.6"
+ "@jest/environment" "^27.1.0"
"@jest/source-map" "^27.0.6"
- "@jest/test-result" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/test-result" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
chalk "^4.0.0"
co "^4.6.0"
- expect "^27.0.6"
+ expect "^27.1.0"
is-generator-fn "^2.0.0"
- jest-each "^27.0.6"
- jest-matcher-utils "^27.0.6"
- jest-message-util "^27.0.6"
- jest-runtime "^27.0.6"
- jest-snapshot "^27.0.6"
- jest-util "^27.0.6"
- pretty-format "^27.0.6"
+ jest-each "^27.1.0"
+ jest-matcher-utils "^27.1.0"
+ jest-message-util "^27.1.0"
+ jest-runtime "^27.1.0"
+ jest-snapshot "^27.1.0"
+ jest-util "^27.1.0"
+ pretty-format "^27.1.0"
throat "^6.0.1"
-jest-leak-detector@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.0.6.tgz#545854275f85450d4ef4b8fe305ca2a26450450f"
- integrity sha512-2/d6n2wlH5zEcdctX4zdbgX8oM61tb67PQt4Xh8JFAIy6LRKUnX528HulkaG6nD5qDl5vRV1NXejCe1XRCH5gQ==
+jest-leak-detector@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.1.0.tgz#fe7eb633c851e06280ec4dd248067fe232c00a79"
+ integrity sha512-oHvSkz1E80VyeTKBvZNnw576qU+cVqRXUD3/wKXh1zpaki47Qty2xeHg2HKie9Hqcd2l4XwircgNOWb/NiGqdA==
dependencies:
jest-get-type "^27.0.6"
- pretty-format "^27.0.6"
+ pretty-format "^27.1.0"
-jest-matcher-utils@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.0.6.tgz#2a8da1e86c620b39459f4352eaa255f0d43e39a9"
- integrity sha512-OFgF2VCQx9vdPSYTHWJ9MzFCehs20TsyFi6bIHbk5V1u52zJOnvF0Y/65z3GLZHKRuTgVPY4Z6LVePNahaQ+tA==
+jest-matcher-utils@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.1.0.tgz#68afda0885db1f0b9472ce98dc4c535080785301"
+ integrity sha512-VmAudus2P6Yt/JVBRdTPFhUzlIN8DYJd+et5Rd9QDsO/Z82Z4iwGjo43U8Z+PTiz8CBvKvlb6Fh3oKy39hykkQ==
dependencies:
chalk "^4.0.0"
- jest-diff "^27.0.6"
+ jest-diff "^27.1.0"
jest-get-type "^27.0.6"
- pretty-format "^27.0.6"
+ pretty-format "^27.1.0"
-jest-message-util@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.0.6.tgz#158bcdf4785706492d164a39abca6a14da5ab8b5"
- integrity sha512-rBxIs2XK7rGy+zGxgi+UJKP6WqQ+KrBbD1YMj517HYN3v2BG66t3Xan3FWqYHKZwjdB700KiAJ+iES9a0M+ixw==
+jest-message-util@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.1.0.tgz#e77692c84945d1d10ef00afdfd3d2c20bd8fb468"
+ integrity sha512-Eck8NFnJ5Sg36R9XguD65cf2D5+McC+NF5GIdEninoabcuoOfWrID5qJhufq5FB0DRKoiyxB61hS7MKoMD0trQ==
dependencies:
"@babel/code-frame" "^7.12.13"
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
"@types/stack-utils" "^2.0.0"
chalk "^4.0.0"
graceful-fs "^4.2.4"
micromatch "^4.0.4"
- pretty-format "^27.0.6"
+ pretty-format "^27.1.0"
slash "^3.0.0"
stack-utils "^2.0.3"
-jest-mock@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.0.6.tgz#0efdd40851398307ba16778728f6d34d583e3467"
- integrity sha512-lzBETUoK8cSxts2NYXSBWT+EJNzmUVtVVwS1sU9GwE1DLCfGsngg+ZVSIe0yd0ZSm+y791esiuo+WSwpXJQ5Bw==
+jest-mock@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.1.0.tgz#7ca6e4d09375c071661642d1c14c4711f3ab4b4f"
+ integrity sha512-iT3/Yhu7DwAg/0HvvLCqLvrTKTRMyJlrrfJYWzuLSf9RCAxBoIXN3HoymZxMnYsC3eD8ewGbUa9jUknwBenx2w==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
jest-pnp-resolver@^1.2.2:
@@ -6609,86 +6814,88 @@
resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.6.tgz#02e112082935ae949ce5d13b2675db3d8c87d9c5"
integrity sha512-SUhPzBsGa1IKm8hx2F4NfTGGp+r7BXJ4CulsZ1k2kI+mGLG+lxGrs76veN2LF/aUdGosJBzKgXmNCw+BzFqBDQ==
-jest-resolve-dependencies@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.0.6.tgz#3e619e0ef391c3ecfcf6ef4056207a3d2be3269f"
- integrity sha512-mg9x9DS3BPAREWKCAoyg3QucCr0n6S8HEEsqRCKSPjPcu9HzRILzhdzY3imsLoZWeosEbJZz6TKasveczzpJZA==
+jest-resolve-dependencies@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.1.0.tgz#d32ea4a2c82f76410f6157d0ec6cde24fbff2317"
+ integrity sha512-Kq5XuDAELuBnrERrjFYEzu/A+i2W7l9HnPWqZEeKGEQ7m1R+6ndMbdXCVCx29Se1qwLZLgvoXwinB3SPIaitMQ==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
jest-regex-util "^27.0.6"
- jest-snapshot "^27.0.6"
+ jest-snapshot "^27.1.0"
-jest-resolve@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.0.6.tgz#e90f436dd4f8fbf53f58a91c42344864f8e55bff"
- integrity sha512-yKmIgw2LgTh7uAJtzv8UFHGF7Dm7XfvOe/LQ3Txv101fLM8cx2h1QVwtSJ51Q/SCxpIiKfVn6G2jYYMDNHZteA==
+jest-resolve@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.1.0.tgz#bb22303c9e240cccdda28562e3c6fbcc6a23ac86"
+ integrity sha512-TXvzrLyPg0vLOwcWX38ZGYeEztSEmW+cQQKqc4HKDUwun31wsBXwotRlUz4/AYU/Fq4GhbMd/ileIWZEtcdmIA==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
chalk "^4.0.0"
escalade "^3.1.1"
graceful-fs "^4.2.4"
+ jest-haste-map "^27.1.0"
jest-pnp-resolver "^1.2.2"
- jest-util "^27.0.6"
- jest-validate "^27.0.6"
+ jest-util "^27.1.0"
+ jest-validate "^27.1.0"
resolve "^1.20.0"
slash "^3.0.0"
-jest-runner@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.0.6.tgz#1325f45055539222bbc7256a6976e993ad2f9520"
- integrity sha512-W3Bz5qAgaSChuivLn+nKOgjqNxM7O/9JOJoKDCqThPIg2sH/d4A/lzyiaFgnb9V1/w29Le11NpzTJSzga1vyYQ==
+jest-runner@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.1.0.tgz#1b28d114fb3b67407b8354c9385d47395e8ff83f"
+ integrity sha512-ZWPKr9M5w5gDplz1KsJ6iRmQaDT/yyAFLf18fKbb/+BLWsR1sCNC2wMT0H7pP3gDcBz0qZ6aJraSYUNAGSJGaw==
dependencies:
- "@jest/console" "^27.0.6"
- "@jest/environment" "^27.0.6"
- "@jest/test-result" "^27.0.6"
- "@jest/transform" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/console" "^27.1.0"
+ "@jest/environment" "^27.1.0"
+ "@jest/test-result" "^27.1.0"
+ "@jest/transform" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
chalk "^4.0.0"
emittery "^0.8.1"
exit "^0.1.2"
graceful-fs "^4.2.4"
jest-docblock "^27.0.6"
- jest-environment-jsdom "^27.0.6"
- jest-environment-node "^27.0.6"
- jest-haste-map "^27.0.6"
- jest-leak-detector "^27.0.6"
- jest-message-util "^27.0.6"
- jest-resolve "^27.0.6"
- jest-runtime "^27.0.6"
- jest-util "^27.0.6"
- jest-worker "^27.0.6"
+ jest-environment-jsdom "^27.1.0"
+ jest-environment-node "^27.1.0"
+ jest-haste-map "^27.1.0"
+ jest-leak-detector "^27.1.0"
+ jest-message-util "^27.1.0"
+ jest-resolve "^27.1.0"
+ jest-runtime "^27.1.0"
+ jest-util "^27.1.0"
+ jest-worker "^27.1.0"
source-map-support "^0.5.6"
throat "^6.0.1"
-jest-runtime@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.0.6.tgz#45877cfcd386afdd4f317def551fc369794c27c9"
- integrity sha512-BhvHLRVfKibYyqqEFkybsznKwhrsu7AWx2F3y9G9L95VSIN3/ZZ9vBpm/XCS2bS+BWz3sSeNGLzI3TVQ0uL85Q==
+jest-runtime@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.1.0.tgz#1a98d984ffebc16a0b4f9eaad8ab47c00a750cf5"
+ integrity sha512-okiR2cpGjY0RkWmUGGado6ETpFOi9oG3yV0CioYdoktkVxy5Hv0WRLWnJFuArSYS8cHMCNcceUUMGiIfgxCO9A==
dependencies:
- "@jest/console" "^27.0.6"
- "@jest/environment" "^27.0.6"
- "@jest/fake-timers" "^27.0.6"
- "@jest/globals" "^27.0.6"
+ "@jest/console" "^27.1.0"
+ "@jest/environment" "^27.1.0"
+ "@jest/fake-timers" "^27.1.0"
+ "@jest/globals" "^27.1.0"
"@jest/source-map" "^27.0.6"
- "@jest/test-result" "^27.0.6"
- "@jest/transform" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/test-result" "^27.1.0"
+ "@jest/transform" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/yargs" "^16.0.0"
chalk "^4.0.0"
cjs-module-lexer "^1.0.0"
collect-v8-coverage "^1.0.0"
+ execa "^5.0.0"
exit "^0.1.2"
glob "^7.1.3"
graceful-fs "^4.2.4"
- jest-haste-map "^27.0.6"
- jest-message-util "^27.0.6"
- jest-mock "^27.0.6"
+ jest-haste-map "^27.1.0"
+ jest-message-util "^27.1.0"
+ jest-mock "^27.1.0"
jest-regex-util "^27.0.6"
- jest-resolve "^27.0.6"
- jest-snapshot "^27.0.6"
- jest-util "^27.0.6"
- jest-validate "^27.0.6"
+ jest-resolve "^27.1.0"
+ jest-snapshot "^27.1.0"
+ jest-util "^27.1.0"
+ jest-validate "^27.1.0"
slash "^3.0.0"
strip-bom "^4.0.0"
yargs "^16.0.3"
@@ -6701,10 +6908,10 @@
"@types/node" "*"
graceful-fs "^4.2.4"
-jest-snapshot@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.0.6.tgz#f4e6b208bd2e92e888344d78f0f650bcff05a4bf"
- integrity sha512-NTHaz8He+ATUagUgE7C/UtFcRoHqR2Gc+KDfhQIyx+VFgwbeEMjeP+ILpUTLosZn/ZtbNdCF5LkVnN/l+V751A==
+jest-snapshot@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.1.0.tgz#2a063ab90064017a7e9302528be7eaea6da12d17"
+ integrity sha512-eaeUBoEjuuRwmiRI51oTldUsKOohB1F6fPqWKKILuDi/CStxzp2IWekVUXbuHHoz5ik33ioJhshiHpgPFbYgcA==
dependencies:
"@babel/core" "^7.7.2"
"@babel/generator" "^7.7.2"
@@ -6712,79 +6919,79 @@
"@babel/plugin-syntax-typescript" "^7.7.2"
"@babel/traverse" "^7.7.2"
"@babel/types" "^7.0.0"
- "@jest/transform" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/transform" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/babel__traverse" "^7.0.4"
"@types/prettier" "^2.1.5"
babel-preset-current-node-syntax "^1.0.0"
chalk "^4.0.0"
- expect "^27.0.6"
+ expect "^27.1.0"
graceful-fs "^4.2.4"
- jest-diff "^27.0.6"
+ jest-diff "^27.1.0"
jest-get-type "^27.0.6"
- jest-haste-map "^27.0.6"
- jest-matcher-utils "^27.0.6"
- jest-message-util "^27.0.6"
- jest-resolve "^27.0.6"
- jest-util "^27.0.6"
+ jest-haste-map "^27.1.0"
+ jest-matcher-utils "^27.1.0"
+ jest-message-util "^27.1.0"
+ jest-resolve "^27.1.0"
+ jest-util "^27.1.0"
natural-compare "^1.4.0"
- pretty-format "^27.0.6"
+ pretty-format "^27.1.0"
semver "^7.3.2"
-jest-util@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.6.tgz#e8e04eec159de2f4d5f57f795df9cdc091e50297"
- integrity sha512-1JjlaIh+C65H/F7D11GNkGDDZtDfMEM8EBXsvd+l/cxtgQ6QhxuloOaiayt89DxUvDarbVhqI98HhgrM1yliFQ==
+jest-util@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.1.0.tgz#06a53777a8cb7e4940ca8e20bf9c67dd65d9bd68"
+ integrity sha512-edSLD2OneYDKC6gZM1yc+wY/877s/fuJNoM1k3sOEpzFyeptSmke3SLnk1dDHk9CgTA+58mnfx3ew3J11Kes/w==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
chalk "^4.0.0"
graceful-fs "^4.2.4"
is-ci "^3.0.0"
picomatch "^2.2.3"
-jest-validate@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.0.6.tgz#930a527c7a951927df269f43b2dc23262457e2a6"
- integrity sha512-yhZZOaMH3Zg6DC83n60pLmdU1DQE46DW+KLozPiPbSbPhlXXaiUTDlhHQhHFpaqIFRrInko1FHXjTRpjWRuWfA==
+jest-validate@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.1.0.tgz#d9e82024c5e3f5cef52a600cfc456793a84c0998"
+ integrity sha512-QiJ+4XuSuMsfPi9zvdO//IrSRSlG6ybJhOpuqYSsuuaABaNT84h0IoD6vvQhThBOKT+DIKvl5sTM0l6is9+SRA==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
camelcase "^6.2.0"
chalk "^4.0.0"
jest-get-type "^27.0.6"
leven "^3.1.0"
- pretty-format "^27.0.6"
+ pretty-format "^27.1.0"
-jest-watcher@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.0.6.tgz#89526f7f9edf1eac4e4be989bcb6dec6b8878d9c"
- integrity sha512-/jIoKBhAP00/iMGnTwUBLgvxkn7vsOweDrOTSPzc7X9uOyUtJIDthQBTI1EXz90bdkrxorUZVhJwiB69gcHtYQ==
+jest-watcher@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.1.0.tgz#2511fcddb0e969a400f3d1daa74265f93f13ce93"
+ integrity sha512-ivaWTrA46aHWdgPDgPypSHiNQjyKnLBpUIHeBaGg11U+pDzZpkffGlcB1l1a014phmG0mHgkOHtOgiqJQM6yKQ==
dependencies:
- "@jest/test-result" "^27.0.6"
- "@jest/types" "^27.0.6"
+ "@jest/test-result" "^27.1.0"
+ "@jest/types" "^27.1.0"
"@types/node" "*"
ansi-escapes "^4.2.1"
chalk "^4.0.0"
- jest-util "^27.0.6"
+ jest-util "^27.1.0"
string-length "^4.0.1"
-jest-worker@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.0.6.tgz#a5fdb1e14ad34eb228cfe162d9f729cdbfa28aed"
- integrity sha512-qupxcj/dRuA3xHPMUd40gr2EaAurFbkwzOh7wfPaeE9id7hyjURRQoqNfHifHK3XjJU6YJJUQKILGUnwGPEOCA==
+jest-worker@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.1.0.tgz#65f4a88e37148ed984ba8ca8492d6b376938c0aa"
+ integrity sha512-mO4PHb2QWLn9yRXGp7rkvXLAYuxwhq1ZYUo0LoDhg8wqvv4QizP1ZWEJOeolgbEgAWZLIEU0wsku8J+lGWfBhg==
dependencies:
"@types/node" "*"
merge-stream "^2.0.0"
supports-color "^8.0.0"
-jest@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/jest/-/jest-27.0.6.tgz#10517b2a628f0409087fbf473db44777d7a04505"
- integrity sha512-EjV8aETrsD0wHl7CKMibKwQNQc3gIRBXlTikBmmHUeVMKaPFxdcUIBfoDqTSXDoGJIivAYGqCWVlzCSaVjPQsA==
+jest@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/jest/-/jest-27.1.0.tgz#eaab62dfdc02d8b7c814cd27b8d2d92bc46d3d69"
+ integrity sha512-pSQDVwRSwb109Ss13lcMtdfS9r8/w2Zz8+mTUA9VORD66GflCdl8nUFCqM96geOD2EBwWCNURrNAfQsLIDNBdg==
dependencies:
- "@jest/core" "^27.0.6"
+ "@jest/core" "^27.1.0"
import-local "^3.0.2"
- jest-cli "^27.0.6"
+ jest-cli "^27.1.0"
js-sha3@0.5.7, js-sha3@^0.5.7:
version "0.5.7"
@@ -7192,30 +7399,30 @@
dependencies:
yallist "^4.0.0"
-madge@^4.0.2:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/madge/-/madge-4.0.2.tgz#56a3aff8021a5844f8713e0789f6ee94095f2f41"
- integrity sha512-l5bnA2dvyk0azLKDbOTCI+wDZ6nB007PhvPdmiYlPmqwVi49JPbhQrH/t4u8E6Akp3gwji1GZuA+v/F5q6yoWQ==
+madge@^5.0.1:
+ version "5.0.1"
+ resolved "https://registry.yarnpkg.com/madge/-/madge-5.0.1.tgz#2096d9006558ea0669b3ade89c2cda708a24e22b"
+ integrity sha512-krmSWL9Hkgub74bOjnjWRoFPAJvPwSG6Dbta06qhWOq6X/n/FPzO3ESZvbFYVIvG2g4UHXvCJN1b+RZLaSs9nA==
dependencies:
- chalk "^4.1.0"
- commander "^6.2.1"
+ chalk "^4.1.1"
+ commander "^7.2.0"
commondir "^1.0.1"
- debug "^4.0.1"
- dependency-tree "^8.0.0"
- detective-amd "^3.0.1"
+ debug "^4.3.1"
+ dependency-tree "^8.1.1"
+ detective-amd "^3.1.0"
detective-cjs "^3.1.1"
- detective-es6 "^2.1.0"
+ detective-es6 "^2.2.0"
detective-less "^1.0.2"
- detective-postcss "^4.0.0"
+ detective-postcss "^5.0.0"
detective-sass "^3.0.1"
detective-scss "^2.0.1"
detective-stylus "^1.0.0"
detective-typescript "^7.0.0"
graphviz "0.0.9"
- ora "^5.1.0"
+ ora "^5.4.1"
pluralize "^8.0.0"
- precinct "^7.0.0"
- pretty-ms "^7.0.0"
+ precinct "^8.1.0"
+ pretty-ms "^7.0.1"
rc "^1.2.7"
typescript "^3.9.5"
walkdir "^0.4.1"
@@ -7667,6 +7874,11 @@
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.74.tgz#e5866488080ebaa70a93b91144ccde06f3c3463e"
integrity sha512-caJBVempXZPepZoZAPCWRTNxYQ+xtG/KAi4ozTA5A+nJ7IU+kLQCbqaUjb5Rwy14M9upBWiQ4NutcmW04LJSRw==
+node-releases@^1.1.75:
+ version "1.1.75"
+ resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.75.tgz#6dd8c876b9897a1b8e5a02de26afa79bb54ebbfe"
+ integrity sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==
+
node-source-walk@^4.0.0, node-source-walk@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/node-source-walk/-/node-source-walk-4.2.0.tgz#c2efe731ea8ba9c03c562aa0a9d984e54f27bc2c"
@@ -7798,7 +8010,7 @@
dependencies:
isobject "^3.0.1"
-object.values@^1.1.3, object.values@^1.1.4:
+object.values@^1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.4.tgz#0d273762833e816b693a637d30073e7051535b30"
integrity sha512-TnGo7j4XSnKQoK3MfvkzqKCi0nVe/D9I9IjwTNYdb/fxYHpjrluHVOgw0AF6jrRFGMPHdfuidR09tIDiIvnaSg==
@@ -7873,7 +8085,7 @@
strip-ansi "^6.0.0"
wcwidth "^1.0.1"
-ora@^5.1.0, ora@^5.3.0:
+ora@^5.3.0, ora@^5.4.1:
version "5.4.1"
resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18"
integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==
@@ -8214,6 +8426,15 @@
indexes-of "^1.0.1"
uniq "^1.0.1"
+postcss-values-parser@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.yarnpkg.com/postcss-values-parser/-/postcss-values-parser-5.0.0.tgz#10c61ac3f488e4de25746b829ea8d8894e9ac3d2"
+ integrity sha512-2viDDjMMrt21W2izbeiJxl3kFuD/+asgB0CBwPEgSyhCmBnDIa/y+pLaoyX+q3I3DHH0oPPL3cgjVTQvlS1Maw==
+ dependencies:
+ color-name "^1.1.4"
+ is-url-superb "^4.0.0"
+ quote-unquote "^1.0.0"
+
postcss@^7.0.36:
version "7.0.36"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.36.tgz#056f8cffa939662a8f5905950c07d5285644dfcb"
@@ -8232,26 +8453,16 @@
nanoid "^3.1.23"
source-map-js "^0.6.2"
-precinct@^7.0.0:
- version "7.1.0"
- resolved "https://registry.yarnpkg.com/precinct/-/precinct-7.1.0.tgz#a0311e0b59029647eaf57c2d30b8efa9c85d129a"
- integrity sha512-I1RkW5PX51/q6Xl39//D7x9NgaKNGHpR5DCNaoxP/b2+KbzzXDNhauJUMV17KSYkJA41CSpwYUPRtRoNxbshWA==
+postcss@^8.2.13:
+ version "8.3.6"
+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.6.tgz#2730dd76a97969f37f53b9a6096197be311cc4ea"
+ integrity sha512-wG1cc/JhRgdqB6WHEuyLTedf3KIRuD0hG6ldkFEZNCjRxiC+3i6kkWUUbiJQayP28iwG35cEmAbe98585BYV0A==
dependencies:
- commander "^2.20.3"
- debug "^4.3.1"
- detective-amd "^3.0.1"
- detective-cjs "^3.1.1"
- detective-es6 "^2.2.0"
- detective-less "^1.0.2"
- detective-postcss "^4.0.0"
- detective-sass "^3.0.1"
- detective-scss "^2.0.1"
- detective-stylus "^1.0.0"
- detective-typescript "^6.0.0"
- module-definition "^3.3.1"
- node-source-walk "^4.2.0"
+ colorette "^1.2.2"
+ nanoid "^3.1.23"
+ source-map-js "^0.6.2"
-precinct@^8.0.0:
+precinct@^8.0.0, precinct@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/precinct/-/precinct-8.1.0.tgz#6b8f2389ba2ca61c466731390b0d7e25da3fd996"
integrity sha512-oeZBR9IdER42Ef6Rz11z1oOUqicsI5J1Qffj6tYghKLhxN2UnHy7uE1axxNr0VZRevPK2HWkROk36uXrbJwHFA==
@@ -8300,17 +8511,17 @@
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==
-pretty-format@^27.0.6:
- version "27.0.6"
- resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.0.6.tgz#ab770c47b2c6f893a21aefc57b75da63ef49a11f"
- integrity sha512-8tGD7gBIENgzqA+UBzObyWqQ5B778VIFZA/S66cclyd5YkFLYs2Js7gxDKf0MXtTc9zcS7t1xhdfcElJ3YIvkQ==
+pretty-format@^27.1.0:
+ version "27.1.0"
+ resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.1.0.tgz#022f3fdb19121e0a2612f3cff8d724431461b9ca"
+ integrity sha512-4aGaud3w3rxAO6OXmK3fwBFQ0bctIOG3/if+jYEFGNGIs0EvuidQm3bZ9mlP2/t9epLNC/12czabfy7TZNSwVA==
dependencies:
- "@jest/types" "^27.0.6"
+ "@jest/types" "^27.1.0"
ansi-regex "^5.0.0"
ansi-styles "^5.0.0"
react-is "^17.0.1"
-pretty-ms@^7.0.0:
+pretty-ms@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/pretty-ms/-/pretty-ms-7.0.1.tgz#7d903eaab281f7d8e03c66f867e239dc32fb73e8"
integrity sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==
@@ -8445,6 +8656,11 @@
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
+quote-unquote@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/quote-unquote/-/quote-unquote-1.0.0.tgz#67a9a77148effeaf81a4d428404a710baaac8a0b"
+ integrity sha1-Z6mncUjv/q+BpNQoQEpxC6qsigs=
+
randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
@@ -8825,10 +9041,10 @@
dependencies:
bn.js "^4.11.1"
-rollup@^2.56.2:
- version "2.56.2"
- resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.56.2.tgz#a045ff3f6af53ee009b5f5016ca3da0329e5470f"
- integrity sha512-s8H00ZsRi29M2/lGdm1u8DJpJ9ML8SUOpVVBd33XNeEeL3NVaTiUcSBHzBdF3eAyR0l7VSpsuoVUGrRHq7aPwQ==
+rollup@^2.56.3:
+ version "2.56.3"
+ resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.56.3.tgz#b63edadd9851b0d618a6d0e6af8201955a77aeff"
+ integrity sha512-Au92NuznFklgQCUcV96iXlxUbHuB1vQMaH76DHl5M11TotjOHwqk9CwcrT78+Tnv4FN9uTBxq6p4EJoYkpyekg==
optionalDependencies:
fsevents "~2.3.2"
@@ -9706,10 +9922,10 @@
source-map-support "^0.5.17"
yn "3.1.1"
-tsconfig-paths@^3.9.0:
- version "3.9.0"
- resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz#098547a6c4448807e8fcb8eae081064ee9a3c90b"
- integrity sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==
+tsconfig-paths@^3.11.0:
+ version "3.11.0"
+ resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.11.0.tgz#954c1fe973da6339c78e06b03ce2e48810b65f36"
+ integrity sha512-7ecdYDnIdmv639mmDwslG6KQg1Z9STTz1j7Gcz0xa+nshh/gKDAHcPxRbWOsA3SPp0tXP2leTcY9Kw+NAkfZzA==
dependencies:
"@types/json5" "^0.0.29"
json5 "^1.0.1"
@@ -9845,10 +10061,10 @@
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.4.tgz#3f85b986945bcf31071decdd96cf8bfa65f9dcbc"
integrity sha512-uauPG7XZn9F/mo+7MrsRjyvbxFpzemRjKEZXS4AK83oP2KKOJPvb+9cO/gmnv8arWZvhnjVOXz7B49m1l0e9Ew==
-typescript@^4.3.5:
- version "4.3.5"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4"
- integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==
+typescript@^4.4.2:
+ version "4.4.2"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.2.tgz#6d618640d430e3569a1dfb44f7d7e600ced3ee86"
+ integrity sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==
uglify-js@^3.1.4:
version "3.13.9"
@@ -10670,7 +10886,7 @@
y18n "^5.0.5"
yargs-parser "^20.2.2"
-yargs@^17.1.0, yargs@^17.1.1:
+yargs@^17.1.1:
version "17.1.1"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.1.1.tgz#c2a8091564bdb196f7c0a67c1d12e5b85b8067ba"
integrity sha512-c2k48R0PwKIqKhPMWjeiF6y2xY/gPMUlro0sgxqXpbOIohWiLNXWslsootttv7E1e73QPAMQSg5FeySbVcpsPQ==