diff --git a/.rustfmt.toml b/.rustfmt.toml
index e82b0d8..e9fbc1c 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -2,14 +2,16 @@
hard_tabs = true
max_width = 100
use_small_heuristics = "Max"
+
# Imports
imports_granularity = "Crate"
reorder_imports = true
+
# Consistency
newline_style = "Unix"
-# Format comments
-comment_width = 100
-wrap_comments = true
+normalize_comments = true
+normalize_doc_attributes = true
+
# Misc
chain_width = 80
spaces_around_ranges = false
@@ -20,6 +22,6 @@ match_arm_blocks = false
match_block_trailing_comma = true
trailing_comma = "Vertical"
trailing_semicolon = false
-use_field_init_shorthand = true
+
# Canvas specific
license_template_path = "FILE_HEADER"
diff --git a/Cargo.lock b/Cargo.lock
index 2e63453..3b48532 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -38,39 +38,58 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "aead"
-version = "0.4.2"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e3e798aa0c8239776f54415bc06f3d74b1850f3f830b45c35cfc80556973f70"
+checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331"
dependencies = [
"generic-array 0.14.4",
]
[[package]]
name = "aes"
-version = "0.7.4"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "495ee669413bfbe9e8cace80f4d3d78e6d8c8d99579f97fb93bde351b185f2d4"
+checksum = "dd2bc6d3f370b5666245ff421e231cba4353df936e26986d2918e61a8fd6aef6"
dependencies = [
- "cfg-if 1.0.0",
- "cipher",
- "cpufeatures",
- "opaque-debug 0.3.0",
+ "aes-soft",
+ "aesni",
+ "block-cipher",
]
[[package]]
name = "aes-gcm"
-version = "0.9.3"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2a930fd487faaa92a30afa92cc9dd1526a5cff67124abbbb1c617ce070f4dcf"
+checksum = "0301c9e9c443494d970a07885e8cf3e587bae8356a1d5abd0999068413f7205f"
dependencies = [
"aead",
"aes",
- "cipher",
- "ctr",
+ "block-cipher",
"ghash",
"subtle 2.4.1",
]
+[[package]]
+name = "aes-soft"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63dd91889c49327ad7ef3b500fd1109dbd3c509a03db0d4a9ce413b79f575cb6"
+dependencies = [
+ "block-cipher",
+ "byteorder",
+ "opaque-debug 0.3.0",
+]
+
+[[package]]
+name = "aesni"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0a6fe808308bb07d393e2ea47780043ec47683fcf19cf5efc8ca51c50cc8c68a"
+dependencies = [
+ "block-cipher",
+ "opaque-debug 0.3.0",
+]
+
[[package]]
name = "ahash"
version = "0.7.4"
@@ -91,6 +110,12 @@ dependencies = [
"memchr",
]
+[[package]]
+name = "always-assert"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fbf688625d06217d5b1bb0ea9d9c44a1635fd0ee3534466388d18203174f4d11"
+
[[package]]
name = "ansi_term"
version = "0.11.0"
@@ -157,6 +182,22 @@ version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d6e24d2cce90c53b948c46271bfb053e4bdc2db9b5d3f65e20f8cf28a1b7fc3"
+[[package]]
+name = "assert_matches"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9"
+
+[[package]]
+name = "async-attributes"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5"
+dependencies = [
+ "quote",
+ "syn",
+]
+
[[package]]
name = "async-channel"
version = "1.6.1"
@@ -258,12 +299,13 @@ version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9f06685bad74e0570f5213741bea82158279a4103d988e57bfada11ad230341"
dependencies = [
+ "async-attributes",
"async-channel",
"async-global-executor",
"async-io",
"async-lock",
"async-process",
- "crossbeam-utils",
+ "crossbeam-utils 0.8.5",
"futures-channel",
"futures-core",
"futures-io",
@@ -380,10 +422,23 @@ dependencies = [
"cfg-if 1.0.0",
"libc",
"miniz_oxide",
- "object 0.26.1",
+ "object 0.26.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"
@@ -408,6 +463,84 @@ version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
+[[package]]
+name = "beef"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bed554bd50246729a1ec158d08aa3235d1b69d94ad120ebe187e28894787e736"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "beefy-gadget"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=hc-contract-experiment-patched-v0.9.9#3cb5c033c8df149250ed43801fc83bf110e0ef41"
+dependencies = [
+ "beefy-primitives",
+ "fnv",
+ "futures 0.3.16",
+ "hex",
+ "log",
+ "parity-scale-codec",
+ "parking_lot 0.11.1",
+ "sc-client-api",
+ "sc-keystore",
+ "sc-network",
+ "sc-network-gossip",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-arithmetic",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-core",
+ "sp-keystore",
+ "sp-runtime",
+ "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=hc-contract-experiment-patched-v0.9.9#3cb5c033c8df149250ed43801fc83bf110e0ef41"
+dependencies = [
+ "beefy-gadget",
+ "beefy-primitives",
+ "futures 0.3.16",
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "jsonrpc-pubsub",
+ "log",
+ "parity-scale-codec",
+ "sc-rpc",
+ "serde",
+ "serde_json",
+ "sp-core",
+ "sp-runtime",
+]
+
+[[package]]
+name = "beefy-merkle-tree"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=hc-contract-experiment-patched-v0.9.9#3cb5c033c8df149250ed43801fc83bf110e0ef41"
+
+[[package]]
+name = "beefy-primitives"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=hc-contract-experiment-patched-v0.9.9#3cb5c033c8df149250ed43801fc83bf110e0ef41"
+dependencies = [
+ "parity-scale-codec",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
[[package]]
name = "bincode"
version = "1.3.3"
@@ -546,6 +679,15 @@ dependencies = [
"generic-array 0.14.4",
]
+[[package]]
+name = "block-cipher"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f337a3e6da609650eb74e02bc9fac7b735049f7623ab12f2e4c719316fcc7e80"
+dependencies = [
+ "generic-array 0.14.4",
+]
+
[[package]]
name = "block-padding"
version = "0.1.5"
@@ -630,6 +772,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c"
dependencies = [
"byteorder",
+ "either",
"iovec",
]
@@ -665,66 +808,103 @@ name = "canvas-node"
version = "0.1.0"
dependencies = [
"canvas-runtime",
+ "cumulus-client-cli",
+ "cumulus-client-collator",
+ "cumulus-client-consensus-aura",
+ "cumulus-client-consensus-common",
+ "cumulus-client-network",
+ "cumulus-client-service",
+ "cumulus-primitives-core",
+ "cumulus-primitives-parachain-inherent",
+ "derive_more",
"frame-benchmarking",
"frame-benchmarking-cli",
"hex-literal",
"jsonrpc-core",
+ "log",
"pallet-contracts-rpc",
"pallet-transaction-payment-rpc",
+ "parity-scale-codec",
+ "polkadot-cli",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-service",
+ "polkadot-test-service",
"sc-basic-authorship",
+ "sc-chain-spec",
"sc-cli",
"sc-client-api",
"sc-consensus",
- "sc-consensus-aura",
"sc-executor",
- "sc-finality-grandpa",
"sc-keystore",
+ "sc-network",
"sc-rpc",
"sc-rpc-api",
"sc-service",
"sc-telemetry",
+ "sc-tracing",
"sc-transaction-pool",
"sc-transaction-pool-api",
+ "serde",
"sp-api",
"sp-block-builder",
"sp-blockchain",
"sp-consensus",
"sp-consensus-aura",
"sp-core",
- "sp-finality-grandpa",
"sp-inherents",
+ "sp-keystore",
+ "sp-offchain",
"sp-runtime",
+ "sp-session",
"sp-timestamp",
+ "sp-transaction-pool",
"structopt",
"substrate-build-script-utils",
"substrate-frame-rpc-system",
+ "substrate-prometheus-endpoint",
]
[[package]]
name = "canvas-runtime"
version = "0.1.0"
dependencies = [
+ "cumulus-pallet-aura-ext",
+ "cumulus-pallet-dmp-queue",
+ "cumulus-pallet-parachain-system",
+ "cumulus-pallet-xcm",
+ "cumulus-pallet-xcmp-queue",
+ "cumulus-primitives-core",
+ "cumulus-primitives-timestamp",
+ "cumulus-primitives-utility",
+ "frame-benchmarking",
"frame-executive",
"frame-support",
"frame-system",
+ "frame-system-benchmarking",
"frame-system-rpc-runtime-api",
+ "log",
"pallet-aura",
"pallet-balances",
"pallet-contracts",
"pallet-contracts-primitives",
"pallet-contracts-rpc-runtime-api",
- "pallet-grandpa",
"pallet-randomness-collective-flip",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
+ "pallet-xcm",
+ "parachain-info",
"parity-scale-codec",
+ "polkadot-parachain",
+ "serde",
"sp-api",
"sp-block-builder",
"sp-consensus-aura",
"sp-core",
"sp-inherents",
+ "sp-io",
"sp-offchain",
"sp-runtime",
"sp-session",
@@ -732,6 +912,9 @@ dependencies = [
"sp-transaction-pool",
"sp-version",
"substrate-wasm-builder",
+ "xcm",
+ "xcm-builder",
+ "xcm-executor",
]
[[package]]
@@ -787,28 +970,32 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+[[package]]
+name = "cfg_aliases"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e"
+
[[package]]
name = "chacha20"
-version = "0.7.2"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea8756167ea0aca10e066cdbe7813bd71d2f24e69b0bc7b50509590cef2ce0b9"
+checksum = "244fbce0d47e97e8ef2f63b81d5e05882cb518c68531eb33194990d7b7e85845"
dependencies = [
- "cfg-if 1.0.0",
- "cipher",
- "cpufeatures",
+ "stream-cipher",
"zeroize",
]
[[package]]
name = "chacha20poly1305"
-version = "0.8.1"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "175a11316f33592cf2b71416ee65283730b5b7849813c4891d02a12906ed9acc"
+checksum = "9bf18d374d66df0c05cdddd528a7db98f78c28e2519b120855c4f84c5027b1f5"
dependencies = [
"aead",
"chacha20",
- "cipher",
"poly1305",
+ "stream-cipher",
"zeroize",
]
@@ -832,19 +1019,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff0e3bc0b6446b3f9663c1a6aba6ef06c5aeaa1bc92bd18077be337198ab9768"
dependencies = [
"multibase",
- "multihash 0.13.2",
+ "multihash",
"unsigned-varint 0.5.1",
]
[[package]]
name = "cipher"
-version = "0.3.0"
+version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7"
+checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801"
dependencies = [
"generic-array 0.14.4",
]
+[[package]]
+name = "ckb-merkle-mountain-range"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e486fe53bb9f2ca0f58cb60e8679a5354fd6687a839942ef0a75967250289ca6"
+dependencies = [
+ "cfg-if 0.1.10",
+]
+
[[package]]
name = "clang-sys"
version = "1.2.0"
@@ -901,16 +1097,32 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
+[[package]]
+name = "core-foundation"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171"
+dependencies = [
+ "core-foundation-sys 0.7.0",
+ "libc",
+]
+
[[package]]
name = "core-foundation"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a89e2ae426ea83155dccf10c0fa6b1463ef6d5fcb44cee0b224a408fa640a62"
dependencies = [
- "core-foundation-sys",
+ "core-foundation-sys 0.8.2",
"libc",
]
+[[package]]
+name = "core-foundation-sys"
+version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac"
+
[[package]]
name = "core-foundation-sys"
version = "0.8.2"
@@ -935,6 +1147,12 @@ dependencies = [
"libc",
]
+[[package]]
+name = "cpuid-bool"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba"
+
[[package]]
name = "cranelift-bforest"
version = "0.74.0"
@@ -958,7 +1176,7 @@ dependencies = [
"log",
"regalloc",
"serde",
- "smallvec",
+ "smallvec 1.6.1",
"target-lexicon",
]
@@ -998,7 +1216,7 @@ checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c"
dependencies = [
"cranelift-codegen",
"log",
- "smallvec",
+ "smallvec 1.6.1",
"target-lexicon",
]
@@ -1024,7 +1242,7 @@ dependencies = [
"itertools 0.10.1",
"log",
"serde",
- "smallvec",
+ "smallvec 1.6.1",
"thiserror",
"wasmparser",
]
@@ -1045,7 +1263,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
dependencies = [
"cfg-if 1.0.0",
- "crossbeam-utils",
+ "crossbeam-utils 0.8.5",
+]
+
+[[package]]
+name = "crossbeam-deque"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed"
+dependencies = [
+ "crossbeam-epoch 0.8.2",
+ "crossbeam-utils 0.7.2",
+ "maybe-uninit",
]
[[package]]
@@ -1055,8 +1284,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
dependencies = [
"cfg-if 1.0.0",
- "crossbeam-epoch",
- "crossbeam-utils",
+ "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"
+checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
+dependencies = [
+ "autocfg",
+ "cfg-if 0.1.10",
+ "crossbeam-utils 0.7.2",
+ "lazy_static",
+ "maybe-uninit",
+ "memoffset 0.5.6",
+ "scopeguard",
]
[[package]]
@@ -1066,12 +1310,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd"
dependencies = [
"cfg-if 1.0.0",
- "crossbeam-utils",
+ "crossbeam-utils 0.8.5",
"lazy_static",
- "memoffset",
+ "memoffset 0.6.4",
"scopeguard",
]
+[[package]]
+name = "crossbeam-queue"
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"
+dependencies = [
+ "cfg-if 0.1.10",
+ "crossbeam-utils 0.7.2",
+ "maybe-uninit",
+]
+
+[[package]]
+name = "crossbeam-utils"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
+dependencies = [
+ "autocfg",
+ "cfg-if 0.1.10",
+ "lazy_static",
+]
+
[[package]]
name = "crossbeam-utils"
version = "0.8.5"
@@ -1110,9 +1376,9 @@ dependencies = [
[[package]]
name = "ct-logs"
-version = "0.8.0"
+version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1a816186fa68d9e426e3cb4ae4dff1fcd8e4a2c34b781bf7a822574a0d0aac8"
+checksum = "8c8e13110a84b6315df212c045be706af261fd364791cad863285439ebba672e"
dependencies = [
"sct",
]
@@ -1127,15 +1393,6 @@ dependencies = [
"syn",
]
-[[package]]
-name = "ctr"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea"
-dependencies = [
- "cipher",
-]
-
[[package]]
name = "cuckoofilter"
version = "0.5.0"
@@ -1148,171 +1405,539 @@ dependencies = [
]
[[package]]
-name = "curve25519-dalek"
-version = "2.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216"
+name = "cumulus-client-cli"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "byteorder",
- "digest 0.8.1",
- "rand_core 0.5.1",
- "subtle 2.4.1",
- "zeroize",
+ "sc-cli",
+ "sc-service",
+ "structopt",
]
[[package]]
-name = "curve25519-dalek"
-version = "3.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61"
+name = "cumulus-client-collator"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "byteorder",
- "digest 0.9.0",
- "rand_core 0.5.1",
- "subtle 2.4.1",
- "zeroize",
-]
-
-[[package]]
-name = "data-encoding"
-version = "2.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
+ "cumulus-client-consensus-common",
+ "cumulus-client-network",
+ "cumulus-primitives-core",
+ "futures 0.3.16",
+ "parity-scale-codec",
+ "parking_lot 0.10.2",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-overseer",
+ "polkadot-primitives",
+ "sc-client-api",
+ "sp-api",
+ "sp-consensus",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "tracing",
+]
[[package]]
-name = "data-encoding-macro"
-version = "0.1.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca"
+name = "cumulus-client-consensus-aura"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "data-encoding",
- "data-encoding-macro-internal",
+ "async-trait",
+ "cumulus-client-consensus-common",
+ "cumulus-primitives-core",
+ "futures 0.3.16",
+ "parity-scale-codec",
+ "parking_lot 0.10.2",
+ "polkadot-client",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-consensus-aura",
+ "sc-consensus-slots",
+ "sc-telemetry",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-block-builder",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-aura",
+ "sp-core",
+ "sp-inherents",
+ "sp-keystore",
+ "sp-runtime",
+ "substrate-prometheus-endpoint",
+ "tracing",
]
[[package]]
-name = "data-encoding-macro-internal"
-version = "0.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db"
+name = "cumulus-client-consensus-common"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "data-encoding",
- "syn",
+ "async-trait",
+ "dyn-clone",
+ "futures 0.3.16",
+ "parity-scale-codec",
+ "polkadot-primitives",
+ "polkadot-runtime",
+ "sc-client-api",
+ "sc-consensus",
+ "sp-api",
+ "sp-block-builder",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-core",
+ "sp-inherents",
+ "sp-runtime",
+ "sp-trie",
+ "substrate-prometheus-endpoint",
+ "tracing",
]
[[package]]
-name = "derive_more"
-version = "0.99.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df"
+name = "cumulus-client-network"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "convert_case",
- "proc-macro2",
- "quote",
- "rustc_version 0.3.3",
- "syn",
+ "derive_more",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "parity-scale-codec",
+ "parking_lot 0.10.2",
+ "polkadot-client",
+ "polkadot-node-primitives",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-statement-table",
+ "sc-client-api",
+ "sp-api",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-core",
+ "sp-runtime",
+ "tracing",
]
[[package]]
-name = "digest"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
+name = "cumulus-client-pov-recovery"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "generic-array 0.12.4",
+ "cumulus-primitives-core",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "parity-scale-codec",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-overseer",
+ "polkadot-primitives",
+ "rand 0.8.4",
+ "sc-client-api",
+ "sc-consensus",
+ "sp-api",
+ "sp-consensus",
+ "sp-core",
+ "sp-maybe-compressed-blob",
+ "sp-runtime",
+ "tracing",
]
[[package]]
-name = "digest"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
+name = "cumulus-client-service"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "generic-array 0.14.4",
+ "cumulus-client-collator",
+ "cumulus-client-consensus-common",
+ "cumulus-client-pov-recovery",
+ "cumulus-primitives-core",
+ "parity-scale-codec",
+ "parking_lot 0.10.2",
+ "polkadot-overseer",
+ "polkadot-primitives",
+ "polkadot-service",
+ "sc-chain-spec",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-consensus-babe",
+ "sc-service",
+ "sc-telemetry",
+ "sc-tracing",
+ "sp-api",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-core",
+ "sp-runtime",
+ "tracing",
]
[[package]]
-name = "directories"
-version = "3.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7"
+name = "cumulus-pallet-aura-ext"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "dirs-sys",
+ "frame-executive",
+ "frame-support",
+ "frame-system",
+ "pallet-aura",
+ "parity-scale-codec",
+ "serde",
+ "sp-application-crypto",
+ "sp-consensus-aura",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "directories-next"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc"
+name = "cumulus-pallet-dmp-queue"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "cfg-if 1.0.0",
- "dirs-sys-next",
+ "cumulus-primitives-core",
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "rand 0.8.4",
+ "rand_chacha 0.3.1",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+ "xcm",
+ "xcm-executor",
]
[[package]]
-name = "dirs-sys"
-version = "0.3.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
+name = "cumulus-pallet-parachain-system"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "libc",
- "redox_users",
- "winapi 0.3.9",
+ "cumulus-pallet-parachain-system-proc-macro",
+ "cumulus-primitives-core",
+ "cumulus-primitives-parachain-inherent",
+ "environmental",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-balances",
+ "parity-scale-codec",
+ "polkadot-parachain",
+ "serde",
+ "sp-core",
+ "sp-externalities",
+ "sp-inherents",
+ "sp-io",
+ "sp-runtime",
+ "sp-state-machine",
+ "sp-std",
+ "sp-trie",
+ "sp-version",
+ "xcm",
]
[[package]]
-name = "dirs-sys-next"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
+name = "cumulus-pallet-parachain-system-proc-macro"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "libc",
- "redox_users",
- "winapi 0.3.9",
+ "proc-macro-crate 1.0.0",
+ "proc-macro2",
+ "quote",
+ "syn",
]
[[package]]
-name = "dns-parser"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea"
+name = "cumulus-pallet-xcm"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "byteorder",
- "quick-error 1.2.3",
+ "cumulus-primitives-core",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "serde",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+ "xcm",
]
[[package]]
-name = "downcast-rs"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
+name = "cumulus-pallet-xcmp-queue"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
+dependencies = [
+ "cumulus-primitives-core",
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "rand 0.8.4",
+ "rand_chacha 0.3.1",
+ "sp-runtime",
+ "sp-std",
+ "xcm",
+ "xcm-executor",
+]
[[package]]
-name = "dyn-clonable"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4"
+name = "cumulus-primitives-core"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "dyn-clonable-impl",
- "dyn-clone",
+ "frame-support",
+ "impl-trait-for-tuples",
+ "parity-scale-codec",
+ "polkadot-core-primitives",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "sp-api",
+ "sp-runtime",
+ "sp-std",
+ "sp-trie",
+ "xcm",
]
[[package]]
-name = "dyn-clonable-impl"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5"
+name = "cumulus-primitives-parachain-inherent"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "proc-macro2",
- "quote",
- "syn",
+ "async-trait",
+ "cumulus-primitives-core",
+ "cumulus-test-relay-sproof-builder",
+ "parity-scale-codec",
+ "polkadot-client",
+ "sc-client-api",
+ "sp-api",
+ "sp-core",
+ "sp-inherents",
+ "sp-runtime",
+ "sp-state-machine",
+ "sp-std",
+ "sp-trie",
+ "tracing",
]
[[package]]
-name = "dyn-clone"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"
+name = "cumulus-primitives-timestamp"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
+dependencies = [
+ "cumulus-primitives-core",
+ "sp-inherents",
+ "sp-std",
+ "sp-timestamp",
+]
+
+[[package]]
+name = "cumulus-primitives-utility"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
+dependencies = [
+ "cumulus-primitives-core",
+ "frame-support",
+ "impl-trait-for-tuples",
+ "parity-scale-codec",
+ "polkadot-core-primitives",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "sp-runtime",
+ "sp-std",
+ "sp-trie",
+ "xcm",
+]
+
+[[package]]
+name = "cumulus-test-relay-sproof-builder"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
+dependencies = [
+ "cumulus-primitives-core",
+ "parity-scale-codec",
+ "polkadot-primitives",
+ "sp-runtime",
+ "sp-state-machine",
+ "sp-std",
+]
+
+[[package]]
+name = "curve25519-dalek"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216"
+dependencies = [
+ "byteorder",
+ "digest 0.8.1",
+ "rand_core 0.5.1",
+ "subtle 2.4.1",
+ "zeroize",
+]
+
+[[package]]
+name = "curve25519-dalek"
+version = "3.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61"
+dependencies = [
+ "byteorder",
+ "digest 0.9.0",
+ "rand_core 0.5.1",
+ "subtle 2.4.1",
+ "zeroize",
+]
+
+[[package]]
+name = "data-encoding"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
+
+[[package]]
+name = "data-encoding-macro"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca"
+dependencies = [
+ "data-encoding",
+ "data-encoding-macro-internal",
+]
+
+[[package]]
+name = "data-encoding-macro-internal"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db"
+dependencies = [
+ "data-encoding",
+ "syn",
+]
+
+[[package]]
+name = "derivative"
+version = "2.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "derive_more"
+version = "0.99.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df"
+dependencies = [
+ "convert_case",
+ "proc-macro2",
+ "quote",
+ "rustc_version 0.3.3",
+ "syn",
+]
+
+[[package]]
+name = "digest"
+version = "0.8.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
+dependencies = [
+ "generic-array 0.12.4",
+]
+
+[[package]]
+name = "digest"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
+dependencies = [
+ "generic-array 0.14.4",
+]
+
+[[package]]
+name = "directories"
+version = "3.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7"
+dependencies = [
+ "dirs-sys",
+]
+
+[[package]]
+name = "directories-next"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc"
+dependencies = [
+ "cfg-if 1.0.0",
+ "dirs-sys-next",
+]
+
+[[package]]
+name = "dirs-sys"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
+dependencies = [
+ "libc",
+ "redox_users",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "dirs-sys-next"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
+dependencies = [
+ "libc",
+ "redox_users",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "dns-parser"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea"
+dependencies = [
+ "byteorder",
+ "quick-error 1.2.3",
+]
+
+[[package]]
+name = "downcast-rs"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
+
+[[package]]
+name = "dyn-clonable"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4"
+dependencies = [
+ "dyn-clonable-impl",
+ "dyn-clone",
+]
+
+[[package]]
+name = "dyn-clonable-impl"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "dyn-clone"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"
[[package]]
name = "ed25519"
@@ -1355,6 +1980,37 @@ dependencies = [
"syn",
]
+[[package]]
+name = "enumflags2"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "83c8d82922337cd23a15f88b70d8e4ef5f11da38dd7cdb55e84dd5de99695da0"
+dependencies = [
+ "enumflags2_derive",
+]
+
+[[package]]
+name = "enumflags2_derive"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "enumn"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
[[package]]
name = "env_logger"
version = "0.7.1"
@@ -1362,7 +2018,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
dependencies = [
"atty",
- "humantime",
+ "humantime 1.3.0",
+ "log",
+ "regex",
+ "termcolor",
+]
+
+[[package]]
+name = "env_logger"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
+dependencies = [
+ "atty",
+ "humantime 2.1.0",
"log",
"regex",
"termcolor",
@@ -1405,18 +2074,67 @@ dependencies = [
]
[[package]]
-name = "event-listener"
-version = "2.5.1"
+name = "ethbloom"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59"
+checksum = "779864b9c7f7ead1f092972c3257496c6a84b46dba2ce131dd8a282cb2cc5972"
+dependencies = [
+ "crunchy",
+ "fixed-hash",
+ "impl-rlp",
+ "impl-serde",
+ "tiny-keccak",
+]
[[package]]
-name = "exit-future"
-version = "0.2.0"
+name = "ethereum-types"
+version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"
+checksum = "0dd6bde671199089e601e8d47e153368b893ef885f11f365a3261ec58153c211"
dependencies = [
- "futures 0.3.16",
+ "ethbloom",
+ "fixed-hash",
+ "impl-rlp",
+ "impl-serde",
+ "primitive-types",
+ "uint",
+]
+
+[[package]]
+name = "event-listener"
+version = "2.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7531096570974c3a9dcf9e4b8e1cede1ec26cf5046219fb3b9d897503b9be59"
+
+[[package]]
+name = "exit-future"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e43f2f1833d64e33f15592464d6fdd70f349dda7b1a53088eb83cd94014008c5"
+dependencies = [
+ "futures 0.3.16",
+]
+
+[[package]]
+name = "failure"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86"
+dependencies = [
+ "backtrace",
+ "failure_derive",
+]
+
+[[package]]
+name = "failure_derive"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "synstructure",
]
[[package]]
@@ -1455,7 +2173,7 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fdbe0d94371f9ce939b555dd342d0686cc4c0cadbcd4b61d70af5ff97eb4126"
dependencies = [
- "env_logger",
+ "env_logger 0.7.1",
"log",
]
@@ -1515,7 +2233,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]]
name = "fork-tree"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
]
@@ -1533,7 +2251,7 @@ dependencies = [
[[package]]
name = "frame-benchmarking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support",
"frame-system",
@@ -1552,7 +2270,7 @@ dependencies = [
[[package]]
name = "frame-benchmarking-cli"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"Inflector",
"chrono",
@@ -1575,10 +2293,23 @@ dependencies = [
"structopt",
]
+[[package]]
+name = "frame-election-provider-support"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-arithmetic",
+ "sp-npos-elections",
+ "sp-std",
+]
+
[[package]]
name = "frame-executive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support",
"frame-system",
@@ -1593,7 +2324,7 @@ dependencies = [
[[package]]
name = "frame-metadata"
version = "14.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
"serde",
@@ -1604,7 +2335,7 @@ dependencies = [
[[package]]
name = "frame-support"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"bitflags",
"frame-metadata",
@@ -1615,7 +2346,7 @@ dependencies = [
"parity-scale-codec",
"paste",
"serde",
- "smallvec",
+ "smallvec 1.6.1",
"sp-arithmetic",
"sp-core",
"sp-inherents",
@@ -1630,7 +2361,7 @@ dependencies = [
[[package]]
name = "frame-support-procedural"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"Inflector",
"frame-support-procedural-tools",
@@ -1642,7 +2373,7 @@ dependencies = [
[[package]]
name = "frame-support-procedural-tools"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support-procedural-tools-derive",
"proc-macro-crate 1.0.0",
@@ -1654,7 +2385,7 @@ dependencies = [
[[package]]
name = "frame-support-procedural-tools-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"proc-macro2",
"quote",
@@ -1664,9 +2395,10 @@ dependencies = [
[[package]]
name = "frame-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support",
+ "impl-trait-for-tuples",
"log",
"parity-scale-codec",
"serde",
@@ -1677,15 +2409,47 @@ dependencies = [
"sp-version",
]
+[[package]]
+name = "frame-system-benchmarking"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
[[package]]
name = "frame-system-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "parity-scale-codec",
+ "sp-api",
+]
+
+[[package]]
+name = "frame-try-runtime"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "frame-support",
"parity-scale-codec",
"sp-api",
+ "sp-runtime",
+ "sp-std",
]
+[[package]]
+name = "fs-err"
+version = "2.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0"
+
[[package]]
name = "fs-swap"
version = "0.2.6"
@@ -1773,6 +2537,16 @@ version = "0.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af51b1b4a7fdff033703db39de8802c673eb91855f2e0d47dcf3bf2c0ef01f99"
+[[package]]
+name = "futures-cpupool"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
+dependencies = [
+ "futures 0.1.31",
+ "num_cpus",
+]
+
[[package]]
name = "futures-executor"
version = "0.3.16"
@@ -1826,7 +2600,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a1387e07917c711fb4ee4f48ea0adb04a3c9739e53ef85bf43ae1edc2937a8b"
dependencies = [
"futures-io",
- "rustls",
+ "rustls 0.19.1",
"webpki",
]
@@ -1925,9 +2699,9 @@ dependencies = [
[[package]]
name = "ghash"
-version = "0.4.3"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b442c439366184de619215247d24e908912b175e824a530253845ac4c251a5c1"
+checksum = "97304e4cd182c3846f7575ced3890c53012ce534ad9114046b0a9e00bb30a375"
dependencies = [
"opaque-debug 0.3.0",
"polyval",
@@ -1982,6 +2756,44 @@ dependencies = [
"web-sys",
]
+[[package]]
+name = "h2"
+version = "0.1.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a5b34c246847f938a410a03c5458c7fee2274436675e76d8b903c08efc29c462"
+dependencies = [
+ "byteorder",
+ "bytes 0.4.12",
+ "fnv",
+ "futures 0.1.31",
+ "http 0.1.21",
+ "indexmap",
+ "log",
+ "slab",
+ "string",
+ "tokio-io",
+]
+
+[[package]]
+name = "h2"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535"
+dependencies = [
+ "bytes 0.5.6",
+ "fnv",
+ "futures-core",
+ "futures-sink",
+ "futures-util",
+ "http 0.2.4",
+ "indexmap",
+ "slab",
+ "tokio 0.2.25",
+ "tokio-util",
+ "tracing",
+ "tracing-futures",
+]
+
[[package]]
name = "handlebars"
version = "3.5.5"
@@ -2046,22 +2858,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "hex-literal"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "961de220ec9a91af2e1e5bd80d02109155695e516771762381ef8581317066e0"
-dependencies = [
- "hex-literal-impl",
- "proc-macro-hack",
-]
-
-[[package]]
-name = "hex-literal-impl"
-version = "0.2.2"
+version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "853f769599eb31de176303197b7ba4973299c38c7a7604a6bc88c3eef05b9b46"
-dependencies = [
- "proc-macro-hack",
-]
+checksum = "21e4590e13640f19f249fe3e4eca5113bc4289f2497710378190e7f4bd96f45b"
[[package]]
name = "hex_fmt"
@@ -2091,13 +2890,13 @@ dependencies = [
[[package]]
name = "hmac-drbg"
-version = "0.3.0"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1"
+checksum = "c6e570451493f10f6581b48cdd530413b63ea9e780f544bfd3bdcaa0d89d1a7b"
dependencies = [
- "digest 0.9.0",
- "generic-array 0.14.4",
- "hmac 0.8.1",
+ "digest 0.8.1",
+ "generic-array 0.12.4",
+ "hmac 0.7.1",
]
[[package]]
@@ -2111,6 +2910,17 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "http"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6ccf5ede3a895d8856620237b2f02972c1bbc78d2965ad7fe8838d4a0ed41f0"
+dependencies = [
+ "bytes 0.4.12",
+ "fnv",
+ "itoa",
+]
+
[[package]]
name = "http"
version = "0.2.4"
@@ -2122,6 +2932,28 @@ dependencies = [
"itoa",
]
+[[package]]
+name = "http-body"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "http 0.1.21",
+ "tokio-buf",
+]
+
+[[package]]
+name = "http-body"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b"
+dependencies = [
+ "bytes 0.5.6",
+ "http 0.2.4",
+]
+
[[package]]
name = "http-body"
version = "0.4.3"
@@ -2129,15 +2961,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "399c583b2979440c60be0821a6199eca73bc3c8dcd9d070d75ac726e2c6186e5"
dependencies = [
"bytes 1.0.1",
- "http",
+ "http 0.2.4",
"pin-project-lite 0.2.7",
]
[[package]]
name = "httparse"
-version = "1.5.1"
+version = "1.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68"
+
+[[package]]
+name = "httpdate"
+version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acd94fdbe1d4ff688b67b04eee2e17bd50995534a61539e45adfefb45e5e5503"
+checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47"
[[package]]
name = "httpdate"
@@ -2154,6 +2992,66 @@ dependencies = [
"quick-error 1.2.3",
]
+[[package]]
+name = "humantime"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
+
+[[package]]
+name = "hyper"
+version = "0.12.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c843caf6296fc1f93444735205af9ed4e109a539005abb2564ae1d6fad34c52"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "futures-cpupool",
+ "h2 0.1.26",
+ "http 0.1.21",
+ "http-body 0.1.0",
+ "httparse",
+ "iovec",
+ "itoa",
+ "log",
+ "net2",
+ "rustc_version 0.2.3",
+ "time",
+ "tokio 0.1.22",
+ "tokio-buf",
+ "tokio-executor",
+ "tokio-io",
+ "tokio-reactor",
+ "tokio-tcp",
+ "tokio-threadpool",
+ "tokio-timer",
+ "want 0.2.0",
+]
+
+[[package]]
+name = "hyper"
+version = "0.13.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb"
+dependencies = [
+ "bytes 0.5.6",
+ "futures-channel",
+ "futures-core",
+ "futures-util",
+ "h2 0.2.7",
+ "http 0.2.4",
+ "http-body 0.3.1",
+ "httparse",
+ "httpdate 0.3.2",
+ "itoa",
+ "pin-project 1.0.8",
+ "socket2 0.3.19",
+ "tokio 0.2.25",
+ "tower-service",
+ "tracing",
+ "want 0.3.0",
+]
+
[[package]]
name = "hyper"
version = "0.14.11"
@@ -2164,33 +3062,33 @@ dependencies = [
"futures-channel",
"futures-core",
"futures-util",
- "http",
- "http-body",
+ "http 0.2.4",
+ "http-body 0.4.3",
"httparse",
- "httpdate",
+ "httpdate 1.0.1",
"itoa",
"pin-project-lite 0.2.7",
- "socket2 0.4.1",
"tokio 1.10.0",
"tower-service",
"tracing",
- "want",
+ "want 0.3.0",
]
[[package]]
name = "hyper-rustls"
-version = "0.22.1"
+version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64"
+checksum = "37743cc83e8ee85eacfce90f2f4102030d9ff0a95244098d781e9bee4a90abb6"
dependencies = [
+ "bytes 0.5.6",
"ct-logs",
"futures-util",
- "hyper",
+ "hyper 0.13.10",
"log",
- "rustls",
- "rustls-native-certs",
- "tokio 1.10.0",
- "tokio-rustls",
+ "rustls 0.18.1",
+ "rustls-native-certs 0.4.0",
+ "tokio 0.2.25",
+ "tokio-rustls 0.14.1",
"webpki",
]
@@ -2262,6 +3160,15 @@ dependencies = [
"parity-scale-codec",
]
+[[package]]
+name = "impl-rlp"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808"
+dependencies = [
+ "rlp",
+]
+
[[package]]
name = "impl-serde"
version = "0.3.1"
@@ -2302,6 +3209,12 @@ dependencies = [
"cfg-if 1.0.0",
]
+[[package]]
+name = "integer-encoding"
+version = "1.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "48dc51180a9b377fd75814d0cc02199c20f8e99433d6762f650d39cdbbd3b56f"
+
[[package]]
name = "integer-sqrt"
version = "0.1.5"
@@ -2332,9 +3245,9 @@ dependencies = [
[[package]]
name = "ip_network"
-version = "0.4.0"
+version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09b746553d2f4a1ca26fab939943ddfb217a091f34f53571620a8e3d30691303"
+checksum = "2ee15951c035f79eddbef745611ec962f63f4558f1dadf98ab723cc603487c6f"
[[package]]
name = "ipconfig"
@@ -2374,9 +3287,9 @@ dependencies = [
[[package]]
name = "itoa"
-version = "0.4.8"
+version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
+checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
[[package]]
name = "jobserver"
@@ -2389,21 +3302,21 @@ dependencies = [
[[package]]
name = "js-sys"
-version = "0.3.53"
+version = "0.3.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4bf49d50e2961077d9c99f4b7997d770a1114f087c3c2e0069b36c13fc2979d"
+checksum = "ce791b7ca6638aae45be056e068fc756d871eb3b3b10b8efa62d1c9cec616752"
dependencies = [
"wasm-bindgen",
]
[[package]]
name = "jsonrpc-client-transports"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a"
+checksum = "489b9c612e60c766f751ab40fcb43cbb55a1e10bb44a9b4307ed510ca598cbd7"
dependencies = [
- "derive_more",
- "futures 0.3.16",
+ "failure",
+ "futures 0.1.31",
"jsonrpc-core",
"jsonrpc-pubsub",
"log",
@@ -2414,13 +3327,11 @@ dependencies = [
[[package]]
name = "jsonrpc-core"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb"
+checksum = "0745a6379e3edc893c84ec203589790774e4247420033e71a76d3ab4687991fa"
dependencies = [
- "futures 0.3.16",
- "futures-executor",
- "futures-util",
+ "futures 0.1.31",
"log",
"serde",
"serde_derive",
@@ -2429,19 +3340,18 @@ dependencies = [
[[package]]
name = "jsonrpc-core-client"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0"
+checksum = "6f764902d7b891344a0acb65625f32f6f7c6db006952143bd650209fbe7d94db"
dependencies = [
- "futures 0.3.16",
"jsonrpc-client-transports",
]
[[package]]
name = "jsonrpc-derive"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2"
+checksum = "99a847f9ec7bb52149b2786a17c9cb260d6effc6b8eeb8c16b343a487a7563a3"
dependencies = [
"proc-macro-crate 0.1.5",
"proc-macro2",
@@ -2451,92 +3361,141 @@ dependencies = [
[[package]]
name = "jsonrpc-http-server"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff"
+checksum = "4fb5c4513b7b542f42da107942b7b759f27120b5cc894729f88254b28dff44b7"
dependencies = [
- "futures 0.3.16",
- "hyper",
+ "hyper 0.12.36",
"jsonrpc-core",
"jsonrpc-server-utils",
"log",
"net2",
- "parking_lot 0.11.1",
+ "parking_lot 0.10.2",
"unicase",
]
[[package]]
name = "jsonrpc-ipc-server"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845"
+checksum = "cf50e53e4eea8f421a7316c5f63e395f7bc7c4e786a6dc54d76fab6ff7aa7ce7"
dependencies = [
- "futures 0.3.16",
"jsonrpc-core",
"jsonrpc-server-utils",
"log",
"parity-tokio-ipc",
- "parking_lot 0.11.1",
- "tower-service",
+ "parking_lot 0.10.2",
+ "tokio-service",
]
[[package]]
name = "jsonrpc-pubsub"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011"
+checksum = "639558e0604013be9787ae52f798506ae42bf4220fe587bdc5625871cc8b9c77"
dependencies = [
- "futures 0.3.16",
"jsonrpc-core",
- "lazy_static",
"log",
- "parking_lot 0.11.1",
+ "parking_lot 0.10.2",
"rand 0.7.3",
"serde",
]
[[package]]
name = "jsonrpc-server-utils"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4"
+checksum = "72f1f3990650c033bd8f6bd46deac76d990f9bbfb5f8dc8c4767bf0a00392176"
dependencies = [
- "bytes 1.0.1",
- "futures 0.3.16",
+ "bytes 0.4.12",
"globset",
"jsonrpc-core",
"lazy_static",
"log",
- "tokio 1.10.0",
- "tokio-stream",
- "tokio-util",
+ "tokio 0.1.22",
+ "tokio-codec",
"unicase",
]
[[package]]
name = "jsonrpc-ws-server"
-version = "18.0.0"
+version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f892c7d766369475ab7b0669f417906302d7c0fb521285c0a0c92e52e7c8e946"
+checksum = "6596fe75209b73a2a75ebe1dce4e60e03b88a2b25e8807b667597f6315150d22"
dependencies = [
- "futures 0.3.16",
"jsonrpc-core",
"jsonrpc-server-utils",
"log",
"parity-ws",
- "parking_lot 0.11.1",
+ "parking_lot 0.10.2",
"slab",
]
[[package]]
-name = "keccak"
-version = "0.1.0"
+name = "jsonrpsee-proc-macros"
+version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7"
+checksum = "f37924e16300e249a52a22cabb5632f846dc9760b39355f5e8bc70cd23dc6300"
+dependencies = [
+ "Inflector",
+ "bae",
+ "proc-macro-crate 1.0.0",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
[[package]]
-name = "kernel32-sys"
-version = "0.2.2"
+name = "jsonrpsee-types"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d67724d368c59e08b557a516cf8fcc51100e7a708850f502e1044b151fe89788"
+dependencies = [
+ "async-trait",
+ "beef",
+ "futures-channel",
+ "futures-util",
+ "hyper 0.14.11",
+ "log",
+ "serde",
+ "serde_json",
+ "soketto 0.6.0",
+ "thiserror",
+]
+
+[[package]]
+name = "jsonrpsee-ws-client"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e2834b6e7f57ce9a4412ed4d6dc95125d2c8612e68f86b9d9a07369164e4198"
+dependencies = [
+ "async-trait",
+ "fnv",
+ "futures 0.3.16",
+ "jsonrpsee-types",
+ "log",
+ "pin-project 1.0.8",
+ "rustls 0.19.1",
+ "rustls-native-certs 0.5.0",
+ "serde",
+ "serde_json",
+ "soketto 0.6.0",
+ "thiserror",
+ "tokio 0.2.25",
+ "tokio-rustls 0.15.0",
+ "tokio-util",
+ "url 2.2.2",
+]
+
+[[package]]
+name = "keccak"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7"
+
+[[package]]
+name = "kernel32-sys"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
dependencies = [
@@ -2560,7 +3519,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45a3f58dc069ec0e205a27f5b45920722a46faed802a0541538241af6228f512"
dependencies = [
"parity-util-mem",
- "smallvec",
+ "smallvec 1.6.1",
]
[[package]]
@@ -2576,9 +3535,9 @@ dependencies = [
[[package]]
name = "kvdb-rocksdb"
-version = "0.14.0"
+version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b1b6ea8f2536f504b645ad78419c8246550e19d2c3419a167080ce08edee35a"
+checksum = "0d169dbb316aa0fa185d02d847c047f1aa20e292cf1563d790c13536a2a732c8"
dependencies = [
"fs-swap",
"kvdb",
@@ -2589,7 +3548,7 @@ dependencies = [
"parking_lot 0.11.1",
"regex",
"rocksdb",
- "smallvec",
+ "smallvec 1.6.1",
]
[[package]]
@@ -2606,9 +3565,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "libc"
-version = "0.2.100"
+version = "0.2.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1fa8cddc8fbbee11227ef194b5317ed014b8acbf15139bd716a18ad3fe99ec5"
+checksum = "a7f823d141fe0a24df1e23b4af4e3c7ba9e5966ec514ea068c93024aa7deb765"
[[package]]
name = "libloading"
@@ -2638,9 +3597,9 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a"
[[package]]
name = "libp2p"
-version = "0.39.1"
+version = "0.37.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9004c06878ef8f3b4b4067e69a140d87ed20bf777287f82223e49713b36ee433"
+checksum = "08053fbef67cd777049ef7a95ebaca2ece370b4ed7712c3fa404d69a88cb741b"
dependencies = [
"atomic",
"bytes 1.0.1",
@@ -2668,18 +3627,18 @@ dependencies = [
"libp2p-wasm-ext",
"libp2p-websocket",
"libp2p-yamux",
- "multiaddr",
+ "parity-multiaddr",
"parking_lot 0.11.1",
"pin-project 1.0.8",
- "smallvec",
+ "smallvec 1.6.1",
"wasm-timer",
]
[[package]]
name = "libp2p-core"
-version = "0.29.0"
+version = "0.28.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af9b4abdeaa420593a297c8592f63fad4234f4b88dc9343b8fd8e736c35faa59"
+checksum = "554d3e7e9e65f939d66b75fd6a4c67f258fe250da61b91f46c545fc4a89b51d9"
dependencies = [
"asn1_der",
"bs58",
@@ -2689,20 +3648,20 @@ dependencies = [
"futures 0.3.16",
"futures-timer 3.0.2",
"lazy_static",
- "libsecp256k1 0.5.0",
+ "libsecp256k1 0.3.5",
"log",
- "multiaddr",
- "multihash 0.14.0",
+ "multihash",
"multistream-select",
+ "parity-multiaddr",
"parking_lot 0.11.1",
"pin-project 1.0.8",
- "prost 0.8.0",
- "prost-build 0.8.0",
+ "prost",
+ "prost-build",
"rand 0.7.3",
"ring",
"rw-stream-sink",
"sha2 0.9.5",
- "smallvec",
+ "smallvec 1.6.1",
"thiserror",
"unsigned-varint 0.7.0",
"void",
@@ -2711,9 +3670,9 @@ dependencies = [
[[package]]
name = "libp2p-deflate"
-version = "0.29.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "66097fccc0b7f8579f90a03ea76ba6196332ea049fd07fd969490a06819dcdc8"
+checksum = "a2181a641cd15f9b6ba71b1335800f309012a0a97a29ffaabbbf40e9d3d58f08"
dependencies = [
"flate2",
"futures 0.3.16",
@@ -2722,23 +3681,23 @@ dependencies = [
[[package]]
name = "libp2p-dns"
-version = "0.29.0"
+version = "0.28.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58ff08b3196b85a17f202d80589e93b1660a574af67275706657fdc762e42c32"
+checksum = "62e63dab8b5ff35e0c101a3e51e843ba782c07bbb1682f5fd827622e0d02b98b"
dependencies = [
"async-std-resolver",
"futures 0.3.16",
"libp2p-core",
"log",
- "smallvec",
+ "smallvec 1.6.1",
"trust-dns-resolver",
]
[[package]]
name = "libp2p-floodsub"
-version = "0.30.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "404eca8720967179dac7a5b4275eb91f904a53859c69ca8d018560ad6beb214f"
+checksum = "48a9b570f6766301d9c4aa00fce3554cad1598e2f466debbc4dde909028417cf"
dependencies = [
"cuckoofilter",
"fnv",
@@ -2746,17 +3705,17 @@ dependencies = [
"libp2p-core",
"libp2p-swarm",
"log",
- "prost 0.8.0",
- "prost-build 0.8.0",
+ "prost",
+ "prost-build",
"rand 0.7.3",
- "smallvec",
+ "smallvec 1.6.1",
]
[[package]]
name = "libp2p-gossipsub"
-version = "0.32.0"
+version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1cc48709bcbc3a3321f08a73560b4bbb4166a7d56f6fdb615bc775f4f91058e"
+checksum = "e7b0c8506a6ec3344b9e706d7c7a6dba826f8ede735cfe13dde12a8c263c4af9"
dependencies = [
"asynchronous-codec 0.6.0",
"base64 0.13.0",
@@ -2768,37 +3727,37 @@ dependencies = [
"libp2p-core",
"libp2p-swarm",
"log",
- "prost 0.8.0",
- "prost-build 0.8.0",
+ "prost",
+ "prost-build",
"rand 0.7.3",
"regex",
"sha2 0.9.5",
- "smallvec",
+ "smallvec 1.6.1",
"unsigned-varint 0.7.0",
"wasm-timer",
]
[[package]]
name = "libp2p-identify"
-version = "0.30.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7b61f6cf07664fb97016c318c4d4512b3dd4cc07238607f3f0163245f99008e"
+checksum = "5f668f00efd9883e8b7bcc582eaf0164615792608f886f6577da18bcbeea0a46"
dependencies = [
"futures 0.3.16",
"libp2p-core",
"libp2p-swarm",
"log",
- "prost 0.8.0",
- "prost-build 0.8.0",
- "smallvec",
+ "prost",
+ "prost-build",
+ "smallvec 1.6.1",
"wasm-timer",
]
[[package]]
name = "libp2p-kad"
-version = "0.31.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50ed78489c87924235665a0ab345b298ee34dff0f7ad62c0ba6608b2144fb75e"
+checksum = "b07312ebe5ee4fd2404447a0609814574df55c65d4e20838b957bbd34907d820"
dependencies = [
"arrayvec 0.5.2",
"asynchronous-codec 0.6.0",
@@ -2809,11 +3768,11 @@ dependencies = [
"libp2p-core",
"libp2p-swarm",
"log",
- "prost 0.8.0",
- "prost-build 0.8.0",
+ "prost",
+ "prost-build",
"rand 0.7.3",
"sha2 0.9.5",
- "smallvec",
+ "smallvec 1.6.1",
"uint",
"unsigned-varint 0.7.0",
"void",
@@ -2822,9 +3781,9 @@ dependencies = [
[[package]]
name = "libp2p-mdns"
-version = "0.31.0"
+version = "0.30.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a29e6cbc2a24b8471b6567e580a0e8e7b70a6d0f0ea2be0844d1e842d7d4fa33"
+checksum = "4efa70c1c3d2d91237f8546e27aeb85e287d62c066a7b4f3ea6a696d43ced714"
dependencies = [
"async-io",
"data-encoding",
@@ -2836,16 +3795,16 @@ dependencies = [
"libp2p-swarm",
"log",
"rand 0.8.4",
- "smallvec",
+ "smallvec 1.6.1",
"socket2 0.4.1",
"void",
]
[[package]]
name = "libp2p-mplex"
-version = "0.29.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "313d9ea526c68df4425f580024e67a9d3ffd49f2c33de5154b1f5019816f7a99"
+checksum = "85e9b544335d1ed30af71daa96edbefadef6f19c7a55f078b9fc92c87163105d"
dependencies = [
"asynchronous-codec 0.6.0",
"bytes 1.0.1",
@@ -2855,15 +3814,15 @@ dependencies = [
"nohash-hasher",
"parking_lot 0.11.1",
"rand 0.7.3",
- "smallvec",
+ "smallvec 1.6.1",
"unsigned-varint 0.7.0",
]
[[package]]
name = "libp2p-noise"
-version = "0.32.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f1db7212f342b6ba7c981cc40e31f76e9e56cb48e65fa4c142ecaca5839523e"
+checksum = "36db0f0db3b0433f5b9463f1c0cd9eadc0a3734a9170439ce501ff99733a88bd"
dependencies = [
"bytes 1.0.1",
"curve25519-dalek 3.2.0",
@@ -2871,9 +3830,9 @@ dependencies = [
"lazy_static",
"libp2p-core",
"log",
- "prost 0.8.0",
- "prost-build 0.8.0",
- "rand 0.8.4",
+ "prost",
+ "prost-build",
+ "rand 0.7.3",
"sha2 0.9.5",
"snow",
"static_assertions",
@@ -2883,9 +3842,9 @@ dependencies = [
[[package]]
name = "libp2p-ping"
-version = "0.30.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2482cfd9eb0b7a0baaf3e7b329dc4f2785181a161b1a47b7192f8d758f54a439"
+checksum = "bf4bfaffac63bf3c7ec11ed9d8879d455966ddea7e78ee14737f0b6dce0d1cd1"
dependencies = [
"futures 0.3.16",
"libp2p-core",
@@ -2898,26 +3857,26 @@ dependencies = [
[[package]]
name = "libp2p-plaintext"
-version = "0.29.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13b4783e5423870b9a5c199f65a7a3bc66d86ab56b2b9beebf3c338d889cf8e4"
+checksum = "0c8c37b4d2a075b4be8442760a5f8c037180f0c8dd5b5734b9978ab868b3aa11"
dependencies = [
"asynchronous-codec 0.6.0",
"bytes 1.0.1",
"futures 0.3.16",
"libp2p-core",
"log",
- "prost 0.8.0",
- "prost-build 0.8.0",
+ "prost",
+ "prost-build",
"unsigned-varint 0.7.0",
"void",
]
[[package]]
name = "libp2p-pnet"
-version = "0.21.0"
+version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07cb4dd4b917e5b40ddefe49b96b07adcd8d342e0317011d175b7b2bb1dcc974"
+checksum = "6ce3374f3b28162db9d3442c9347c4f14cb01e8290052615c7d341d40eae0599"
dependencies = [
"futures 0.3.16",
"log",
@@ -2929,9 +3888,9 @@ dependencies = [
[[package]]
name = "libp2p-relay"
-version = "0.3.0"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0133f6cfd81cdc16e716de2982e012c62e6b9d4f12e41967b3ee361051c622aa"
+checksum = "0b8786aca3f18671d8776289706a5521f6c9124a820f69e358de214b9939440d"
dependencies = [
"asynchronous-codec 0.6.0",
"bytes 1.0.1",
@@ -2941,10 +3900,10 @@ dependencies = [
"libp2p-swarm",
"log",
"pin-project 1.0.8",
- "prost 0.8.0",
- "prost-build 0.8.0",
+ "prost",
+ "prost-build",
"rand 0.7.3",
- "smallvec",
+ "smallvec 1.6.1",
"unsigned-varint 0.7.0",
"void",
"wasm-timer",
@@ -2952,9 +3911,9 @@ dependencies = [
[[package]]
name = "libp2p-request-response"
-version = "0.12.0"
+version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06cdae44b6821466123af93cbcdec7c9e6ba9534a8af9cdc296446d39416d241"
+checksum = "1cdbe172f08e6d0f95fa8634e273d4c4268c4063de2e33e7435194b0130c62e3"
dependencies = [
"async-trait",
"bytes 1.0.1",
@@ -2965,32 +3924,32 @@ dependencies = [
"lru",
"minicbor",
"rand 0.7.3",
- "smallvec",
+ "smallvec 1.6.1",
"unsigned-varint 0.7.0",
"wasm-timer",
]
[[package]]
name = "libp2p-swarm"
-version = "0.30.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7083861341e1555467863b4cd802bea1e8c4787c0f7b5110097d0f1f3248f9a9"
+checksum = "1e04d8e1eef675029ec728ba14e8d0da7975d84b6679b699b4ae91a1de9c3a92"
dependencies = [
"either",
"futures 0.3.16",
"libp2p-core",
"log",
"rand 0.7.3",
- "smallvec",
+ "smallvec 1.6.1",
"void",
"wasm-timer",
]
[[package]]
name = "libp2p-swarm-derive"
-version = "0.24.0"
+version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab8cb308d4fc854869f5abb54fdab0833d2cf670d407c745849dc47e6e08d79c"
+checksum = "365b0a699fea5168676840567582a012ea297b1ca02eee467e58301b9c9c5eed"
dependencies = [
"quote",
"syn",
@@ -2998,9 +3957,9 @@ dependencies = [
[[package]]
name = "libp2p-tcp"
-version = "0.29.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79edd26b6b4bb5feee210dcda562dca186940dfecb0024b979c3f50824b3bf28"
+checksum = "2b1a27d21c477951799e99d5c105d78868258502ce092988040a808d5a19bbd9"
dependencies = [
"async-io",
"futures 0.3.16",
@@ -3015,9 +3974,9 @@ dependencies = [
[[package]]
name = "libp2p-uds"
-version = "0.29.0"
+version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "280e793440dd4e9f273d714f4497325c72cddb0fe85a49f9a03c88f41dd20182"
+checksum = "ffd6564bb3b7ff203661ccbb69003c2b551e34cef974f2d6c6a28306a12170b5"
dependencies = [
"async-std",
"futures 0.3.16",
@@ -3027,9 +3986,9 @@ dependencies = [
[[package]]
name = "libp2p-wasm-ext"
-version = "0.29.0"
+version = "0.28.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f553b7140fad3d7a76f50497b0ea591e26737d9607428a75509fc191e4d1b1f6"
+checksum = "e2d413e4cf9b8e5dfbcd2a60d3dc5a3391308bdb463684093d4f67137b7113de"
dependencies = [
"futures 0.3.16",
"js-sys",
@@ -3041,9 +4000,9 @@ dependencies = [
[[package]]
name = "libp2p-websocket"
-version = "0.30.0"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddf99dcbf5063e9d59087f61b1e85c686ceab2f5abedb472d32288065c0e5e27"
+checksum = "cace60995ef6f637e4752cccbb2590f6bc358e8741a0d066307636c69a4b3a74"
dependencies = [
"either",
"futures 0.3.16",
@@ -3052,16 +4011,16 @@ dependencies = [
"log",
"quicksink",
"rw-stream-sink",
- "soketto",
+ "soketto 0.4.2",
"url 2.2.2",
"webpki-roots",
]
[[package]]
name = "libp2p-yamux"
-version = "0.33.0"
+version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "214cc0dd9c37cbed27f0bb1eba0c41bbafdb93a8be5e9d6ae1e6b4b42cd044bf"
+checksum = "f35da42cfc6d5cb0dcf3ad6881bc68d146cdf38f98655e09e33fbba4d13eabc4"
dependencies = [
"futures 0.3.16",
"libp2p-core",
@@ -3084,20 +4043,17 @@ dependencies = [
[[package]]
name = "libsecp256k1"
-version = "0.5.0"
+version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd1137239ab33b41aa9637a88a28249e5e70c40a42ccc92db7f12cc356c1fcd7"
+checksum = "1fc1e2c808481a63dc6da2074752fdd4336a3c8fcc68b83db6f1fd5224ae7962"
dependencies = [
"arrayref",
- "base64 0.12.3",
- "digest 0.9.0",
+ "crunchy",
+ "digest 0.8.1",
"hmac-drbg",
- "libsecp256k1-core",
- "libsecp256k1-gen-ecmult",
- "libsecp256k1-gen-genmult",
"rand 0.7.3",
- "serde",
- "sha2 0.9.5",
+ "sha2 0.8.2",
+ "subtle 2.4.1",
"typenum",
]
@@ -3110,14 +4066,12 @@ dependencies = [
"arrayref",
"base64 0.12.3",
"digest 0.9.0",
- "hmac-drbg",
"libsecp256k1-core",
"libsecp256k1-gen-ecmult",
"libsecp256k1-gen-genmult",
"rand 0.7.3",
"serde",
"sha2 0.9.5",
- "typenum",
]
[[package]]
@@ -3231,26 +4185,6 @@ dependencies = [
"linked-hash-map",
]
-[[package]]
-name = "lz4"
-version = "1.23.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aac20ed6991e01bf6a2e68cc73df2b389707403662a8ba89f68511fb340f724c"
-dependencies = [
- "libc",
- "lz4-sys",
-]
-
-[[package]]
-name = "lz4-sys"
-version = "1.9.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dca79aa95d8b3226213ad454d328369853be3a1382d89532a854f4d69640acae"
-dependencies = [
- "cc",
- "libc",
-]
-
[[package]]
name = "mach"
version = "0.3.2"
@@ -3296,6 +4230,12 @@ dependencies = [
"rawpointer",
]
+[[package]]
+name = "maybe-uninit"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
+
[[package]]
name = "memchr"
version = "2.4.1"
@@ -3311,6 +4251,15 @@ dependencies = [
"libc",
]
+[[package]]
+name = "memoffset"
+version = "0.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"
+dependencies = [
+ "autocfg",
+]
+
[[package]]
name = "memoffset"
version = "0.6.4"
@@ -3331,6 +4280,15 @@ dependencies = [
"parity-util-mem",
]
+[[package]]
+name = "memory-lru"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "beeb98b3d1ed2c0054bd81b5ba949a0243c3ccad751d45ea898fa8059fa2860a"
+dependencies = [
+ "lru",
+]
+
[[package]]
name = "memory_units"
version = "0.3.0"
@@ -3349,6 +4307,27 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "metered-channel"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "derive_more",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+]
+
+[[package]]
+name = "mick-jaeger"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c023c3f16109e7f33aa451f773fd61070e265b4977d0b6e344a51049296dd7df"
+dependencies = [
+ "futures 0.3.16",
+ "rand 0.7.3",
+ "thrift",
+]
+
[[package]]
name = "minicbor"
version = "0.8.1"
@@ -3399,28 +4378,27 @@ dependencies = [
]
[[package]]
-name = "mio"
-version = "0.7.13"
+name = "mio-extras"
+version = "2.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16"
+checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19"
dependencies = [
- "libc",
+ "lazycell",
"log",
- "miow 0.3.7",
- "ntapi",
- "winapi 0.3.9",
+ "mio",
+ "slab",
]
[[package]]
-name = "mio-extras"
-version = "2.0.6"
+name = "mio-named-pipes"
+version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19"
+checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656"
dependencies = [
- "lazycell",
"log",
- "mio 0.6.23",
- "slab",
+ "mio",
+ "miow 0.3.7",
+ "winapi 0.3.9",
]
[[package]]
@@ -3431,7 +4409,7 @@ checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0"
dependencies = [
"iovec",
"libc",
- "mio 0.6.23",
+ "mio",
]
[[package]]
@@ -3461,24 +4439,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0debeb9fcf88823ea64d64e4a815ab1643f33127d995978e099942ce38f25238"
-[[package]]
-name = "multiaddr"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48ee4ea82141951ac6379f964f71b20876d43712bea8faf6dd1a375e08a46499"
-dependencies = [
- "arrayref",
- "bs58",
- "byteorder",
- "data-encoding",
- "multihash 0.14.0",
- "percent-encoding 2.1.0",
- "serde",
- "static_assertions",
- "unsigned-varint 0.7.0",
- "url 2.2.2",
-]
-
[[package]]
name = "multibase"
version = "0.8.0"
@@ -3507,19 +4467,6 @@ dependencies = [
"unsigned-varint 0.5.1",
]
-[[package]]
-name = "multihash"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "752a61cd890ff691b4411423d23816d5866dd5621e4d1c5687a53b94b5a979d8"
-dependencies = [
- "digest 0.9.0",
- "generic-array 0.14.4",
- "multihash-derive",
- "sha2 0.9.5",
- "unsigned-varint 0.7.0",
-]
-
[[package]]
name = "multihash-derive"
version = "0.7.2"
@@ -3527,7 +4474,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "424f6e86263cd5294cbd7f1e95746b95aca0e0d66bff31e5a40d6baa87b4aa99"
dependencies = [
"proc-macro-crate 1.0.0",
- "proc-macro-error",
+ "proc-macro-error 1.0.4",
"proc-macro2",
"quote",
"syn",
@@ -3550,7 +4497,7 @@ dependencies = [
"futures 0.3.16",
"log",
"pin-project 1.0.8",
- "smallvec",
+ "smallvec 1.6.1",
"unsigned-varint 0.7.0",
]
@@ -3627,15 +4574,6 @@ dependencies = [
"version_check",
]
-[[package]]
-name = "ntapi"
-version = "0.3.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
-dependencies = [
- "winapi 0.3.9",
-]
-
[[package]]
name = "num-bigint"
version = "0.2.6"
@@ -3721,9 +4659,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.26.1"
+version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee2766204889d09937d00bfbb7fec56bb2a199e2ade963cab19185d8a6104c7c"
+checksum = "c55827317fb4c08822499848a14237d2874d6f139828893017237e7ab93eb386"
dependencies = [
"memchr",
]
@@ -3755,6 +4693,15 @@ version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
+[[package]]
+name = "ordered-float"
+version = "1.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3305af35278dd29f46fcdd139e0b1fbfae2153f0e5928b39b035542dd31e37b7"
+dependencies = [
+ "num-traits",
+]
+
[[package]]
name = "owning_ref"
version = "0.4.1"
@@ -3767,10 +4714,11 @@ dependencies = [
[[package]]
name = "pallet-aura"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support",
"frame-system",
+ "pallet-session",
"pallet-timestamp",
"parity-scale-codec",
"sp-application-crypto",
@@ -3779,10 +4727,25 @@ dependencies = [
"sp-std",
]
+[[package]]
+name = "pallet-authority-discovery"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "pallet-session",
+ "parity-scale-codec",
+ "sp-application-crypto",
+ "sp-authority-discovery",
+ "sp-runtime",
+ "sp-std",
+]
+
[[package]]
name = "pallet-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support",
"frame-system",
@@ -3794,71 +4757,163 @@ dependencies = [
]
[[package]]
-name = "pallet-balances"
+name = "pallet-babe"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
+ "pallet-authorship",
+ "pallet-session",
+ "pallet-timestamp",
"parity-scale-codec",
+ "sp-application-crypto",
+ "sp-consensus-babe",
+ "sp-consensus-vrf",
+ "sp-io",
"sp-runtime",
+ "sp-session",
+ "sp-staking",
"sp-std",
]
[[package]]
-name = "pallet-contracts"
+name = "pallet-balances"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "bitflags",
+ "frame-benchmarking",
"frame-support",
"frame-system",
"log",
- "pallet-contracts-primitives",
- "pallet-contracts-proc-macro",
"parity-scale-codec",
- "pwasm-utils",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "pallet-beefy"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=hc-contract-experiment-patched-v0.9.9#3cb5c033c8df149250ed43801fc83bf110e0ef41"
+dependencies = [
+ "beefy-primitives",
+ "frame-support",
+ "frame-system",
+ "pallet-session",
+ "parity-scale-codec",
+ "scale-info",
"serde",
- "smallvec",
- "sp-core",
- "sp-io",
"sp-runtime",
- "sp-sandbox",
"sp-std",
- "wasmi-validation",
]
[[package]]
-name = "pallet-contracts-primitives"
-version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+name = "pallet-beefy-mmr"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/grandpa-bridge-gadget?branch=hc-contract-experiment-patched-v0.9.9#3cb5c033c8df149250ed43801fc83bf110e0ef41"
dependencies = [
- "bitflags",
+ "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-contracts-proc-macro"
+name = "pallet-bounties"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "proc-macro2",
- "quote",
- "syn",
+ "frame-support",
+ "frame-system",
+ "pallet-treasury",
+ "parity-scale-codec",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "pallet-contracts-rpc"
+name = "pallet-collective"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "jsonrpc-core",
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "pallet-contracts"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "bitflags",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-contracts-primitives",
+ "pallet-contracts-proc-macro",
+ "parity-scale-codec",
+ "pwasm-utils",
+ "serde",
+ "smallvec 1.6.1",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-sandbox",
+ "sp-std",
+ "wasmi-validation",
+]
+
+[[package]]
+name = "pallet-contracts-primitives"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "bitflags",
+ "parity-scale-codec",
+ "serde",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "pallet-contracts-proc-macro"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pallet-contracts-rpc"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
"pallet-contracts-primitives",
@@ -3875,7 +4930,7 @@ dependencies = [
[[package]]
name = "pallet-contracts-rpc-runtime-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"pallet-contracts-primitives",
"parity-scale-codec",
@@ -3884,10 +4939,60 @@ dependencies = [
"sp-std",
]
+[[package]]
+name = "pallet-democracy"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "serde",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "pallet-election-provider-multi-phase"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-election-provider-support",
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "sp-arithmetic",
+ "sp-core",
+ "sp-io",
+ "sp-npos-elections",
+ "sp-runtime",
+ "sp-std",
+ "static_assertions",
+]
+
+[[package]]
+name = "pallet-elections-phragmen"
+version = "5.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-io",
+ "sp-npos-elections",
+ "sp-runtime",
+ "sp-std",
+]
+
[[package]]
name = "pallet-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-benchmarking",
"frame-support",
@@ -3907,77 +5012,79 @@ dependencies = [
]
[[package]]
-name = "pallet-randomness-collective-flip"
+name = "pallet-identity"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "enumflags2",
+ "frame-benchmarking",
"frame-support",
"frame-system",
"parity-scale-codec",
- "safe-mix",
+ "sp-io",
"sp-runtime",
"sp-std",
]
[[package]]
-name = "pallet-session"
+name = "pallet-im-online"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support",
"frame-system",
- "impl-trait-for-tuples",
"log",
- "pallet-timestamp",
+ "pallet-authorship",
"parity-scale-codec",
+ "sp-application-crypto",
"sp-core",
"sp-io",
"sp-runtime",
- "sp-session",
"sp-staking",
"sp-std",
- "sp-trie",
]
[[package]]
-name = "pallet-sudo"
+name = "pallet-indices"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-support",
"frame-system",
"parity-scale-codec",
+ "sp-core",
"sp-io",
+ "sp-keyring",
"sp-runtime",
"sp-std",
]
[[package]]
-name = "pallet-timestamp"
+name = "pallet-membership"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"log",
"parity-scale-codec",
- "sp-inherents",
+ "sp-io",
"sp-runtime",
"sp-std",
- "sp-timestamp",
]
[[package]]
-name = "pallet-transaction-payment"
+name = "pallet-mmr"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "ckb-merkle-mountain-range",
+ "frame-benchmarking",
"frame-support",
"frame-system",
+ "pallet-mmr-primitives",
"parity-scale-codec",
- "serde",
- "smallvec",
"sp-core",
"sp-io",
"sp-runtime",
@@ -3985,15 +5092,32 @@ dependencies = [
]
[[package]]
-name = "pallet-transaction-payment-rpc"
+name = "pallet-mmr-primitives"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "serde",
+ "sp-api",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "pallet-mmr-rpc"
+version = "3.0.0"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
- "pallet-transaction-payment-rpc-runtime-api",
+ "pallet-mmr-primitives",
"parity-scale-codec",
+ "serde",
"sp-api",
"sp-blockchain",
"sp-core",
@@ -4002,362 +5126,1863 @@ dependencies = [
]
[[package]]
-name = "pallet-transaction-payment-rpc-runtime-api"
+name = "pallet-multisig"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "pallet-transaction-payment",
+ "frame-support",
+ "frame-system",
"parity-scale-codec",
- "sp-api",
+ "sp-core",
+ "sp-io",
"sp-runtime",
+ "sp-std",
]
[[package]]
-name = "parity-db"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "241f9c5d25063080f2c02846221f13e1d0e5e18fa00c32c234aad585b744ee55"
+name = "pallet-nicks"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "blake2-rfc",
- "crc32fast",
- "fs2",
- "hex",
- "libc",
- "log",
- "lz4",
- "memmap2",
- "parking_lot 0.11.1",
- "rand 0.8.4",
- "snap",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "parity-scale-codec"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8975095a2a03bbbdc70a74ab11a4f76a6d0b84680d87c68d722531b0ac28e8a9"
+name = "pallet-offences"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "arrayvec 0.7.1",
- "bitvec 0.20.4",
- "byte-slice-cast",
- "impl-trait-for-tuples",
- "parity-scale-codec-derive",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-balances",
+ "parity-scale-codec",
"serde",
+ "sp-runtime",
+ "sp-staking",
+ "sp-std",
]
[[package]]
-name = "parity-scale-codec-derive"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40dbbfef7f0a1143c5b06e0d76a6278e25dac0bc1af4be51a0fbb73f07e7ad09"
+name = "pallet-proxy"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "proc-macro-crate 1.0.0",
- "proc-macro2",
- "quote",
- "syn",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "parity-send-wrapper"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f"
+name = "pallet-randomness-collective-flip"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "safe-mix",
+ "sp-runtime",
+ "sp-std",
+]
[[package]]
-name = "parity-tokio-ipc"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6"
+name = "pallet-scheduler"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "futures 0.3.16",
- "libc",
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
"log",
- "rand 0.7.3",
- "tokio 1.10.0",
- "winapi 0.3.9",
+ "parity-scale-codec",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "parity-util-mem"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ad6f1acec69b95caf435bbd158d486e5a0a44fcf51531e84922c59ff09e8457"
+name = "pallet-session"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "cfg-if 1.0.0",
- "hashbrown",
+ "frame-support",
+ "frame-system",
"impl-trait-for-tuples",
- "parity-util-mem-derive",
- "parking_lot 0.11.1",
- "primitive-types",
- "smallvec",
- "winapi 0.3.9",
+ "log",
+ "pallet-timestamp",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-session",
+ "sp-staking",
+ "sp-std",
+ "sp-trie",
]
[[package]]
-name = "parity-util-mem-derive"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2"
+name = "pallet-staking"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "frame-election-provider-support",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-authorship",
+ "pallet-session",
+ "parity-scale-codec",
+ "paste",
+ "serde",
+ "sp-application-crypto",
+ "sp-io",
+ "sp-runtime",
+ "sp-staking",
+ "sp-std",
+ "static_assertions",
+]
+
+[[package]]
+name = "pallet-staking-reward-curve"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "proc-macro-crate 1.0.0",
"proc-macro2",
+ "quote",
"syn",
- "synstructure",
]
[[package]]
-name = "parity-wasm"
-version = "0.32.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16ad52817c4d343339b3bc2e26861bd21478eda0b7509acf83505727000512ac"
+name = "pallet-sudo"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "byteorder",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "parity-wasm"
-version = "0.42.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92"
+name = "pallet-timestamp"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-benchmarking",
+ "frame-support",
+ "frame-system",
+ "impl-trait-for-tuples",
+ "log",
+ "parity-scale-codec",
+ "sp-inherents",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+ "sp-timestamp",
+]
[[package]]
-name = "parity-ws"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0ab8a461779bd022964cae2b4989fa9c99deb270bec162da2125ec03c09fcaa"
+name = "pallet-tips"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "byteorder",
- "bytes 0.4.12",
- "httparse",
- "log",
- "mio 0.6.23",
- "mio-extras",
- "rand 0.7.3",
- "sha-1 0.8.2",
- "slab",
- "url 2.2.2",
+ "frame-support",
+ "frame-system",
+ "pallet-treasury",
+ "parity-scale-codec",
+ "serde",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "parking"
-version = "2.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
+name = "pallet-transaction-payment"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "serde",
+ "smallvec 1.6.1",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+]
[[package]]
-name = "parking_lot"
-version = "0.10.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e"
+name = "pallet-transaction-payment-rpc"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "lock_api 0.3.4",
- "parking_lot_core 0.7.2",
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "parity-scale-codec",
+ "sp-api",
+ "sp-blockchain",
+ "sp-core",
+ "sp-rpc",
+ "sp-runtime",
]
[[package]]
-name = "parking_lot"
-version = "0.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
+name = "pallet-transaction-payment-rpc-runtime-api"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "instant",
- "lock_api 0.4.4",
- "parking_lot_core 0.8.3",
+ "pallet-transaction-payment",
+ "parity-scale-codec",
+ "sp-api",
+ "sp-runtime",
]
[[package]]
-name = "parking_lot_core"
-version = "0.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3"
+name = "pallet-treasury"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "cfg-if 0.1.10",
- "cloudabi",
- "libc",
- "redox_syscall 0.1.57",
- "smallvec",
- "winapi 0.3.9",
+ "frame-support",
+ "frame-system",
+ "impl-trait-for-tuples",
+ "pallet-balances",
+ "parity-scale-codec",
+ "serde",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "parking_lot_core"
-version = "0.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
+name = "pallet-utility"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "cfg-if 1.0.0",
- "instant",
- "libc",
- "redox_syscall 0.2.10",
- "smallvec",
- "winapi 0.3.9",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
]
[[package]]
-name = "paste"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58"
+name = "pallet-vesting"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "enumflags2",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "sp-runtime",
+ "sp-std",
+]
[[package]]
-name = "pbkdf2"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "006c038a43a45995a9670da19e67600114740e8511d4333bf97a56e66a7542d9"
+name = "pallet-xcm"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
dependencies = [
- "byteorder",
- "crypto-mac 0.7.0",
+ "frame-support",
+ "frame-system",
+ "log",
+ "parity-scale-codec",
+ "serde",
+ "sp-runtime",
+ "sp-std",
+ "xcm",
+ "xcm-executor",
]
[[package]]
-name = "pbkdf2"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd"
+name = "parachain-info"
+version = "0.1.0"
+source = "git+https://github.com/paritytech/cumulus?branch=hc-contract-experiment-patched-v0.9.9#3018a6c503c4aa832e7778177498f95e5e083633"
dependencies = [
- "crypto-mac 0.8.0",
+ "cumulus-primitives-core",
+ "frame-support",
+ "frame-system",
+ "parity-scale-codec",
+ "serde",
]
[[package]]
-name = "peeking_take_while"
-version = "0.1.2"
+name = "parity-db"
+version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
+checksum = "2e337f62db341435f0da05b8f6b97e984ef4ea5800510cd07c2d624688c40b47"
+dependencies = [
+ "blake2-rfc",
+ "crc32fast",
+ "fs2",
+ "hex",
+ "libc",
+ "log",
+ "memmap2",
+ "parking_lot 0.11.1",
+ "rand 0.8.4",
+]
[[package]]
-name = "percent-encoding"
-version = "1.0.1"
+name = "parity-multiaddr"
+version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
+checksum = "58341485071825827b7f03cf7efd1cb21e6a709bea778fb50227fd45d2f361b4"
+dependencies = [
+ "arrayref",
+ "bs58",
+ "byteorder",
+ "data-encoding",
+ "multihash",
+ "percent-encoding 2.1.0",
+ "serde",
+ "static_assertions",
+ "unsigned-varint 0.7.0",
+ "url 2.2.2",
+]
[[package]]
-name = "percent-encoding"
-version = "2.1.0"
+name = "parity-scale-codec"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
+checksum = "8975095a2a03bbbdc70a74ab11a4f76a6d0b84680d87c68d722531b0ac28e8a9"
+dependencies = [
+ "arrayvec 0.7.1",
+ "bitvec 0.20.4",
+ "byte-slice-cast",
+ "impl-trait-for-tuples",
+ "parity-scale-codec-derive",
+ "serde",
+]
[[package]]
-name = "pest"
-version = "2.1.3"
+name = "parity-scale-codec-derive"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
+checksum = "40dbbfef7f0a1143c5b06e0d76a6278e25dac0bc1af4be51a0fbb73f07e7ad09"
dependencies = [
- "ucd-trie",
+ "proc-macro-crate 1.0.0",
+ "proc-macro2",
+ "quote",
+ "syn",
]
[[package]]
-name = "pest_derive"
-version = "2.1.0"
+name = "parity-send-wrapper"
+version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
-dependencies = [
- "pest",
- "pest_generator",
+checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f"
+
+[[package]]
+name = "parity-tokio-ipc"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1e57fea504fea33f9fbb5f49f378359030e7e026a6ab849bb9e8f0787376f1bf"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "libc",
+ "log",
+ "mio-named-pipes",
+ "miow 0.3.7",
+ "rand 0.7.3",
+ "tokio 0.1.22",
+ "tokio-named-pipes",
+ "tokio-uds",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "parity-util-mem"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ad6f1acec69b95caf435bbd158d486e5a0a44fcf51531e84922c59ff09e8457"
+dependencies = [
+ "cfg-if 1.0.0",
+ "ethereum-types",
+ "hashbrown",
+ "impl-trait-for-tuples",
+ "lru",
+ "parity-util-mem-derive",
+ "parking_lot 0.11.1",
+ "primitive-types",
+ "smallvec 1.6.1",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "parity-util-mem-derive"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2"
+dependencies = [
+ "proc-macro2",
+ "syn",
+ "synstructure",
+]
+
+[[package]]
+name = "parity-wasm"
+version = "0.32.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "16ad52817c4d343339b3bc2e26861bd21478eda0b7509acf83505727000512ac"
+dependencies = [
+ "byteorder",
+]
+
+[[package]]
+name = "parity-wasm"
+version = "0.42.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92"
+
+[[package]]
+name = "parity-ws"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "322d72dfe461b8b9e367d057ceace105379d64d5b03907d23c481ccf3fbf8aa4"
+dependencies = [
+ "byteorder",
+ "bytes 0.4.12",
+ "httparse",
+ "log",
+ "mio",
+ "mio-extras",
+ "rand 0.7.3",
+ "sha-1 0.8.2",
+ "slab",
+ "url 2.2.2",
+]
+
+[[package]]
+name = "parking"
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
+
+[[package]]
+name = "parking_lot"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252"
+dependencies = [
+ "lock_api 0.3.4",
+ "parking_lot_core 0.6.2",
+ "rustc_version 0.2.3",
+]
+
+[[package]]
+name = "parking_lot"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e"
+dependencies = [
+ "lock_api 0.3.4",
+ "parking_lot_core 0.7.2",
+]
+
+[[package]]
+name = "parking_lot"
+version = "0.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
+dependencies = [
+ "instant",
+ "lock_api 0.4.4",
+ "parking_lot_core 0.8.3",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"
+dependencies = [
+ "cfg-if 0.1.10",
+ "cloudabi",
+ "libc",
+ "redox_syscall 0.1.57",
+ "rustc_version 0.2.3",
+ "smallvec 0.6.14",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3"
+dependencies = [
+ "cfg-if 0.1.10",
+ "cloudabi",
+ "libc",
+ "redox_syscall 0.1.57",
+ "smallvec 1.6.1",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
+dependencies = [
+ "cfg-if 1.0.0",
+ "instant",
+ "libc",
+ "redox_syscall 0.2.10",
+ "smallvec 1.6.1",
+ "winapi 0.3.9",
+]
+
+[[package]]
+name = "paste"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "acbf547ad0c65e31259204bd90935776d1c693cec2f4ff7abb7a1bbbd40dfe58"
+
+[[package]]
+name = "pbkdf2"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "006c038a43a45995a9670da19e67600114740e8511d4333bf97a56e66a7542d9"
+dependencies = [
+ "byteorder",
+ "crypto-mac 0.7.0",
+]
+
+[[package]]
+name = "pbkdf2"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd"
+dependencies = [
+ "crypto-mac 0.8.0",
+]
+
+[[package]]
+name = "pdqselect"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ec91767ecc0a0bbe558ce8c9da33c068066c57ecc8bb8477ef8c1ad3ef77c27"
+
+[[package]]
+name = "peeking_take_while"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
+
+[[package]]
+name = "percent-encoding"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
+
+[[package]]
+name = "percent-encoding"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
+
+[[package]]
+name = "pest"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
+dependencies = [
+ "ucd-trie",
+]
+
+[[package]]
+name = "pest_derive"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
+dependencies = [
+ "pest",
+ "pest_generator",
+]
+
+[[package]]
+name = "pest_generator"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
+dependencies = [
+ "pest",
+ "pest_meta",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pest_meta"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
+dependencies = [
+ "maplit",
+ "pest",
+ "sha-1 0.8.2",
+]
+
+[[package]]
+name = "petgraph"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
+dependencies = [
+ "fixedbitset",
+ "indexmap",
+]
+
+[[package]]
+name = "pin-project"
+version = "0.4.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "918192b5c59119d51e0cd221f4d49dde9112824ba717369e903c97d076083d0f"
+dependencies = [
+ "pin-project-internal 0.4.28",
+]
+
+[[package]]
+name = "pin-project"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08"
+dependencies = [
+ "pin-project-internal 1.0.8",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "0.4.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "1.0.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "pin-project-lite"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777"
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
+
+[[package]]
+name = "pin-utils"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
+
+[[package]]
+name = "pkg-config"
+version = "0.3.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
+
+[[package]]
+name = "platforms"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325"
+
+[[package]]
+name = "polkadot-approval-distribution"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "polkadot-node-network-protocol",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-availability-bitfield-distribution"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "polkadot-node-network-protocol",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-availability-distribution"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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",
+ "sp-application-crypto",
+ "sp-core",
+ "sp-keystore",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-availability-recovery"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "lru",
+ "parity-scale-codec",
+ "polkadot-erasure-coding",
+ "polkadot-node-network-protocol",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "rand 0.8.4",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-cli"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "frame-benchmarking-cli",
+ "futures 0.3.16",
+ "log",
+ "polkadot-node-core-pvf",
+ "polkadot-service",
+ "sc-cli",
+ "sc-service",
+ "sp-core",
+ "sp-trie",
+ "structopt",
+ "substrate-build-script-utils",
+ "thiserror",
+ "try-runtime-cli",
+]
+
+[[package]]
+name = "polkadot-client"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "beefy-primitives",
+ "frame-benchmarking",
+ "frame-system-rpc-runtime-api",
+ "pallet-mmr-primitives",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "polkadot-primitives",
+ "polkadot-runtime",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-executor",
+ "sc-service",
+ "sp-api",
+ "sp-authority-discovery",
+ "sp-block-builder",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-babe",
+ "sp-finality-grandpa",
+ "sp-offchain",
+ "sp-runtime",
+ "sp-session",
+ "sp-storage",
+ "sp-transaction-pool",
+]
+
+[[package]]
+name = "polkadot-collator-protocol"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "always-assert",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "polkadot-node-network-protocol",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "sp-core",
+ "sp-keystore",
+ "sp-runtime",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-core-primitives"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "parity-scale-codec",
+ "parity-util-mem",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "polkadot-dispute-distribution"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "parity-scale-codec",
+ "polkadot-node-primitives",
+ "polkadot-primitives",
+ "reed-solomon-novelpoly",
+ "sp-core",
+ "sp-trie",
+ "thiserror",
+]
+
+[[package]]
+name = "polkadot-gossip-support"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "polkadot-node-network-protocol",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "rand 0.8.4",
+ "rand_chacha 0.3.1",
+ "sp-application-crypto",
+ "sp-core",
+ "sp-keystore",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-network-bridge"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "async-trait",
+ "futures 0.3.16",
+ "parity-scale-codec",
+ "parking_lot 0.11.1",
+ "polkadot-node-network-protocol",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-overseer",
+ "polkadot-primitives",
+ "sc-network",
+ "sp-consensus",
+ "strum",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-collation-generation"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "parity-scale-codec",
+ "polkadot-erasure-coding",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "sp-core",
+ "sp-maybe-compressed-blob",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-approval-voting"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "bitvec 0.20.4",
+ "derive_more",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "kvdb",
+ "lru",
+ "merlin",
+ "parity-scale-codec",
+ "polkadot-node-jaeger",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-overseer",
+ "polkadot-primitives",
+ "sc-client-api",
+ "sc-keystore",
+ "schnorrkel",
+ "sp-application-crypto",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-slots",
+ "sp-runtime",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-av-store"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "bitvec 0.20.4",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "kvdb",
+ "parity-scale-codec",
+ "polkadot-erasure-coding",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-overseer",
+ "polkadot-primitives",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-backing"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "bitvec 0.20.4",
+ "futures 0.3.16",
+ "polkadot-erasure-coding",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "polkadot-statement-table",
+ "sp-keystore",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-bitfield-signing"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "sp-keystore",
+ "thiserror",
+ "tracing",
+ "wasm-timer",
+]
+
+[[package]]
+name = "polkadot-node-core-candidate-validation"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "async-trait",
+ "futures 0.3.16",
+ "parity-scale-codec",
+ "polkadot-node-core-pvf",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "sp-maybe-compressed-blob",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-chain-api"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "sc-client-api",
+ "sc-consensus-babe",
+ "sp-blockchain",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-chain-selection"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "bitvec 0.20.4",
+ "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=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-primitives",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-parachains-inherent"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "async-trait",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "polkadot-node-subsystem",
+ "polkadot-primitives",
+ "sp-blockchain",
+ "sp-inherents",
+ "sp-runtime",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-provisioner"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "bitvec 0.20.4",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-pvf"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "always-assert",
+ "assert_matches",
+ "async-process",
+ "async-std",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "libc",
+ "parity-scale-codec",
+ "pin-project 1.0.8",
+ "polkadot-core-primitives",
+ "polkadot-parachain",
+ "rand 0.8.4",
+ "sc-executor",
+ "sc-executor-common",
+ "sc-executor-wasmtime",
+ "slotmap",
+ "sp-core",
+ "sp-externalities",
+ "sp-io",
+ "sp-maybe-compressed-blob",
+ "sp-tracing",
+ "sp-wasm-interface",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-core-runtime-api"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "memory-lru",
+ "parity-util-mem",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "sp-api",
+ "sp-authority-discovery",
+ "sp-consensus-babe",
+ "sp-core",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-jaeger"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "async-std",
+ "lazy_static",
+ "log",
+ "mick-jaeger",
+ "parity-scale-codec",
+ "parking_lot 0.11.1",
+ "polkadot-node-primitives",
+ "polkadot-primitives",
+ "sc-network",
+ "sp-core",
+ "thiserror",
+]
+
+[[package]]
+name = "polkadot-node-metrics"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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",
+]
+
+[[package]]
+name = "polkadot-node-primitives"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "futures 0.3.16",
+ "parity-scale-codec",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-statement-table",
+ "schnorrkel",
+ "serde",
+ "sp-application-crypto",
+ "sp-consensus-babe",
+ "sp-consensus-vrf",
+ "sp-core",
+ "sp-keystore",
+ "sp-maybe-compressed-blob",
+ "sp-runtime",
+ "thiserror",
+ "tracing",
+ "zstd",
+]
+
+[[package]]
+name = "polkadot-node-subsystem"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "async-std",
+ "async-trait",
+ "derive_more",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "lazy_static",
+ "log",
+ "mick-jaeger",
+ "parity-scale-codec",
+ "parking_lot 0.11.1",
+ "pin-project 1.0.8",
+ "polkadot-node-jaeger",
+ "polkadot-node-network-protocol",
+ "polkadot-node-primitives",
+ "polkadot-overseer-gen",
+ "polkadot-primitives",
+ "polkadot-statement-table",
+ "sc-network",
+ "smallvec 1.6.1",
+ "sp-core",
+ "substrate-prometheus-endpoint",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-node-subsystem-util"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "async-trait",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "itertools 0.10.1",
+ "lru",
+ "metered-channel",
+ "parity-scale-codec",
+ "pin-project 1.0.8",
+ "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",
+ "sp-application-crypto",
+ "sp-core",
+ "sp-keystore",
+ "substrate-prometheus-endpoint",
+ "thiserror",
+ "tracing",
+]
+
+[[package]]
+name = "polkadot-overseer"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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-types",
+ "polkadot-overseer-all-subsystems-gen",
+ "polkadot-overseer-gen",
+ "polkadot-primitives",
+ "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=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+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=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "async-trait",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "metered-channel",
+ "pin-project 1.0.8",
+ "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=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "proc-macro-crate 1.0.0",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "polkadot-parachain"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "derive_more",
+ "frame-support",
+ "parity-scale-codec",
+ "parity-util-mem",
+ "polkadot-core-primitives",
+ "serde",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "polkadot-primitives"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "bitvec 0.20.4",
+ "frame-system",
+ "hex-literal",
+ "parity-scale-codec",
+ "parity-util-mem",
+ "polkadot-core-primitives",
+ "polkadot-parachain",
+ "serde",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-arithmetic",
+ "sp-authority-discovery",
+ "sp-consensus-slots",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
+ "sp-keystore",
+ "sp-runtime",
+ "sp-staking",
+ "sp-std",
+ "sp-trie",
+ "sp-version",
+ "thiserror",
+]
+
+[[package]]
+name = "polkadot-rpc"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "beefy-gadget",
+ "beefy-gadget-rpc",
+ "jsonrpc-core",
+ "pallet-mmr-rpc",
+ "pallet-transaction-payment-rpc",
+ "parity-scale-codec",
+ "polkadot-primitives",
+ "sc-chain-spec",
+ "sc-client-api",
+ "sc-consensus-babe",
+ "sc-consensus-babe-rpc",
+ "sc-consensus-epochs",
+ "sc-finality-grandpa",
+ "sc-finality-grandpa-rpc",
+ "sc-keystore",
+ "sc-rpc",
+ "sc-sync-state-rpc",
+ "sc-transaction-pool-api",
+ "sp-api",
+ "sp-block-builder",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-babe",
+ "sp-keystore",
+ "sp-runtime",
+ "substrate-frame-rpc-system",
+]
+
+[[package]]
+name = "polkadot-runtime"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "beefy-primitives",
+ "bitvec 0.20.4",
+ "frame-election-provider-support",
+ "frame-executive",
+ "frame-support",
+ "frame-system",
+ "frame-system-rpc-runtime-api",
+ "frame-try-runtime",
+ "log",
+ "pallet-authority-discovery",
+ "pallet-authorship",
+ "pallet-babe",
+ "pallet-balances",
+ "pallet-bounties",
+ "pallet-collective",
+ "pallet-democracy",
+ "pallet-election-provider-multi-phase",
+ "pallet-elections-phragmen",
+ "pallet-grandpa",
+ "pallet-identity",
+ "pallet-im-online",
+ "pallet-indices",
+ "pallet-membership",
+ "pallet-mmr-primitives",
+ "pallet-multisig",
+ "pallet-nicks",
+ "pallet-offences",
+ "pallet-proxy",
+ "pallet-scheduler",
+ "pallet-session",
+ "pallet-staking",
+ "pallet-staking-reward-curve",
+ "pallet-timestamp",
+ "pallet-tips",
+ "pallet-transaction-payment",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "pallet-treasury",
+ "pallet-utility",
+ "pallet-vesting",
+ "parity-scale-codec",
+ "polkadot-primitives",
+ "polkadot-runtime-common",
+ "rustc-hex",
+ "serde",
+ "serde_derive",
+ "smallvec 1.6.1",
+ "sp-api",
+ "sp-authority-discovery",
+ "sp-block-builder",
+ "sp-consensus-babe",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
+ "sp-npos-elections",
+ "sp-offchain",
+ "sp-runtime",
+ "sp-session",
+ "sp-staking",
+ "sp-std",
+ "sp-transaction-pool",
+ "sp-version",
+ "static_assertions",
+ "substrate-wasm-builder",
+]
+
+[[package]]
+name = "polkadot-runtime-common"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "bitvec 0.20.4",
+ "frame-support",
+ "frame-system",
+ "impl-trait-for-tuples",
+ "libsecp256k1 0.6.0",
+ "log",
+ "pallet-authorship",
+ "pallet-balances",
+ "pallet-beefy-mmr",
+ "pallet-election-provider-multi-phase",
+ "pallet-offences",
+ "pallet-session",
+ "pallet-staking",
+ "pallet-timestamp",
+ "pallet-transaction-payment",
+ "pallet-treasury",
+ "pallet-vesting",
+ "parity-scale-codec",
+ "polkadot-primitives",
+ "polkadot-runtime-parachains",
+ "rustc-hex",
+ "serde",
+ "serde_derive",
+ "slot-range-helper",
+ "sp-api",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
+ "sp-runtime",
+ "sp-session",
+ "sp-staking",
+ "sp-std",
+ "static_assertions",
+ "xcm",
]
[[package]]
-name = "pest_generator"
-version = "2.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
+name = "polkadot-runtime-parachains"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
dependencies = [
- "pest",
- "pest_meta",
- "proc-macro2",
- "quote",
- "syn",
+ "bitflags",
+ "bitvec 0.20.4",
+ "derive_more",
+ "frame-support",
+ "frame-system",
+ "log",
+ "pallet-authority-discovery",
+ "pallet-authorship",
+ "pallet-balances",
+ "pallet-offences",
+ "pallet-session",
+ "pallet-staking",
+ "pallet-timestamp",
+ "pallet-vesting",
+ "parity-scale-codec",
+ "polkadot-primitives",
+ "rand 0.8.4",
+ "rand_chacha 0.3.1",
+ "rustc-hex",
+ "serde",
+ "sp-api",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
+ "sp-keystore",
+ "sp-runtime",
+ "sp-session",
+ "sp-staking",
+ "sp-std",
+ "xcm",
+ "xcm-executor",
]
[[package]]
-name = "pest_meta"
-version = "2.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
+name = "polkadot-service"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
dependencies = [
- "maplit",
- "pest",
- "sha-1 0.8.2",
+ "async-trait",
+ "beefy-gadget",
+ "beefy-primitives",
+ "frame-system-rpc-runtime-api",
+ "futures 0.3.16",
+ "hex-literal",
+ "kvdb",
+ "kvdb-rocksdb",
+ "pallet-babe",
+ "pallet-im-online",
+ "pallet-mmr-primitives",
+ "pallet-staking",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "polkadot-approval-distribution",
+ "polkadot-availability-bitfield-distribution",
+ "polkadot-availability-distribution",
+ "polkadot-availability-recovery",
+ "polkadot-client",
+ "polkadot-collator-protocol",
+ "polkadot-dispute-distribution",
+ "polkadot-gossip-support",
+ "polkadot-network-bridge",
+ "polkadot-node-collation-generation",
+ "polkadot-node-core-approval-voting",
+ "polkadot-node-core-av-store",
+ "polkadot-node-core-backing",
+ "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",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-overseer",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-rpc",
+ "polkadot-runtime",
+ "polkadot-runtime-parachains",
+ "polkadot-statement-distribution",
+ "sc-authority-discovery",
+ "sc-basic-authorship",
+ "sc-block-builder",
+ "sc-chain-spec",
+ "sc-client-api",
+ "sc-client-db",
+ "sc-consensus",
+ "sc-consensus-babe",
+ "sc-consensus-slots",
+ "sc-consensus-uncles",
+ "sc-executor",
+ "sc-finality-grandpa",
+ "sc-keystore",
+ "sc-network",
+ "sc-service",
+ "sc-sync-state-rpc",
+ "sc-telemetry",
+ "sc-transaction-pool",
+ "serde",
+ "sp-api",
+ "sp-authority-discovery",
+ "sp-block-builder",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-babe",
+ "sp-core",
+ "sp-finality-grandpa",
+ "sp-inherents",
+ "sp-io",
+ "sp-keystore",
+ "sp-offchain",
+ "sp-runtime",
+ "sp-session",
+ "sp-state-machine",
+ "sp-storage",
+ "sp-timestamp",
+ "sp-transaction-pool",
+ "sp-trie",
+ "substrate-prometheus-endpoint",
+ "thiserror",
+ "tracing",
]
[[package]]
-name = "petgraph"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
+name = "polkadot-statement-distribution"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
dependencies = [
- "fixedbitset",
+ "arrayvec 0.5.2",
+ "futures 0.3.16",
"indexmap",
+ "parity-scale-codec",
+ "polkadot-node-network-protocol",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-node-subsystem-util",
+ "polkadot-primitives",
+ "sc-network",
+ "sp-keystore",
+ "sp-staking",
+ "thiserror",
+ "tracing",
]
[[package]]
-name = "pin-project"
-version = "0.4.28"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "918192b5c59119d51e0cd221f4d49dde9112824ba717369e903c97d076083d0f"
-dependencies = [
- "pin-project-internal 0.4.28",
-]
-
-[[package]]
-name = "pin-project"
-version = "1.0.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "576bc800220cc65dac09e99e97b08b358cfab6e17078de8dc5fee223bd2d0c08"
+name = "polkadot-statement-table"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
dependencies = [
- "pin-project-internal 1.0.8",
+ "parity-scale-codec",
+ "polkadot-primitives",
+ "sp-core",
]
[[package]]
-name = "pin-project-internal"
-version = "0.4.28"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e"
+name = "polkadot-test-runtime"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
dependencies = [
- "proc-macro2",
- "quote",
- "syn",
+ "beefy-primitives",
+ "bitvec 0.20.4",
+ "frame-election-provider-support",
+ "frame-executive",
+ "frame-support",
+ "frame-system",
+ "frame-system-rpc-runtime-api",
+ "log",
+ "pallet-authority-discovery",
+ "pallet-authorship",
+ "pallet-babe",
+ "pallet-balances",
+ "pallet-grandpa",
+ "pallet-indices",
+ "pallet-mmr-primitives",
+ "pallet-nicks",
+ "pallet-offences",
+ "pallet-session",
+ "pallet-staking",
+ "pallet-staking-reward-curve",
+ "pallet-sudo",
+ "pallet-timestamp",
+ "pallet-transaction-payment",
+ "pallet-transaction-payment-rpc-runtime-api",
+ "pallet-vesting",
+ "pallet-xcm",
+ "parity-scale-codec",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-runtime-common",
+ "polkadot-runtime-parachains",
+ "rustc-hex",
+ "serde",
+ "serde_derive",
+ "smallvec 1.6.1",
+ "sp-api",
+ "sp-authority-discovery",
+ "sp-block-builder",
+ "sp-consensus-babe",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
+ "sp-offchain",
+ "sp-runtime",
+ "sp-session",
+ "sp-staking",
+ "sp-std",
+ "sp-transaction-pool",
+ "sp-version",
+ "substrate-wasm-builder",
+ "xcm",
+ "xcm-builder",
+ "xcm-executor",
]
[[package]]
-name = "pin-project-internal"
-version = "1.0.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389"
+name = "polkadot-test-service"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
dependencies = [
- "proc-macro2",
- "quote",
- "syn",
+ "frame-benchmarking",
+ "frame-system",
+ "futures 0.1.31",
+ "futures 0.3.16",
+ "hex",
+ "pallet-balances",
+ "pallet-staking",
+ "pallet-transaction-payment",
+ "polkadot-node-primitives",
+ "polkadot-node-subsystem",
+ "polkadot-overseer",
+ "polkadot-parachain",
+ "polkadot-primitives",
+ "polkadot-rpc",
+ "polkadot-runtime-common",
+ "polkadot-runtime-parachains",
+ "polkadot-service",
+ "polkadot-test-runtime",
+ "rand 0.8.4",
+ "sc-authority-discovery",
+ "sc-chain-spec",
+ "sc-cli",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-consensus-babe",
+ "sc-executor",
+ "sc-finality-grandpa",
+ "sc-network",
+ "sc-service",
+ "sc-tracing",
+ "sc-transaction-pool",
+ "sp-arithmetic",
+ "sp-authority-discovery",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-babe",
+ "sp-core",
+ "sp-finality-grandpa",
+ "sp-inherents",
+ "sp-keyring",
+ "sp-runtime",
+ "sp-state-machine",
+ "substrate-test-client",
+ "tempfile",
+ "tracing",
]
-[[package]]
-name = "pin-project-lite"
-version = "0.1.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777"
-
-[[package]]
-name = "pin-project-lite"
-version = "0.2.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d31d11c69a6b52a174b42bdc0c30e5e11670f90788b2c471c31c1d17d449443"
-
-[[package]]
-name = "pin-utils"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
-
-[[package]]
-name = "pkg-config"
-version = "0.3.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
-
-[[package]]
-name = "platforms"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325"
-
[[package]]
name = "polling"
version = "2.1.0"
@@ -4373,23 +6998,21 @@ dependencies = [
[[package]]
name = "poly1305"
-version = "0.7.1"
+version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9fcffab1f78ebbdf4b93b68c1ffebc24037eedf271edaca795732b24e5e4e349"
+checksum = "4b7456bc1ad2d4cf82b3a016be4c2ac48daf11bf990c1603ebd447fe6f30fca8"
dependencies = [
- "cpufeatures",
- "opaque-debug 0.3.0",
+ "cpuid-bool",
"universal-hash",
]
[[package]]
name = "polyval"
-version = "0.5.2"
+version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6ba6a405ef63530d6cb12802014b22f9c5751bd17cdcddbe9e46d5c8ae83287"
+checksum = "eebcc4aa140b9abd2bc40d9c3f7ccec842679cd79045ac3a7ac698c1a064b7cd"
dependencies = [
- "cfg-if 1.0.0",
- "cpufeatures",
+ "cpuid-bool",
"opaque-debug 0.3.0",
"universal-hash",
]
@@ -4408,6 +7031,7 @@ checksum = "05e4722c697a58a99d5d06a08c30821d7c082a4632198de1eaa5a6c22ef42373"
dependencies = [
"fixed-hash",
"impl-codec",
+ "impl-rlp",
"impl-serde",
"uint",
]
@@ -4431,16 +7055,42 @@ dependencies = [
"toml",
]
+[[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"
+checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
+dependencies = [
+ "proc-macro-error-attr 1.0.4",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "version_check",
+]
+
+[[package]]
+name = "proc-macro-error-attr"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a5b4b77fdb63c1eca72173d68d24501c54ab1269409f6b672c85deb18af69de"
dependencies = [
- "proc-macro-error-attr",
"proc-macro2",
"quote",
"syn",
+ "syn-mid",
"version_check",
]
@@ -4497,17 +7147,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2"
dependencies = [
"bytes 1.0.1",
- "prost-derive 0.7.0",
-]
-
-[[package]]
-name = "prost"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de5e2533f59d08fcf364fd374ebda0692a70bd6d7e66ef97f306f45c6c5d8020"
-dependencies = [
- "bytes 1.0.1",
- "prost-derive 0.8.0",
+ "prost-derive",
]
[[package]]
@@ -4522,26 +7162,8 @@ dependencies = [
"log",
"multimap",
"petgraph",
- "prost 0.7.0",
- "prost-types 0.7.0",
- "tempfile",
- "which",
-]
-
-[[package]]
-name = "prost-build"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "355f634b43cdd80724ee7848f95770e7e70eefa6dcf14fea676216573b8fd603"
-dependencies = [
- "bytes 1.0.1",
- "heck",
- "itertools 0.10.1",
- "log",
- "multimap",
- "petgraph",
- "prost 0.8.0",
- "prost-types 0.8.0",
+ "prost",
+ "prost-types",
"tempfile",
"which",
]
@@ -4559,19 +7181,6 @@ dependencies = [
"syn",
]
-[[package]]
-name = "prost-derive"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "600d2f334aa05acb02a755e217ef1ab6dea4d51b58b7846588b747edec04efba"
-dependencies = [
- "anyhow",
- "itertools 0.10.1",
- "proc-macro2",
- "quote",
- "syn",
-]
-
[[package]]
name = "prost-types"
version = "0.7.0"
@@ -4579,17 +7188,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb"
dependencies = [
"bytes 1.0.1",
- "prost 0.7.0",
-]
-
-[[package]]
-name = "prost-types"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "603bbd6394701d13f3f25aada59c7de9d35a6a5887cfc156181234a44002771b"
-dependencies = [
- "bytes 1.0.1",
- "prost 0.8.0",
+ "prost",
]
[[package]]
@@ -4808,7 +7407,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
dependencies = [
"autocfg",
- "crossbeam-deque",
+ "crossbeam-deque 0.8.1",
"either",
"rayon-core",
]
@@ -4820,8 +7419,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
dependencies = [
"crossbeam-channel",
- "crossbeam-deque",
- "crossbeam-utils",
+ "crossbeam-deque 0.8.1",
+ "crossbeam-utils 0.8.5",
"lazy_static",
"num_cpus",
]
@@ -4860,6 +7459,19 @@ dependencies = [
"redox_syscall 0.2.10",
]
+[[package]]
+name = "reed-solomon-novelpoly"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3bd8f48b2066e9f69ab192797d66da804d1935bf22763204ed3675740cb0f221"
+dependencies = [
+ "derive_more",
+ "fs-err",
+ "itertools 0.10.1",
+ "static_init",
+ "thiserror",
+]
+
[[package]]
name = "ref-cast"
version = "1.0.6"
@@ -4889,7 +7501,7 @@ dependencies = [
"log",
"rustc-hash",
"serde",
- "smallvec",
+ "smallvec 1.6.1",
]
[[package]]
@@ -4930,6 +7542,24 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "remote-externalities"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "env_logger 0.8.4",
+ "hex",
+ "jsonrpsee-proc-macros",
+ "jsonrpsee-ws-client",
+ "log",
+ "parity-scale-codec",
+ "serde",
+ "serde_json",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+]
+
[[package]]
name = "remove_dir_all"
version = "0.5.3"
@@ -4970,6 +7600,16 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "rlp"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "999508abb0ae792aabed2460c45b89106d97fe4adac593bdaef433c2605847b5"
+dependencies = [
+ "bytes 1.0.1",
+ "rustc-hex",
+]
+
[[package]]
name = "rocksdb"
version = "0.17.0"
@@ -5026,6 +7666,19 @@ dependencies = [
"semver 0.11.0",
]
+[[package]]
+name = "rustls"
+version = "0.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81"
+dependencies = [
+ "base64 0.12.3",
+ "log",
+ "ring",
+ "sct",
+ "webpki",
+]
+
[[package]]
name = "rustls"
version = "0.19.1"
@@ -5039,6 +7692,18 @@ dependencies = [
"webpki",
]
+[[package]]
+name = "rustls-native-certs"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "629d439a7672da82dd955498445e496ee2096fe2117b9f796558a43fdb9e59b8"
+dependencies = [
+ "openssl-probe",
+ "rustls 0.18.1",
+ "schannel",
+ "security-framework 1.0.0",
+]
+
[[package]]
name = "rustls-native-certs"
version = "0.5.0"
@@ -5046,9 +7711,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a07b7c1885bd8ed3831c289b7870b13ef46fe0e856d288c30d9cc17d75a2092"
dependencies = [
"openssl-probe",
- "rustls",
+ "rustls 0.19.1",
"schannel",
- "security-framework",
+ "security-framework 2.3.1",
]
[[package]]
@@ -5089,9 +7754,9 @@ dependencies = [
[[package]]
name = "salsa20"
-version = "0.8.1"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ecbd2eb639fd7cab5804a0837fe373cc2172d15437e804c054a9fb885cb923b0"
+checksum = "399f290ffc409596022fce5ea5d4138184be4784f2b28c62c59f0d8389059a15"
dependencies = [
"cipher",
]
@@ -5108,7 +7773,7 @@ dependencies = [
[[package]]
name = "sc-allocator"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"log",
"sp-core",
@@ -5116,10 +7781,39 @@ dependencies = [
"thiserror",
]
+[[package]]
+name = "sc-authority-discovery"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "async-trait",
+ "derive_more",
+ "either",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "ip_network",
+ "libp2p",
+ "log",
+ "parity-scale-codec",
+ "prost",
+ "prost-build",
+ "rand 0.7.3",
+ "sc-client-api",
+ "sc-network",
+ "serde_json",
+ "sp-api",
+ "sp-authority-discovery",
+ "sp-blockchain",
+ "sp-core",
+ "sp-keystore",
+ "sp-runtime",
+ "substrate-prometheus-endpoint",
+]
+
[[package]]
name = "sc-basic-authorship"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"futures 0.3.16",
"futures-timer 3.0.2",
@@ -5142,7 +7836,7 @@ dependencies = [
[[package]]
name = "sc-block-builder"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
"sc-client-api",
@@ -5158,7 +7852,7 @@ dependencies = [
[[package]]
name = "sc-chain-spec"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec",
@@ -5174,7 +7868,7 @@ dependencies = [
[[package]]
name = "sc-chain-spec-derive"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
@@ -5185,7 +7879,7 @@ dependencies = [
[[package]]
name = "sc-cli"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"chrono",
"fdlimit",
@@ -5223,11 +7917,14 @@ dependencies = [
[[package]]
name = "sc-client-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "derive_more",
"fnv",
"futures 0.3.16",
"hash-db",
+ "kvdb",
+ "lazy_static",
"log",
"parity-scale-codec",
"parking_lot 0.11.1",
@@ -5239,20 +7936,24 @@ dependencies = [
"sp-core",
"sp-database",
"sp-externalities",
+ "sp-inherents",
"sp-keystore",
"sp-runtime",
"sp-state-machine",
+ "sp-std",
"sp-storage",
"sp-trie",
"sp-utils",
+ "sp-version",
"substrate-prometheus-endpoint",
]
[[package]]
name = "sc-client-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "blake2-rfc",
"hash-db",
"kvdb",
"kvdb-memorydb",
@@ -5261,8 +7962,10 @@ dependencies = [
"log",
"parity-db",
"parity-scale-codec",
+ "parity-util-mem",
"parking_lot 0.11.1",
"sc-client-api",
+ "sc-executor",
"sc-state-db",
"sp-arithmetic",
"sp-blockchain",
@@ -5271,12 +7974,13 @@ dependencies = [
"sp-runtime",
"sp-state-machine",
"sp-trie",
+ "substrate-prometheus-endpoint",
]
[[package]]
name = "sc-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"futures 0.3.16",
@@ -5295,16 +7999,18 @@ dependencies = [
"sp-utils",
"substrate-prometheus-endpoint",
"thiserror",
+ "wasm-timer",
]
[[package]]
name = "sc-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"derive_more",
"futures 0.3.16",
+ "futures-timer 3.0.2",
"log",
"parity-scale-codec",
"sc-block-builder",
@@ -5321,25 +8027,113 @@ dependencies = [
"sp-consensus-slots",
"sp-core",
"sp-inherents",
+ "sp-io",
+ "sp-keystore",
+ "sp-runtime",
+ "sp-version",
+ "substrate-prometheus-endpoint",
+]
+
+[[package]]
+name = "sc-consensus-babe"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "async-trait",
+ "derive_more",
+ "fork-tree",
+ "futures 0.3.16",
+ "futures-timer 3.0.2",
+ "log",
+ "merlin",
+ "num-bigint",
+ "num-rational 0.2.4",
+ "num-traits",
+ "parity-scale-codec",
+ "parking_lot 0.11.1",
+ "pdqselect",
+ "rand 0.7.3",
+ "retain_mut",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-consensus-epochs",
+ "sc-consensus-slots",
+ "sc-consensus-uncles",
+ "sc-keystore",
+ "sc-telemetry",
+ "schnorrkel",
+ "serde",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-block-builder",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-babe",
+ "sp-consensus-slots",
+ "sp-consensus-vrf",
+ "sp-core",
+ "sp-inherents",
+ "sp-io",
"sp-keystore",
"sp-runtime",
+ "sp-utils",
+ "sp-version",
"substrate-prometheus-endpoint",
]
+[[package]]
+name = "sc-consensus-babe-rpc"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "derive_more",
+ "futures 0.3.16",
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "sc-consensus-babe",
+ "sc-consensus-epochs",
+ "sc-rpc-api",
+ "serde",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-babe",
+ "sp-core",
+ "sp-keystore",
+ "sp-runtime",
+]
+
+[[package]]
+name = "sc-consensus-epochs"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "fork-tree",
+ "parity-scale-codec",
+ "sc-client-api",
+ "sc-consensus",
+ "sp-blockchain",
+ "sp-runtime",
+]
+
[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"futures 0.3.16",
"futures-timer 3.0.2",
+ "impl-trait-for-tuples",
"log",
"parity-scale-codec",
"sc-client-api",
"sc-consensus",
"sc-telemetry",
"sp-api",
+ "sp-application-crypto",
"sp-arithmetic",
"sp-blockchain",
"sp-consensus",
@@ -5349,18 +8143,32 @@ dependencies = [
"sp-runtime",
"sp-state-machine",
"sp-timestamp",
+ "sp-trie",
+ "thiserror",
+]
+
+[[package]]
+name = "sc-consensus-uncles"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "sc-client-api",
+ "sp-authorship",
+ "sp-runtime",
"thiserror",
]
[[package]]
name = "sc-executor"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "derive_more",
"lazy_static",
- "libsecp256k1 0.6.0",
+ "libsecp256k1 0.3.5",
"log",
"parity-scale-codec",
+ "parity-wasm 0.42.2",
"parking_lot 0.11.1",
"sc-executor-common",
"sc-executor-wasmi",
@@ -5371,6 +8179,7 @@ dependencies = [
"sp-io",
"sp-panic-handler",
"sp-runtime-interface",
+ "sp-serializer",
"sp-tasks",
"sp-trie",
"sp-version",
@@ -5381,7 +8190,7 @@ dependencies = [
[[package]]
name = "sc-executor-common"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"derive_more",
"parity-scale-codec",
@@ -5398,13 +8207,12 @@ dependencies = [
[[package]]
name = "sc-executor-wasmi"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"log",
"parity-scale-codec",
"sc-allocator",
"sc-executor-common",
- "scoped-tls",
"sp-core",
"sp-runtime-interface",
"sp-wasm-interface",
@@ -5414,13 +8222,14 @@ dependencies = [
[[package]]
name = "sc-executor-wasmtime"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
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",
@@ -5433,7 +8242,7 @@ dependencies = [
[[package]]
name = "sc-finality-grandpa"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"derive_more",
@@ -5442,9 +8251,11 @@ dependencies = [
"fork-tree",
"futures 0.3.16",
"futures-timer 3.0.2",
+ "linked-hash-map",
"log",
"parity-scale-codec",
"parking_lot 0.11.1",
+ "pin-project 1.0.8",
"rand 0.8.4",
"sc-block-builder",
"sc-client-api",
@@ -5461,16 +8272,42 @@ dependencies = [
"sp-consensus",
"sp-core",
"sp-finality-grandpa",
+ "sp-inherents",
"sp-keystore",
"sp-runtime",
"sp-utils",
"substrate-prometheus-endpoint",
+ "wasm-timer",
+]
+
+[[package]]
+name = "sc-finality-grandpa-rpc"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "derive_more",
+ "finality-grandpa",
+ "futures 0.3.16",
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "jsonrpc-pubsub",
+ "log",
+ "parity-scale-codec",
+ "sc-client-api",
+ "sc-finality-grandpa",
+ "sc-rpc",
+ "serde",
+ "serde_json",
+ "sp-blockchain",
+ "sp-core",
+ "sp-runtime",
]
[[package]]
name = "sc-informant"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"ansi_term 0.12.1",
"futures 0.3.16",
@@ -5482,29 +8319,36 @@ dependencies = [
"sc-transaction-pool-api",
"sp-blockchain",
"sp-runtime",
+ "wasm-timer",
]
[[package]]
name = "sc-keystore"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"derive_more",
+ "futures 0.3.16",
+ "futures-util",
"hex",
+ "merlin",
"parking_lot 0.11.1",
+ "rand 0.7.3",
"serde_json",
"sp-application-crypto",
"sp-core",
"sp-keystore",
+ "subtle 2.4.1",
]
[[package]]
name = "sc-light"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"hash-db",
+ "lazy_static",
"parity-scale-codec",
"parking_lot 0.11.1",
"sc-client-api",
@@ -5520,16 +8364,18 @@ dependencies = [
[[package]]
name = "sc-network"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-std",
"async-trait",
"asynchronous-codec 0.5.0",
"bitflags",
+ "bs58",
"bytes 1.0.1",
"cid",
"derive_more",
"either",
+ "erased-serde",
"fnv",
"fork-tree",
"futures 0.3.16",
@@ -5541,11 +8387,12 @@ dependencies = [
"linked_hash_set",
"log",
"lru",
+ "nohash-hasher",
"parity-scale-codec",
"parking_lot 0.11.1",
"pin-project 1.0.8",
- "prost 0.8.0",
- "prost-build 0.7.0",
+ "prost",
+ "prost-build",
"rand 0.7.3",
"sc-block-builder",
"sc-client-api",
@@ -5553,7 +8400,7 @@ dependencies = [
"sc-peerset",
"serde",
"serde_json",
- "smallvec",
+ "smallvec 1.6.1",
"sp-arithmetic",
"sp-blockchain",
"sp-consensus",
@@ -5565,13 +8412,14 @@ dependencies = [
"thiserror",
"unsigned-varint 0.6.0",
"void",
+ "wasm-timer",
"zeroize",
]
[[package]]
name = "sc-network-gossip"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"futures 0.3.16",
"futures-timer 3.0.2",
@@ -5582,19 +8430,20 @@ dependencies = [
"sp-runtime",
"substrate-prometheus-endpoint",
"tracing",
+ "wasm-timer",
]
[[package]]
name = "sc-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "bytes 1.0.1",
+ "bytes 0.5.6",
"fnv",
"futures 0.3.16",
"futures-timer 3.0.2",
"hex",
- "hyper",
+ "hyper 0.13.10",
"hyper-rustls",
"log",
"num_cpus",
@@ -5602,6 +8451,7 @@ dependencies = [
"parking_lot 0.11.1",
"rand 0.7.3",
"sc-client-api",
+ "sc-keystore",
"sc-network",
"sp-api",
"sp-core",
@@ -5614,7 +8464,7 @@ dependencies = [
[[package]]
name = "sc-peerset"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"futures 0.3.16",
"libp2p",
@@ -5627,7 +8477,7 @@ dependencies = [
[[package]]
name = "sc-proposer-metrics"
version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"log",
"substrate-prometheus-endpoint",
@@ -5636,7 +8486,7 @@ dependencies = [
[[package]]
name = "sc-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"futures 0.3.16",
"hash-db",
@@ -5648,6 +8498,8 @@ dependencies = [
"sc-block-builder",
"sc-chain-spec",
"sc-client-api",
+ "sc-executor",
+ "sc-keystore",
"sc-rpc-api",
"sc-tracing",
"sc-transaction-pool-api",
@@ -5660,6 +8512,8 @@ dependencies = [
"sp-rpc",
"sp-runtime",
"sp-session",
+ "sp-state-machine",
+ "sp-tracing",
"sp-utils",
"sp-version",
]
@@ -5667,7 +8521,7 @@ dependencies = [
[[package]]
name = "sc-rpc-api"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"derive_more",
"futures 0.3.16",
@@ -5692,32 +8546,36 @@ dependencies = [
[[package]]
name = "sc-rpc-server"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
- "futures 0.3.16",
+ "futures 0.1.31",
"jsonrpc-core",
"jsonrpc-http-server",
"jsonrpc-ipc-server",
"jsonrpc-pubsub",
"jsonrpc-ws-server",
"log",
+ "serde",
"serde_json",
+ "sp-runtime",
"substrate-prometheus-endpoint",
]
[[package]]
name = "sc-service"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"directories",
"exit-future",
+ "futures 0.1.31",
"futures 0.3.16",
"futures-timer 3.0.2",
"hash-db",
"jsonrpc-core",
"jsonrpc-pubsub",
+ "lazy_static",
"log",
"parity-scale-codec",
"parity-util-mem",
@@ -5751,6 +8609,7 @@ dependencies = [
"sp-core",
"sp-externalities",
"sp-inherents",
+ "sp-io",
"sp-keystore",
"sp-runtime",
"sp-session",
@@ -5767,12 +8626,13 @@ dependencies = [
"thiserror",
"tracing",
"tracing-futures",
+ "wasm-timer",
]
[[package]]
name = "sc-state-db"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"log",
"parity-scale-codec",
@@ -5781,12 +8641,35 @@ dependencies = [
"parking_lot 0.11.1",
"sc-client-api",
"sp-core",
+ "thiserror",
+]
+
+[[package]]
+name = "sc-sync-state-rpc"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "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",
+ "thiserror",
]
[[package]]
name = "sc-telemetry"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"chrono",
"futures 0.3.16",
@@ -5797,17 +8680,20 @@ dependencies = [
"rand 0.7.3",
"serde",
"serde_json",
+ "take_mut",
"thiserror",
+ "void",
"wasm-timer",
]
[[package]]
name = "sc-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"ansi_term 0.12.1",
"atty",
+ "erased-serde",
"lazy_static",
"log",
"once_cell",
@@ -5816,26 +8702,31 @@ dependencies = [
"rustc-hash",
"sc-client-api",
"sc-rpc-server",
+ "sc-telemetry",
"sc-tracing-proc-macro",
"serde",
+ "serde_json",
"sp-api",
+ "sp-block-builder",
"sp-blockchain",
"sp-core",
"sp-rpc",
"sp-runtime",
+ "sp-storage",
"sp-tracing",
"thiserror",
"tracing",
"tracing-log",
"tracing-subscriber",
"wasm-bindgen",
+ "wasm-timer",
"web-sys",
]
[[package]]
name = "sc-tracing-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"proc-macro-crate 1.0.0",
"proc-macro2",
@@ -5846,8 +8737,9 @@ dependencies = [
[[package]]
name = "sc-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "derive_more",
"futures 0.3.16",
"intervalier",
"linked-hash-map",
@@ -5868,16 +8760,18 @@ dependencies = [
"sp-utils",
"substrate-prometheus-endpoint",
"thiserror",
+ "wasm-timer",
]
[[package]]
name = "sc-transaction-pool-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"derive_more",
"futures 0.3.16",
"log",
+ "parity-scale-codec",
"serde",
"sp-blockchain",
"sp-runtime",
@@ -5968,6 +8862,19 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "security-framework"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ad502866817f0575705bd7be36e2b2535cc33262d493aa733a2ec862baa2bc2b"
+dependencies = [
+ "bitflags",
+ "core-foundation 0.7.0",
+ "core-foundation-sys 0.7.0",
+ "libc",
+ "security-framework-sys 1.0.0",
+]
+
[[package]]
name = "security-framework"
version = "2.3.1"
@@ -5975,10 +8882,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23a2ac85147a3a11d77ecf1bc7166ec0b92febfa4461c37944e180f319ece467"
dependencies = [
"bitflags",
- "core-foundation",
- "core-foundation-sys",
+ "core-foundation 0.9.1",
+ "core-foundation-sys 0.8.2",
+ "libc",
+ "security-framework-sys 2.3.0",
+]
+
+[[package]]
+name = "security-framework-sys"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51ceb04988b17b6d1dcd555390fa822ca5637b4a14e1f5099f13d351bed4d6c7"
+dependencies = [
+ "core-foundation-sys 0.7.0",
"libc",
- "security-framework-sys",
]
[[package]]
@@ -5987,7 +8904,7 @@ version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e4effb91b4b8b6fb7732e670b6cee160278ff8e6bf485c7805d9e319d76e284"
dependencies = [
- "core-foundation-sys",
+ "core-foundation-sys 0.8.2",
"libc",
]
@@ -6036,18 +8953,18 @@ dependencies = [
[[package]]
name = "serde"
-version = "1.0.129"
+version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1f72836d2aa753853178eda473a3b9d8e4eefdaf20523b919677e6de489f8f1"
+checksum = "f03b9878abf6d14e6779d3f24f07b2cfa90352cfec4acc5aab8f1ac7f146fae8"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.129"
+version = "1.0.127"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e57ae87ad533d9a56427558b516d0adac283614e347abf85b0dc0cbbf0a249f3"
+checksum = "a024926d3432516606328597e0f224a51355a493b49fdd67e9209187cbe55ecc"
dependencies = [
"proc-macro2",
"quote",
@@ -6194,31 +9111,55 @@ dependencies = [
"erased-serde",
]
+[[package]]
+name = "slot-range-helper"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "enumn",
+ "parity-scale-codec",
+ "paste",
+ "sp-runtime",
+ "sp-std",
+]
+
+[[package]]
+name = "slotmap"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a952280edbecfb1d4bd3cf2dbc309dc6ab523e53487c438ae21a6df09fe84bc4"
+dependencies = [
+ "version_check",
+]
+
[[package]]
name = "smallvec"
-version = "1.6.1"
+version = "0.6.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
+checksum = "b97fcaeba89edba30f044a10c6a3cc39df9c3f17d7cd829dd1446cab35f890e0"
+dependencies = [
+ "maybe-uninit",
+]
[[package]]
-name = "snap"
-version = "1.0.5"
+name = "smallvec"
+version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45456094d1983e2ee2a18fdfebce3189fa451699d0502cb8e3b49dba5ba41451"
+checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
[[package]]
name = "snow"
-version = "0.8.0"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6142f7c25e94f6fd25a32c3348ec230df9109b463f59c8c7acc4bd34936babb7"
+checksum = "795dd7aeeee24468e5a32661f6d27f7b5cbed802031b2d7640c7b10f8fb2dd50"
dependencies = [
"aes-gcm",
"blake2",
"chacha20poly1305",
- "rand 0.8.4",
- "rand_core 0.6.3",
+ "rand 0.7.3",
+ "rand_core 0.5.1",
"ring",
- "rustc_version 0.3.3",
+ "rustc_version 0.2.3",
"sha2 0.9.5",
"subtle 2.4.1",
"x25519-dalek",
@@ -6261,10 +9202,25 @@ dependencies = [
"sha-1 0.9.7",
]
+[[package]]
+name = "soketto"
+version = "0.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a74e48087dbeed4833785c2f3352b59140095dc192dce966a3bfc155020a439f"
+dependencies = [
+ "base64 0.13.0",
+ "bytes 1.0.1",
+ "futures 0.3.16",
+ "httparse",
+ "log",
+ "rand 0.8.4",
+ "sha-1 0.9.7",
+]
+
[[package]]
name = "sp-api"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"hash-db",
"log",
@@ -6281,7 +9237,7 @@ dependencies = [
[[package]]
name = "sp-api-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"blake2-rfc",
"proc-macro-crate 1.0.0",
@@ -6293,7 +9249,7 @@ dependencies = [
[[package]]
name = "sp-application-crypto"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
"serde",
@@ -6305,7 +9261,7 @@ dependencies = [
[[package]]
name = "sp-arithmetic"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"integer-sqrt",
"num-traits",
@@ -6316,10 +9272,22 @@ dependencies = [
"static_assertions",
]
+[[package]]
+name = "sp-authority-discovery"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "parity-scale-codec",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-runtime",
+ "sp-std",
+]
+
[[package]]
name = "sp-authorship"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"parity-scale-codec",
@@ -6331,7 +9299,7 @@ dependencies = [
[[package]]
name = "sp-block-builder"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -6343,7 +9311,7 @@ dependencies = [
[[package]]
name = "sp-blockchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"futures 0.3.16",
"log",
@@ -6361,34 +9329,63 @@ dependencies = [
[[package]]
name = "sp-consensus"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"futures 0.3.16",
"futures-timer 3.0.2",
"log",
"parity-scale-codec",
+ "parking_lot 0.11.1",
+ "serde",
+ "sp-api",
"sp-core",
"sp-inherents",
"sp-runtime",
"sp-state-machine",
"sp-std",
+ "sp-trie",
+ "sp-utils",
"sp-version",
+ "substrate-prometheus-endpoint",
"thiserror",
+ "wasm-timer",
]
[[package]]
name = "sp-consensus-aura"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "async-trait",
+ "parity-scale-codec",
+ "sp-api",
+ "sp-application-crypto",
+ "sp-consensus",
+ "sp-consensus-slots",
+ "sp-inherents",
+ "sp-runtime",
+ "sp-std",
+ "sp-timestamp",
+]
+
+[[package]]
+name = "sp-consensus-babe"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
+ "merlin",
"parity-scale-codec",
+ "serde",
"sp-api",
"sp-application-crypto",
"sp-consensus",
"sp-consensus-slots",
+ "sp-consensus-vrf",
+ "sp-core",
"sp-inherents",
+ "sp-keystore",
"sp-runtime",
"sp-std",
"sp-timestamp",
@@ -6397,17 +9394,29 @@ dependencies = [
[[package]]
name = "sp-consensus-slots"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
"sp-arithmetic",
"sp-runtime",
]
+[[package]]
+name = "sp-consensus-vrf"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "parity-scale-codec",
+ "schnorrkel",
+ "sp-core",
+ "sp-runtime",
+ "sp-std",
+]
+
[[package]]
name = "sp-core"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"base58",
"blake2-rfc",
@@ -6420,7 +9429,7 @@ dependencies = [
"hex",
"impl-serde",
"lazy_static",
- "libsecp256k1 0.6.0",
+ "libsecp256k1 0.3.5",
"log",
"merlin",
"num-traits",
@@ -6451,7 +9460,7 @@ dependencies = [
[[package]]
name = "sp-database"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"kvdb",
"parking_lot 0.11.1",
@@ -6460,7 +9469,7 @@ dependencies = [
[[package]]
name = "sp-debug-derive"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"proc-macro2",
"quote",
@@ -6470,7 +9479,7 @@ dependencies = [
[[package]]
name = "sp-externalities"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"environmental",
"parity-scale-codec",
@@ -6481,7 +9490,7 @@ dependencies = [
[[package]]
name = "sp-finality-grandpa"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"finality-grandpa",
"log",
@@ -6498,7 +9507,7 @@ dependencies = [
[[package]]
name = "sp-inherents"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"impl-trait-for-tuples",
@@ -6512,11 +9521,11 @@ dependencies = [
[[package]]
name = "sp-io"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"futures 0.3.16",
"hash-db",
- "libsecp256k1 0.6.0",
+ "libsecp256k1 0.3.5",
"log",
"parity-scale-codec",
"parking_lot 0.11.1",
@@ -6537,7 +9546,7 @@ dependencies = [
[[package]]
name = "sp-keyring"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"lazy_static",
"sp-core",
@@ -6548,7 +9557,7 @@ dependencies = [
[[package]]
name = "sp-keystore"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"derive_more",
@@ -6565,16 +9574,40 @@ dependencies = [
[[package]]
name = "sp-maybe-compressed-blob"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"ruzstd",
"zstd",
]
+[[package]]
+name = "sp-npos-elections"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "parity-scale-codec",
+ "serde",
+ "sp-arithmetic",
+ "sp-core",
+ "sp-npos-elections-compact",
+ "sp-std",
+]
+
+[[package]]
+name = "sp-npos-elections-compact"
+version = "4.0.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "proc-macro-crate 1.0.0",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
[[package]]
name = "sp-offchain"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"sp-api",
"sp-core",
@@ -6584,7 +9617,7 @@ dependencies = [
[[package]]
name = "sp-panic-handler"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"backtrace",
]
@@ -6592,17 +9625,18 @@ dependencies = [
[[package]]
name = "sp-rpc"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"rustc-hash",
"serde",
"sp-core",
+ "tracing-core",
]
[[package]]
name = "sp-runtime"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"either",
"hash256-std-hasher",
@@ -6623,7 +9657,7 @@ dependencies = [
[[package]]
name = "sp-runtime-interface"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec",
@@ -6640,7 +9674,7 @@ dependencies = [
[[package]]
name = "sp-runtime-interface-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"Inflector",
"proc-macro-crate 1.0.0",
@@ -6652,8 +9686,9 @@ dependencies = [
[[package]]
name = "sp-sandbox"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
+ "log",
"parity-scale-codec",
"sp-core",
"sp-io",
@@ -6665,7 +9700,7 @@ dependencies = [
[[package]]
name = "sp-serializer"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"serde",
"serde_json",
@@ -6674,7 +9709,7 @@ dependencies = [
[[package]]
name = "sp-session"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
"sp-api",
@@ -6687,7 +9722,7 @@ dependencies = [
[[package]]
name = "sp-staking"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
"sp-runtime",
@@ -6697,7 +9732,7 @@ dependencies = [
[[package]]
name = "sp-state-machine"
version = "0.10.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"hash-db",
"log",
@@ -6705,7 +9740,7 @@ dependencies = [
"parity-scale-codec",
"parking_lot 0.11.1",
"rand 0.7.3",
- "smallvec",
+ "smallvec 1.6.1",
"sp-core",
"sp-externalities",
"sp-panic-handler",
@@ -6720,12 +9755,12 @@ dependencies = [
[[package]]
name = "sp-std"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
[[package]]
name = "sp-storage"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -6738,7 +9773,7 @@ dependencies = [
[[package]]
name = "sp-tasks"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"log",
"sp-core",
@@ -6751,7 +9786,7 @@ dependencies = [
[[package]]
name = "sp-timestamp"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"futures-timer 3.0.2",
@@ -6762,12 +9797,13 @@ dependencies = [
"sp-runtime",
"sp-std",
"thiserror",
+ "wasm-timer",
]
[[package]]
name = "sp-tracing"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"erased-serde",
"log",
@@ -6785,7 +9821,7 @@ dependencies = [
[[package]]
name = "sp-transaction-pool"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"sp-api",
"sp-runtime",
@@ -6794,7 +9830,7 @@ dependencies = [
[[package]]
name = "sp-transaction-storage-proof"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-trait",
"log",
@@ -6809,7 +9845,7 @@ dependencies = [
[[package]]
name = "sp-trie"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"hash-db",
"memory-db",
@@ -6823,9 +9859,10 @@ dependencies = [
[[package]]
name = "sp-utils"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"futures 0.3.16",
+ "futures-core",
"futures-timer 3.0.2",
"lazy_static",
"prometheus",
@@ -6834,7 +9871,7 @@ dependencies = [
[[package]]
name = "sp-version"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"impl-serde",
"parity-scale-codec",
@@ -6849,9 +9886,10 @@ dependencies = [
[[package]]
name = "sp-version-proc-macro"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"parity-scale-codec",
+ "proc-macro-crate 1.0.0",
"proc-macro2",
"quote",
"syn",
@@ -6860,7 +9898,7 @@ dependencies = [
[[package]]
name = "sp-wasm-interface"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"impl-trait-for-tuples",
"parity-scale-codec",
@@ -6886,6 +9924,31 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+[[package]]
+name = "static_init"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11b73400442027c4adedda20a9f9b7945234a5bd8d5f7e86da22bd5d0622369c"
+dependencies = [
+ "cfg_aliases",
+ "libc",
+ "parking_lot 0.11.1",
+ "static_init_macro",
+]
+
+[[package]]
+name = "static_init_macro"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2261c91034a1edc3fc4d1b80e89d82714faede0515c14a75da10cb941546bbf"
+dependencies = [
+ "cfg_aliases",
+ "memchr",
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
[[package]]
name = "statrs"
version = "0.15.0"
@@ -6899,6 +9962,25 @@ dependencies = [
"rand 0.8.4",
]
+[[package]]
+name = "stream-cipher"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c80e15f898d8d8f25db24c253ea615cc14acf418ff307822995814e7d42cfa89"
+dependencies = [
+ "block-cipher",
+ "generic-array 0.14.4",
+]
+
+[[package]]
+name = "string"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d"
+dependencies = [
+ "bytes 0.4.12",
+]
+
[[package]]
name = "strsim"
version = "0.8.0"
@@ -6923,7 +10005,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7813934aecf5f51a54775e00068c237de98489463968231a51746bbbc03f9c10"
dependencies = [
"heck",
- "proc-macro-error",
+ "proc-macro-error 1.0.4",
"proc-macro2",
"quote",
"syn",
@@ -6966,7 +10048,7 @@ dependencies = [
[[package]]
name = "substrate-build-script-utils"
version = "3.0.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"platforms",
]
@@ -6974,7 +10056,7 @@ dependencies = [
[[package]]
name = "substrate-frame-rpc-system"
version = "4.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"frame-system-rpc-runtime-api",
"futures 0.3.16",
@@ -6986,6 +10068,7 @@ dependencies = [
"sc-client-api",
"sc-rpc-api",
"sc-transaction-pool-api",
+ "serde",
"sp-api",
"sp-block-builder",
"sp-blockchain",
@@ -6996,23 +10079,53 @@ dependencies = [
[[package]]
name = "substrate-prometheus-endpoint"
version = "0.9.0"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"async-std",
"derive_more",
"futures-util",
- "hyper",
+ "hyper 0.13.10",
"log",
"prometheus",
- "tokio 1.10.0",
+ "tokio 0.2.25",
+]
+
+[[package]]
+name = "substrate-test-client"
+version = "2.0.1"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "async-trait",
+ "futures 0.1.31",
+ "futures 0.3.16",
+ "hash-db",
+ "hex",
+ "parity-scale-codec",
+ "sc-client-api",
+ "sc-client-db",
+ "sc-consensus",
+ "sc-executor",
+ "sc-light",
+ "sc-offchain",
+ "sc-service",
+ "serde",
+ "serde_json",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-core",
+ "sp-keyring",
+ "sp-keystore",
+ "sp-runtime",
+ "sp-state-machine",
]
[[package]]
name = "substrate-wasm-builder"
version = "5.0.0-dev"
-source = "git+https://github.com/paritytech/substrate#ed702e8246d5c4f82e686fb044ac6c2e6cd269cf"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
dependencies = [
"ansi_term 0.12.1",
+ "atty",
"build-helper",
"cargo_metadata",
"sp-maybe-compressed-blob",
@@ -7035,14 +10148,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
[[package]]
-name = "syn"
-version = "1.0.75"
+name = "syn"
+version = "1.0.74"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1873d832550d4588c3dbc20f01361ab00bfe741048f71e3fecf145a7cc18b29c"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
+]
+
+[[package]]
+name = "syn-mid"
+version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b7f58f7e8eaa0009c5fec437aabf511bd9933e4b2d7407bd05273c01a8906ea7"
+checksum = "baa8e7560a164edb1621a55d18a0c59abf49d360f47aa7b821061dd7eea7fac9"
dependencies = [
"proc-macro2",
"quote",
- "unicode-xid",
+ "syn",
]
[[package]]
@@ -7057,6 +10181,12 @@ dependencies = [
"unicode-xid",
]
+[[package]]
+name = "take_mut"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
+
[[package]]
name = "tap"
version = "1.0.1"
@@ -7139,6 +10269,19 @@ dependencies = [
"num_cpus",
]
+[[package]]
+name = "thrift"
+version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c6d965454947cc7266d22716ebfd07b18d84ebaf35eec558586bbb2a8cb6b5b"
+dependencies = [
+ "byteorder",
+ "integer-encoding",
+ "log",
+ "ordered-float",
+ "threadpool",
+]
+
[[package]]
name = "time"
version = "0.1.44"
@@ -7192,6 +10335,30 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
+[[package]]
+name = "tokio"
+version = "0.1.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "mio",
+ "num_cpus",
+ "tokio-codec",
+ "tokio-current-thread",
+ "tokio-executor",
+ "tokio-fs",
+ "tokio-io",
+ "tokio-reactor",
+ "tokio-sync",
+ "tokio-tcp",
+ "tokio-threadpool",
+ "tokio-timer",
+ "tokio-udp",
+ "tokio-uds",
+]
+
[[package]]
name = "tokio"
version = "0.2.25"
@@ -7199,14 +10366,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092"
dependencies = [
"bytes 0.5.6",
+ "fnv",
+ "futures-core",
+ "iovec",
"lazy_static",
"libc",
- "mio 0.6.23",
+ "memchr",
+ "mio",
"mio-uds",
"num_cpus",
"pin-project-lite 0.1.12",
"signal-hook-registry",
"slab",
+ "tokio-macros",
"winapi 0.3.9",
]
@@ -7217,49 +10389,248 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01cf844b23c6131f624accf65ce0e4e9956a8bb329400ea5bcc26ae3a5c20b0b"
dependencies = [
"autocfg",
- "bytes 1.0.1",
- "libc",
- "memchr",
- "mio 0.7.13",
- "num_cpus",
"pin-project-lite 0.2.7",
- "winapi 0.3.9",
+]
+
+[[package]]
+name = "tokio-buf"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46"
+dependencies = [
+ "bytes 0.4.12",
+ "either",
+ "futures 0.1.31",
+]
+
+[[package]]
+name = "tokio-codec"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "25b2998660ba0e70d18684de5d06b70b70a3a747469af9dea7618cc59e75976b"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "tokio-io",
+]
+
+[[package]]
+name = "tokio-current-thread"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1de0e32a83f131e002238d7ccde18211c0a5397f60cbfffcb112868c2e0e20e"
+dependencies = [
+ "futures 0.1.31",
+ "tokio-executor",
+]
+
+[[package]]
+name = "tokio-executor"
+version = "0.1.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fb2d1b8f4548dbf5e1f7818512e9c406860678f29c300cdf0ebac72d1a3a1671"
+dependencies = [
+ "crossbeam-utils 0.7.2",
+ "futures 0.1.31",
+]
+
+[[package]]
+name = "tokio-fs"
+version = "0.1.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "297a1206e0ca6302a0eed35b700d292b275256f596e2f3fea7729d5e629b6ff4"
+dependencies = [
+ "futures 0.1.31",
+ "tokio-io",
+ "tokio-threadpool",
+]
+
+[[package]]
+name = "tokio-io"
+version = "0.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "57fc868aae093479e3131e3d165c93b1c7474109d13c90ec0dda2a1bbfff0674"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "log",
+]
+
+[[package]]
+name = "tokio-macros"
+version = "0.2.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "tokio-named-pipes"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "mio",
+ "mio-named-pipes",
+ "tokio 0.1.22",
+]
+
+[[package]]
+name = "tokio-reactor"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09bc590ec4ba8ba87652da2068d150dcada2cfa2e07faae270a5e0409aa51351"
+dependencies = [
+ "crossbeam-utils 0.7.2",
+ "futures 0.1.31",
+ "lazy_static",
+ "log",
+ "mio",
+ "num_cpus",
+ "parking_lot 0.9.0",
+ "slab",
+ "tokio-executor",
+ "tokio-io",
+ "tokio-sync",
]
[[package]]
name = "tokio-rustls"
-version = "0.22.0"
+version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc6844de72e57df1980054b38be3a9f4702aba4858be64dd700181a8a6d0e1b6"
+checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a"
dependencies = [
- "rustls",
- "tokio 1.10.0",
+ "futures-core",
+ "rustls 0.18.1",
+ "tokio 0.2.25",
"webpki",
]
[[package]]
-name = "tokio-stream"
-version = "0.1.7"
+name = "tokio-rustls"
+version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f"
+checksum = "03d15e5669243a45f630a5167d101b942174ca94b615445b2057eace1c818736"
dependencies = [
"futures-core",
- "pin-project-lite 0.2.7",
- "tokio 1.10.0",
+ "rustls 0.19.1",
+ "tokio 0.2.25",
+ "webpki",
+]
+
+[[package]]
+name = "tokio-service"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162"
+dependencies = [
+ "futures 0.1.31",
+]
+
+[[package]]
+name = "tokio-sync"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "edfe50152bc8164fcc456dab7891fa9bf8beaf01c5ee7e1dd43a397c3cf87dee"
+dependencies = [
+ "fnv",
+ "futures 0.1.31",
+]
+
+[[package]]
+name = "tokio-tcp"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "98df18ed66e3b72e742f185882a9e201892407957e45fbff8da17ae7a7c51f72"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "iovec",
+ "mio",
+ "tokio-io",
+ "tokio-reactor",
+]
+
+[[package]]
+name = "tokio-threadpool"
+version = "0.1.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df720b6581784c118f0eb4310796b12b1d242a7eb95f716a8367855325c25f89"
+dependencies = [
+ "crossbeam-deque 0.7.4",
+ "crossbeam-queue",
+ "crossbeam-utils 0.7.2",
+ "futures 0.1.31",
+ "lazy_static",
+ "log",
+ "num_cpus",
+ "slab",
+ "tokio-executor",
+]
+
+[[package]]
+name = "tokio-timer"
+version = "0.2.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93044f2d313c95ff1cb7809ce9a7a05735b012288a888b62d4434fd58c94f296"
+dependencies = [
+ "crossbeam-utils 0.7.2",
+ "futures 0.1.31",
+ "slab",
+ "tokio-executor",
+]
+
+[[package]]
+name = "tokio-udp"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2a0b10e610b39c38b031a2fcab08e4b82f16ece36504988dcbd81dbba650d82"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "log",
+ "mio",
+ "tokio-codec",
+ "tokio-io",
+ "tokio-reactor",
+]
+
+[[package]]
+name = "tokio-uds"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab57a4ac4111c8c9dbcf70779f6fc8bc35ae4b2454809febac840ad19bd7e4e0"
+dependencies = [
+ "bytes 0.4.12",
+ "futures 0.1.31",
+ "iovec",
+ "libc",
+ "log",
+ "mio",
+ "mio-uds",
+ "tokio-codec",
+ "tokio-io",
+ "tokio-reactor",
]
[[package]]
name = "tokio-util"
-version = "0.6.7"
+version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592"
+checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499"
dependencies = [
- "bytes 1.0.1",
+ "bytes 0.5.6",
"futures-core",
+ "futures-io",
"futures-sink",
"log",
- "pin-project-lite 0.2.7",
- "tokio 1.10.0",
+ "pin-project-lite 0.1.12",
+ "tokio 0.2.25",
]
[[package]]
@@ -7284,6 +10655,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09adeb8c97449311ccd28a427f96fb563e7fd31aabf994189879d9da2394b89d"
dependencies = [
"cfg-if 1.0.0",
+ "log",
"pin-project-lite 0.2.7",
"tracing-attributes",
"tracing-core",
@@ -7354,7 +10726,7 @@ dependencies = [
"serde",
"serde_json",
"sharded-slab",
- "smallvec",
+ "smallvec 1.6.1",
"thread_local",
"tracing",
"tracing-core",
@@ -7372,7 +10744,7 @@ dependencies = [
"hashbrown",
"log",
"rustc-hex",
- "smallvec",
+ "smallvec 1.6.1",
]
[[package]]
@@ -7402,7 +10774,7 @@ dependencies = [
"lazy_static",
"log",
"rand 0.8.4",
- "smallvec",
+ "smallvec 1.6.1",
"thiserror",
"tinyvec",
"url 2.2.2",
@@ -7422,7 +10794,7 @@ dependencies = [
"lru-cache",
"parking_lot 0.11.1",
"resolv-conf",
- "smallvec",
+ "smallvec 1.6.1",
"thiserror",
"trust-dns-proto",
]
@@ -7433,6 +10805,31 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642"
+[[package]]
+name = "try-runtime-cli"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate?branch=hc-contract-experiment-patched-v0.9.9#6080e7a33e63558bf619c240b1ada2cb08c8b443"
+dependencies = [
+ "frame-try-runtime",
+ "log",
+ "parity-scale-codec",
+ "remote-externalities",
+ "sc-chain-spec",
+ "sc-cli",
+ "sc-client-api",
+ "sc-executor",
+ "sc-service",
+ "serde",
+ "sp-api",
+ "sp-blockchain",
+ "sp-core",
+ "sp-externalities",
+ "sp-keystore",
+ "sp-runtime",
+ "sp-state-machine",
+ "structopt",
+]
+
[[package]]
name = "twox-hash"
version = "1.6.1"
@@ -7630,6 +11027,17 @@ dependencies = [
"winapi-util",
]
+[[package]]
+name = "want"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
+dependencies = [
+ "futures 0.1.31",
+ "log",
+ "try-lock",
+]
+
[[package]]
name = "want"
version = "0.3.0"
@@ -7654,9 +11062,9 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
[[package]]
name = "wasm-bindgen"
-version = "0.2.76"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ce9b1b516211d33767048e5d47fa2a381ed8b76fc48d2ce4aa39877f9f183e0"
+checksum = "b608ecc8f4198fe8680e2ed18eccab5f0cd4caaf3d83516fa5fb2e927fda2586"
dependencies = [
"cfg-if 1.0.0",
"wasm-bindgen-macro",
@@ -7664,9 +11072,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-backend"
-version = "0.2.76"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfe8dc78e2326ba5f845f4b5bf548401604fa20b1dd1d365fb73b6c1d6364041"
+checksum = "580aa3a91a63d23aac5b6b267e2d13cb4f363e31dce6c352fca4752ae12e479f"
dependencies = [
"bumpalo",
"lazy_static",
@@ -7679,9 +11087,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-futures"
-version = "0.4.26"
+version = "0.4.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95fded345a6559c2cfee778d562300c581f7d4ff3edb9b0d230d69800d213972"
+checksum = "16646b21c3add8e13fdb8f20172f8a28c3dbf62f45406bcff0233188226cfe0c"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
@@ -7691,9 +11099,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro"
-version = "0.2.76"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44468aa53335841d9d6b6c023eaab07c0cd4bddbcfdee3e2bb1e8d2cb8069fef"
+checksum = "171ebf0ed9e1458810dfcb31f2e766ad6b3a89dbda42d8901f2b268277e5f09c"
dependencies = [
"quote",
"wasm-bindgen-macro-support",
@@ -7701,9 +11109,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-macro-support"
-version = "0.2.76"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0195807922713af1e67dc66132c7328206ed9766af3858164fb583eedc25fbad"
+checksum = "6c2657dd393f03aa2a659c25c6ae18a13a4048cebd220e147933ea837efc589f"
dependencies = [
"proc-macro2",
"quote",
@@ -7714,9 +11122,9 @@ dependencies = [
[[package]]
name = "wasm-bindgen-shared"
-version = "0.2.76"
+version = "0.2.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acdb075a845574a1fa5f09fd77e43f7747599301ea3417a9fbffdeedfc1f4a29"
+checksum = "2e0c4a743a309662d45f4ede961d7afa4ba4131a59a639f29b0069c3798bbcc2"
[[package]]
name = "wasm-gc-api"
@@ -7752,6 +11160,7 @@ checksum = "d2ee05bba3d1d994652079893941a2ef9324d2b58a63c31b40678fb7eddd7a5a"
dependencies = [
"downcast-rs",
"libc",
+ "libm",
"memory_units",
"num-rational 0.2.4",
"num-traits",
@@ -7794,7 +11203,7 @@ dependencies = [
"region",
"rustc-demangle",
"serde",
- "smallvec",
+ "smallvec 1.6.1",
"target-lexicon",
"wasmparser",
"wasmtime-cache",
@@ -7954,7 +11363,7 @@ dependencies = [
"libc",
"log",
"mach",
- "memoffset",
+ "memoffset 0.6.4",
"more-asserts",
"rand 0.8.4",
"region",
@@ -7965,9 +11374,9 @@ dependencies = [
[[package]]
name = "web-sys"
-version = "0.3.53"
+version = "0.3.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "224b2f6b67919060055ef1a67807367c2066ed520c3862cc013d26cf893a783c"
+checksum = "01c70a82d842c9979078c772d4a1344685045f1a5628f677c2b2eab4dd7d2696"
dependencies = [
"js-sys",
"wasm-bindgen",
@@ -8097,6 +11506,53 @@ dependencies = [
"zeroize",
]
+[[package]]
+name = "xcm"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "derivative",
+ "impl-trait-for-tuples",
+ "log",
+ "parity-scale-codec",
+]
+
+[[package]]
+name = "xcm-builder"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "frame-support",
+ "frame-system",
+ "impl-trait-for-tuples",
+ "pallet-transaction-payment",
+ "parity-scale-codec",
+ "polkadot-parachain",
+ "sp-arithmetic",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+ "xcm",
+ "xcm-executor",
+]
+
+[[package]]
+name = "xcm-executor"
+version = "0.9.9-1"
+source = "git+https://github.com/paritytech/polkadot?branch=hc-contract-experiment-patched-v0.9.9#ba327c4ac0489e7273b1542c7366ac568645b193"
+dependencies = [
+ "frame-support",
+ "impl-trait-for-tuples",
+ "log",
+ "parity-scale-codec",
+ "sp-arithmetic",
+ "sp-core",
+ "sp-io",
+ "sp-runtime",
+ "sp-std",
+ "xcm",
+]
+
[[package]]
name = "yamux"
version = "0.9.0"
@@ -8113,9 +11569,9 @@ dependencies = [
[[package]]
name = "zeroize"
-version = "1.3.0"
+version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd"
+checksum = "377db0846015f7ae377174787dd452e1c5f5a9050bc6f954911d01f116daa0cd"
dependencies = [
"zeroize_derive",
]
diff --git a/Cargo.toml b/Cargo.toml
index 9c337cd..686da4b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,10 @@
+resolver = "2"
+
[workspace]
members = [
'node',
'runtime',
]
+
[profile.release]
panic = 'unwind'
diff --git a/README.md b/README.md
index e202568..a715440 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,16 @@
# canvas-node
This is a node implementation for Canvas, a [Substrate](https://github.com/paritytech/substrate)
-chain for smart contracts.
+parachain for smart contracts.
It uses Substrate's smart contract module ‒ the
[`contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts)
pallet.
-
## Note
-The master branch is currently tracking Substrate master in order to include
-various fixes. Therefore, it may not build if there are breaking changes.
+This used to be a standalone smart contract node used for the ink! workshop. We
+have moved the standalone node to [substrate-contracts-node](https://github.com/paritytech/substrate-contracts-node/).
## Installation
@@ -28,30 +27,26 @@ If it fails to build/install, add the cargo `--locked` flag. The installation pr
will then use the same versions as the `Cargo.lock` in this repository to ensure that the
most recent working version of Substrate will be used.
-The latest confirmed working Substrate commit which will then be used is
-[ed702e8246d5c4f82e686fb044ac6c2e6cd269cf](https://github.com/paritytech/substrate/tree/ed702e8246d5c4f82e686fb044ac6c2e6cd269cf).
+### Substrate Compatibility
-## Usage
-
-To run a local dev node execute
-```
-canvas --dev --tmp
-```
-The `--tmp` implies that a new chain will be created each time the command
-is executed. If you want to persist chain state across runs leave it away.
+The latest confirmed working Substrate commit which will then be used is
+[6080e7a33e63558bf619c240b1ada2cb08c8b443](https://github.com/paritytech/substrate/commit/6080e7a33e63558bf619c240b1ada2cb08c8b443).
-To run `testnet-1` execute
+It tracks a modified `polkadot-v0.9.9` branches across:
+[`substrate`](https://github.com/paritytech/substrate/tree/hc-contract-experiment-patched-v0.9.9),
+[`grandpa-bridge-gadget`](https://github.com/paritytech/grandpa-bridge-gadget/tree/hc-contract-experiment-patched-v0.9.9),
+[`polkadot`](https://github.com/paritytech/polkadot/tree/hc-contract-experiment-patched-v0.9.9) and
+[`cumulus`](https://github.com/paritytech/cumulus/tree/hc-contract-experiment-patched-v0.9.9).
-```
-canvas --chain=./res/testnet-1.json
-```
+### Unstable Features
-## Running as a parachain
+If you're the type of person that likes to drink your soup before it cools, you might
+also be wondering about how to activate unstable `pallet-contracts` features. To do this
+you can run the previous installation command with the following flag:
+`--features contracts-unstable-interface`.
-The [`rococo-v1`](https://github.com/paritytech/canvas-node/tree/rococo-v1) branch
-contains an experimental implementation which allows running `canvas-node` as a parachain.
+## Usage
-It tracks the `rococo-v1` branches of
-[`substrate`](https://github.com/paritytech/substrate/tree/rococo-v1),
-[`polkadot`](https://github.com/paritytech/polkadot/tree/rococo-v1) and
-[`cumulus`](https://github.com/paritytech/cumulus/tree/rococo-v1).
+To simplify your life you'll want to use the
+[`polkadot-launch`](https://github.com/paritytech/polkadot-launch) tool. More
+instructions to come!
diff --git a/node/Cargo.toml b/node/Cargo.toml
index 08340b5..b41642d 100644
--- a/node/Cargo.toml
+++ b/node/Cargo.toml
@@ -12,50 +12,88 @@ edition = "2018"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
-[dependencies]
-structopt = "0.3.8"
-hex-literal = "0.2.1"
-
-sc-cli = { git = "https://github.com/paritytech/substrate", package = "sc-cli", features = ["wasmtime"] }
-sp-core = { git = "https://github.com/paritytech/substrate", package = "sp-core" }
-sc-executor = { git = "https://github.com/paritytech/substrate", package = "sc-executor", features = ["wasmtime"] }
-sc-service = { git = "https://github.com/paritytech/substrate", package = "sc-service", features = ["wasmtime"] }
-sc-telemetry = { git = "https://github.com/paritytech/substrate", package = "sc-telemetry" }
-sc-keystore = { git = "https://github.com/paritytech/substrate", package = "sc-keystore" }
-sp-inherents = { git = "https://github.com/paritytech/substrate", package = "sp-inherents" }
-sc-transaction-pool = { git = "https://github.com/paritytech/substrate", package = "sc-transaction-pool" }
-sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", package = "sc-transaction-pool-api" }
-sc-consensus-aura = { git = "https://github.com/paritytech/substrate", package = "sc-consensus-aura" }
-sp-consensus-aura = { git = "https://github.com/paritytech/substrate", package = "sp-consensus-aura" }
-sp-consensus = { git = "https://github.com/paritytech/substrate", package = "sp-consensus" }
-sc-consensus = { git = "https://github.com/paritytech/substrate", package = "sc-consensus" }
-sc-finality-grandpa = { git = "https://github.com/paritytech/substrate", package = "sc-finality-grandpa" }
-sp-finality-grandpa = { git = "https://github.com/paritytech/substrate", package = "sp-finality-grandpa" }
-sc-client-api = { git = "https://github.com/paritytech/substrate", package = "sc-client-api" }
-sp-runtime = { git = "https://github.com/paritytech/substrate", package = "sp-runtime" }
-sp-timestamp = { git = "https://github.com/paritytech/substrate", package = "sp-timestamp" }
-
-# These dependencies are used for the node's RPCs
-jsonrpc-core = "18.0.0"
-sc-rpc = { git = "https://github.com/paritytech/substrate", package = "sc-rpc" }
-sp-api = { git = "https://github.com/paritytech/substrate", package = "sp-api" }
-sc-rpc-api = { git = "https://github.com/paritytech/substrate", package = "sc-rpc-api" }
-sp-blockchain = { git = "https://github.com/paritytech/substrate", package = "sp-blockchain" }
-sp-block-builder = { git = "https://github.com/paritytech/substrate", package = "sp-block-builder" }
-sc-basic-authorship = { git = "https://github.com/paritytech/substrate", package = "sc-basic-authorship" }
-substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", package = "substrate-frame-rpc-system" }
-pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", package = "pallet-transaction-payment-rpc" }
-pallet-contracts-rpc = { git = "https://github.com/paritytech/substrate", package = "pallet-contracts-rpc" }
-
-# These dependencies are used for runtime benchmarking
-frame-benchmarking = { git = "https://github.com/paritytech/substrate", package = "frame-benchmarking" }
-frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", package = "frame-benchmarking-cli" }
-
-canvas-runtime = { version = "0.1.0", path = "../runtime" }
-
[build-dependencies]
-substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", package = "substrate-build-script-utils" }
+substrate-build-script-utils = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
[[bin]]
-name = "canvas"
-path = "src/main.rs"
+name = 'canvas'
+path = 'src/main.rs'
+
+[features]
+runtime-benchmarks = ['canvas-runtime/runtime-benchmarks']
+contracts-unstable-interface = ['canvas-runtime/contracts-unstable-interface']
+
+[dependencies]
+derive_more = '0.99.2'
+log = '0.4.14'
+codec = { package = 'parity-scale-codec', version = '2.0.0' }
+structopt = '0.3.8'
+serde = { version = '1.0.119', features = ['derive'] }
+hex-literal = '0.3.1'
+
+# RPC related Dependencies
+jsonrpc-core = '15.1.0'
+
+# Local Dependencies
+canvas-runtime = { path = '../runtime' }
+
+# Substrate Dependencies
+frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+frame-benchmarking-cli = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+
+pallet-transaction-payment-rpc = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+
+substrate-frame-rpc-system = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "hc-contract-experiment-patched-v0.9.9" }
+
+## Substrate Client Dependencies
+sc-basic-authorship = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-chain-spec = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-cli = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-client-api = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-consensus = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-executor = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-network = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-keystore = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-rpc = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-rpc-api = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-service = { git = 'https://github.com/paritytech/substrate', features = ['wasmtime'] , branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-telemetry = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-transaction-pool = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-transaction-pool-api = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sc-tracing = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+
+## Substrate Primitive Dependencies
+sp-api = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-block-builder = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-blockchain = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-consensus = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-consensus-aura = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-core = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-inherents = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-keystore = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-offchain = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-session = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-timestamp = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+sp-transaction-pool = { git = 'https://github.com/paritytech/substrate', branch = "hc-contract-experiment-patched-v0.9.9" }
+
+# Cumulus dependencies
+cumulus-client-consensus-aura = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+cumulus-client-consensus-common = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+cumulus-client-collator = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+cumulus-client-cli = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+cumulus-client-network = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+cumulus-client-service = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+cumulus-primitives-core = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/cumulus', branch = "hc-contract-experiment-patched-v0.9.9" }
+
+# Polkadot dependencies
+polkadot-cli = { git = 'https://github.com/paritytech/polkadot', branch = "hc-contract-experiment-patched-v0.9.9" }
+polkadot-parachain = { git = 'https://github.com/paritytech/polkadot', branch = "hc-contract-experiment-patched-v0.9.9" }
+polkadot-primitives = { git = 'https://github.com/paritytech/polkadot', branch = "hc-contract-experiment-patched-v0.9.9" }
+polkadot-service = { git = 'https://github.com/paritytech/polkadot', branch = "hc-contract-experiment-patched-v0.9.9" }
+polkadot-test-service = { git = 'https://github.com/paritytech/polkadot', branch = "hc-contract-experiment-patched-v0.9.9" }
+
+# Contracts specific packages
+pallet-contracts-rpc = { git = "https://github.com/paritytech/substrate", branch = "hc-contract-experiment-patched-v0.9.9" }
diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs
index 69f69d9..2eec7a5 100644
--- a/node/src/chain_spec.rs
+++ b/node/src/chain_spec.rs
@@ -14,33 +14,44 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
-use canvas_runtime::{
- AccountId, AuraConfig, BalancesConfig, GenesisConfig, GrandpaConfig, Signature, SudoConfig,
- SystemConfig, WASM_BINARY,
-};
-use hex_literal::hex;
+use canvas_runtime::{AccountId, AuraId, Signature};
+use cumulus_primitives_core::ParaId;
+use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup};
use sc_service::ChainType;
-use sp_consensus_aura::sr25519::AuthorityId as AuraId;
+use serde::{Deserialize, Serialize};
use sp_core::{sr25519, Pair, Public};
-use sp_finality_grandpa::AuthorityId as GrandpaId;
use sp_runtime::traits::{IdentifyAccount, Verify};
-// The URL for the telemetry server.
-// const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/";
+/// Specialized `ChainSpec` for the normal parachain runtime.
+pub type ChainSpec = sc_service::GenericChainSpec;
-/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.
-pub type ChainSpec = sc_service::GenericChainSpec;
-
-/// Generate a crypto pair from seed.
+/// Helper function to generate a crypto pair from seed
pub fn get_from_seed(seed: &str) -> ::Public {
TPublic::Pair::from_string(&format!("//{}", seed), None)
.expect("static values are valid; qed")
.public()
}
+/// The extensions for the [`ChainSpec`].
+#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ChainSpecGroup, ChainSpecExtension)]
+#[serde(deny_unknown_fields)]
+pub struct Extensions {
+ /// The relay chain of the Parachain.
+ pub relay_chain: String,
+ /// The id of the Parachain.
+ pub para_id: u32,
+}
+
+impl Extensions {
+ /// Try to get the extension from the given `ChainSpec`.
+ pub fn try_get(chain_spec: &dyn sc_service::ChainSpec) -> Option<&Self> {
+ sc_chain_spec::get_extension(chain_spec.extensions())
+ }
+}
+
type AccountPublic = ::Signer;
-/// Generate an account ID from seed.
+/// Helper function to generate an account ID from seed
pub fn get_account_id_from_seed(seed: &str) -> AccountId
where
AccountPublic: From<::Public>,
@@ -48,55 +59,13 @@ where
AccountPublic::from(get_from_seed::(seed)).into_account()
}
-/// Generate an Aura authority key.
-pub fn authority_keys_from_seed(s: &str) -> (AuraId, GrandpaId) {
- (get_from_seed::(s), get_from_seed::(s))
-}
-
-pub fn testnet_authorities() -> Vec<(AuraId, GrandpaId)> {
- use sp_core::crypto::UncheckedInto;
-
- // ./scripts/prepare-test-net.sh 2
- let initial_authorities: Vec<(AccountId, AccountId, AuraId, GrandpaId)> = vec![
- (
- //5Dkp2xwztRtRkXdmLDJUm8wvdHWSApgYgJY3rB5brKZkWJPM
- hex!["4ad2d854d1bc5bbfdf93b689cb1aa3986684126c2b16d86924019de6798b0971"].into(),
- //5DvnJs3jM7sJkgfpVDxwu9GNmpFyzJSn2jG9w1hxBBWwqi92
- hex!["526d7d3d5357d20e4cd75d1a452bd5b4903caf160f55d6bd19807efbdf165319"].into(),
- //5GKFbTTgrVS4Vz1UWWHPqMZQNFWZtqo7H2KpCDyYhEL3aS26
- hex!["bc09354c12c054c8f6b3da208485eacec4ac648bad348895273b37bab5a0937c"]
- .unchecked_into(),
- //5ErzrnqhfgXJeuFsRvwNsrbqBAbiePoqeeDZZYzaTDxwtANY
- hex!["7bc6fd5dc6e832b294bbf2ae21df67f990a526793a9ded12a5e54e40a5a94d1d"]
- .unchecked_into(),
- ),
- (
- //5Gnadix7NJH2K7Akr5hVKyXqtYqTsQJbXnKFFt274MsG8n7h
- hex!["d0e0ece66fb861b82383e85326a2e179316021105492820ca544ea8743620b59"].into(),
- //5FADgcPNMtcLtrmd16rZk6HJfDWqtEDT4N3jMSqtFo8tJhRr
- hex!["88e95527362f479ebf30502db2f7d88329e034f5d77aed585042c548fa93ae01"].into(),
- //5EPRJHm2GpABVWcwnAujcrhnrjFZyDGd5TwKFzkBoGgdRyv2
- hex!["66be63b7bcbfb91040e5248e2d1ceb822cf219c57848c5924ffa3a1f8e67ba72"]
- .unchecked_into(),
- //5HNx7nq3brkA3St9CAU1KijnscvAsa5ornNuk1H1iSuXy1nd
- hex!["eb17972691ec3a7d09a316baddc8838362ade2c12a21a506d697903e16577bfd"]
- .unchecked_into(),
- ),
- ];
- initial_authorities
- .into_iter()
- .map(|(_, _, aura_id, grandpa_id)| (aura_id, grandpa_id))
- .collect()
-}
-
-pub fn testnet_root() -> AccountId {
- hex!("baa78c7154c7f82d6d377177e20bcab65d327eca0086513f9964f5a0f6bdad56").into()
-}
-
-pub fn development_config() -> Result {
- let wasm_binary = WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?;
+pub fn development_config(id: ParaId) -> ChainSpec {
+ // Give your base currency a unit name and decimal places
+ let mut properties = sc_chain_spec::Properties::new();
+ properties.insert("tokenSymbol".into(), "CAN".into());
+ properties.insert("tokenDecimals".into(), 12.into());
- Ok(ChainSpec::from_genesis(
+ ChainSpec::from_genesis(
// Name
"Development",
// ID
@@ -104,12 +73,8 @@ pub fn development_config() -> Result {
ChainType::Development,
move || {
testnet_genesis(
- wasm_binary,
- // Initial PoA authorities
- vec![authority_keys_from_seed("Alice")],
- // Sudo account
get_account_id_from_seed::("Alice"),
- // Pre-funded accounts
+ vec![get_from_seed::("Alice"), get_from_seed::("Bob")],
vec![
get_account_id_from_seed::("Alice"),
get_account_id_from_seed::("Bob"),
@@ -124,101 +89,93 @@ pub fn development_config() -> Result {
get_account_id_from_seed::("Eve//stash"),
get_account_id_from_seed::("Ferdie//stash"),
],
- true,
+ id,
)
},
- // Bootnodes
vec![],
- // Telemetry
None,
- // Protocol ID
None,
- // Properties
None,
- // Extensions
- None,
- ))
+ Extensions {
+ relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
+ para_id: id.into(),
+ },
+ )
}
-pub fn testnet_config() -> Result {
- let wasm_binary = WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?;
- let mut properties = sc_service::Properties::new();
- properties.insert("tokenSymbol".to_string(), "CAN".into());
- properties.insert("tokenDecimals".to_string(), 12.into());
- properties.insert("ss58Format".to_string(), 42.into());
+pub fn local_testnet_config(id: ParaId) -> ChainSpec {
+ // Give your base currency a unit name and decimal places
+ let mut properties = sc_chain_spec::Properties::new();
+ properties.insert("tokenSymbol".into(), "CAN".into());
+ properties.insert("tokenDecimals".into(), 12.into());
- Ok(ChainSpec::from_genesis(
- "Canvas Testnet",
- "canvas_testnet2",
- ChainType::Live,
+ ChainSpec::from_genesis(
+ // Name
+ "Canvas Local",
+ // ID
+ "canvas_local",
+ ChainType::Local,
move || {
+ // TODO [#76]: Right now these are being left as default values, but in the old `canvas-node`
+ // we had some non-default authorities, as well as accounts for the faucent and
+ // `ink-waterfall`. We'll need to add those back in
testnet_genesis(
- wasm_binary,
- testnet_authorities(),
- testnet_root(),
+ get_account_id_from_seed::("Alice"),
+ vec![get_from_seed::("Alice"), get_from_seed::("Bob")],
vec![
- testnet_root(),
- // AccountId of the Canvas Testnet faucet
- hex!("18c64aa111a8a0e6e4eed41d6d906c7614d745e48be3cfc13b6128e1d51f4405").into(),
- // AccountId of an account which `ink-waterfall` uses for automated testing
- hex!("0e47e2344d523c3cc5c34394b0d58b9a4200e813a038e6c5a6163cc07d70b069").into(),
+ get_account_id_from_seed::("Alice"),
+ get_account_id_from_seed::("Bob"),
+ get_account_id_from_seed::("Charlie"),
+ get_account_id_from_seed::("Dave"),
+ get_account_id_from_seed::("Eve"),
+ get_account_id_from_seed::("Ferdie"),
+ get_account_id_from_seed::("Alice//stash"),
+ get_account_id_from_seed::("Bob//stash"),
+ get_account_id_from_seed::("Charlie//stash"),
+ get_account_id_from_seed::("Dave//stash"),
+ get_account_id_from_seed::("Eve//stash"),
+ get_account_id_from_seed::("Ferdie//stash"),
],
- true,
+ id,
)
},
// Bootnodes
- vec![
- "/ip4/34.90.191.237/tcp/30333/p2p/12D3KooWKg3Rpxcr9oJ8n6khoxpGKWztCZydtUZk2cojHqnfLrpj"
- .parse()
- .expect("MultiaddrWithPeerId"),
- "/ip4/35.204.68.28/tcp/30333/p2p/12D3KooWPEXYrz8tHU3nDtPoPw4V7ou5dzMEWSTuUj7vaWiYVAVh"
- .parse()
- .expect("MultiaddrWithPeerId"),
- "/ip4/34.90.139.15/tcp/30333/p2p/12D3KooWEVU8AFNary4nP4qEnEcwJaRuy59Wefekzdu9pKbnVEhk"
- .parse()
- .expect("MultiaddrWithPeerId"),
- "/ip4/35.204.99.97/tcp/30333/p2p/12D3KooWP6pV3ZmcXzGDjv8ZMgA6nZxfAKDxSz4VNiLx6vVCQgJX"
- .parse()
- .expect("MultiaddrWithPeerId"),
- ],
+ // These will be configured using the JSON files in the `res` foler
+ Vec::new(),
// Telemetry
None,
// Protocol ID
- Some("prc"),
+ Some("canvas-rococo"),
// Properties
Some(properties),
// Extensions
- None,
- ))
+ Extensions {
+ relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
+ para_id: id.into(),
+ },
+ )
}
-/// Configure initial storage state for FRAME modules.
fn testnet_genesis(
- wasm_binary: &[u8],
- initial_authorities: Vec<(AuraId, GrandpaId)>,
root_key: AccountId,
+ initial_authorities: Vec,
endowed_accounts: Vec,
- _enable_println: bool,
-) -> GenesisConfig {
- GenesisConfig {
- system: SystemConfig {
- // Add Wasm runtime to storage.
- code: wasm_binary.to_vec(),
+ id: ParaId,
+) -> canvas_runtime::GenesisConfig {
+ canvas_runtime::GenesisConfig {
+ system: canvas_runtime::SystemConfig {
+ code: canvas_runtime::WASM_BINARY
+ .expect("WASM binary was not build, please build it!")
+ .to_vec(),
changes_trie_config: Default::default(),
},
- balances: BalancesConfig {
- // Configure endowed accounts with initial balance of 1 << 60.
+ balances: canvas_runtime::BalancesConfig {
balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(),
},
- aura: AuraConfig {
- authorities: initial_authorities.iter().map(|x| (x.0.clone())).collect(),
- },
- grandpa: GrandpaConfig {
- authorities: initial_authorities.iter().map(|x| (x.1.clone(), 1)).collect(),
- },
- sudo: SudoConfig {
- // Assign network admin rights.
- key: root_key,
- },
+ sudo: canvas_runtime::SudoConfig { key: root_key },
+ parachain_info: canvas_runtime::ParachainInfoConfig { parachain_id: id },
+ aura: canvas_runtime::AuraConfig { authorities: initial_authorities },
+ aura_ext: Default::default(),
+ parachain_system: Default::default(),
}
}
diff --git a/node/src/cli.rs b/node/src/cli.rs
index 39654cd..9b9d318 100644
--- a/node/src/cli.rs
+++ b/node/src/cli.rs
@@ -14,22 +14,22 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
-use sc_cli::RunCmd;
+use crate::chain_spec;
+use cumulus_client_cli;
+use sc_cli;
+use std::path::PathBuf;
use structopt::StructOpt;
-#[derive(Debug, StructOpt)]
-pub struct Cli {
- #[structopt(subcommand)]
- pub subcommand: Option,
-
- #[structopt(flatten)]
- pub run: RunCmd,
-}
-
+/// Sub-commands supported by the collator.
#[derive(Debug, StructOpt)]
pub enum Subcommand {
- /// Key management cli utilities
- Key(sc_cli::KeySubcommand),
+ /// Export the genesis state of the parachain.
+ #[structopt(name = "export-genesis-state")]
+ ExportGenesisState(ExportGenesisStateCommand),
+
+ /// Export the genesis wasm of the parachain.
+ #[structopt(name = "export-genesis-wasm")]
+ ExportGenesisWasm(ExportGenesisWasmCommand),
/// Build a chain specification.
BuildSpec(sc_cli::BuildSpecCmd),
@@ -47,8 +47,93 @@ pub enum Subcommand {
ImportBlocks(sc_cli::ImportBlocksCmd),
/// Remove the whole chain.
- PurgeChain(sc_cli::PurgeChainCmd),
+ PurgeChain(cumulus_client_cli::PurgeChainCmd),
/// Revert the chain to a previous state.
Revert(sc_cli::RevertCmd),
+
+ /// The custom benchmark subcommmand benchmarking runtime pallets.
+ #[structopt(name = "benchmark", about = "Benchmark runtime pallets.")]
+ Benchmark(frame_benchmarking_cli::BenchmarkCmd),
+}
+
+/// Command for exporting the genesis state of the parachain
+#[derive(Debug, StructOpt)]
+pub struct ExportGenesisStateCommand {
+ /// Output file name or stdout if unspecified.
+ #[structopt(parse(from_os_str))]
+ pub output: Option,
+
+ /// Id of the parachain this state is for.
+ ///
+ /// Default: 100
+ #[structopt(long, conflicts_with = "chain")]
+ pub parachain_id: Option,
+
+ /// Write output in binary. Default is to write in hex.
+ #[structopt(short, long)]
+ pub raw: bool,
+
+ /// The name of the chain for that the genesis state should be exported.
+ #[structopt(long, conflicts_with = "parachain-id")]
+ pub chain: Option,
+}
+
+/// Command for exporting the genesis wasm file.
+#[derive(Debug, StructOpt)]
+pub struct ExportGenesisWasmCommand {
+ /// Output file name or stdout if unspecified.
+ #[structopt(parse(from_os_str))]
+ pub output: Option,
+
+ /// Write output in binary. Default is to write in hex.
+ #[structopt(short, long)]
+ pub raw: bool,
+
+ /// The name of the chain for that the genesis wasm file should be exported.
+ #[structopt(long)]
+ pub chain: Option,
+}
+
+#[derive(Debug, StructOpt)]
+#[structopt(settings = &[
+ structopt::clap::AppSettings::GlobalVersion,
+ structopt::clap::AppSettings::ArgsNegateSubcommands,
+ structopt::clap::AppSettings::SubcommandsNegateReqs,
+])]
+pub struct Cli {
+ #[structopt(subcommand)]
+ pub subcommand: Option,
+
+ #[structopt(flatten)]
+ pub run: cumulus_client_cli::RunCmd,
+
+ /// Relaychain arguments
+ #[structopt(raw = true)]
+ pub relaychain_args: Vec,
+}
+
+#[derive(Debug)]
+pub struct RelayChainCli {
+ /// The actual relay chain cli object.
+ pub base: polkadot_cli::RunCmd,
+
+ /// Optional chain id that should be passed to the relay chain.
+ pub chain_id: Option,
+
+ /// The base path that should be used by the relay chain.
+ pub base_path: Option,
+}
+
+impl RelayChainCli {
+ /// Parse the relay chain CLI parameters using the para chain `Configuration`.
+ pub fn new<'a>(
+ para_config: &sc_service::Configuration,
+ relay_chain_args: impl Iterator- ,
+ ) -> Self {
+ let extension = chain_spec::Extensions::try_get(&*para_config.chain_spec);
+ let chain_id = extension.map(|e| e.relay_chain.clone());
+ let base_path = para_config.base_path.as_ref().map(|x| x.path().join("polkadot"));
+ Self { base_path, chain_id, base: polkadot_cli::RunCmd::from_iter(relay_chain_args) }
+ }
}
diff --git a/node/src/command.rs b/node/src/command.rs
index c762b52..49d81cd 100644
--- a/node/src/command.rs
+++ b/node/src/command.rs
@@ -16,11 +16,34 @@
use crate::{
chain_spec,
- cli::{Cli, Subcommand},
- service,
+ cli::{Cli, RelayChainCli, Subcommand},
+ service::{new_partial, ParachainRuntimeExecutor},
};
-use sc_cli::{ChainSpec, Role, RuntimeVersion, SubstrateCli};
-use sc_service::PartialComponents;
+use canvas_runtime::{Block, RuntimeApi};
+use codec::Encode;
+use cumulus_client_service::genesis::generate_genesis_block;
+use cumulus_primitives_core::ParaId;
+use log::info;
+use polkadot_parachain::primitives::AccountIdConversion;
+use sc_cli::{
+ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams,
+ NetworkParams, Result, RuntimeVersion, SharedParams, SubstrateCli,
+};
+use sc_service::config::{BasePath, PrometheusConfig};
+use sp_core::hexdisplay::HexDisplay;
+use sp_runtime::traits::Block as BlockT;
+use std::{io::Write, net::SocketAddr};
+
+fn load_spec(
+ id: &str,
+ para_id: ParaId,
+) -> std::result::Result, String> {
+ Ok(match id {
+ "dev" => Box::new(chain_spec::development_config(para_id)),
+ "" | "local" => Box::new(chain_spec::local_testnet_config(para_id)),
+ path => Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?),
+ })
+}
impl SubstrateCli for Cli {
fn impl_name() -> String {
@@ -32,7 +55,13 @@ impl SubstrateCli for Cli {
}
fn description() -> String {
- env!("CARGO_PKG_DESCRIPTION").into()
+ format!(
+ "Canvas Node\n\nThe command-line arguments provided first will be \
+ passed to the parachain node, while the arguments provided after -- will be passed \
+ to the relaychain node.\n\n\
+ {} [parachain-args] -- [relaychain-args]",
+ Self::executable_name()
+ )
}
fn author() -> String {
@@ -47,13 +76,8 @@ impl SubstrateCli for Cli {
2020
}
- fn load_spec(&self, id: &str) -> Result, String> {
- Ok(match id {
- "dev" => Box::new(chain_spec::development_config()?),
- "" => Box::new(chain_spec::testnet_config()?), // default to running on testnet
- path =>
- Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?),
- })
+ fn load_spec(&self, id: &str) -> std::result::Result, String> {
+ load_spec(id, self.run.parachain_id.unwrap_or(2000).into())
}
fn native_runtime_version(_: &Box) -> &'static RuntimeVersion {
@@ -61,67 +85,344 @@ impl SubstrateCli for Cli {
}
}
-/// Parse and run command line arguments
-pub fn run() -> sc_cli::Result<()> {
+impl SubstrateCli for RelayChainCli {
+ fn impl_name() -> String {
+ "Canvas Node".into()
+ }
+
+ fn impl_version() -> String {
+ env!("SUBSTRATE_CLI_IMPL_VERSION").into()
+ }
+
+ fn description() -> String {
+ "Canvas Node\n\nThe command-line arguments provided first will be \
+ passed to the parachain node, while the arguments provided after -- will be passed \
+ to the relaychain node.\n\n\
+ parachain-collator [parachain-args] -- [relaychain-args]"
+ .into()
+ }
+
+ fn author() -> String {
+ env!("CARGO_PKG_AUTHORS").into()
+ }
+
+ fn support_url() -> String {
+ "https://github.com/paritytech/canvas-node/issues/new".into()
+ }
+
+ fn copyright_start_year() -> i32 {
+ 2020
+ }
+
+ fn load_spec(&self, id: &str) -> std::result::Result, String> {
+ polkadot_cli::Cli::from_iter([RelayChainCli::executable_name().to_string()].iter())
+ .load_spec(id)
+ }
+
+ fn native_runtime_version(chain_spec: &Box) -> &'static RuntimeVersion {
+ polkadot_cli::Cli::native_runtime_version(chain_spec)
+ }
+}
+
+fn extract_genesis_wasm(chain_spec: &Box) -> Result> {
+ let mut storage = chain_spec.build_storage()?;
+
+ storage
+ .top
+ .remove(sp_core::storage::well_known_keys::CODE)
+ .ok_or_else(|| "Could not find wasm file in genesis state!".into())
+}
+
+macro_rules! construct_async_run {
+ (|$components:ident, $cli:ident, $cmd:ident, $config:ident| $( $code:tt )* ) => {{
+ let runner = $cli.create_runner($cmd)?;
+ runner.async_run(|$config| {
+ let $components = new_partial::<
+ RuntimeApi,
+ ParachainRuntimeExecutor,
+ _
+ >(
+ &$config,
+ crate::service::parachain_build_import_queue,
+ )?;
+ let task_manager = $components.task_manager;
+ { $( $code )* }.map(|v| (v, task_manager))
+ })
+ }}
+}
+
+/// Parse command line arguments into service configuration.
+pub fn run() -> Result<()> {
let cli = Cli::from_args();
match &cli.subcommand {
- Some(Subcommand::Key(cmd)) => cmd.run(&cli),
Some(Subcommand::BuildSpec(cmd)) => {
let runner = cli.create_runner(cmd)?;
runner.sync_run(|config| cmd.run(config.chain_spec, config.network))
},
Some(Subcommand::CheckBlock(cmd)) => {
- let runner = cli.create_runner(cmd)?;
- runner.async_run(|config| {
- let PartialComponents { client, task_manager, import_queue, .. } =
- service::new_partial(&config)?;
- Ok((cmd.run(client, import_queue), task_manager))
+ construct_async_run!(|components, cli, cmd, config| {
+ Ok(cmd.run(components.client, components.import_queue))
})
},
Some(Subcommand::ExportBlocks(cmd)) => {
- let runner = cli.create_runner(cmd)?;
- runner.async_run(|config| {
- let PartialComponents { client, task_manager, .. } = service::new_partial(&config)?;
- Ok((cmd.run(client, config.database), task_manager))
+ construct_async_run!(|components, cli, cmd, config| {
+ Ok(cmd.run(components.client, config.database))
})
},
Some(Subcommand::ExportState(cmd)) => {
- let runner = cli.create_runner(cmd)?;
- runner.async_run(|config| {
- let PartialComponents { client, task_manager, .. } = service::new_partial(&config)?;
- Ok((cmd.run(client, config.chain_spec), task_manager))
+ construct_async_run!(|components, cli, cmd, config| {
+ Ok(cmd.run(components.client, config.chain_spec))
})
},
Some(Subcommand::ImportBlocks(cmd)) => {
- let runner = cli.create_runner(cmd)?;
- runner.async_run(|config| {
- let PartialComponents { client, task_manager, import_queue, .. } =
- service::new_partial(&config)?;
- Ok((cmd.run(client, import_queue), task_manager))
+ construct_async_run!(|components, cli, cmd, config| {
+ Ok(cmd.run(components.client, components.import_queue))
})
},
Some(Subcommand::PurgeChain(cmd)) => {
let runner = cli.create_runner(cmd)?;
- runner.sync_run(|config| cmd.run(config.database))
+
+ runner.sync_run(|config| {
+ let polkadot_cli = RelayChainCli::new(
+ &config,
+ [RelayChainCli::executable_name().to_string()]
+ .iter()
+ .chain(cli.relaychain_args.iter()),
+ );
+
+ let polkadot_config = SubstrateCli::create_configuration(
+ &polkadot_cli,
+ &polkadot_cli,
+ config.task_executor.clone(),
+ )
+ .map_err(|err| format!("Relay chain argument error: {}", err))?;
+
+ cmd.run(config, polkadot_config)
+ })
},
Some(Subcommand::Revert(cmd)) => {
- let runner = cli.create_runner(cmd)?;
- runner.async_run(|config| {
- let PartialComponents { client, task_manager, backend, .. } =
- service::new_partial(&config)?;
- Ok((cmd.run(client, backend), task_manager))
+ construct_async_run!(|components, cli, cmd, config| {
+ Ok(cmd.run(components.client, components.backend))
})
},
+ Some(Subcommand::ExportGenesisState(params)) => {
+ let mut builder = sc_cli::LoggerBuilder::new("");
+ builder.with_profiling(sc_tracing::TracingReceiver::Log, "");
+ let _ = builder.init();
+
+ let block: Block = generate_genesis_block(&load_spec(
+ ¶ms.chain.clone().unwrap_or_default(),
+ params.parachain_id.unwrap_or(2000).into(),
+ )?)?;
+ let raw_header = block.header().encode();
+ let output_buf = if params.raw {
+ raw_header
+ } else {
+ format!("0x{:?}", HexDisplay::from(&block.header().encode())).into_bytes()
+ };
+
+ if let Some(output) = ¶ms.output {
+ std::fs::write(output, output_buf)?;
+ } else {
+ std::io::stdout().write_all(&output_buf)?;
+ }
+
+ Ok(())
+ },
+ Some(Subcommand::ExportGenesisWasm(params)) => {
+ let mut builder = sc_cli::LoggerBuilder::new("");
+ builder.with_profiling(sc_tracing::TracingReceiver::Log, "");
+ let _ = builder.init();
+
+ let raw_wasm_blob =
+ extract_genesis_wasm(&cli.load_spec(¶ms.chain.clone().unwrap_or_default())?)?;
+ let output_buf = if params.raw {
+ raw_wasm_blob
+ } else {
+ format!("0x{:?}", HexDisplay::from(&raw_wasm_blob)).into_bytes()
+ };
+
+ if let Some(output) = ¶ms.output {
+ std::fs::write(output, output_buf)?;
+ } else {
+ std::io::stdout().write_all(&output_buf)?;
+ }
+
+ Ok(())
+ },
+ Some(Subcommand::Benchmark(cmd)) =>
+ if cfg!(feature = "runtime-benchmarks") {
+ let runner = cli.create_runner(cmd)?;
+
+ runner.sync_run(|config| cmd.run::(config))
+ } else {
+ Err("Benchmarking wasn't enabled when building the node. \
+ You can enable it with `--features runtime-benchmarks`."
+ .into())
+ },
None => {
- let runner = cli.create_runner(&cli.run)?;
+ let runner = cli.create_runner(&cli.run.normalize())?;
+
runner.run_node_until_exit(|config| async move {
- match config.role {
- Role::Light => service::new_light(config),
- _ => service::new_full(config),
- }
- .map_err(sc_cli::Error::Service)
+ let para_id =
+ chain_spec::Extensions::try_get(&*config.chain_spec).map(|e| e.para_id);
+
+ let polkadot_cli = RelayChainCli::new(
+ &config,
+ [RelayChainCli::executable_name().to_string()]
+ .iter()
+ .chain(cli.relaychain_args.iter()),
+ );
+
+ let id = ParaId::from(cli.run.parachain_id.or(para_id).unwrap_or(2000));
+
+ let parachain_account =
+ AccountIdConversion::::into_account(&id);
+
+ let block: Block =
+ generate_genesis_block(&config.chain_spec).map_err(|e| format!("{:?}", e))?;
+ let genesis_state = format!("0x{:?}", HexDisplay::from(&block.header().encode()));
+
+ let task_executor = config.task_executor.clone();
+ let polkadot_config =
+ SubstrateCli::create_configuration(&polkadot_cli, &polkadot_cli, task_executor)
+ .map_err(|err| format!("Relay chain argument error: {}", err))?;
+
+ info!("Parachain id: {:?}", id);
+ info!("Parachain Account: {}", parachain_account);
+ info!("Parachain genesis state: {}", genesis_state);
+ info!("Is collating: {}", if config.role.is_authority() { "yes" } else { "no" });
+
+ crate::service::start_node(config, polkadot_config, id)
+ .await
+ .map(|r| r.0)
+ .map_err(Into::into)
})
},
}
}
+
+impl DefaultConfigurationValues for RelayChainCli {
+ fn p2p_listen_port() -> u16 {
+ 30334
+ }
+
+ fn rpc_ws_listen_port() -> u16 {
+ 9945
+ }
+
+ fn rpc_http_listen_port() -> u16 {
+ 9934
+ }
+
+ fn prometheus_listen_port() -> u16 {
+ 9616
+ }
+}
+
+impl CliConfiguration for RelayChainCli {
+ fn shared_params(&self) -> &SharedParams {
+ self.base.base.shared_params()
+ }
+
+ fn import_params(&self) -> Option<&ImportParams> {
+ self.base.base.import_params()
+ }
+
+ fn network_params(&self) -> Option<&NetworkParams> {
+ self.base.base.network_params()
+ }
+
+ fn keystore_params(&self) -> Option<&KeystoreParams> {
+ self.base.base.keystore_params()
+ }
+
+ fn base_path(&self) -> Result